- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<TokenFreezeStatus>,Constable
@Generated
public enum TokenFreezeStatus
extends Enum<TokenFreezeStatus>
implements com.google.protobuf.Internal.EnumLite
* Possible token freeze status values. This is returned by `TokenGetInfoQuery` or `CryptoGetInfoResponse` in `TokenRelationship`.Protobuf enum
proto.TokenFreezeStatus-
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 does not support freeze or cannot be frozen for the designated account.<br/> Typically this indicates that the token does not have a `freeze_key` set.* The token is currently frozen for the designated account.* The token is not currently frozen for the designated account. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int* The token does not support freeze or cannot be frozen for the designated account.<br/> Typically this indicates that the token does not have a `freeze_key` set.static final int* The token is currently frozen for the designated account.static final int* The token is not currently frozen for the designated account. -
Method Summary
Modifier and TypeMethodDescriptionstatic TokenFreezeStatusforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<TokenFreezeStatus> static com.google.protobuf.Internal.EnumVerifierstatic TokenFreezeStatusvalueOf(int value) Deprecated.static TokenFreezeStatusReturns the enum constant of this class with the specified name.static TokenFreezeStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FreezeNotApplicable
* The token does not support freeze or cannot be frozen for the designated account.<br/> Typically this indicates that the token does not have a `freeze_key` set.
FreezeNotApplicable = 0; -
Frozen
* The token is currently frozen for the designated account.
Frozen = 1; -
Unfrozen
* The token is not currently frozen for the designated account.
Unfrozen = 2; -
UNRECOGNIZED
-
-
Field Details
-
FreezeNotApplicable_VALUE
public static final int FreezeNotApplicable_VALUE* The token does not support freeze or cannot be frozen for the designated account.<br/> Typically this indicates that the token does not have a `freeze_key` set.
FreezeNotApplicable = 0;- See Also:
-
Frozen_VALUE
public static final int Frozen_VALUE* The token is currently frozen for the designated account.
Frozen = 1;- See Also:
-
Unfrozen_VALUE
public static final int Unfrozen_VALUE* The token is not currently frozen for the designated account.
Unfrozen = 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()
-