Class 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 type io.axoniq.axonserver.grpc.admin.NodeOverview
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder>
      • clear

        public NodeOverview.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<NodeOverview.Builder>
      • getDefaultInstanceForType

        public NodeOverview getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public NodeOverview build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public NodeOverview buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

        public NodeOverview.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodeOverview.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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:
        getHostName in interface NodeOverviewOrBuilder
        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:
        getHostNameBytes in interface NodeOverviewOrBuilder
        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:
        getGrpcPort in interface NodeOverviewOrBuilder
        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:
        getHttpPort in interface NodeOverviewOrBuilder
        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:
        getNodeName in interface NodeOverviewOrBuilder
        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:
        getNodeNameBytes in interface NodeOverviewOrBuilder
        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:
        getReplicationGroupsList in interface NodeOverviewOrBuilder
        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:
        getReplicationGroupsCount in interface NodeOverviewOrBuilder
        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:
        getReplicationGroups in interface NodeOverviewOrBuilder
        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:
        getReplicationGroupsBytes in interface NodeOverviewOrBuilder
        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.
      • 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.