Class ReadStreamRequest.Builder

    • 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<ReadStreamRequest.Builder>
      • clear

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

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

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

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

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

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

        public ReadStreamRequest.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<ReadStreamRequest.Builder>
        Throws:
        IOException
      • setReaderId

        public ReadStreamRequest.Builder setReaderId​(String value)
        string readerId = 1;
        Parameters:
        value - The readerId to set.
        Returns:
        This builder for chaining.
      • setReaderIdBytes

        public ReadStreamRequest.Builder setReaderIdBytes​(com.google.protobuf.ByteString value)
        string readerId = 1;
        Parameters:
        value - The bytes for readerId to set.
        Returns:
        This builder for chaining.
      • setStreamName

        public ReadStreamRequest.Builder setStreamName​(String value)
        string streamName = 2;
        Parameters:
        value - The streamName to set.
        Returns:
        This builder for chaining.
      • clearStreamName

        public ReadStreamRequest.Builder clearStreamName()
        string streamName = 2;
        Returns:
        This builder for chaining.
      • setStreamNameBytes

        public ReadStreamRequest.Builder setStreamNameBytes​(com.google.protobuf.ByteString value)
        string streamName = 2;
        Parameters:
        value - The bytes for streamName to set.
        Returns:
        This builder for chaining.
      • hasFrom

        public boolean hasFrom()
        .hstream.server.StreamOffset from = 3;
        Specified by:
        hasFrom in interface ReadStreamRequestOrBuilder
        Returns:
        Whether the from field is set.
      • getFromBuilder

        public StreamOffset.Builder getFromBuilder()
        .hstream.server.StreamOffset from = 3;
      • hasUntil

        public boolean hasUntil()
        .hstream.server.StreamOffset until = 4;
        Specified by:
        hasUntil in interface ReadStreamRequestOrBuilder
        Returns:
        Whether the until field is set.
      • getUntilBuilder

        public StreamOffset.Builder getUntilBuilder()
        .hstream.server.StreamOffset until = 4;
      • getMaxReadBatches

        public long getMaxReadBatches()
         Total number of batches reader read at most
         
        uint64 maxReadBatches = 5;
        Specified by:
        getMaxReadBatches in interface ReadStreamRequestOrBuilder
        Returns:
        The maxReadBatches.
      • setMaxReadBatches

        public ReadStreamRequest.Builder setMaxReadBatches​(long value)
         Total number of batches reader read at most
         
        uint64 maxReadBatches = 5;
        Parameters:
        value - The maxReadBatches to set.
        Returns:
        This builder for chaining.
      • clearMaxReadBatches

        public ReadStreamRequest.Builder clearMaxReadBatches()
         Total number of batches reader read at most
         
        uint64 maxReadBatches = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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