Interface GetResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GetResponse, GetResponse.Builder

public interface GetResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    In case of non-exact queries (eg.
    com.google.protobuf.ByteString
    In case of non-exact queries (eg.
    Includes the error or OK
    int
    Includes the error or OK
    com.google.protobuf.ByteString
    The value, if it was requested and there was no error
    The version of the record
    The version of the record
    boolean
    In case of non-exact queries (eg.
    boolean
    The value, if it was requested and there was no error
    boolean
    The version of the record

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getStatusValue

      int getStatusValue()
       Includes the error or OK
       
      .io.streamnative.oxia.proto.Status status = 1;
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      Status getStatus()
       Includes the error or OK
       
      .io.streamnative.oxia.proto.Status status = 1;
      Returns:
      The status.
    • hasVersion

      boolean hasVersion()
       The version of the record
       
      .io.streamnative.oxia.proto.Version version = 2;
      Returns:
      Whether the version field is set.
    • getVersion

      Version getVersion()
       The version of the record
       
      .io.streamnative.oxia.proto.Version version = 2;
      Returns:
      The version.
    • getVersionOrBuilder

      VersionOrBuilder getVersionOrBuilder()
       The version of the record
       
      .io.streamnative.oxia.proto.Version version = 2;
    • hasValue

      boolean hasValue()
       The value, if it was requested and there was no error
       
      optional bytes value = 3;
      Returns:
      Whether the value field is set.
    • getValue

      com.google.protobuf.ByteString getValue()
       The value, if it was requested and there was no error
       
      optional bytes value = 3;
      Returns:
      The value.
    • hasKey

      boolean hasKey()
       In case of non-exact queries (eg. floor, ceiling) the found key will be
       returned in the GetResponse.
       
      optional string key = 4;
      Returns:
      Whether the key field is set.
    • getKey

      String getKey()
       In case of non-exact queries (eg. floor, ceiling) the found key will be
       returned in the GetResponse.
       
      optional string key = 4;
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       In case of non-exact queries (eg. floor, ceiling) the found key will be
       returned in the GetResponse.
       
      optional string key = 4;
      Returns:
      The bytes for key.