- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<SubType>,Constable
@Generated
public enum SubType
extends Enum<SubType>
implements com.google.protobuf.Internal.EnumLite
* A transaction sub type.<br/> This enumeration enables a set of transaction base fees to be broadly defined for a type of operation and also be modified, when necessary, based on specifics of the operation. ### Explanation The resource cost for a TokenMint operation is different between minting fungible/common and non-fungible/unique tokens. This `enum` is used to "mark" a cost as applying to one or the other.<br/> Similarly, the resource cost for a basic `tokenCreate` without a custom fee schedule may yield a _base_ fee of $1. The resource cost for a `tokenCreate` _with_ a custom fee schedule is different and may yield a _base_ fee of $2 or more.Protobuf enum
proto.SubType-
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 resource cost for the transaction type that includes a CryptoTransfer with hook invocations* The resource cost for the transaction type has no additional attributes* The resource cost for the transaction type includes a ScheduleCreate containing a ContractCall.* The resource cost for the transaction type includes a ConsensusSubmitMessage for a topic with custom fees.* The resource cost for the transaction type includes an operation on a fungible/common token* The resource cost for the transaction type includes an operation on a fungible/common token with a custom fee schedule* The resource cost for the transaction type includes an operation on a non-fungible/unique token* The resource cost for the transaction type includes an operation on a non-fungible/unique token with a custom fee schedule* The resource cost for the transaction type includes a TopicCreate with custom fees. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int* The resource cost for the transaction type that includes a CryptoTransfer with hook invocationsstatic final int* The resource cost for the transaction type has no additional attributesstatic final int* The resource cost for the transaction type includes a ScheduleCreate containing a ContractCall.static final int* The resource cost for the transaction type includes a ConsensusSubmitMessage for a topic with custom fees.static final int* The resource cost for the transaction type includes an operation on a fungible/common tokenstatic final int* The resource cost for the transaction type includes an operation on a fungible/common token with a custom fee schedulestatic final int* The resource cost for the transaction type includes an operation on a non-fungible/unique tokenstatic final int* The resource cost for the transaction type includes an operation on a non-fungible/unique token with a custom fee schedulestatic final int* The resource cost for the transaction type includes a TopicCreate with custom fees. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubTypeforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<SubType> static com.google.protobuf.Internal.EnumVerifierstatic SubTypevalueOf(int value) Deprecated.static SubTypeReturns the enum constant of this class with the specified name.static SubType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
* The resource cost for the transaction type has no additional attributes
DEFAULT = 0; -
TOKEN_FUNGIBLE_COMMON
* The resource cost for the transaction type includes an operation on a fungible/common token
TOKEN_FUNGIBLE_COMMON = 1; -
TOKEN_NON_FUNGIBLE_UNIQUE
* The resource cost for the transaction type includes an operation on a non-fungible/unique token
TOKEN_NON_FUNGIBLE_UNIQUE = 2; -
TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES
* The resource cost for the transaction type includes an operation on a fungible/common token with a custom fee schedule
TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES = 3; -
TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES
* The resource cost for the transaction type includes an operation on a non-fungible/unique token with a custom fee schedule
TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES = 4; -
SCHEDULE_CREATE_CONTRACT_CALL
* The resource cost for the transaction type includes a ScheduleCreate containing a ContractCall.
SCHEDULE_CREATE_CONTRACT_CALL = 5; -
TOPIC_CREATE_WITH_CUSTOM_FEES
* The resource cost for the transaction type includes a TopicCreate with custom fees.
TOPIC_CREATE_WITH_CUSTOM_FEES = 6; -
SUBMIT_MESSAGE_WITH_CUSTOM_FEES
* The resource cost for the transaction type includes a ConsensusSubmitMessage for a topic with custom fees.
SUBMIT_MESSAGE_WITH_CUSTOM_FEES = 7; -
CRYPTO_TRANSFER_WITH_HOOKS
* The resource cost for the transaction type that includes a CryptoTransfer with hook invocations
CRYPTO_TRANSFER_WITH_HOOKS = 8; -
UNRECOGNIZED
-
-
Field Details
-
DEFAULT_VALUE
public static final int DEFAULT_VALUE* The resource cost for the transaction type has no additional attributes
DEFAULT = 0;- See Also:
-
TOKEN_FUNGIBLE_COMMON_VALUE
public static final int TOKEN_FUNGIBLE_COMMON_VALUE* The resource cost for the transaction type includes an operation on a fungible/common token
TOKEN_FUNGIBLE_COMMON = 1;- See Also:
-
TOKEN_NON_FUNGIBLE_UNIQUE_VALUE
public static final int TOKEN_NON_FUNGIBLE_UNIQUE_VALUE* The resource cost for the transaction type includes an operation on a non-fungible/unique token
TOKEN_NON_FUNGIBLE_UNIQUE = 2;- See Also:
-
TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES_VALUE
public static final int TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES_VALUE* The resource cost for the transaction type includes an operation on a fungible/common token with a custom fee schedule
TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES = 3;- See Also:
-
TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES_VALUE
public static final int TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES_VALUE* The resource cost for the transaction type includes an operation on a non-fungible/unique token with a custom fee schedule
TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES = 4;- See Also:
-
SCHEDULE_CREATE_CONTRACT_CALL_VALUE
public static final int SCHEDULE_CREATE_CONTRACT_CALL_VALUE* The resource cost for the transaction type includes a ScheduleCreate containing a ContractCall.
SCHEDULE_CREATE_CONTRACT_CALL = 5;- See Also:
-
TOPIC_CREATE_WITH_CUSTOM_FEES_VALUE
public static final int TOPIC_CREATE_WITH_CUSTOM_FEES_VALUE* The resource cost for the transaction type includes a TopicCreate with custom fees.
TOPIC_CREATE_WITH_CUSTOM_FEES = 6;- See Also:
-
SUBMIT_MESSAGE_WITH_CUSTOM_FEES_VALUE
public static final int SUBMIT_MESSAGE_WITH_CUSTOM_FEES_VALUE* The resource cost for the transaction type includes a ConsensusSubmitMessage for a topic with custom fees.
SUBMIT_MESSAGE_WITH_CUSTOM_FEES = 7;- See Also:
-
CRYPTO_TRANSFER_WITH_HOOKS_VALUE
public static final int CRYPTO_TRANSFER_WITH_HOOKS_VALUE* The resource cost for the transaction type that includes a CryptoTransfer with hook invocations
CRYPTO_TRANSFER_WITH_HOOKS = 8;- 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()
-