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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public com.google.protobuf.ByteString getData()
bytes data = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/kvproto/pkg/sharedbytes.SharedBytes"];
getData
in interface Coprocessor.ResponseOrBuilder
public boolean hasRegionError()
.errorpb.Error region_error = 2;
hasRegionError
in interface Coprocessor.ResponseOrBuilder
public Errorpb.Error getRegionError()
.errorpb.Error region_error = 2;
getRegionError
in interface Coprocessor.ResponseOrBuilder
public Errorpb.ErrorOrBuilder getRegionErrorOrBuilder()
.errorpb.Error region_error = 2;
getRegionErrorOrBuilder
in interface Coprocessor.ResponseOrBuilder
public boolean hasLocked()
.kvrpcpb.LockInfo locked = 3;
hasLocked
in interface Coprocessor.ResponseOrBuilder
public Kvrpcpb.LockInfo getLocked()
.kvrpcpb.LockInfo locked = 3;
getLocked
in interface Coprocessor.ResponseOrBuilder
public Kvrpcpb.LockInfoOrBuilder getLockedOrBuilder()
.kvrpcpb.LockInfo locked = 3;
getLockedOrBuilder
in interface Coprocessor.ResponseOrBuilder
public String getOtherError()
string other_error = 4;
getOtherError
in interface Coprocessor.ResponseOrBuilder
public com.google.protobuf.ByteString getOtherErrorBytes()
string other_error = 4;
getOtherErrorBytes
in interface Coprocessor.ResponseOrBuilder
public boolean hasRange()
.coprocessor.KeyRange range = 5;
hasRange
in interface Coprocessor.ResponseOrBuilder
public Coprocessor.KeyRange getRange()
.coprocessor.KeyRange range = 5;
getRange
in interface Coprocessor.ResponseOrBuilder
public Coprocessor.KeyRangeOrBuilder getRangeOrBuilder()
.coprocessor.KeyRange range = 5;
getRangeOrBuilder
in interface Coprocessor.ResponseOrBuilder
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
in interface Coprocessor.ResponseOrBuilder
public 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.ResponseOrBuilder
public 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.ResponseOrBuilder
public boolean hasExecDetailsV2()
This field is provided in later versions, containing more detailed information.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 11;
hasExecDetailsV2
in interface Coprocessor.ResponseOrBuilder
public Kvrpcpb.ExecDetailsV2 getExecDetailsV2()
This field is provided in later versions, containing more detailed information.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 11;
getExecDetailsV2
in interface Coprocessor.ResponseOrBuilder
public Kvrpcpb.ExecDetailsV2OrBuilder getExecDetailsV2OrBuilder()
This field is provided in later versions, containing more detailed information.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 11;
getExecDetailsV2OrBuilder
in interface Coprocessor.ResponseOrBuilder
public boolean getIsCacheHit()
bool is_cache_hit = 7;
getIsCacheHit
in interface Coprocessor.ResponseOrBuilder
public long getCacheLastVersion()
uint64 cache_last_version = 8;
getCacheLastVersion
in interface Coprocessor.ResponseOrBuilder
public boolean getCanBeCached()
bool can_be_cached = 9;
getCanBeCached
in interface Coprocessor.ResponseOrBuilder
public 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.ResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Coprocessor.Response parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Coprocessor.Response parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Coprocessor.Response parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Coprocessor.Response parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Coprocessor.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Coprocessor.Response parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Coprocessor.Response parseFrom(InputStream input) throws IOException
IOException
public static Coprocessor.Response parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Coprocessor.Response parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Coprocessor.Response parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Coprocessor.Response parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Coprocessor.Response parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Coprocessor.Response.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Coprocessor.Response.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Coprocessor.Response getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.