Class HStreamVersion.Builder

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

    public static final class HStreamVersion.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<HStreamVersion.Builder>
    implements HStreamVersionOrBuilder
    Protobuf type hstream.server.HStreamVersion
    • 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<HStreamVersion.Builder>
      • clear

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

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

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

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

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

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

        public HStreamVersion.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<HStreamVersion.Builder>
        Throws:
        IOException
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
        string version = 1;
        Specified by:
        getVersionBytes in interface HStreamVersionOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        public HStreamVersion.Builder setVersion​(String value)
        string version = 1;
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public HStreamVersion.Builder clearVersion()
        string version = 1;
        Returns:
        This builder for chaining.
      • setVersionBytes

        public HStreamVersion.Builder setVersionBytes​(com.google.protobuf.ByteString value)
        string version = 1;
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • getCommitBytes

        public com.google.protobuf.ByteString getCommitBytes()
        string commit = 2;
        Specified by:
        getCommitBytes in interface HStreamVersionOrBuilder
        Returns:
        The bytes for commit.
      • setCommit

        public HStreamVersion.Builder setCommit​(String value)
        string commit = 2;
        Parameters:
        value - The commit to set.
        Returns:
        This builder for chaining.
      • clearCommit

        public HStreamVersion.Builder clearCommit()
        string commit = 2;
        Returns:
        This builder for chaining.
      • setCommitBytes

        public HStreamVersion.Builder setCommitBytes​(com.google.protobuf.ByteString value)
        string commit = 2;
        Parameters:
        value - The bytes for commit to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final HStreamVersion.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<HStreamVersion.Builder>
      • mergeUnknownFields

        public final HStreamVersion.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<HStreamVersion.Builder>