Enum Class TokenKycStatus

java.lang.Object
java.lang.Enum<TokenKycStatus>
com.hedera.hashgraph.sdk.proto.TokenKycStatus
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, Serializable, Comparable<TokenKycStatus>, Constable

@Generated public enum TokenKycStatus extends Enum<TokenKycStatus> implements com.google.protobuf.Internal.EnumLite
 *
 Possible token "KYC" status values.

 This is returned by `TokenGetInfoQuery` or `CryptoGetInfoResponse`
 in `TokenRelationship`.
 
Protobuf enum proto.TokenKycStatus
  • Enum Constant Details

    • KycNotApplicable

      public static final TokenKycStatus KycNotApplicable
       *
       The token does not support KYC or cannot grant KYC for the
       designated account.<br/>
       Typically this indicates that the token does not have a `kyc_key` set.
       
      KycNotApplicable = 0;
    • Granted

      public static final TokenKycStatus Granted
       *
       The designated account is currently granted KYC status for the
       designated token.
       
      Granted = 1;
    • Revoked

      public static final TokenKycStatus Revoked
       *
       The designated account is not currently granted KYC status for the
       designated token.
       
      Revoked = 2;
    • UNRECOGNIZED

      public static final TokenKycStatus UNRECOGNIZED
  • Field Details

    • KycNotApplicable_VALUE

      public static final int KycNotApplicable_VALUE
       *
       The token does not support KYC or cannot grant KYC for the
       designated account.<br/>
       Typically this indicates that the token does not have a `kyc_key` set.
       
      KycNotApplicable = 0;
      See Also:
    • Granted_VALUE

      public static final int Granted_VALUE
       *
       The designated account is currently granted KYC status for the
       designated token.
       
      Granted = 1;
      See Also:
    • Revoked_VALUE

      public static final int Revoked_VALUE
       *
       The designated account is not currently granted KYC status for the
       designated token.
       
      Revoked = 2;
      See Also:
  • Method Details

    • values

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

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

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