Class RangeScanRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RangeScanRequest.Builder>
io.streamnative.oxia.proto.RangeScanRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RangeScanRequestOrBuilder, Cloneable
Enclosing class:
RangeScanRequest

public static final class RangeScanRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RangeScanRequest.Builder> implements RangeScanRequestOrBuilder

 Input to a range-scan request
 
Protobuf type io.streamnative.oxia.proto.RangeScanRequest
  • Method Details

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

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

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

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

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

      public RangeScanRequest.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<RangeScanRequest.Builder>
    • setField

      public RangeScanRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<RangeScanRequest.Builder>
    • clearField

      public RangeScanRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RangeScanRequest.Builder>
    • clearOneof

      public RangeScanRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RangeScanRequest.Builder>
    • setRepeatedField

      public RangeScanRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RangeScanRequest.Builder>
    • addRepeatedField

      public RangeScanRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RangeScanRequest.Builder>
    • mergeFrom

      public RangeScanRequest.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<RangeScanRequest.Builder>
    • mergeFrom

      public RangeScanRequest.Builder mergeFrom(RangeScanRequest other)
    • isInitialized

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

      public RangeScanRequest.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<RangeScanRequest.Builder>
      Throws:
      IOException
    • hasShardId

      public boolean hasShardId()
       The shard id. This is optional allow for support for server-side hashing
       and proxying in the future.
       
      optional int64 shard_id = 1;
      Specified by:
      hasShardId in interface RangeScanRequestOrBuilder
      Returns:
      Whether the shardId field is set.
    • getShardId

      public long getShardId()
       The shard id. This is optional allow for support for server-side hashing
       and proxying in the future.
       
      optional int64 shard_id = 1;
      Specified by:
      getShardId in interface RangeScanRequestOrBuilder
      Returns:
      The shardId.
    • setShardId

      public RangeScanRequest.Builder setShardId(long value)
       The shard id. This is optional allow for support for server-side hashing
       and proxying in the future.
       
      optional int64 shard_id = 1;
      Parameters:
      value - The shardId to set.
      Returns:
      This builder for chaining.
    • clearShardId

      public RangeScanRequest.Builder clearShardId()
       The shard id. This is optional allow for support for server-side hashing
       and proxying in the future.
       
      optional int64 shard_id = 1;
      Returns:
      This builder for chaining.
    • getStartInclusive

      public String getStartInclusive()
       The start of the range, inclusive
       
      string start_inclusive = 2;
      Specified by:
      getStartInclusive in interface RangeScanRequestOrBuilder
      Returns:
      The startInclusive.
    • getStartInclusiveBytes

      public com.google.protobuf.ByteString getStartInclusiveBytes()
       The start of the range, inclusive
       
      string start_inclusive = 2;
      Specified by:
      getStartInclusiveBytes in interface RangeScanRequestOrBuilder
      Returns:
      The bytes for startInclusive.
    • setStartInclusive

      public RangeScanRequest.Builder setStartInclusive(String value)
       The start of the range, inclusive
       
      string start_inclusive = 2;
      Parameters:
      value - The startInclusive to set.
      Returns:
      This builder for chaining.
    • clearStartInclusive

      public RangeScanRequest.Builder clearStartInclusive()
       The start of the range, inclusive
       
      string start_inclusive = 2;
      Returns:
      This builder for chaining.
    • setStartInclusiveBytes

      public RangeScanRequest.Builder setStartInclusiveBytes(com.google.protobuf.ByteString value)
       The start of the range, inclusive
       
      string start_inclusive = 2;
      Parameters:
      value - The bytes for startInclusive to set.
      Returns:
      This builder for chaining.
    • getEndExclusive

      public String getEndExclusive()
       The end of the range, exclusive
       
      string end_exclusive = 3;
      Specified by:
      getEndExclusive in interface RangeScanRequestOrBuilder
      Returns:
      The endExclusive.
    • getEndExclusiveBytes

      public com.google.protobuf.ByteString getEndExclusiveBytes()
       The end of the range, exclusive
       
      string end_exclusive = 3;
      Specified by:
      getEndExclusiveBytes in interface RangeScanRequestOrBuilder
      Returns:
      The bytes for endExclusive.
    • setEndExclusive

      public RangeScanRequest.Builder setEndExclusive(String value)
       The end of the range, exclusive
       
      string end_exclusive = 3;
      Parameters:
      value - The endExclusive to set.
      Returns:
      This builder for chaining.
    • clearEndExclusive

      public RangeScanRequest.Builder clearEndExclusive()
       The end of the range, exclusive
       
      string end_exclusive = 3;
      Returns:
      This builder for chaining.
    • setEndExclusiveBytes

      public RangeScanRequest.Builder setEndExclusiveBytes(com.google.protobuf.ByteString value)
       The end of the range, exclusive
       
      string end_exclusive = 3;
      Parameters:
      value - The bytes for endExclusive to set.
      Returns:
      This builder for chaining.
    • hasSecondaryIndexName

      public boolean hasSecondaryIndexName()
      optional string secondary_index_name = 4;
      Specified by:
      hasSecondaryIndexName in interface RangeScanRequestOrBuilder
      Returns:
      Whether the secondaryIndexName field is set.
    • getSecondaryIndexName

      public String getSecondaryIndexName()
      optional string secondary_index_name = 4;
      Specified by:
      getSecondaryIndexName in interface RangeScanRequestOrBuilder
      Returns:
      The secondaryIndexName.
    • getSecondaryIndexNameBytes

      public com.google.protobuf.ByteString getSecondaryIndexNameBytes()
      optional string secondary_index_name = 4;
      Specified by:
      getSecondaryIndexNameBytes in interface RangeScanRequestOrBuilder
      Returns:
      The bytes for secondaryIndexName.
    • setSecondaryIndexName

      public RangeScanRequest.Builder setSecondaryIndexName(String value)
      optional string secondary_index_name = 4;
      Parameters:
      value - The secondaryIndexName to set.
      Returns:
      This builder for chaining.
    • clearSecondaryIndexName

      public RangeScanRequest.Builder clearSecondaryIndexName()
      optional string secondary_index_name = 4;
      Returns:
      This builder for chaining.
    • setSecondaryIndexNameBytes

      public RangeScanRequest.Builder setSecondaryIndexNameBytes(com.google.protobuf.ByteString value)
      optional string secondary_index_name = 4;
      Parameters:
      value - The bytes for secondaryIndexName to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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