Enum Class TokenFreezeStatus

java.lang.Object
java.lang.Enum<TokenFreezeStatus>
com.hedera.hashgraph.sdk.proto.TokenFreezeStatus
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
  • Enum Constant Details

    • FreezeNotApplicable

      public static final TokenFreezeStatus 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

      public static final TokenFreezeStatus Frozen
       *
       The token is currently frozen for the designated account.
       
      Frozen = 1;
    • Unfrozen

      public static final TokenFreezeStatus Unfrozen
       *
       The token is not currently frozen for the designated account.
       
      Unfrozen = 2;
    • UNRECOGNIZED

      public static final TokenFreezeStatus 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

      public static TokenFreezeStatus[] 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

      public static TokenFreezeStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
    • valueOf

      @Deprecated public static TokenFreezeStatus valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static TokenFreezeStatus forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<TokenFreezeStatus> internalGetValueMap()
    • internalGetVerifier

      public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()