public static enum Transaction.RawTransaction.PayloadCase extends Enum<Transaction.RawTransaction.PayloadCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
MODULE |
PAYLOAD_NOT_SET |
PROGRAM |
SCRIPT |
WRITE_SET |
| Modifier and Type | Method and Description |
|---|---|
static Transaction.RawTransaction.PayloadCase |
forNumber(int value) |
int |
getNumber() |
static Transaction.RawTransaction.PayloadCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Transaction.RawTransaction.PayloadCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.RawTransaction.PayloadCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.RawTransaction.PayloadCase PROGRAM
public static final Transaction.RawTransaction.PayloadCase WRITE_SET
public static final Transaction.RawTransaction.PayloadCase SCRIPT
public static final Transaction.RawTransaction.PayloadCase MODULE
public static final Transaction.RawTransaction.PayloadCase PAYLOAD_NOT_SET
public static Transaction.RawTransaction.PayloadCase[] values()
for (Transaction.RawTransaction.PayloadCase c : Transaction.RawTransaction.PayloadCase.values()) System.out.println(c);
public static Transaction.RawTransaction.PayloadCase 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 null@Deprecated public static Transaction.RawTransaction.PayloadCase valueOf(int value)
forNumber(int) instead.public static Transaction.RawTransaction.PayloadCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2019. All rights reserved.