Class Version.RangeResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.version.Version.RangeResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Version.RangeResponseOrBuilder, Serializable
Enclosing class:
Version

public static final class Version.RangeResponse extends com.google.protobuf.GeneratedMessageV3 implements Version.RangeResponseOrBuilder
Protobuf type dingodb.pb.version.RangeResponse
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • hasResponseInfo

      public boolean hasResponseInfo()
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      hasResponseInfo in interface Version.RangeResponseOrBuilder
      Returns:
      Whether the responseInfo field is set.
    • getResponseInfo

      public Common.ResponseInfo getResponseInfo()
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      getResponseInfo in interface Version.RangeResponseOrBuilder
      Returns:
      The responseInfo.
    • getResponseInfoOrBuilder

      public Common.ResponseInfoOrBuilder getResponseInfoOrBuilder()
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      getResponseInfoOrBuilder in interface Version.RangeResponseOrBuilder
    • hasError

      public boolean hasError()
      .dingodb.pb.error.Error error = 2;
      Specified by:
      hasError in interface Version.RangeResponseOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public ErrorOuterClass.Error getError()
      .dingodb.pb.error.Error error = 2;
      Specified by:
      getError in interface Version.RangeResponseOrBuilder
      Returns:
      The error.
    • getErrorOrBuilder

      public ErrorOuterClass.ErrorOrBuilder getErrorOrBuilder()
      .dingodb.pb.error.Error error = 2;
      Specified by:
      getErrorOrBuilder in interface Version.RangeResponseOrBuilder
    • hasHeader

      public boolean hasHeader()
      .dingodb.pb.version.ResponseHeader header = 3;
      Specified by:
      hasHeader in interface Version.RangeResponseOrBuilder
      Returns:
      Whether the header field is set.
    • getHeader

      public Version.ResponseHeader getHeader()
      .dingodb.pb.version.ResponseHeader header = 3;
      Specified by:
      getHeader in interface Version.RangeResponseOrBuilder
      Returns:
      The header.
    • getHeaderOrBuilder

      public Version.ResponseHeaderOrBuilder getHeaderOrBuilder()
      .dingodb.pb.version.ResponseHeader header = 3;
      Specified by:
      getHeaderOrBuilder in interface Version.RangeResponseOrBuilder
    • getKvsList

      public List<Version.Kv> getKvsList()
       kvs is the list of key-value pairs matched by the range request.
       kvs is empty when count is requested.
       
      repeated .dingodb.pb.version.Kv kvs = 4;
      Specified by:
      getKvsList in interface Version.RangeResponseOrBuilder
    • getKvsOrBuilderList

      public List<? extends Version.KvOrBuilder> getKvsOrBuilderList()
       kvs is the list of key-value pairs matched by the range request.
       kvs is empty when count is requested.
       
      repeated .dingodb.pb.version.Kv kvs = 4;
      Specified by:
      getKvsOrBuilderList in interface Version.RangeResponseOrBuilder
    • getKvsCount

      public int getKvsCount()
       kvs is the list of key-value pairs matched by the range request.
       kvs is empty when count is requested.
       
      repeated .dingodb.pb.version.Kv kvs = 4;
      Specified by:
      getKvsCount in interface Version.RangeResponseOrBuilder
    • getKvs

      public Version.Kv getKvs(int index)
       kvs is the list of key-value pairs matched by the range request.
       kvs is empty when count is requested.
       
      repeated .dingodb.pb.version.Kv kvs = 4;
      Specified by:
      getKvs in interface Version.RangeResponseOrBuilder
    • getKvsOrBuilder

      public Version.KvOrBuilder getKvsOrBuilder(int index)
       kvs is the list of key-value pairs matched by the range request.
       kvs is empty when count is requested.
       
      repeated .dingodb.pb.version.Kv kvs = 4;
      Specified by:
      getKvsOrBuilder in interface Version.RangeResponseOrBuilder
    • getMore

      public boolean getMore()
       more indicates if there are more keys to return in the requested range.
       
      bool more = 5;
      Specified by:
      getMore in interface Version.RangeResponseOrBuilder
      Returns:
      The more.
    • getCount

      public long getCount()
       count is set to the number of keys within the range when requested.
       
      int64 count = 6;
      Specified by:
      getCount in interface Version.RangeResponseOrBuilder
      Returns:
      The count.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Version.RangeResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Version.RangeResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Version.RangeResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Version.RangeResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Version.RangeResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Version.RangeResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Version.RangeResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Version.RangeResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Version.RangeResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Version.RangeResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Version.RangeResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Version.RangeResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Version.RangeResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Version.RangeResponse.Builder newBuilder()
    • newBuilder

      public static Version.RangeResponse.Builder newBuilder(Version.RangeResponse prototype)
    • toBuilder

      public Version.RangeResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Version.RangeResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Version.RangeResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Version.RangeResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<Version.RangeResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Version.RangeResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder