Class RangeScanResponse.Builder

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

public static final class RangeScanResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RangeScanResponse.Builder> implements RangeScanResponseOrBuilder

 The response to a range-scan request.
 
Protobuf type io.streamnative.oxia.proto.RangeScanResponse
  • 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<RangeScanResponse.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public RangeScanResponse.Builder mergeFrom(RangeScanResponse other)
    • isInitialized

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

      public RangeScanResponse.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<RangeScanResponse.Builder>
      Throws:
      IOException
    • getRecordsList

      public List<GetResponse> getRecordsList()
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
      Specified by:
      getRecordsList in interface RangeScanResponseOrBuilder
    • getRecordsCount

      public int getRecordsCount()
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
      Specified by:
      getRecordsCount in interface RangeScanResponseOrBuilder
    • getRecords

      public GetResponse getRecords(int index)
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
      Specified by:
      getRecords in interface RangeScanResponseOrBuilder
    • setRecords

      public RangeScanResponse.Builder setRecords(int index, GetResponse value)
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • setRecords

      public RangeScanResponse.Builder setRecords(int index, GetResponse.Builder builderForValue)
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • addRecords

      public RangeScanResponse.Builder addRecords(GetResponse value)
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • addRecords

      public RangeScanResponse.Builder addRecords(int index, GetResponse value)
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • addRecords

      public RangeScanResponse.Builder addRecords(GetResponse.Builder builderForValue)
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • addRecords

      public RangeScanResponse.Builder addRecords(int index, GetResponse.Builder builderForValue)
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • addAllRecords

      public RangeScanResponse.Builder addAllRecords(Iterable<? extends GetResponse> values)
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • clearRecords

      public RangeScanResponse.Builder clearRecords()
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • removeRecords

      public RangeScanResponse.Builder removeRecords(int index)
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • getRecordsBuilder

      public GetResponse.Builder getRecordsBuilder(int index)
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • getRecordsOrBuilder

      public GetResponseOrBuilder getRecordsOrBuilder(int index)
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
      Specified by:
      getRecordsOrBuilder in interface RangeScanResponseOrBuilder
    • getRecordsOrBuilderList

      public List<? extends GetResponseOrBuilder> getRecordsOrBuilderList()
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
      Specified by:
      getRecordsOrBuilderList in interface RangeScanResponseOrBuilder
    • addRecordsBuilder

      public GetResponse.Builder addRecordsBuilder()
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • addRecordsBuilder

      public GetResponse.Builder addRecordsBuilder(int index)
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • getRecordsBuilderList

      public List<GetResponse.Builder> getRecordsBuilderList()
       A portion of the records found within the specified range
       
      repeated .io.streamnative.oxia.proto.GetResponse records = 1;
    • setUnknownFields

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

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