Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Enum Class TokenKeyValidation
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<TokenKeyValidation>,Constable
@Generated
public enum TokenKeyValidation
extends Enum<TokenKeyValidation>
implements com.google.protobuf.Internal.EnumLite
* Types of validation strategies for token keys.Protobuf enum
proto.TokenKeyValidation-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription* Perform all token key validations.<br/> This is the default value and behavior.* Perform no validations at all for all passed token keys. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int* Perform all token key validations.<br/> This is the default value and behavior.static final int* Perform no validations at all for all passed token keys. -
Method Summary
Modifier and TypeMethodDescriptionstatic TokenKeyValidationforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<TokenKeyValidation> static com.google.protobuf.Internal.EnumVerifierstatic TokenKeyValidationvalueOf(int value) Deprecated.static TokenKeyValidationReturns the enum constant of this class with the specified name.static TokenKeyValidation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FULL_VALIDATION
* Perform all token key validations.<br/> This is the default value and behavior.
FULL_VALIDATION = 0; -
NO_VALIDATION
* Perform no validations at all for all passed token keys.
NO_VALIDATION = 1; -
UNRECOGNIZED
-
-
Field Details
-
FULL_VALIDATION_VALUE
public static final int FULL_VALIDATION_VALUE* Perform all token key validations.<br/> This is the default value and behavior.
FULL_VALIDATION = 0;- See Also:
-
NO_VALIDATION_VALUE
public static final int NO_VALIDATION_VALUE* Perform no validations at all for all passed token keys.
NO_VALIDATION = 1;- 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()
-