Package io.dingodb.store
Interface Store.KvBatchCompareAndSetResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Store.KvBatchCompareAndSetResponse,Store.KvBatchCompareAndSetResponse.Builder
- Enclosing class:
- Store
public static interface Store.KvBatchCompareAndSetResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetError().dingodb.pb.error.Error error = 2;.dingodb.pb.error.Error error = 2;booleangetKeyStates(int index) key_state = true, update success key_state = false, update failedintkey_state = true, update success key_state = false, update failedkey_state = true, update success key_state = false, update failed.dingodb.pb.common.ResponseInfo response_info = 1;.dingodb.pb.common.ResponseInfo response_info = 1;longgetTs()int64 ts = 4;booleanhasError().dingodb.pb.error.Error error = 2;boolean.dingodb.pb.common.ResponseInfo response_info = 1;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
-
hasResponseInfo
boolean hasResponseInfo().dingodb.pb.common.ResponseInfo response_info = 1;- Returns:
- Whether the responseInfo field is set.
-
getResponseInfo
Common.ResponseInfo getResponseInfo().dingodb.pb.common.ResponseInfo response_info = 1;- Returns:
- The responseInfo.
-
getResponseInfoOrBuilder
Common.ResponseInfoOrBuilder getResponseInfoOrBuilder().dingodb.pb.common.ResponseInfo response_info = 1; -
hasError
boolean hasError().dingodb.pb.error.Error error = 2;- Returns:
- Whether the error field is set.
-
getError
ErrorOuterClass.Error getError().dingodb.pb.error.Error error = 2;- Returns:
- The error.
-
getErrorOrBuilder
ErrorOuterClass.ErrorOrBuilder getErrorOrBuilder().dingodb.pb.error.Error error = 2; -
getKeyStatesList
key_state = true, update success key_state = false, update failed
repeated bool key_states = 3;- Returns:
- A list containing the keyStates.
-
getKeyStatesCount
int getKeyStatesCount()key_state = true, update success key_state = false, update failed
repeated bool key_states = 3;- Returns:
- The count of keyStates.
-
getKeyStates
boolean getKeyStates(int index) key_state = true, update success key_state = false, update failed
repeated bool key_states = 3;- Parameters:
index- The index of the element to return.- Returns:
- The keyStates at the given index.
-
getTs
long getTs()int64 ts = 4;- Returns:
- The ts.
-