Enum Class TokenPauseStatus

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

    • PauseNotApplicable

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

      public static final TokenPauseStatus Paused
       *
       The token is currently paused.
       
      Paused = 1;
    • Unpaused

      public static final TokenPauseStatus Unpaused
       *
       The token is not currently paused.
       
      Unpaused = 2;
    • UNRECOGNIZED

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

      public static TokenPauseStatus[] 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 TokenPauseStatus 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 TokenPauseStatus 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 TokenPauseStatus forNumber(int value)
    • internalGetValueMap

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

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