public static final class Coprocessor.Response extends com.google.protobuf.GeneratedMessageV3 implements Coprocessor.ResponseOrBuilder
coprocessor.Response| 限定符和类型 | 类和说明 |
|---|---|
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| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
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, newInstance, 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, writeTopublic 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
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 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 在接口中 Coprocessor.ResponseOrBuilderpublic boolean hasRegionError()
.errorpb.Error region_error = 2;hasRegionError 在接口中 Coprocessor.ResponseOrBuilderpublic Errorpb.Error getRegionError()
.errorpb.Error region_error = 2;getRegionError 在接口中 Coprocessor.ResponseOrBuilderpublic Errorpb.ErrorOrBuilder getRegionErrorOrBuilder()
.errorpb.Error region_error = 2;public boolean hasLocked()
.kvrpcpb.LockInfo locked = 3;hasLocked 在接口中 Coprocessor.ResponseOrBuilderpublic Kvrpcpb.LockInfo getLocked()
.kvrpcpb.LockInfo locked = 3;getLocked 在接口中 Coprocessor.ResponseOrBuilderpublic Kvrpcpb.LockInfoOrBuilder getLockedOrBuilder()
.kvrpcpb.LockInfo locked = 3;public String getOtherError()
string other_error = 4;getOtherError 在接口中 Coprocessor.ResponseOrBuilderpublic com.google.protobuf.ByteString getOtherErrorBytes()
string other_error = 4;public boolean hasRange()
.coprocessor.KeyRange range = 5;hasRange 在接口中 Coprocessor.ResponseOrBuilderpublic Coprocessor.KeyRange getRange()
.coprocessor.KeyRange range = 5;getRange 在接口中 Coprocessor.ResponseOrBuilderpublic Coprocessor.KeyRangeOrBuilder getRangeOrBuilder()
.coprocessor.KeyRange range = 5;public 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 在接口中 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 在接口中 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;public boolean hasExecDetailsV2()
This field is provided in later versions, containing more detailed information.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 11;public Kvrpcpb.ExecDetailsV2 getExecDetailsV2()
This field is provided in later versions, containing more detailed information.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 11;public Kvrpcpb.ExecDetailsV2OrBuilder getExecDetailsV2OrBuilder()
This field is provided in later versions, containing more detailed information.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 11;public boolean getIsCacheHit()
bool is_cache_hit = 7;getIsCacheHit 在接口中 Coprocessor.ResponseOrBuilderpublic long getCacheLastVersion()
uint64 cache_last_version = 8;public boolean getCanBeCached()
bool can_be_cached = 9;getCanBeCached 在接口中 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;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Coprocessor.Response.Builder newBuilder()
public static Coprocessor.Response.Builder newBuilder(Coprocessor.Response prototype)
public Coprocessor.Response.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Coprocessor.Response.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 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 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Coprocessor.Response getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023 PingCAP. All rights reserved.