All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hashgraph.sdk.proto.TokenPauseStatus Maven / Gradle / Ivy

There is a newer version: 2.39.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: basic_types.proto

package com.hedera.hashgraph.sdk.proto;

/**
 * 
 **
 * Possible Pause statuses returned on TokenGetInfoQuery
 * 
* * Protobuf enum {@code proto.TokenPauseStatus} */ public enum TokenPauseStatus implements com.google.protobuf.Internal.EnumLite { /** *
   **
   * Indicates that a Token has no pauseKey
   * 
* * PauseNotApplicable = 0; */ PauseNotApplicable(0), /** *
   **
   * Indicates that a Token is Paused
   * 
* * Paused = 1; */ Paused(1), /** *
   **
   * Indicates that a Token is Unpaused.
   * 
* * Unpaused = 2; */ Unpaused(2), UNRECOGNIZED(-1), ; /** *
   **
   * Indicates that a Token has no pauseKey
   * 
* * PauseNotApplicable = 0; */ public static final int PauseNotApplicable_VALUE = 0; /** *
   **
   * Indicates that a Token is Paused
   * 
* * Paused = 1; */ public static final int Paused_VALUE = 1; /** *
   **
   * Indicates that a Token is Unpaused.
   * 
* * Unpaused = 2; */ public static final int Unpaused_VALUE = 2; @java.lang.Override public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TokenPauseStatus valueOf(int value) { return forNumber(value); } public static TokenPauseStatus forNumber(int value) { switch (value) { case 0: return PauseNotApplicable; case 1: return Paused; case 2: return Unpaused; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< TokenPauseStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { @java.lang.Override public TokenPauseStatus findValueByNumber(int number) { return TokenPauseStatus.forNumber(number); } }; public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier() { return TokenPauseStatusVerifier.INSTANCE; } private static final class TokenPauseStatusVerifier implements com.google.protobuf.Internal.EnumVerifier { static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new TokenPauseStatusVerifier(); @java.lang.Override public boolean isInRange(int number) { return TokenPauseStatus.forNumber(number) != null; } }; private final int value; private TokenPauseStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:proto.TokenPauseStatus) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy