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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public 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.MessageOrBuilder
getUnknownFields
在类中 com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
在类中 com.google.protobuf.GeneratedMessageV3
public String getMessage()
The error message
string message = 1;
getMessage
在接口中 Errorpb.ErrorOrBuilder
public com.google.protobuf.ByteString getMessageBytes()
The error message
string message = 1;
getMessageBytes
在接口中 Errorpb.ErrorOrBuilder
public boolean hasNotLeader()
.errorpb.NotLeader not_leader = 2;
hasNotLeader
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.NotLeader getNotLeader()
.errorpb.NotLeader not_leader = 2;
getNotLeader
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.NotLeaderOrBuilder getNotLeaderOrBuilder()
.errorpb.NotLeader not_leader = 2;
getNotLeaderOrBuilder
在接口中 Errorpb.ErrorOrBuilder
public boolean hasRegionNotFound()
.errorpb.RegionNotFound region_not_found = 3;
hasRegionNotFound
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.RegionNotFound getRegionNotFound()
.errorpb.RegionNotFound region_not_found = 3;
getRegionNotFound
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.RegionNotFoundOrBuilder getRegionNotFoundOrBuilder()
.errorpb.RegionNotFound region_not_found = 3;
public boolean hasKeyNotInRegion()
.errorpb.KeyNotInRegion key_not_in_region = 4;
hasKeyNotInRegion
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.KeyNotInRegion getKeyNotInRegion()
.errorpb.KeyNotInRegion key_not_in_region = 4;
getKeyNotInRegion
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.KeyNotInRegionOrBuilder getKeyNotInRegionOrBuilder()
.errorpb.KeyNotInRegion key_not_in_region = 4;
public boolean hasEpochNotMatch()
.errorpb.EpochNotMatch epoch_not_match = 5;
hasEpochNotMatch
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.EpochNotMatch getEpochNotMatch()
.errorpb.EpochNotMatch epoch_not_match = 5;
getEpochNotMatch
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.EpochNotMatchOrBuilder getEpochNotMatchOrBuilder()
.errorpb.EpochNotMatch epoch_not_match = 5;
public boolean hasServerIsBusy()
.errorpb.ServerIsBusy server_is_busy = 6;
hasServerIsBusy
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.ServerIsBusy getServerIsBusy()
.errorpb.ServerIsBusy server_is_busy = 6;
getServerIsBusy
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.ServerIsBusyOrBuilder getServerIsBusyOrBuilder()
.errorpb.ServerIsBusy server_is_busy = 6;
public boolean hasStaleCommand()
.errorpb.StaleCommand stale_command = 7;
hasStaleCommand
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.StaleCommand getStaleCommand()
.errorpb.StaleCommand stale_command = 7;
getStaleCommand
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.StaleCommandOrBuilder getStaleCommandOrBuilder()
.errorpb.StaleCommand stale_command = 7;
public boolean hasStoreNotMatch()
.errorpb.StoreNotMatch store_not_match = 8;
hasStoreNotMatch
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.StoreNotMatch getStoreNotMatch()
.errorpb.StoreNotMatch store_not_match = 8;
getStoreNotMatch
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.StoreNotMatchOrBuilder getStoreNotMatchOrBuilder()
.errorpb.StoreNotMatch store_not_match = 8;
public boolean hasRaftEntryTooLarge()
.errorpb.RaftEntryTooLarge raft_entry_too_large = 9;
hasRaftEntryTooLarge
在接口中 Errorpb.ErrorOrBuilder
public Errorpb.RaftEntryTooLarge getRaftEntryTooLarge()
.errorpb.RaftEntryTooLarge raft_entry_too_large = 9;
getRaftEntryTooLarge
在接口中 Errorpb.ErrorOrBuilder
public 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.ErrorOrBuilder
public Errorpb.ReadIndexNotReady getReadIndexNotReady()
.errorpb.ReadIndexNotReady read_index_not_ready = 11;
getReadIndexNotReady
在接口中 Errorpb.ErrorOrBuilder
public 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.MessageLiteOrBuilder
isInitialized
在类中 com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
在接口中 com.google.protobuf.MessageLite
writeTo
在类中 com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
在接口中 com.google.protobuf.MessageLite
getSerializedSize
在类中 com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
在接口中 com.google.protobuf.Message
equals
在类中 com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
在接口中 com.google.protobuf.Message
hashCode
在类中 com.google.protobuf.AbstractMessage
public static Errorpb.Error parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Errorpb.Error parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Errorpb.Error parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Errorpb.Error parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Errorpb.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Errorpb.Error parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Errorpb.Error parseFrom(InputStream input) throws IOException
IOException
public static Errorpb.Error parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Errorpb.Error parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Errorpb.Error parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Errorpb.Error parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Errorpb.Error parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Errorpb.Error.Builder newBuilderForType()
newBuilderForType
在接口中 com.google.protobuf.Message
newBuilderForType
在接口中 com.google.protobuf.MessageLite
public static Errorpb.Error.Builder newBuilder()
public static Errorpb.Error.Builder newBuilder(Errorpb.Error prototype)
public Errorpb.Error.Builder toBuilder()
toBuilder
在接口中 com.google.protobuf.Message
toBuilder
在接口中 com.google.protobuf.MessageLite
protected Errorpb.Error.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
在类中 com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
在接口中 com.google.protobuf.MessageLite
getParserForType
在类中 com.google.protobuf.GeneratedMessageV3
public Errorpb.Error getDefaultInstanceForType()
getDefaultInstanceForType
在接口中 com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
在接口中 com.google.protobuf.MessageOrBuilder
Copyright © 2022 PingCAP. All rights reserved.