Class ServerNode.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerNodeOrBuilder, Cloneable
    Enclosing class:
    ServerNode

    public static final class ServerNode.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ServerNode.Builder>
    implements ServerNodeOrBuilder
    Protobuf type hstream.server.ServerNode
    • Method Detail

      • getDescriptor

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

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

        public ServerNode.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.GeneratedMessageV3.Builder<ServerNode.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.GeneratedMessageV3.Builder<ServerNode.Builder>
      • getDefaultInstanceForType

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

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

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

        public ServerNode.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<ServerNode.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ServerNode.Builder>
      • mergeFrom

        public ServerNode.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<ServerNode.Builder>
        Throws:
        IOException
      • setId

        public ServerNode.Builder setId​(int value)
        uint32 id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public ServerNode.Builder clearId()
        uint32 id = 1;
        Returns:
        This builder for chaining.
      • getHostBytes

        public com.google.protobuf.ByteString getHostBytes()
        string host = 2;
        Specified by:
        getHostBytes in interface ServerNodeOrBuilder
        Returns:
        The bytes for host.
      • setHost

        public ServerNode.Builder setHost​(String value)
        string host = 2;
        Parameters:
        value - The host to set.
        Returns:
        This builder for chaining.
      • clearHost

        public ServerNode.Builder clearHost()
        string host = 2;
        Returns:
        This builder for chaining.
      • setHostBytes

        public ServerNode.Builder setHostBytes​(com.google.protobuf.ByteString value)
        string host = 2;
        Parameters:
        value - The bytes for host to set.
        Returns:
        This builder for chaining.
      • setPort

        public ServerNode.Builder setPort​(int value)
        uint32 port = 3;
        Parameters:
        value - The port to set.
        Returns:
        This builder for chaining.
      • clearPort

        public ServerNode.Builder clearPort()
        uint32 port = 3;
        Returns:
        This builder for chaining.
      • hasVersion

        public boolean hasVersion()
        .hstream.server.HStreamVersion version = 4;
        Specified by:
        hasVersion in interface ServerNodeOrBuilder
        Returns:
        Whether the version field is set.
      • clearVersion

        public ServerNode.Builder clearVersion()
        .hstream.server.HStreamVersion version = 4;
      • getVersionBuilder

        public HStreamVersion.Builder getVersionBuilder()
        .hstream.server.HStreamVersion version = 4;
      • setUnknownFields

        public final ServerNode.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServerNode.Builder>
      • mergeUnknownFields

        public final ServerNode.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServerNode.Builder>