public static final class Errorpb.Error extends com.google.protobuf.GeneratedMessageV3 implements Errorpb.ErrorOrBuilder
Error wraps all region errors, indicates an error encountered by a request.Protobuf type
errorpb.Error| 限定符和类型 | 类和说明 |
|---|---|
static class |
Errorpb.Error.Builder
Error wraps all region errors, indicates an error encountered by a request.
|
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 |
EPOCH_NOT_MATCH_FIELD_NUMBER |
static int |
KEY_NOT_IN_REGION_FIELD_NUMBER |
static int |
MAX_TIMESTAMP_NOT_SYNCED_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static int |
NOT_LEADER_FIELD_NUMBER |
static int |
PROPOSAL_IN_MERGING_MODE_FIELD_NUMBER |
static int |
RAFT_ENTRY_TOO_LARGE_FIELD_NUMBER |
static int |
READ_INDEX_NOT_READY_FIELD_NUMBER |
static int |
REGION_NOT_FOUND_FIELD_NUMBER |
static int |
SERVER_IS_BUSY_FIELD_NUMBER |
static int |
STALE_COMMAND_FIELD_NUMBER |
static int |
STORE_NOT_MATCH_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static Errorpb.Error |
getDefaultInstance() |
Errorpb.Error |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Errorpb.EpochNotMatch |
getEpochNotMatch()
.errorpb.EpochNotMatch epoch_not_match = 5; |
Errorpb.EpochNotMatchOrBuilder |
getEpochNotMatchOrBuilder()
.errorpb.EpochNotMatch epoch_not_match = 5; |
Errorpb.KeyNotInRegion |
getKeyNotInRegion()
.errorpb.KeyNotInRegion key_not_in_region = 4; |
Errorpb.KeyNotInRegionOrBuilder |
getKeyNotInRegionOrBuilder()
.errorpb.KeyNotInRegion key_not_in_region = 4; |
Errorpb.MaxTimestampNotSynced |
getMaxTimestampNotSynced()
.errorpb.MaxTimestampNotSynced max_timestamp_not_synced = 10; |
Errorpb.MaxTimestampNotSyncedOrBuilder |
getMaxTimestampNotSyncedOrBuilder()
.errorpb.MaxTimestampNotSynced max_timestamp_not_synced = 10; |
String |
getMessage()
The error message
string message = 1; |
com.google.protobuf.ByteString |
getMessageBytes()
The error message
string message = 1; |
Errorpb.NotLeader |
getNotLeader()
.errorpb.NotLeader not_leader = 2; |
Errorpb.NotLeaderOrBuilder |
getNotLeaderOrBuilder()
.errorpb.NotLeader not_leader = 2; |
com.google.protobuf.Parser<Errorpb.Error> |
getParserForType() |
Errorpb.ProposalInMergingMode |
getProposalInMergingMode()
.errorpb.ProposalInMergingMode proposal_in_merging_mode = 12; |
Errorpb.ProposalInMergingModeOrBuilder |
getProposalInMergingModeOrBuilder()
.errorpb.ProposalInMergingMode proposal_in_merging_mode = 12; |
Errorpb.RaftEntryTooLarge |
getRaftEntryTooLarge()
.errorpb.RaftEntryTooLarge raft_entry_too_large = 9; |
Errorpb.RaftEntryTooLargeOrBuilder |
getRaftEntryTooLargeOrBuilder()
.errorpb.RaftEntryTooLarge raft_entry_too_large = 9; |
Errorpb.ReadIndexNotReady |
getReadIndexNotReady()
.errorpb.ReadIndexNotReady read_index_not_ready = 11; |
Errorpb.ReadIndexNotReadyOrBuilder |
getReadIndexNotReadyOrBuilder()
.errorpb.ReadIndexNotReady read_index_not_ready = 11; |
Errorpb.RegionNotFound |
getRegionNotFound()
.errorpb.RegionNotFound region_not_found = 3; |
Errorpb.RegionNotFoundOrBuilder |
getRegionNotFoundOrBuilder()
.errorpb.RegionNotFound region_not_found = 3; |
int |
getSerializedSize() |
Errorpb.ServerIsBusy |
getServerIsBusy()
.errorpb.ServerIsBusy server_is_busy = 6; |
Errorpb.ServerIsBusyOrBuilder |
getServerIsBusyOrBuilder()
.errorpb.ServerIsBusy server_is_busy = 6; |
Errorpb.StaleCommand |
getStaleCommand()
.errorpb.StaleCommand stale_command = 7; |
Errorpb.StaleCommandOrBuilder |
getStaleCommandOrBuilder()
.errorpb.StaleCommand stale_command = 7; |
Errorpb.StoreNotMatch |
getStoreNotMatch()
.errorpb.StoreNotMatch store_not_match = 8; |
Errorpb.StoreNotMatchOrBuilder |
getStoreNotMatchOrBuilder()
.errorpb.StoreNotMatch store_not_match = 8; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEpochNotMatch()
.errorpb.EpochNotMatch epoch_not_match = 5; |
int |
hashCode() |
boolean |
hasKeyNotInRegion()
.errorpb.KeyNotInRegion key_not_in_region = 4; |
boolean |
hasMaxTimestampNotSynced()
.errorpb.MaxTimestampNotSynced max_timestamp_not_synced = 10; |
boolean |
hasNotLeader()
.errorpb.NotLeader not_leader = 2; |
boolean |
hasProposalInMergingMode()
.errorpb.ProposalInMergingMode proposal_in_merging_mode = 12; |
boolean |
hasRaftEntryTooLarge()
.errorpb.RaftEntryTooLarge raft_entry_too_large = 9; |
boolean |
hasReadIndexNotReady()
.errorpb.ReadIndexNotReady read_index_not_ready = 11; |
boolean |
hasRegionNotFound()
.errorpb.RegionNotFound region_not_found = 3; |
boolean |
hasServerIsBusy()
.errorpb.ServerIsBusy server_is_busy = 6; |
boolean |
hasStaleCommand()
.errorpb.StaleCommand stale_command = 7; |
boolean |
hasStoreNotMatch()
.errorpb.StoreNotMatch store_not_match = 8; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Errorpb.Error.Builder |
newBuilder() |
static Errorpb.Error.Builder |
newBuilder(Errorpb.Error prototype) |
Errorpb.Error.Builder |
newBuilderForType() |
protected Errorpb.Error.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Errorpb.Error |
parseDelimitedFrom(InputStream input) |
static Errorpb.Error |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Errorpb.Error |
parseFrom(byte[] data) |
static Errorpb.Error |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Errorpb.Error |
parseFrom(ByteBuffer data) |
static Errorpb.Error |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Errorpb.Error |
parseFrom(com.google.protobuf.ByteString data) |
static Errorpb.Error |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Errorpb.Error |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Errorpb.Error |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Errorpb.Error |
parseFrom(InputStream input) |
static Errorpb.Error |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Errorpb.Error> |
parser() |
Errorpb.Error.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, 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 MESSAGE_FIELD_NUMBER
public static final int NOT_LEADER_FIELD_NUMBER
public static final int REGION_NOT_FOUND_FIELD_NUMBER
public static final int KEY_NOT_IN_REGION_FIELD_NUMBER
public static final int EPOCH_NOT_MATCH_FIELD_NUMBER
public static final int SERVER_IS_BUSY_FIELD_NUMBER
public static final int STALE_COMMAND_FIELD_NUMBER
public static final int STORE_NOT_MATCH_FIELD_NUMBER
public static final int RAFT_ENTRY_TOO_LARGE_FIELD_NUMBER
public static final int MAX_TIMESTAMP_NOT_SYNCED_FIELD_NUMBER
public static final int READ_INDEX_NOT_READY_FIELD_NUMBER
public static final int PROPOSAL_IN_MERGING_MODE_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 String getMessage()
The error message
string message = 1;getMessage 在接口中 Errorpb.ErrorOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
The error message
string message = 1;getMessageBytes 在接口中 Errorpb.ErrorOrBuilderpublic boolean hasNotLeader()
.errorpb.NotLeader not_leader = 2;hasNotLeader 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.NotLeader getNotLeader()
.errorpb.NotLeader not_leader = 2;getNotLeader 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.NotLeaderOrBuilder getNotLeaderOrBuilder()
.errorpb.NotLeader not_leader = 2;getNotLeaderOrBuilder 在接口中 Errorpb.ErrorOrBuilderpublic boolean hasRegionNotFound()
.errorpb.RegionNotFound region_not_found = 3;hasRegionNotFound 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.RegionNotFound getRegionNotFound()
.errorpb.RegionNotFound region_not_found = 3;getRegionNotFound 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.RegionNotFoundOrBuilder getRegionNotFoundOrBuilder()
.errorpb.RegionNotFound region_not_found = 3;public boolean hasKeyNotInRegion()
.errorpb.KeyNotInRegion key_not_in_region = 4;hasKeyNotInRegion 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.KeyNotInRegion getKeyNotInRegion()
.errorpb.KeyNotInRegion key_not_in_region = 4;getKeyNotInRegion 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.KeyNotInRegionOrBuilder getKeyNotInRegionOrBuilder()
.errorpb.KeyNotInRegion key_not_in_region = 4;public boolean hasEpochNotMatch()
.errorpb.EpochNotMatch epoch_not_match = 5;hasEpochNotMatch 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.EpochNotMatch getEpochNotMatch()
.errorpb.EpochNotMatch epoch_not_match = 5;getEpochNotMatch 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.EpochNotMatchOrBuilder getEpochNotMatchOrBuilder()
.errorpb.EpochNotMatch epoch_not_match = 5;public boolean hasServerIsBusy()
.errorpb.ServerIsBusy server_is_busy = 6;hasServerIsBusy 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.ServerIsBusy getServerIsBusy()
.errorpb.ServerIsBusy server_is_busy = 6;getServerIsBusy 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.ServerIsBusyOrBuilder getServerIsBusyOrBuilder()
.errorpb.ServerIsBusy server_is_busy = 6;public boolean hasStaleCommand()
.errorpb.StaleCommand stale_command = 7;hasStaleCommand 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.StaleCommand getStaleCommand()
.errorpb.StaleCommand stale_command = 7;getStaleCommand 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.StaleCommandOrBuilder getStaleCommandOrBuilder()
.errorpb.StaleCommand stale_command = 7;public boolean hasStoreNotMatch()
.errorpb.StoreNotMatch store_not_match = 8;hasStoreNotMatch 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.StoreNotMatch getStoreNotMatch()
.errorpb.StoreNotMatch store_not_match = 8;getStoreNotMatch 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.StoreNotMatchOrBuilder getStoreNotMatchOrBuilder()
.errorpb.StoreNotMatch store_not_match = 8;public boolean hasRaftEntryTooLarge()
.errorpb.RaftEntryTooLarge raft_entry_too_large = 9;hasRaftEntryTooLarge 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.RaftEntryTooLarge getRaftEntryTooLarge()
.errorpb.RaftEntryTooLarge raft_entry_too_large = 9;getRaftEntryTooLarge 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.RaftEntryTooLargeOrBuilder getRaftEntryTooLargeOrBuilder()
.errorpb.RaftEntryTooLarge raft_entry_too_large = 9;public boolean hasMaxTimestampNotSynced()
.errorpb.MaxTimestampNotSynced max_timestamp_not_synced = 10;public Errorpb.MaxTimestampNotSynced getMaxTimestampNotSynced()
.errorpb.MaxTimestampNotSynced max_timestamp_not_synced = 10;public Errorpb.MaxTimestampNotSyncedOrBuilder getMaxTimestampNotSyncedOrBuilder()
.errorpb.MaxTimestampNotSynced max_timestamp_not_synced = 10;public boolean hasReadIndexNotReady()
.errorpb.ReadIndexNotReady read_index_not_ready = 11;hasReadIndexNotReady 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.ReadIndexNotReady getReadIndexNotReady()
.errorpb.ReadIndexNotReady read_index_not_ready = 11;getReadIndexNotReady 在接口中 Errorpb.ErrorOrBuilderpublic Errorpb.ReadIndexNotReadyOrBuilder getReadIndexNotReadyOrBuilder()
.errorpb.ReadIndexNotReady read_index_not_ready = 11;public boolean hasProposalInMergingMode()
.errorpb.ProposalInMergingMode proposal_in_merging_mode = 12;public Errorpb.ProposalInMergingMode getProposalInMergingMode()
.errorpb.ProposalInMergingMode proposal_in_merging_mode = 12;public Errorpb.ProposalInMergingModeOrBuilder getProposalInMergingModeOrBuilder()
.errorpb.ProposalInMergingMode proposal_in_merging_mode = 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 Errorpb.Error parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Errorpb.Error parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Errorpb.Error parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Errorpb.Error parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Errorpb.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Errorpb.Error parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Errorpb.Error parseFrom(InputStream input) throws IOException
IOExceptionpublic static Errorpb.Error parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Errorpb.Error parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Errorpb.Error parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Errorpb.Error parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Errorpb.Error parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Errorpb.Error.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Errorpb.Error.Builder newBuilder()
public static Errorpb.Error.Builder newBuilder(Errorpb.Error prototype)
public Errorpb.Error.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Errorpb.Error.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Errorpb.Error getDefaultInstance()
public static com.google.protobuf.Parser<Errorpb.Error> parser()
public com.google.protobuf.Parser<Errorpb.Error> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Errorpb.Error getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2022 PingCAP. All rights reserved.