public enum MessageTypeProto extends Enum<MessageTypeProto> implements com.google.protobuf.ProtocolMessageEnum
PublishRequest is a publish request.Protobuf enum
io.seata.protocol.protobuf.MessageTypeProto| 枚举常量和说明 |
|---|
TYPE_BRANCH_COMMIT
The constant TYPE_BRANCH_COMMIT.
|
TYPE_BRANCH_COMMIT_RESULT
The constant TYPE_BRANCH_COMMIT_RESULT.
|
TYPE_BRANCH_REGISTER
The constant TYPE_BRANCH_REGISTER.
|
TYPE_BRANCH_REGISTER_RESULT
The constant TYPE_BRANCH_REGISTER_RESULT.
|
TYPE_BRANCH_ROLLBACK
The constant TYPE_BRANCH_ROLLBACK.
|
TYPE_BRANCH_ROLLBACK_RESULT
The constant TYPE_BRANCH_ROLLBACK_RESULT.
|
TYPE_BRANCH_STATUS_REPORT
The constant TYPE_BRANCH_STATUS_REPORT.
|
TYPE_BRANCH_STATUS_REPORT_RESULT
The constant TYPE_BRANCH_STATUS_REPORT_RESULT.
|
TYPE_GLOBAL_BEGIN
TYPE_GLOBAL_BEGIN = 1; |
TYPE_GLOBAL_BEGIN_RESULT
TYPE_GLOBAL_BEGIN_RESULT = 2; |
TYPE_GLOBAL_COMMIT
The constant TYPE_GLOBAL_COMMIT.
|
TYPE_GLOBAL_COMMIT_RESULT
The constant TYPE_GLOBAL_COMMIT_RESULT.
|
TYPE_GLOBAL_LOCK_QUERY
The constant TYPE_GLOBAL_LOCK_QUERY.
|
TYPE_GLOBAL_LOCK_QUERY_RESULT
The constant TYPE_GLOBAL_LOCK_QUERY_RESULT.
|
TYPE_GLOBAL_PRESERVED
TYPE_GLOBAL_PRESERVED = 0; |
TYPE_GLOBAL_REPORT
The constant TYPE_GLOBAL_REPORT.
|
TYPE_GLOBAL_REPORT_RESULT
The constant TYPE_GLOBAL_REPORT_RESULT.
|
TYPE_GLOBAL_ROLLBACK
The constant TYPE_GLOBAL_ROLLBACK.
|
TYPE_GLOBAL_ROLLBACK_RESULT
The constant TYPE_GLOBAL_ROLLBACK_RESULT.
|
TYPE_GLOBAL_STATUS
The constant TYPE_GLOBAL_STATUS.
|
TYPE_GLOBAL_STATUS_RESULT
The constant TYPE_GLOBAL_STATUS_RESULT.
|
TYPE_REG_CLT
The constant TYPE_REG_CLT.
|
TYPE_REG_CLT_RESULT
The constant TYPE_REG_CLT_RESULT.
|
TYPE_REG_RM
The constant TYPE_REG_RM.
|
TYPE_REG_RM_RESULT
The constant TYPE_REG_RM_RESULT.
|
TYPE_SEATA_MERGE
The constant TYPE_SEATA_MERGE.
|
TYPE_SEATA_MERGE_RESULT
The constant TYPE_SEATA_MERGE_RESULT.
|
TYPE_UNDO_LOG_DELETE
The constant TYPE_UNDO_LOG_DELETE.
|
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
TYPE_BRANCH_COMMIT_RESULT_VALUE
The constant TYPE_BRANCH_COMMIT_RESULT.
|
static int |
TYPE_BRANCH_COMMIT_VALUE
The constant TYPE_BRANCH_COMMIT.
|
static int |
TYPE_BRANCH_REGISTER_RESULT_VALUE
The constant TYPE_BRANCH_REGISTER_RESULT.
|
static int |
TYPE_BRANCH_REGISTER_VALUE
The constant TYPE_BRANCH_REGISTER.
|
static int |
TYPE_BRANCH_ROLLBACK_RESULT_VALUE
The constant TYPE_BRANCH_ROLLBACK_RESULT.
|
static int |
TYPE_BRANCH_ROLLBACK_VALUE
The constant TYPE_BRANCH_ROLLBACK.
|
static int |
TYPE_BRANCH_STATUS_REPORT_RESULT_VALUE
The constant TYPE_BRANCH_STATUS_REPORT_RESULT.
|
static int |
TYPE_BRANCH_STATUS_REPORT_VALUE
The constant TYPE_BRANCH_STATUS_REPORT.
|
static int |
TYPE_GLOBAL_BEGIN_RESULT_VALUE
TYPE_GLOBAL_BEGIN_RESULT = 2; |
static int |
TYPE_GLOBAL_BEGIN_VALUE
TYPE_GLOBAL_BEGIN = 1; |
static int |
TYPE_GLOBAL_COMMIT_RESULT_VALUE
The constant TYPE_GLOBAL_COMMIT_RESULT.
|
static int |
TYPE_GLOBAL_COMMIT_VALUE
The constant TYPE_GLOBAL_COMMIT.
|
static int |
TYPE_GLOBAL_LOCK_QUERY_RESULT_VALUE
The constant TYPE_GLOBAL_LOCK_QUERY_RESULT.
|
static int |
TYPE_GLOBAL_LOCK_QUERY_VALUE
The constant TYPE_GLOBAL_LOCK_QUERY.
|
static int |
TYPE_GLOBAL_PRESERVED_VALUE
TYPE_GLOBAL_PRESERVED = 0; |
static int |
TYPE_GLOBAL_REPORT_RESULT_VALUE
The constant TYPE_GLOBAL_REPORT_RESULT.
|
static int |
TYPE_GLOBAL_REPORT_VALUE
The constant TYPE_GLOBAL_REPORT.
|
static int |
TYPE_GLOBAL_ROLLBACK_RESULT_VALUE
The constant TYPE_GLOBAL_ROLLBACK_RESULT.
|
static int |
TYPE_GLOBAL_ROLLBACK_VALUE
The constant TYPE_GLOBAL_ROLLBACK.
|
static int |
TYPE_GLOBAL_STATUS_RESULT_VALUE
The constant TYPE_GLOBAL_STATUS_RESULT.
|
static int |
TYPE_GLOBAL_STATUS_VALUE
The constant TYPE_GLOBAL_STATUS.
|
static int |
TYPE_REG_CLT_RESULT_VALUE
The constant TYPE_REG_CLT_RESULT.
|
static int |
TYPE_REG_CLT_VALUE
The constant TYPE_REG_CLT.
|
static int |
TYPE_REG_RM_RESULT_VALUE
The constant TYPE_REG_RM_RESULT.
|
static int |
TYPE_REG_RM_VALUE
The constant TYPE_REG_RM.
|
static int |
TYPE_SEATA_MERGE_RESULT_VALUE
The constant TYPE_SEATA_MERGE_RESULT.
|
static int |
TYPE_SEATA_MERGE_VALUE
The constant TYPE_SEATA_MERGE.
|
static int |
TYPE_UNDO_LOG_DELETE_VALUE
The constant TYPE_UNDO_LOG_DELETE.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static MessageTypeProto |
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<MessageTypeProto> |
internalGetValueMap() |
static MessageTypeProto |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MessageTypeProto |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static MessageTypeProto |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MessageTypeProto[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MessageTypeProto TYPE_GLOBAL_PRESERVED
TYPE_GLOBAL_PRESERVED = 0;public static final MessageTypeProto TYPE_GLOBAL_BEGIN
TYPE_GLOBAL_BEGIN = 1;public static final MessageTypeProto TYPE_GLOBAL_BEGIN_RESULT
TYPE_GLOBAL_BEGIN_RESULT = 2;public static final MessageTypeProto TYPE_GLOBAL_COMMIT
The constant TYPE_GLOBAL_COMMIT.
TYPE_GLOBAL_COMMIT = 7;public static final MessageTypeProto TYPE_GLOBAL_COMMIT_RESULT
The constant TYPE_GLOBAL_COMMIT_RESULT.
TYPE_GLOBAL_COMMIT_RESULT = 8;public static final MessageTypeProto TYPE_GLOBAL_ROLLBACK
The constant TYPE_GLOBAL_ROLLBACK.
TYPE_GLOBAL_ROLLBACK = 9;public static final MessageTypeProto TYPE_GLOBAL_ROLLBACK_RESULT
The constant TYPE_GLOBAL_ROLLBACK_RESULT.
TYPE_GLOBAL_ROLLBACK_RESULT = 10;public static final MessageTypeProto TYPE_GLOBAL_STATUS
The constant TYPE_GLOBAL_STATUS.
TYPE_GLOBAL_STATUS = 15;public static final MessageTypeProto TYPE_GLOBAL_STATUS_RESULT
The constant TYPE_GLOBAL_STATUS_RESULT.
TYPE_GLOBAL_STATUS_RESULT = 16;public static final MessageTypeProto TYPE_GLOBAL_REPORT
The constant TYPE_GLOBAL_REPORT.
TYPE_GLOBAL_REPORT = 17;public static final MessageTypeProto TYPE_GLOBAL_REPORT_RESULT
The constant TYPE_GLOBAL_REPORT_RESULT.
TYPE_GLOBAL_REPORT_RESULT = 18;public static final MessageTypeProto TYPE_GLOBAL_LOCK_QUERY
The constant TYPE_GLOBAL_LOCK_QUERY.
TYPE_GLOBAL_LOCK_QUERY = 21;public static final MessageTypeProto TYPE_GLOBAL_LOCK_QUERY_RESULT
The constant TYPE_GLOBAL_LOCK_QUERY_RESULT.
TYPE_GLOBAL_LOCK_QUERY_RESULT = 22;public static final MessageTypeProto TYPE_BRANCH_COMMIT
The constant TYPE_BRANCH_COMMIT.
TYPE_BRANCH_COMMIT = 3;public static final MessageTypeProto TYPE_BRANCH_COMMIT_RESULT
The constant TYPE_BRANCH_COMMIT_RESULT.
TYPE_BRANCH_COMMIT_RESULT = 4;public static final MessageTypeProto TYPE_BRANCH_ROLLBACK
The constant TYPE_BRANCH_ROLLBACK.
TYPE_BRANCH_ROLLBACK = 5;public static final MessageTypeProto TYPE_BRANCH_ROLLBACK_RESULT
The constant TYPE_BRANCH_ROLLBACK_RESULT.
TYPE_BRANCH_ROLLBACK_RESULT = 6;public static final MessageTypeProto TYPE_BRANCH_REGISTER
The constant TYPE_BRANCH_REGISTER.
TYPE_BRANCH_REGISTER = 11;public static final MessageTypeProto TYPE_BRANCH_REGISTER_RESULT
The constant TYPE_BRANCH_REGISTER_RESULT.
TYPE_BRANCH_REGISTER_RESULT = 12;public static final MessageTypeProto TYPE_BRANCH_STATUS_REPORT
The constant TYPE_BRANCH_STATUS_REPORT.
TYPE_BRANCH_STATUS_REPORT = 13;public static final MessageTypeProto TYPE_BRANCH_STATUS_REPORT_RESULT
The constant TYPE_BRANCH_STATUS_REPORT_RESULT.
TYPE_BRANCH_STATUS_REPORT_RESULT = 14;public static final MessageTypeProto TYPE_SEATA_MERGE
The constant TYPE_SEATA_MERGE.
TYPE_SEATA_MERGE = 59;public static final MessageTypeProto TYPE_SEATA_MERGE_RESULT
The constant TYPE_SEATA_MERGE_RESULT.
TYPE_SEATA_MERGE_RESULT = 60;public static final MessageTypeProto TYPE_REG_CLT
The constant TYPE_REG_CLT.
TYPE_REG_CLT = 101;public static final MessageTypeProto TYPE_REG_CLT_RESULT
The constant TYPE_REG_CLT_RESULT.
TYPE_REG_CLT_RESULT = 102;public static final MessageTypeProto TYPE_REG_RM
The constant TYPE_REG_RM.
TYPE_REG_RM = 103;public static final MessageTypeProto TYPE_REG_RM_RESULT
The constant TYPE_REG_RM_RESULT.
TYPE_REG_RM_RESULT = 104;public static final MessageTypeProto TYPE_UNDO_LOG_DELETE
The constant TYPE_UNDO_LOG_DELETE.
TYPE_UNDO_LOG_DELETE = 111;public static final MessageTypeProto UNRECOGNIZED
public static final int TYPE_GLOBAL_PRESERVED_VALUE
TYPE_GLOBAL_PRESERVED = 0;public static final int TYPE_GLOBAL_BEGIN_VALUE
TYPE_GLOBAL_BEGIN = 1;public static final int TYPE_GLOBAL_BEGIN_RESULT_VALUE
TYPE_GLOBAL_BEGIN_RESULT = 2;public static final int TYPE_GLOBAL_COMMIT_VALUE
The constant TYPE_GLOBAL_COMMIT.
TYPE_GLOBAL_COMMIT = 7;public static final int TYPE_GLOBAL_COMMIT_RESULT_VALUE
The constant TYPE_GLOBAL_COMMIT_RESULT.
TYPE_GLOBAL_COMMIT_RESULT = 8;public static final int TYPE_GLOBAL_ROLLBACK_VALUE
The constant TYPE_GLOBAL_ROLLBACK.
TYPE_GLOBAL_ROLLBACK = 9;public static final int TYPE_GLOBAL_ROLLBACK_RESULT_VALUE
The constant TYPE_GLOBAL_ROLLBACK_RESULT.
TYPE_GLOBAL_ROLLBACK_RESULT = 10;public static final int TYPE_GLOBAL_STATUS_VALUE
The constant TYPE_GLOBAL_STATUS.
TYPE_GLOBAL_STATUS = 15;public static final int TYPE_GLOBAL_STATUS_RESULT_VALUE
The constant TYPE_GLOBAL_STATUS_RESULT.
TYPE_GLOBAL_STATUS_RESULT = 16;public static final int TYPE_GLOBAL_REPORT_VALUE
The constant TYPE_GLOBAL_REPORT.
TYPE_GLOBAL_REPORT = 17;public static final int TYPE_GLOBAL_REPORT_RESULT_VALUE
The constant TYPE_GLOBAL_REPORT_RESULT.
TYPE_GLOBAL_REPORT_RESULT = 18;public static final int TYPE_GLOBAL_LOCK_QUERY_VALUE
The constant TYPE_GLOBAL_LOCK_QUERY.
TYPE_GLOBAL_LOCK_QUERY = 21;public static final int TYPE_GLOBAL_LOCK_QUERY_RESULT_VALUE
The constant TYPE_GLOBAL_LOCK_QUERY_RESULT.
TYPE_GLOBAL_LOCK_QUERY_RESULT = 22;public static final int TYPE_BRANCH_COMMIT_VALUE
The constant TYPE_BRANCH_COMMIT.
TYPE_BRANCH_COMMIT = 3;public static final int TYPE_BRANCH_COMMIT_RESULT_VALUE
The constant TYPE_BRANCH_COMMIT_RESULT.
TYPE_BRANCH_COMMIT_RESULT = 4;public static final int TYPE_BRANCH_ROLLBACK_VALUE
The constant TYPE_BRANCH_ROLLBACK.
TYPE_BRANCH_ROLLBACK = 5;public static final int TYPE_BRANCH_ROLLBACK_RESULT_VALUE
The constant TYPE_BRANCH_ROLLBACK_RESULT.
TYPE_BRANCH_ROLLBACK_RESULT = 6;public static final int TYPE_BRANCH_REGISTER_VALUE
The constant TYPE_BRANCH_REGISTER.
TYPE_BRANCH_REGISTER = 11;public static final int TYPE_BRANCH_REGISTER_RESULT_VALUE
The constant TYPE_BRANCH_REGISTER_RESULT.
TYPE_BRANCH_REGISTER_RESULT = 12;public static final int TYPE_BRANCH_STATUS_REPORT_VALUE
The constant TYPE_BRANCH_STATUS_REPORT.
TYPE_BRANCH_STATUS_REPORT = 13;public static final int TYPE_BRANCH_STATUS_REPORT_RESULT_VALUE
The constant TYPE_BRANCH_STATUS_REPORT_RESULT.
TYPE_BRANCH_STATUS_REPORT_RESULT = 14;public static final int TYPE_SEATA_MERGE_VALUE
The constant TYPE_SEATA_MERGE.
TYPE_SEATA_MERGE = 59;public static final int TYPE_SEATA_MERGE_RESULT_VALUE
The constant TYPE_SEATA_MERGE_RESULT.
TYPE_SEATA_MERGE_RESULT = 60;public static final int TYPE_REG_CLT_VALUE
The constant TYPE_REG_CLT.
TYPE_REG_CLT = 101;public static final int TYPE_REG_CLT_RESULT_VALUE
The constant TYPE_REG_CLT_RESULT.
TYPE_REG_CLT_RESULT = 102;public static final int TYPE_REG_RM_VALUE
The constant TYPE_REG_RM.
TYPE_REG_RM = 103;public static final int TYPE_REG_RM_RESULT_VALUE
The constant TYPE_REG_RM_RESULT.
TYPE_REG_RM_RESULT = 104;public static final int TYPE_UNDO_LOG_DELETE_VALUE
The constant TYPE_UNDO_LOG_DELETE.
TYPE_UNDO_LOG_DELETE = 111;public static MessageTypeProto[] values()
for (MessageTypeProto c : MessageTypeProto.values()) System.out.println(c);
public static MessageTypeProto valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static MessageTypeProto valueOf(int value)
forNumber(int) instead.public static MessageTypeProto forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<MessageTypeProto> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MessageTypeProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Seata. All rights reserved.