public static interface Kvrpcpb.PessimisticLockResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getCommitTs()
Deprecated.
|
Kvrpcpb.KeyError |
getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2; |
int |
getErrorsCount()
repeated .kvrpcpb.KeyError errors = 2; |
List<Kvrpcpb.KeyError> |
getErrorsList()
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.KeyErrorOrBuilder |
getErrorsOrBuilder(int index)
repeated .kvrpcpb.KeyError errors = 2; |
List<? extends Kvrpcpb.KeyErrorOrBuilder> |
getErrorsOrBuilderList()
repeated .kvrpcpb.KeyError errors = 2; |
boolean |
getNotFounds(int index)
Indicates whether the values at the same index is correspond to an existing key.
|
int |
getNotFoundsCount()
Indicates whether the values at the same index is correspond to an existing key.
|
List<Boolean> |
getNotFoundsList()
Indicates whether the values at the same index is correspond to an existing key.
|
Errorpb.Error |
getRegionError()
.errorpb.Error region_error = 1; |
Errorpb.ErrorOrBuilder |
getRegionErrorOrBuilder()
.errorpb.Error region_error = 1; |
com.google.protobuf.ByteString |
getValue()
Deprecated.
|
com.google.protobuf.ByteString |
getValues(int index)
The values is set if 'return_values' is true in the request and no error.
|
int |
getValuesCount()
The values is set if 'return_values' is true in the request and no error.
|
List<com.google.protobuf.ByteString> |
getValuesList()
The values is set if 'return_values' is true in the request and no error.
|
boolean |
hasRegionError()
.errorpb.Error region_error = 1; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasRegionError()
.errorpb.Error region_error = 1;
Errorpb.Error getRegionError()
.errorpb.Error region_error = 1;
Errorpb.ErrorOrBuilder getRegionErrorOrBuilder()
.errorpb.Error region_error = 1;
List<Kvrpcpb.KeyError> getErrorsList()
repeated .kvrpcpb.KeyError errors = 2;
Kvrpcpb.KeyError getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2;
int getErrorsCount()
repeated .kvrpcpb.KeyError errors = 2;
List<? extends Kvrpcpb.KeyErrorOrBuilder> getErrorsOrBuilderList()
repeated .kvrpcpb.KeyError errors = 2;
Kvrpcpb.KeyErrorOrBuilder getErrorsOrBuilder(int index)
repeated .kvrpcpb.KeyError errors = 2;
@Deprecated long getCommitTs()
It carries the latest value and its commit ts if force in PessimisticLockRequest is true.
uint64 commit_ts = 3 [deprecated = true];
@Deprecated com.google.protobuf.ByteString getValue()
bytes value = 4 [deprecated = true];
List<com.google.protobuf.ByteString> getValuesList()
The values is set if 'return_values' is true in the request and no error. If 'force' is true, this field is not used.
repeated bytes values = 5;
int getValuesCount()
The values is set if 'return_values' is true in the request and no error. If 'force' is true, this field is not used.
repeated bytes values = 5;
com.google.protobuf.ByteString getValues(int index)
The values is set if 'return_values' is true in the request and no error. If 'force' is true, this field is not used.
repeated bytes values = 5;
index
- The index of the element to return.List<Boolean> getNotFoundsList()
Indicates whether the values at the same index is correspond to an existing key. In legacy TiKV, this field is not used even 'force' is false. In that case, an empty value indicates two possible situations: (1) the key does not exist. (2) the key exists but the value is empty.
repeated bool not_founds = 6;
int getNotFoundsCount()
Indicates whether the values at the same index is correspond to an existing key. In legacy TiKV, this field is not used even 'force' is false. In that case, an empty value indicates two possible situations: (1) the key does not exist. (2) the key exists but the value is empty.
repeated bool not_founds = 6;
boolean getNotFounds(int index)
Indicates whether the values at the same index is correspond to an existing key. In legacy TiKV, this field is not used even 'force' is false. In that case, an empty value indicates two possible situations: (1) the key does not exist. (2) the key exists but the value is empty.
repeated bool not_founds = 6;
index
- The index of the element to return.Copyright © 2024 PingCAP. All rights reserved.