public static final class NodeInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder> implements NodeInfoOrBuilder
Message containing connection information for an AxonServer NodeProtobuf type
io.axoniq.axonserver.grpc.control.NodeInfo
Modifier and Type | Method and Description |
---|---|
NodeInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NodeInfo |
build() |
NodeInfo |
buildPartial() |
NodeInfo.Builder |
clear() |
NodeInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NodeInfo.Builder |
clearGrpcPort()
The port number for gRPC connections
|
NodeInfo.Builder |
clearHostName()
The host name to use when connecting to this node
|
NodeInfo.Builder |
clearHttpPort()
The port number for HTTP connections
|
NodeInfo.Builder |
clearNodeName()
The unique name of the node to connect with, for purpose of debugging
|
NodeInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NodeInfo.Builder |
clearVersion()
The version identifier of the API
|
NodeInfo.Builder |
clone() |
NodeInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getGrpcPort()
The port number for gRPC connections
|
String |
getHostName()
The host name to use when connecting to this node
|
com.google.protobuf.ByteString |
getHostNameBytes()
The host name to use when connecting to this node
|
int |
getHttpPort()
The port number for HTTP connections
|
String |
getNodeName()
The unique name of the node to connect with, for purpose of debugging
|
com.google.protobuf.ByteString |
getNodeNameBytes()
The unique name of the node to connect with, for purpose of debugging
|
int |
getVersion()
The version identifier of the API
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NodeInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
NodeInfo.Builder |
mergeFrom(NodeInfo other) |
NodeInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NodeInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NodeInfo.Builder |
setGrpcPort(int value)
The port number for gRPC connections
|
NodeInfo.Builder |
setHostName(String value)
The host name to use when connecting to this node
|
NodeInfo.Builder |
setHostNameBytes(com.google.protobuf.ByteString value)
The host name to use when connecting to this node
|
NodeInfo.Builder |
setHttpPort(int value)
The port number for HTTP connections
|
NodeInfo.Builder |
setNodeName(String value)
The unique name of the node to connect with, for purpose of debugging
|
NodeInfo.Builder |
setNodeNameBytes(com.google.protobuf.ByteString value)
The unique name of the node to connect with, for purpose of debugging
|
NodeInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NodeInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NodeInfo.Builder |
setVersion(int value)
The version identifier of the API
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
public NodeInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
public NodeInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public NodeInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public NodeInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public NodeInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
public NodeInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
public NodeInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
public NodeInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
public NodeInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
public NodeInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
public NodeInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<NodeInfo.Builder>
public NodeInfo.Builder mergeFrom(NodeInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
public NodeInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<NodeInfo.Builder>
IOException
public String getHostName()
The host name to use when connecting to this node
string host_name = 1;
getHostName
in interface NodeInfoOrBuilder
public com.google.protobuf.ByteString getHostNameBytes()
The host name to use when connecting to this node
string host_name = 1;
getHostNameBytes
in interface NodeInfoOrBuilder
public NodeInfo.Builder setHostName(String value)
The host name to use when connecting to this node
string host_name = 1;
public NodeInfo.Builder clearHostName()
The host name to use when connecting to this node
string host_name = 1;
public NodeInfo.Builder setHostNameBytes(com.google.protobuf.ByteString value)
The host name to use when connecting to this node
string host_name = 1;
public int getGrpcPort()
The port number for gRPC connections
int32 grpc_port = 2;
getGrpcPort
in interface NodeInfoOrBuilder
public NodeInfo.Builder setGrpcPort(int value)
The port number for gRPC connections
int32 grpc_port = 2;
public NodeInfo.Builder clearGrpcPort()
The port number for gRPC connections
int32 grpc_port = 2;
public int getHttpPort()
The port number for HTTP connections
int32 http_port = 3;
getHttpPort
in interface NodeInfoOrBuilder
public NodeInfo.Builder setHttpPort(int value)
The port number for HTTP connections
int32 http_port = 3;
public NodeInfo.Builder clearHttpPort()
The port number for HTTP connections
int32 http_port = 3;
public int getVersion()
The version identifier of the API
int32 version = 4;
getVersion
in interface NodeInfoOrBuilder
public NodeInfo.Builder setVersion(int value)
The version identifier of the API
int32 version = 4;
public NodeInfo.Builder clearVersion()
The version identifier of the API
int32 version = 4;
public String getNodeName()
The unique name of the node to connect with, for purpose of debugging
string node_name = 5;
getNodeName
in interface NodeInfoOrBuilder
public com.google.protobuf.ByteString getNodeNameBytes()
The unique name of the node to connect with, for purpose of debugging
string node_name = 5;
getNodeNameBytes
in interface NodeInfoOrBuilder
public NodeInfo.Builder setNodeName(String value)
The unique name of the node to connect with, for purpose of debugging
string node_name = 5;
public NodeInfo.Builder clearNodeName()
The unique name of the node to connect with, for purpose of debugging
string node_name = 5;
public NodeInfo.Builder setNodeNameBytes(com.google.protobuf.ByteString value)
The unique name of the node to connect with, for purpose of debugging
string node_name = 5;
public final NodeInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
public final NodeInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
Copyright © 2010–2020. All rights reserved.