Class Consumer.Builder

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

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

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

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

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

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

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

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

        public Consumer.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<Consumer.Builder>
        Throws:
        IOException
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        string name = 1;
        Specified by:
        getNameBytes in interface ConsumerOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Consumer.Builder setName​(String value)
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Consumer.Builder clearName()
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Consumer.Builder setNameBytes​(com.google.protobuf.ByteString value)
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getUriBytes

        public com.google.protobuf.ByteString getUriBytes()
        string uri = 2;
        Specified by:
        getUriBytes in interface ConsumerOrBuilder
        Returns:
        The bytes for uri.
      • setUri

        public Consumer.Builder setUri​(String value)
        string uri = 2;
        Parameters:
        value - The uri to set.
        Returns:
        This builder for chaining.
      • clearUri

        public Consumer.Builder clearUri()
        string uri = 2;
        Returns:
        This builder for chaining.
      • setUriBytes

        public Consumer.Builder setUriBytes​(com.google.protobuf.ByteString value)
        string uri = 2;
        Parameters:
        value - The bytes for uri to set.
        Returns:
        This builder for chaining.
      • getUserAgentBytes

        public com.google.protobuf.ByteString getUserAgentBytes()
        string userAgent = 3;
        Specified by:
        getUserAgentBytes in interface ConsumerOrBuilder
        Returns:
        The bytes for userAgent.
      • setUserAgent

        public Consumer.Builder setUserAgent​(String value)
        string userAgent = 3;
        Parameters:
        value - The userAgent to set.
        Returns:
        This builder for chaining.
      • clearUserAgent

        public Consumer.Builder clearUserAgent()
        string userAgent = 3;
        Returns:
        This builder for chaining.
      • setUserAgentBytes

        public Consumer.Builder setUserAgentBytes​(com.google.protobuf.ByteString value)
        string userAgent = 3;
        Parameters:
        value - The bytes for userAgent to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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