public static final class Coprocessor.Response extends com.google.protobuf.GeneratedMessageV3 implements Coprocessor.ResponseOrBuilder
coprocessor.Response| Modifier and Type | Class and Description |
|---|---|
static class |
Coprocessor.Response.Builder
Protobuf type
coprocessor.Response |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CACHE_LAST_VERSION_FIELD_NUMBER |
static int |
CAN_BE_CACHED_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static int |
EXEC_DETAILS_FIELD_NUMBER |
static int |
EXEC_DETAILS_V2_FIELD_NUMBER |
static int |
IS_CACHE_HIT_FIELD_NUMBER |
static int |
LATEST_BUCKETS_VERSION_FIELD_NUMBER |
static int |
LOCKED_FIELD_NUMBER |
static int |
OTHER_ERROR_FIELD_NUMBER |
static int |
RANGE_FIELD_NUMBER |
static int |
REGION_ERROR_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getCacheLastVersion()
uint64 cache_last_version = 8; |
boolean |
getCanBeCached()
bool can_be_cached = 9; |
com.google.protobuf.ByteString |
getData()
bytes data = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/kvproto/pkg/sharedbytes.SharedBytes"]; |
static Coprocessor.Response |
getDefaultInstance() |
Coprocessor.Response |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Kvrpcpb.ExecDetails |
getExecDetails()
This field is always filled for compatibility consideration.
|
Kvrpcpb.ExecDetailsOrBuilder |
getExecDetailsOrBuilder()
This field is always filled for compatibility consideration.
|
Kvrpcpb.ExecDetailsV2 |
getExecDetailsV2()
This field is provided in later versions, containing more detailed
information.
|
Kvrpcpb.ExecDetailsV2OrBuilder |
getExecDetailsV2OrBuilder()
This field is provided in later versions, containing more detailed
information.
|
boolean |
getIsCacheHit()
bool is_cache_hit = 7; |
long |
getLatestBucketsVersion()
Contains the latest buckets version of the region.
|
Kvrpcpb.LockInfo |
getLocked()
.kvrpcpb.LockInfo locked = 3; |
Kvrpcpb.LockInfoOrBuilder |
getLockedOrBuilder()
.kvrpcpb.LockInfo locked = 3; |
String |
getOtherError()
string other_error = 4; |
com.google.protobuf.ByteString |
getOtherErrorBytes()
string other_error = 4; |
com.google.protobuf.Parser<Coprocessor.Response> |
getParserForType() |
Coprocessor.KeyRange |
getRange()
.coprocessor.KeyRange range = 5; |
Coprocessor.KeyRangeOrBuilder |
getRangeOrBuilder()
.coprocessor.KeyRange range = 5; |
Errorpb.Error |
getRegionError()
.errorpb.Error region_error = 2; |
Errorpb.ErrorOrBuilder |
getRegionErrorOrBuilder()
.errorpb.Error region_error = 2; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasExecDetails()
This field is always filled for compatibility consideration.
|
boolean |
hasExecDetailsV2()
This field is provided in later versions, containing more detailed
information.
|
int |
hashCode() |
boolean |
hasLocked()
.kvrpcpb.LockInfo locked = 3; |
boolean |
hasRange()
.coprocessor.KeyRange range = 5; |
boolean |
hasRegionError()
.errorpb.Error region_error = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Coprocessor.Response.Builder |
newBuilder() |
static Coprocessor.Response.Builder |
newBuilder(Coprocessor.Response prototype) |
Coprocessor.Response.Builder |
newBuilderForType() |
protected Coprocessor.Response.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Coprocessor.Response |
parseDelimitedFrom(InputStream input) |
static Coprocessor.Response |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Coprocessor.Response |
parseFrom(byte[] data) |
static Coprocessor.Response |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Coprocessor.Response |
parseFrom(ByteBuffer data) |
static Coprocessor.Response |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Coprocessor.Response |
parseFrom(com.google.protobuf.ByteString data) |
static Coprocessor.Response |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Coprocessor.Response |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Coprocessor.Response |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Coprocessor.Response |
parseFrom(InputStream input) |
static Coprocessor.Response |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Coprocessor.Response> |
parser() |
Coprocessor.Response.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DATA_FIELD_NUMBER
public static final int REGION_ERROR_FIELD_NUMBER
public static final int LOCKED_FIELD_NUMBER
public static final int OTHER_ERROR_FIELD_NUMBER
public static final int RANGE_FIELD_NUMBER
public static final int EXEC_DETAILS_FIELD_NUMBER
public static final int EXEC_DETAILS_V2_FIELD_NUMBER
public static final int IS_CACHE_HIT_FIELD_NUMBER
public static final int CACHE_LAST_VERSION_FIELD_NUMBER
public static final int CAN_BE_CACHED_FIELD_NUMBER
public static final int LATEST_BUCKETS_VERSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ByteString getData()
bytes data = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/kvproto/pkg/sharedbytes.SharedBytes"];getData in interface Coprocessor.ResponseOrBuilderpublic boolean hasRegionError()
.errorpb.Error region_error = 2;hasRegionError in interface Coprocessor.ResponseOrBuilderpublic Errorpb.Error getRegionError()
.errorpb.Error region_error = 2;getRegionError in interface Coprocessor.ResponseOrBuilderpublic Errorpb.ErrorOrBuilder getRegionErrorOrBuilder()
.errorpb.Error region_error = 2;getRegionErrorOrBuilder in interface Coprocessor.ResponseOrBuilderpublic boolean hasLocked()
.kvrpcpb.LockInfo locked = 3;hasLocked in interface Coprocessor.ResponseOrBuilderpublic Kvrpcpb.LockInfo getLocked()
.kvrpcpb.LockInfo locked = 3;getLocked in interface Coprocessor.ResponseOrBuilderpublic Kvrpcpb.LockInfoOrBuilder getLockedOrBuilder()
.kvrpcpb.LockInfo locked = 3;getLockedOrBuilder in interface Coprocessor.ResponseOrBuilderpublic String getOtherError()
string other_error = 4;getOtherError in interface Coprocessor.ResponseOrBuilderpublic com.google.protobuf.ByteString getOtherErrorBytes()
string other_error = 4;getOtherErrorBytes in interface Coprocessor.ResponseOrBuilderpublic boolean hasRange()
.coprocessor.KeyRange range = 5;hasRange in interface Coprocessor.ResponseOrBuilderpublic Coprocessor.KeyRange getRange()
.coprocessor.KeyRange range = 5;getRange in interface Coprocessor.ResponseOrBuilderpublic Coprocessor.KeyRangeOrBuilder getRangeOrBuilder()
.coprocessor.KeyRange range = 5;getRangeOrBuilder in interface Coprocessor.ResponseOrBuilderpublic boolean hasExecDetails()
This field is always filled for compatibility consideration. However newer TiDB should respect `exec_details_v2` field instead.
.kvrpcpb.ExecDetails exec_details = 6;hasExecDetails in interface Coprocessor.ResponseOrBuilderpublic Kvrpcpb.ExecDetails getExecDetails()
This field is always filled for compatibility consideration. However newer TiDB should respect `exec_details_v2` field instead.
.kvrpcpb.ExecDetails exec_details = 6;getExecDetails in interface Coprocessor.ResponseOrBuilderpublic Kvrpcpb.ExecDetailsOrBuilder getExecDetailsOrBuilder()
This field is always filled for compatibility consideration. However newer TiDB should respect `exec_details_v2` field instead.
.kvrpcpb.ExecDetails exec_details = 6;getExecDetailsOrBuilder in interface Coprocessor.ResponseOrBuilderpublic boolean hasExecDetailsV2()
This field is provided in later versions, containing more detailed information.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 11;hasExecDetailsV2 in interface Coprocessor.ResponseOrBuilderpublic Kvrpcpb.ExecDetailsV2 getExecDetailsV2()
This field is provided in later versions, containing more detailed information.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 11;getExecDetailsV2 in interface Coprocessor.ResponseOrBuilderpublic Kvrpcpb.ExecDetailsV2OrBuilder getExecDetailsV2OrBuilder()
This field is provided in later versions, containing more detailed information.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 11;getExecDetailsV2OrBuilder in interface Coprocessor.ResponseOrBuilderpublic boolean getIsCacheHit()
bool is_cache_hit = 7;getIsCacheHit in interface Coprocessor.ResponseOrBuilderpublic long getCacheLastVersion()
uint64 cache_last_version = 8;getCacheLastVersion in interface Coprocessor.ResponseOrBuilderpublic boolean getCanBeCached()
bool can_be_cached = 9;getCanBeCached in interface Coprocessor.ResponseOrBuilderpublic long getLatestBucketsVersion()
Contains the latest buckets version of the region. Clients should query PD to update buckets in cache if its is stale.
uint64 latest_buckets_version = 12;getLatestBucketsVersion in interface Coprocessor.ResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Coprocessor.Response parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Coprocessor.Response parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Coprocessor.Response parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Coprocessor.Response parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Coprocessor.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Coprocessor.Response parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Coprocessor.Response parseFrom(InputStream input) throws IOException
IOExceptionpublic static Coprocessor.Response parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Coprocessor.Response parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Coprocessor.Response parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Coprocessor.Response parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Coprocessor.Response parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Coprocessor.Response.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Coprocessor.Response.Builder newBuilder()
public static Coprocessor.Response.Builder newBuilder(Coprocessor.Response prototype)
public Coprocessor.Response.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Coprocessor.Response.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Coprocessor.Response getDefaultInstance()
public static com.google.protobuf.Parser<Coprocessor.Response> parser()
public com.google.protobuf.Parser<Coprocessor.Response> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Coprocessor.Response getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.