- 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-
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 designated account is currently granted KYC status for the designated token.* 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.* The designated account is not currently granted KYC status for the designated token. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int* The designated account is currently granted KYC status for the designated token.static final int* 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.static final int* The designated account is not currently granted KYC status for the designated token. -
Method Summary
Modifier and TypeMethodDescriptionstatic TokenKycStatusforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<TokenKycStatus> static com.google.protobuf.Internal.EnumVerifierstatic TokenKycStatusvalueOf(int value) Deprecated.static TokenKycStatusReturns the enum constant of this class with the specified name.static TokenKycStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
* The designated account is currently granted KYC status for the designated token.
Granted = 1; -
Revoked
* The designated account is not currently granted KYC status for the designated token.
Revoked = 2; -
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
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()
-