public static enum TransactionService.GetHistoryRequest.Direction extends java.lang.Enum<TransactionService.GetHistoryRequest.Direction> implements com.google.protobuf.Internal.EnumLite
kin.agora.transaction.v3.GetHistoryRequest.Direction| Enum Constant and Description |
|---|
ASC
ASC direction returns all history items in
ascending (based on chain order) from the cursor.
|
DESC
DESC direction returns all history items in
descending (based on chain order) from _before_ the cursor.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ASC_VALUE
ASC direction returns all history items in
ascending (based on chain order) from the cursor.
|
static int |
DESC_VALUE
DESC direction returns all history items in
descending (based on chain order) from _before_ the cursor.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionService.GetHistoryRequest.Direction |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<TransactionService.GetHistoryRequest.Direction> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static TransactionService.GetHistoryRequest.Direction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransactionService.GetHistoryRequest.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionService.GetHistoryRequest.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionService.GetHistoryRequest.Direction ASC
ASC direction returns all history items in ascending (based on chain order) from the cursor.
ASC = 0;public static final TransactionService.GetHistoryRequest.Direction DESC
DESC direction returns all history items in descending (based on chain order) from _before_ the cursor.
DESC = 1;public static final TransactionService.GetHistoryRequest.Direction UNRECOGNIZED
public static final int ASC_VALUE
ASC direction returns all history items in ascending (based on chain order) from the cursor.
ASC = 0;public static final int DESC_VALUE
DESC direction returns all history items in descending (based on chain order) from _before_ the cursor.
DESC = 1;public static TransactionService.GetHistoryRequest.Direction[] values()
for (TransactionService.GetHistoryRequest.Direction c : TransactionService.GetHistoryRequest.Direction.values()) System.out.println(c);
public static TransactionService.GetHistoryRequest.Direction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite@Deprecated public static TransactionService.GetHistoryRequest.Direction valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static TransactionService.GetHistoryRequest.Direction forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<TransactionService.GetHistoryRequest.Direction> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()