Package io.streamnative.oxia.proto
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 TypeMethodDescriptionlongAn optional expected version_id.getKey()The keycom.google.protobuf.ByteStringThe keybooleanAn optional expected version_id.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-