Interface DeleteRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    long
    An optional expected version_id.
    The key
    com.google.protobuf.ByteString
    The key
    boolean
    An optional expected version_id.

    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

    • getKey

      String getKey()
       The key
       
      string key = 1;
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       The key
       
      string key = 1;
      Returns:
      The bytes for key.
    • hasExpectedVersionId

      boolean hasExpectedVersionId()
       An optional expected version_id. The delete will fail if the server's current version_id
       does not match
       
      optional int64 expected_version_id = 2;
      Returns:
      Whether the expectedVersionId field is set.
    • getExpectedVersionId

      long getExpectedVersionId()
       An optional expected version_id. The delete will fail if the server's current version_id
       does not match
       
      optional int64 expected_version_id = 2;
      Returns:
      The expectedVersionId.