Package io.axoniq.axonserver.grpc.admin
Class NodeOverview.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder>
-
- io.axoniq.axonserver.grpc.admin.NodeOverview.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NodeOverviewOrBuilder,Cloneable
- Enclosing class:
- NodeOverview
public static final class NodeOverview.Builder extends com.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder> implements NodeOverviewOrBuilder
Message containing connection information for an AxonServer Node
Protobuf typeio.axoniq.axonserver.grpc.admin.NodeOverview
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NodeOverview.BuilderaddAllReplicationGroups(Iterable<String> values)List of replication groups that belongs to this nodeNodeOverview.BuilderaddReplicationGroups(String value)List of replication groups that belongs to this nodeNodeOverview.BuilderaddReplicationGroupsBytes(com.google.protobuf.ByteString value)List of replication groups that belongs to this nodeNodeOverviewbuild()NodeOverviewbuildPartial()NodeOverview.Builderclear()NodeOverview.BuilderclearGrpcPort()The port number for gRPC connectionsNodeOverview.BuilderclearHostName()The host name to use when connecting to this nodeNodeOverview.BuilderclearHttpPort()The port number for HTTP connectionsNodeOverview.BuilderclearNodeName()The unique name of the node to connect with, for purpose of debuggingNodeOverview.BuilderclearReplicationGroups()List of replication groups that belongs to this nodeNodeOverview.BuilderclearTags()booleancontainsTags(String key)List of tags associated with this nodeNodeOverviewgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetGrpcPort()The port number for gRPC connectionsStringgetHostName()The host name to use when connecting to this nodecom.google.protobuf.ByteStringgetHostNameBytes()The host name to use when connecting to this nodeintgetHttpPort()The port number for HTTP connectionsMap<String,String>getMutableTags()Deprecated.StringgetNodeName()The unique name of the node to connect with, for purpose of debuggingcom.google.protobuf.ByteStringgetNodeNameBytes()The unique name of the node to connect with, for purpose of debuggingStringgetReplicationGroups(int index)List of replication groups that belongs to this nodecom.google.protobuf.ByteStringgetReplicationGroupsBytes(int index)List of replication groups that belongs to this nodeintgetReplicationGroupsCount()List of replication groups that belongs to this nodecom.google.protobuf.ProtocolStringListgetReplicationGroupsList()List of replication groups that belongs to this nodeMap<String,String>getTags()Deprecated.intgetTagsCount()List of tags associated with this nodeMap<String,String>getTagsMap()List of tags associated with this nodeStringgetTagsOrDefault(String key, String defaultValue)List of tags associated with this nodeStringgetTagsOrThrow(String key)List of tags associated with this nodeprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()NodeOverview.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NodeOverview.BuildermergeFrom(com.google.protobuf.Message other)NodeOverview.BuildermergeFrom(NodeOverview other)NodeOverview.BuilderputAllTags(Map<String,String> values)List of tags associated with this nodeNodeOverview.BuilderputTags(String key, String value)List of tags associated with this nodeNodeOverview.BuilderremoveTags(String key)List of tags associated with this nodeNodeOverview.BuildersetGrpcPort(int value)The port number for gRPC connectionsNodeOverview.BuildersetHostName(String value)The host name to use when connecting to this nodeNodeOverview.BuildersetHostNameBytes(com.google.protobuf.ByteString value)The host name to use when connecting to this nodeNodeOverview.BuildersetHttpPort(int value)The port number for HTTP connectionsNodeOverview.BuildersetNodeName(String value)The unique name of the node to connect with, for purpose of debuggingNodeOverview.BuildersetNodeNameBytes(com.google.protobuf.ByteString value)The unique name of the node to connect with, for purpose of debuggingNodeOverview.BuildersetReplicationGroups(int index, String value)List of replication groups that belongs to this node-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder>
-
clear
public NodeOverview.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder>
-
getDefaultInstanceForType
public NodeOverview getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NodeOverview build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NodeOverview buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public NodeOverview.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodeOverview.Builder>
-
mergeFrom
public NodeOverview.Builder mergeFrom(NodeOverview other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder>
-
mergeFrom
public NodeOverview.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodeOverview.Builder>- Throws:
IOException
-
getHostName
public String getHostName()
The host name to use when connecting to this node
string host_name = 1;- Specified by:
getHostNamein interfaceNodeOverviewOrBuilder- Returns:
- The hostName.
-
getHostNameBytes
public com.google.protobuf.ByteString getHostNameBytes()
The host name to use when connecting to this node
string host_name = 1;- Specified by:
getHostNameBytesin interfaceNodeOverviewOrBuilder- Returns:
- The bytes for hostName.
-
setHostName
public NodeOverview.Builder setHostName(String value)
The host name to use when connecting to this node
string host_name = 1;- Parameters:
value- The hostName to set.- Returns:
- This builder for chaining.
-
clearHostName
public NodeOverview.Builder clearHostName()
The host name to use when connecting to this node
string host_name = 1;- Returns:
- This builder for chaining.
-
setHostNameBytes
public NodeOverview.Builder setHostNameBytes(com.google.protobuf.ByteString value)
The host name to use when connecting to this node
string host_name = 1;- Parameters:
value- The bytes for hostName to set.- Returns:
- This builder for chaining.
-
getGrpcPort
public int getGrpcPort()
The port number for gRPC connections
int32 grpc_port = 2;- Specified by:
getGrpcPortin interfaceNodeOverviewOrBuilder- Returns:
- The grpcPort.
-
setGrpcPort
public NodeOverview.Builder setGrpcPort(int value)
The port number for gRPC connections
int32 grpc_port = 2;- Parameters:
value- The grpcPort to set.- Returns:
- This builder for chaining.
-
clearGrpcPort
public NodeOverview.Builder clearGrpcPort()
The port number for gRPC connections
int32 grpc_port = 2;- Returns:
- This builder for chaining.
-
getHttpPort
public int getHttpPort()
The port number for HTTP connections
int32 http_port = 3;- Specified by:
getHttpPortin interfaceNodeOverviewOrBuilder- Returns:
- The httpPort.
-
setHttpPort
public NodeOverview.Builder setHttpPort(int value)
The port number for HTTP connections
int32 http_port = 3;- Parameters:
value- The httpPort to set.- Returns:
- This builder for chaining.
-
clearHttpPort
public NodeOverview.Builder clearHttpPort()
The port number for HTTP connections
int32 http_port = 3;- Returns:
- This builder for chaining.
-
getNodeName
public String getNodeName()
The unique name of the node to connect with, for purpose of debugging
string node_name = 4;- Specified by:
getNodeNamein interfaceNodeOverviewOrBuilder- Returns:
- The nodeName.
-
getNodeNameBytes
public com.google.protobuf.ByteString getNodeNameBytes()
The unique name of the node to connect with, for purpose of debugging
string node_name = 4;- Specified by:
getNodeNameBytesin interfaceNodeOverviewOrBuilder- Returns:
- The bytes for nodeName.
-
setNodeName
public NodeOverview.Builder setNodeName(String value)
The unique name of the node to connect with, for purpose of debugging
string node_name = 4;- Parameters:
value- The nodeName to set.- Returns:
- This builder for chaining.
-
clearNodeName
public NodeOverview.Builder clearNodeName()
The unique name of the node to connect with, for purpose of debugging
string node_name = 4;- Returns:
- This builder for chaining.
-
setNodeNameBytes
public NodeOverview.Builder setNodeNameBytes(com.google.protobuf.ByteString value)
The unique name of the node to connect with, for purpose of debugging
string node_name = 4;- Parameters:
value- The bytes for nodeName to set.- Returns:
- This builder for chaining.
-
getReplicationGroupsList
public com.google.protobuf.ProtocolStringList getReplicationGroupsList()
List of replication groups that belongs to this node
repeated string replication_groups = 5;- Specified by:
getReplicationGroupsListin interfaceNodeOverviewOrBuilder- Returns:
- A list containing the replicationGroups.
-
getReplicationGroupsCount
public int getReplicationGroupsCount()
List of replication groups that belongs to this node
repeated string replication_groups = 5;- Specified by:
getReplicationGroupsCountin interfaceNodeOverviewOrBuilder- Returns:
- The count of replicationGroups.
-
getReplicationGroups
public String getReplicationGroups(int index)
List of replication groups that belongs to this node
repeated string replication_groups = 5;- Specified by:
getReplicationGroupsin interfaceNodeOverviewOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The replicationGroups at the given index.
-
getReplicationGroupsBytes
public com.google.protobuf.ByteString getReplicationGroupsBytes(int index)
List of replication groups that belongs to this node
repeated string replication_groups = 5;- Specified by:
getReplicationGroupsBytesin interfaceNodeOverviewOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the replicationGroups at the given index.
-
setReplicationGroups
public NodeOverview.Builder setReplicationGroups(int index, String value)
List of replication groups that belongs to this node
repeated string replication_groups = 5;- Parameters:
index- The index to set the value at.value- The replicationGroups to set.- Returns:
- This builder for chaining.
-
addReplicationGroups
public NodeOverview.Builder addReplicationGroups(String value)
List of replication groups that belongs to this node
repeated string replication_groups = 5;- Parameters:
value- The replicationGroups to add.- Returns:
- This builder for chaining.
-
addAllReplicationGroups
public NodeOverview.Builder addAllReplicationGroups(Iterable<String> values)
List of replication groups that belongs to this node
repeated string replication_groups = 5;- Parameters:
values- The replicationGroups to add.- Returns:
- This builder for chaining.
-
clearReplicationGroups
public NodeOverview.Builder clearReplicationGroups()
List of replication groups that belongs to this node
repeated string replication_groups = 5;- Returns:
- This builder for chaining.
-
addReplicationGroupsBytes
public NodeOverview.Builder addReplicationGroupsBytes(com.google.protobuf.ByteString value)
List of replication groups that belongs to this node
repeated string replication_groups = 5;- Parameters:
value- The bytes of the replicationGroups to add.- Returns:
- This builder for chaining.
-
getTagsCount
public int getTagsCount()
Description copied from interface:NodeOverviewOrBuilderList of tags associated with this node
map<string, string> tags = 6;- Specified by:
getTagsCountin interfaceNodeOverviewOrBuilder
-
containsTags
public boolean containsTags(String key)
List of tags associated with this node
map<string, string> tags = 6;- Specified by:
containsTagsin interfaceNodeOverviewOrBuilder
-
getTags
@Deprecated public Map<String,String> getTags()
Deprecated.UsegetTagsMap()instead.- Specified by:
getTagsin interfaceNodeOverviewOrBuilder
-
getTagsMap
public Map<String,String> getTagsMap()
List of tags associated with this node
map<string, string> tags = 6;- Specified by:
getTagsMapin interfaceNodeOverviewOrBuilder
-
getTagsOrDefault
public String getTagsOrDefault(String key, String defaultValue)
List of tags associated with this node
map<string, string> tags = 6;- Specified by:
getTagsOrDefaultin interfaceNodeOverviewOrBuilder
-
getTagsOrThrow
public String getTagsOrThrow(String key)
List of tags associated with this node
map<string, string> tags = 6;- Specified by:
getTagsOrThrowin interfaceNodeOverviewOrBuilder
-
clearTags
public NodeOverview.Builder clearTags()
-
removeTags
public NodeOverview.Builder removeTags(String key)
List of tags associated with this node
map<string, string> tags = 6;
-
getMutableTags
@Deprecated public Map<String,String> getMutableTags()
Deprecated.Use alternate mutation accessors instead.
-
putTags
public NodeOverview.Builder putTags(String key, String value)
List of tags associated with this node
map<string, string> tags = 6;
-
putAllTags
public NodeOverview.Builder putAllTags(Map<String,String> values)
List of tags associated with this node
map<string, string> tags = 6;
-
-