public enum TransactionExceptionCodeProto extends Enum<TransactionExceptionCodeProto> implements com.google.protobuf.ProtocolMessageEnum
PublishRequest is a publish request.Protobuf enum
io.seata.protocol.protobuf.TransactionExceptionCodeProto| Enum Constant and Description |
|---|
BranchRegisterFailed
BranchRegisterFailed = 5; |
BranchReportFailed
BranchReportFailed = 6; |
BranchRollbackFailed_Retriable
BranchRollbackFailed_Retriable = 3; |
BranchRollbackFailed_Unretriable
BranchRollbackFailed_Unretriable = 4; |
BranchTransactionNotExist
BranchTransactionNotExist = 8; |
FailedLockGlobalTranscation
Failed to lock global transaction exception code.
|
FailedStore
FailedStore
FailedStore = 17; |
FailedToAddBranch
FailedToAddBranch = 14; |
FailedToSendBranchCommitRequest
FailedToSendBranchCommitRequest = 12; |
FailedToSendBranchRollbackRequest
FailedToSendBranchRollbackRequest = 13; |
FailedWriteSession
FailedWriteSession
FailedWriteSession = 16; |
GlobalTransactionNotActive
GlobalTransactionNotActive = 10; |
GlobalTransactionNotExist
GlobalTransactionNotExist = 9; |
GlobalTransactionStatusInvalid
GlobalTransactionStatusInvalid = 11; |
IO
IO = 2; |
LockableCheckFailed
LockableCheckFailed = 7; |
LockKeyConflict
LockKeyConflict = 1; |
Unknown
Unknown = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BranchRegisterFailed_VALUE
BranchRegisterFailed = 5; |
static int |
BranchReportFailed_VALUE
BranchReportFailed = 6; |
static int |
BranchRollbackFailed_Retriable_VALUE
BranchRollbackFailed_Retriable = 3; |
static int |
BranchRollbackFailed_Unretriable_VALUE
BranchRollbackFailed_Unretriable = 4; |
static int |
BranchTransactionNotExist_VALUE
BranchTransactionNotExist = 8; |
static int |
FailedLockGlobalTranscation_VALUE
Failed to lock global transaction exception code.
|
static int |
FailedStore_VALUE
FailedStore
FailedStore = 17; |
static int |
FailedToAddBranch_VALUE
FailedToAddBranch = 14; |
static int |
FailedToSendBranchCommitRequest_VALUE
FailedToSendBranchCommitRequest = 12; |
static int |
FailedToSendBranchRollbackRequest_VALUE
FailedToSendBranchRollbackRequest = 13; |
static int |
FailedWriteSession_VALUE
FailedWriteSession
FailedWriteSession = 16; |
static int |
GlobalTransactionNotActive_VALUE
GlobalTransactionNotActive = 10; |
static int |
GlobalTransactionNotExist_VALUE
GlobalTransactionNotExist = 9; |
static int |
GlobalTransactionStatusInvalid_VALUE
GlobalTransactionStatusInvalid = 11; |
static int |
IO_VALUE
IO = 2; |
static int |
LockableCheckFailed_VALUE
LockableCheckFailed = 7; |
static int |
LockKeyConflict_VALUE
LockKeyConflict = 1; |
static int |
Unknown_VALUE
Unknown = 0; |
| Modifier and Type | Method and Description |
|---|---|
static TransactionExceptionCodeProto |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<TransactionExceptionCodeProto> |
internalGetValueMap() |
static TransactionExceptionCodeProto |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransactionExceptionCodeProto |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransactionExceptionCodeProto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionExceptionCodeProto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionExceptionCodeProto Unknown
Unknown = 0;public static final TransactionExceptionCodeProto LockKeyConflict
LockKeyConflict = 1;public static final TransactionExceptionCodeProto IO
IO = 2;public static final TransactionExceptionCodeProto BranchRollbackFailed_Retriable
BranchRollbackFailed_Retriable = 3;public static final TransactionExceptionCodeProto BranchRollbackFailed_Unretriable
BranchRollbackFailed_Unretriable = 4;public static final TransactionExceptionCodeProto BranchRegisterFailed
BranchRegisterFailed = 5;public static final TransactionExceptionCodeProto BranchReportFailed
BranchReportFailed = 6;public static final TransactionExceptionCodeProto LockableCheckFailed
LockableCheckFailed = 7;public static final TransactionExceptionCodeProto BranchTransactionNotExist
BranchTransactionNotExist = 8;public static final TransactionExceptionCodeProto GlobalTransactionNotExist
GlobalTransactionNotExist = 9;public static final TransactionExceptionCodeProto GlobalTransactionNotActive
GlobalTransactionNotActive = 10;public static final TransactionExceptionCodeProto GlobalTransactionStatusInvalid
GlobalTransactionStatusInvalid = 11;public static final TransactionExceptionCodeProto FailedToSendBranchCommitRequest
FailedToSendBranchCommitRequest = 12;public static final TransactionExceptionCodeProto FailedToSendBranchRollbackRequest
FailedToSendBranchRollbackRequest = 13;public static final TransactionExceptionCodeProto FailedToAddBranch
FailedToAddBranch = 14;public static final TransactionExceptionCodeProto FailedLockGlobalTranscation
Failed to lock global transaction exception code.
FailedLockGlobalTranscation = 15;public static final TransactionExceptionCodeProto FailedWriteSession
FailedWriteSession
FailedWriteSession = 16;public static final TransactionExceptionCodeProto FailedStore
FailedStore
FailedStore = 17;public static final TransactionExceptionCodeProto UNRECOGNIZED
public static final int Unknown_VALUE
Unknown = 0;public static final int LockKeyConflict_VALUE
LockKeyConflict = 1;public static final int IO_VALUE
IO = 2;public static final int BranchRollbackFailed_Retriable_VALUE
BranchRollbackFailed_Retriable = 3;public static final int BranchRollbackFailed_Unretriable_VALUE
BranchRollbackFailed_Unretriable = 4;public static final int BranchRegisterFailed_VALUE
BranchRegisterFailed = 5;public static final int BranchReportFailed_VALUE
BranchReportFailed = 6;public static final int LockableCheckFailed_VALUE
LockableCheckFailed = 7;public static final int BranchTransactionNotExist_VALUE
BranchTransactionNotExist = 8;public static final int GlobalTransactionNotExist_VALUE
GlobalTransactionNotExist = 9;public static final int GlobalTransactionNotActive_VALUE
GlobalTransactionNotActive = 10;public static final int GlobalTransactionStatusInvalid_VALUE
GlobalTransactionStatusInvalid = 11;public static final int FailedToSendBranchCommitRequest_VALUE
FailedToSendBranchCommitRequest = 12;public static final int FailedToSendBranchRollbackRequest_VALUE
FailedToSendBranchRollbackRequest = 13;public static final int FailedToAddBranch_VALUE
FailedToAddBranch = 14;public static final int FailedLockGlobalTranscation_VALUE
Failed to lock global transaction exception code.
FailedLockGlobalTranscation = 15;public static final int FailedWriteSession_VALUE
FailedWriteSession
FailedWriteSession = 16;public static final int FailedStore_VALUE
FailedStore
FailedStore = 17;public static TransactionExceptionCodeProto[] values()
for (TransactionExceptionCodeProto c : TransactionExceptionCodeProto.values()) System.out.println(c);
public static TransactionExceptionCodeProto valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static TransactionExceptionCodeProto valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransactionExceptionCodeProto forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransactionExceptionCodeProto> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static TransactionExceptionCodeProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Seata. All rights reserved.