Interface PutResponseOrBuilder

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

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

    Modifier and Type
    Method
    Description
    If the key was generated by Oxia, it will be returned as part of the response
    com.google.protobuf.ByteString
    If the key was generated by Oxia, it will be returned as part of the response
    Includes the error or OK
    int
    Includes the error or OK
    The version if the put was successful
    The version if the put was successful
    boolean
    If the key was generated by Oxia, it will be returned as part of the response
    boolean
    The version if the put was successful

    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 if the put was successful
       
      .io.streamnative.oxia.proto.Version version = 2;
      Returns:
      Whether the version field is set.
    • getVersion

      Version getVersion()
       The version if the put was successful
       
      .io.streamnative.oxia.proto.Version version = 2;
      Returns:
      The version.
    • getVersionOrBuilder

      VersionOrBuilder getVersionOrBuilder()
       The version if the put was successful
       
      .io.streamnative.oxia.proto.Version version = 2;
    • hasKey

      boolean hasKey()
       If the key was generated by Oxia, it will be returned as part
       of the response
       
      optional string key = 3;
      Returns:
      Whether the key field is set.
    • getKey

      String getKey()
       If the key was generated by Oxia, it will be returned as part
       of the response
       
      optional string key = 3;
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       If the key was generated by Oxia, it will be returned as part
       of the response
       
      optional string key = 3;
      Returns:
      The bytes for key.