public static enum ReadStakingDataRequest.RequestCase extends Enum<ReadStakingDataRequest.RequestCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
BUCKETS |
BUCKETSBYCANDIDATE |
BUCKETSBYINDEXES |
BUCKETSBYVOTER |
BUCKETSCOUNT |
CANDIDATEBYADDRESS |
CANDIDATEBYNAME |
CANDIDATES |
REQUEST_NOT_SET |
TOTALSTAKINGAMOUNT |
| Modifier and Type | Method and Description |
|---|---|
static ReadStakingDataRequest.RequestCase |
forNumber(int value) |
int |
getNumber() |
static ReadStakingDataRequest.RequestCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ReadStakingDataRequest.RequestCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadStakingDataRequest.RequestCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadStakingDataRequest.RequestCase BUCKETS
public static final ReadStakingDataRequest.RequestCase BUCKETSBYVOTER
public static final ReadStakingDataRequest.RequestCase BUCKETSBYCANDIDATE
public static final ReadStakingDataRequest.RequestCase CANDIDATES
public static final ReadStakingDataRequest.RequestCase CANDIDATEBYNAME
public static final ReadStakingDataRequest.RequestCase BUCKETSBYINDEXES
public static final ReadStakingDataRequest.RequestCase CANDIDATEBYADDRESS
public static final ReadStakingDataRequest.RequestCase TOTALSTAKINGAMOUNT
public static final ReadStakingDataRequest.RequestCase BUCKETSCOUNT
public static final ReadStakingDataRequest.RequestCase REQUEST_NOT_SET
public static ReadStakingDataRequest.RequestCase[] values()
for (ReadStakingDataRequest.RequestCase c : ReadStakingDataRequest.RequestCase.values()) System.out.println(c);
public static ReadStakingDataRequest.RequestCase 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 ReadStakingDataRequest.RequestCase valueOf(int value)
forNumber(int) instead.public static ReadStakingDataRequest.RequestCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2022 IoTeX Group. All rights reserved.