public static enum Protocol.SmartContract.ABI.Entry.EntryType extends Enum<Protocol.SmartContract.ABI.Entry.EntryType> implements com.google.protobuf.ProtocolMessageEnum
protocol.SmartContract.ABI.Entry.EntryType
Enum Constant and Description |
---|
Constructor
Constructor = 1; |
Event
Event = 3; |
Fallback
Fallback = 4; |
Function
Function = 2; |
UnknownEntryType
UnknownEntryType = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
Constructor_VALUE
Constructor = 1; |
static int |
Event_VALUE
Event = 3; |
static int |
Fallback_VALUE
Fallback = 4; |
static int |
Function_VALUE
Function = 2; |
static int |
UnknownEntryType_VALUE
UnknownEntryType = 0; |
Modifier and Type | Method and Description |
---|---|
static Protocol.SmartContract.ABI.Entry.EntryType |
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<Protocol.SmartContract.ABI.Entry.EntryType> |
internalGetValueMap() |
static Protocol.SmartContract.ABI.Entry.EntryType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protocol.SmartContract.ABI.Entry.EntryType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protocol.SmartContract.ABI.Entry.EntryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Protocol.SmartContract.ABI.Entry.EntryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protocol.SmartContract.ABI.Entry.EntryType UnknownEntryType
UnknownEntryType = 0;
public static final Protocol.SmartContract.ABI.Entry.EntryType Constructor
Constructor = 1;
public static final Protocol.SmartContract.ABI.Entry.EntryType Function
Function = 2;
public static final Protocol.SmartContract.ABI.Entry.EntryType Event
Event = 3;
public static final Protocol.SmartContract.ABI.Entry.EntryType Fallback
Fallback = 4;
public static final Protocol.SmartContract.ABI.Entry.EntryType UNRECOGNIZED
public static final int UnknownEntryType_VALUE
UnknownEntryType = 0;
public static final int Constructor_VALUE
Constructor = 1;
public static final int Function_VALUE
Function = 2;
public static final int Event_VALUE
Event = 3;
public static final int Fallback_VALUE
Fallback = 4;
public static Protocol.SmartContract.ABI.Entry.EntryType[] values()
for (Protocol.SmartContract.ABI.Entry.EntryType c : Protocol.SmartContract.ABI.Entry.EntryType.values()) System.out.println(c);
public static Protocol.SmartContract.ABI.Entry.EntryType 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Protocol.SmartContract.ABI.Entry.EntryType valueOf(int value)
forNumber(int)
instead.public static Protocol.SmartContract.ABI.Entry.EntryType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Protocol.SmartContract.ABI.Entry.EntryType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Protocol.SmartContract.ABI.Entry.EntryType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020. All rights reserved.