public static enum Transaction.TransactionType extends java.lang.Enum<Transaction.TransactionType> implements com.google.protobuf.ProtocolMessageEnum
com.brewchain.sdk.model.TransactionType| 枚举常量和说明 |
|---|
CHAIN_CONFIG
CHAIN_CONFIG = 255; |
CVM_CONTRACT
CVM_CONTRACT = 4; |
EVFS_CONTRACT
evfs
EVFS_CONTRACT = 6; |
JSVM_CONTRACT
JSVM_CONTRACT = 5; |
MULI_SIGN
MULI_SIGN = 1; |
NORMAL
NORMAL = 0; |
RC20_CONTRACT
RC20_CONTRACT = 2; |
RC721_CONTRACT
RC721_CONTRACT = 3; |
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CHAIN_CONFIG_VALUE
CHAIN_CONFIG = 255; |
static int |
CVM_CONTRACT_VALUE
CVM_CONTRACT = 4; |
static int |
EVFS_CONTRACT_VALUE
evfs
EVFS_CONTRACT = 6; |
static int |
JSVM_CONTRACT_VALUE
JSVM_CONTRACT = 5; |
static int |
MULI_SIGN_VALUE
MULI_SIGN = 1; |
static int |
NORMAL_VALUE
NORMAL = 0; |
static int |
RC20_CONTRACT_VALUE
RC20_CONTRACT = 2; |
static int |
RC721_CONTRACT_VALUE
RC721_CONTRACT = 3; |
| 限定符和类型 | 方法和说明 |
|---|---|
static Transaction.TransactionType |
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<Transaction.TransactionType> |
internalGetValueMap() |
static Transaction.TransactionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Transaction.TransactionType |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static Transaction.TransactionType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Transaction.TransactionType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Transaction.TransactionType NORMAL
NORMAL = 0;public static final Transaction.TransactionType MULI_SIGN
MULI_SIGN = 1;public static final Transaction.TransactionType RC20_CONTRACT
RC20_CONTRACT = 2;public static final Transaction.TransactionType RC721_CONTRACT
RC721_CONTRACT = 3;public static final Transaction.TransactionType CVM_CONTRACT
CVM_CONTRACT = 4;public static final Transaction.TransactionType JSVM_CONTRACT
JSVM_CONTRACT = 5;public static final Transaction.TransactionType EVFS_CONTRACT
evfs
EVFS_CONTRACT = 6;public static final Transaction.TransactionType CHAIN_CONFIG
CHAIN_CONFIG = 255;public static final Transaction.TransactionType UNRECOGNIZED
public static final int NORMAL_VALUE
NORMAL = 0;public static final int MULI_SIGN_VALUE
MULI_SIGN = 1;public static final int RC20_CONTRACT_VALUE
RC20_CONTRACT = 2;public static final int RC721_CONTRACT_VALUE
RC721_CONTRACT = 3;public static final int CVM_CONTRACT_VALUE
CVM_CONTRACT = 4;public static final int JSVM_CONTRACT_VALUE
JSVM_CONTRACT = 5;public static final int EVFS_CONTRACT_VALUE
evfs
EVFS_CONTRACT = 6;public static final int CHAIN_CONFIG_VALUE
CHAIN_CONFIG = 255;public static Transaction.TransactionType[] values()
for (Transaction.TransactionType c : Transaction.TransactionType.values()) System.out.println(c);
public static Transaction.TransactionType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static Transaction.TransactionType valueOf(int value)
forNumber(int) instead.public static Transaction.TransactionType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Transaction.TransactionType> 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 Transaction.TransactionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)