Class ListRequest.Builder

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

public static final class ListRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListRequest.Builder> implements ListRequestOrBuilder

 Input to a list request. Key ranges assume a UTF-8 byte sort order.
 
Protobuf type io.streamnative.oxia.proto.ListRequest
  • 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<ListRequest.Builder>
    • clear

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

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

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

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

      public ListRequest.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<ListRequest.Builder>
    • setField

      public ListRequest.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<ListRequest.Builder>
    • clearField

      public ListRequest.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<ListRequest.Builder>
    • clearOneof

      public ListRequest.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<ListRequest.Builder>
    • setRepeatedField

      public ListRequest.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<ListRequest.Builder>
    • addRepeatedField

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

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

      public ListRequest.Builder mergeFrom(ListRequest other)
    • isInitialized

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

      public ListRequest.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<ListRequest.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 ListRequestOrBuilder
      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 ListRequestOrBuilder
      Returns:
      The shardId.
    • setShardId

      public ListRequest.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 ListRequest.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 ListRequestOrBuilder
      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 ListRequestOrBuilder
      Returns:
      The bytes for startInclusive.
    • setStartInclusive

      public ListRequest.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 ListRequest.Builder clearStartInclusive()
       The start of the range, inclusive
       
      string start_inclusive = 2;
      Returns:
      This builder for chaining.
    • setStartInclusiveBytes

      public ListRequest.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 ListRequestOrBuilder
      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 ListRequestOrBuilder
      Returns:
      The bytes for endExclusive.
    • setEndExclusive

      public ListRequest.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 ListRequest.Builder clearEndExclusive()
       The end of the range, exclusive
       
      string end_exclusive = 3;
      Returns:
      This builder for chaining.
    • setEndExclusiveBytes

      public ListRequest.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 ListRequestOrBuilder
      Returns:
      Whether the secondaryIndexName field is set.
    • getSecondaryIndexName

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

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

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

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

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

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