public enum BranchStatusProto extends Enum<BranchStatusProto> implements com.google.protobuf.ProtocolMessageEnum
PublishRequest is a publish request.Protobuf enum
io.seata.protocol.protobuf.BranchStatusProto| Enum Constant and Description |
|---|
BUnknown
special for Unknown
BUnknown = 0; |
PhaseOne_Done
Branch logic is successfully done at phase one.
|
PhaseOne_Failed
Branch logic is failed at phase one.
|
PhaseOne_Timeout
Branch logic is NOT reported for a timeout.
|
PhaseTwo_CommitFailed_Retryable
Commit logic is failed but retryable.
|
PhaseTwo_CommitFailed_Unretryable
Commit logic is failed and NOT retryable.
|
PhaseTwo_Committed
Commit logic is successfully done at phase two.
|
PhaseTwo_Rollbacked
Rollback logic is successfully done at phase two.
|
PhaseTwo_RollbackFailed_Retryable
Rollback logic is failed but retryable.
|
PhaseTwo_RollbackFailed_Unretryable
Rollback logic is failed but NOT retryable.
|
Registered
Registered to TC.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BUnknown_VALUE
special for Unknown
BUnknown = 0; |
static int |
PhaseOne_Done_VALUE
Branch logic is successfully done at phase one.
|
static int |
PhaseOne_Failed_VALUE
Branch logic is failed at phase one.
|
static int |
PhaseOne_Timeout_VALUE
Branch logic is NOT reported for a timeout.
|
static int |
PhaseTwo_CommitFailed_Retryable_VALUE
Commit logic is failed but retryable.
|
static int |
PhaseTwo_CommitFailed_Unretryable_VALUE
Commit logic is failed and NOT retryable.
|
static int |
PhaseTwo_Committed_VALUE
Commit logic is successfully done at phase two.
|
static int |
PhaseTwo_Rollbacked_VALUE
Rollback logic is successfully done at phase two.
|
static int |
PhaseTwo_RollbackFailed_Retryable_VALUE
Rollback logic is failed but retryable.
|
static int |
PhaseTwo_RollbackFailed_Unretryable_VALUE
Rollback logic is failed but NOT retryable.
|
static int |
Registered_VALUE
Registered to TC.
|
| Modifier and Type | Method and Description |
|---|---|
static BranchStatusProto |
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<BranchStatusProto> |
internalGetValueMap() |
static BranchStatusProto |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BranchStatusProto |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BranchStatusProto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BranchStatusProto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BranchStatusProto BUnknown
special for Unknown
BUnknown = 0;public static final BranchStatusProto Registered
Registered to TC.
Registered = 1;public static final BranchStatusProto PhaseOne_Done
Branch logic is successfully done at phase one.
PhaseOne_Done = 2;public static final BranchStatusProto PhaseOne_Failed
Branch logic is failed at phase one.
PhaseOne_Failed = 3;public static final BranchStatusProto PhaseOne_Timeout
Branch logic is NOT reported for a timeout.
PhaseOne_Timeout = 4;public static final BranchStatusProto PhaseTwo_Committed
Commit logic is successfully done at phase two.
PhaseTwo_Committed = 5;public static final BranchStatusProto PhaseTwo_CommitFailed_Retryable
Commit logic is failed but retryable.
PhaseTwo_CommitFailed_Retryable = 6;public static final BranchStatusProto PhaseTwo_CommitFailed_Unretryable
Commit logic is failed and NOT retryable.
PhaseTwo_CommitFailed_Unretryable = 7;public static final BranchStatusProto PhaseTwo_Rollbacked
Rollback logic is successfully done at phase two.
PhaseTwo_Rollbacked = 8;public static final BranchStatusProto PhaseTwo_RollbackFailed_Retryable
Rollback logic is failed but retryable.
PhaseTwo_RollbackFailed_Retryable = 9;public static final BranchStatusProto PhaseTwo_RollbackFailed_Unretryable
Rollback logic is failed but NOT retryable.
PhaseTwo_RollbackFailed_Unretryable = 10;public static final BranchStatusProto UNRECOGNIZED
public static final int BUnknown_VALUE
special for Unknown
BUnknown = 0;public static final int Registered_VALUE
Registered to TC.
Registered = 1;public static final int PhaseOne_Done_VALUE
Branch logic is successfully done at phase one.
PhaseOne_Done = 2;public static final int PhaseOne_Failed_VALUE
Branch logic is failed at phase one.
PhaseOne_Failed = 3;public static final int PhaseOne_Timeout_VALUE
Branch logic is NOT reported for a timeout.
PhaseOne_Timeout = 4;public static final int PhaseTwo_Committed_VALUE
Commit logic is successfully done at phase two.
PhaseTwo_Committed = 5;public static final int PhaseTwo_CommitFailed_Retryable_VALUE
Commit logic is failed but retryable.
PhaseTwo_CommitFailed_Retryable = 6;public static final int PhaseTwo_CommitFailed_Unretryable_VALUE
Commit logic is failed and NOT retryable.
PhaseTwo_CommitFailed_Unretryable = 7;public static final int PhaseTwo_Rollbacked_VALUE
Rollback logic is successfully done at phase two.
PhaseTwo_Rollbacked = 8;public static final int PhaseTwo_RollbackFailed_Retryable_VALUE
Rollback logic is failed but retryable.
PhaseTwo_RollbackFailed_Retryable = 9;public static final int PhaseTwo_RollbackFailed_Unretryable_VALUE
Rollback logic is failed but NOT retryable.
PhaseTwo_RollbackFailed_Unretryable = 10;public static BranchStatusProto[] values()
for (BranchStatusProto c : BranchStatusProto.values()) System.out.println(c);
public static BranchStatusProto 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 BranchStatusProto valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BranchStatusProto forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BranchStatusProto> 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 BranchStatusProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Seata. All rights reserved.