- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<TokenPauseStatus>,Constable
@Generated
public enum TokenPauseStatus
extends Enum<TokenPauseStatus>
implements com.google.protobuf.Internal.EnumLite
* Possible Pause status values. This is returned by `TokenGetInfoQuery` in `TokenRelationship`.Protobuf enum
proto.TokenPauseStatus-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription* The token is currently paused.* The token does not support pause or cannot be paused.<br/> Typically this indicates that the token does not have a `pause_key` set.* The token is not currently paused. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int* The token is currently paused.static final int* The token does not support pause or cannot be paused.<br/> Typically this indicates that the token does not have a `pause_key` set.static final int* The token is not currently paused. -
Method Summary
Modifier and TypeMethodDescriptionstatic TokenPauseStatusforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<TokenPauseStatus> static com.google.protobuf.Internal.EnumVerifierstatic TokenPauseStatusvalueOf(int value) Deprecated.static TokenPauseStatusReturns the enum constant of this class with the specified name.static TokenPauseStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PauseNotApplicable
* The token does not support pause or cannot be paused.<br/> Typically this indicates that the token does not have a `pause_key` set.
PauseNotApplicable = 0; -
Paused
* The token is currently paused.
Paused = 1; -
Unpaused
* The token is not currently paused.
Unpaused = 2; -
UNRECOGNIZED
-
-
Field Details
-
PauseNotApplicable_VALUE
public static final int PauseNotApplicable_VALUE* The token does not support pause or cannot be paused.<br/> Typically this indicates that the token does not have a `pause_key` set.
PauseNotApplicable = 0;- See Also:
-
Paused_VALUE
public static final int Paused_VALUE* The token is currently paused.
Paused = 1;- See Also:
-
Unpaused_VALUE
public static final int Unpaused_VALUE* The token is not currently paused.
Unpaused = 2;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
-
internalGetValueMap
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-