Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class TransactionFeeSchedule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TransactionFeeSchedule,TransactionFeeSchedule.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TransactionFeeSchedule,TransactionFeeSchedule.Builder>
com.hedera.hashgraph.sdk.proto.TransactionFeeSchedule.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TransactionFeeScheduleOrBuilder,Cloneable
- Enclosing class:
TransactionFeeSchedule
public static final class TransactionFeeSchedule.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TransactionFeeSchedule,TransactionFeeSchedule.Builder>
implements TransactionFeeScheduleOrBuilder
* The fee schedule for a specific transaction or query based on the fee data.Protobuf type
proto.TransactionFeeSchedule-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllFees(Iterable<? extends FeeData> values) * The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.addFees(int index, FeeData.Builder builderForValue) * The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.addFees(FeeData.Builder builderForValue) * The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.Deprecated.* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.* An enumeration for a particular transaction or query.<br/> The functionality type determines the base cost parameters.Deprecated.getFees(int index) * The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.int* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.* An enumeration for a particular transaction or query.<br/> The functionality type determines the base cost parameters.int* An enumeration for a particular transaction or query.<br/> The functionality type determines the base cost parameters.booleanDeprecated.mergeFeeData(FeeData value) Deprecated.removeFees(int index) * The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.setFeeData(FeeData value) Deprecated.setFeeData(FeeData.Builder builderForValue) Deprecated.* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.setFees(int index, FeeData.Builder builderForValue) * The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.* An enumeration for a particular transaction or query.<br/> The functionality type determines the base cost parameters.setHederaFunctionalityValue(int value) * An enumeration for a particular transaction or query.<br/> The functionality type determines the base cost parameters.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getHederaFunctionalityValue
public int getHederaFunctionalityValue()* An enumeration for a particular transaction or query.<br/> The functionality type determines the base cost parameters.
.proto.HederaFunctionality hederaFunctionality = 1;- Specified by:
getHederaFunctionalityValuein interfaceTransactionFeeScheduleOrBuilder- Returns:
- The enum numeric value on the wire for hederaFunctionality.
-
setHederaFunctionalityValue
* An enumeration for a particular transaction or query.<br/> The functionality type determines the base cost parameters.
.proto.HederaFunctionality hederaFunctionality = 1;- Parameters:
value- The hederaFunctionality to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
getHederaFunctionality
* An enumeration for a particular transaction or query.<br/> The functionality type determines the base cost parameters.
.proto.HederaFunctionality hederaFunctionality = 1;- Specified by:
getHederaFunctionalityin interfaceTransactionFeeScheduleOrBuilder- Returns:
- The hederaFunctionality.
-
setHederaFunctionality
* An enumeration for a particular transaction or query.<br/> The functionality type determines the base cost parameters.
.proto.HederaFunctionality hederaFunctionality = 1;- Parameters:
value- The enum numeric value on the wire for hederaFunctionality to set.- Returns:
- This builder for chaining.
-
clearHederaFunctionality
* An enumeration for a particular transaction or query.<br/> The functionality type determines the base cost parameters.
.proto.HederaFunctionality hederaFunctionality = 1;- Returns:
- This builder for chaining.
-
hasFeeData
Deprecated.* Use `fees` instead of this field.<br/> Resource price coefficients.
.proto.FeeData feeData = 2 [deprecated = true];- Specified by:
hasFeeDatain interfaceTransactionFeeScheduleOrBuilder- Returns:
- Whether the feeData field is set.
-
getFeeData
Deprecated.* Use `fees` instead of this field.<br/> Resource price coefficients.
.proto.FeeData feeData = 2 [deprecated = true];- Specified by:
getFeeDatain interfaceTransactionFeeScheduleOrBuilder- Returns:
- The feeData.
-
setFeeData
Deprecated.* Use `fees` instead of this field.<br/> Resource price coefficients.
.proto.FeeData feeData = 2 [deprecated = true]; -
setFeeData
Deprecated.* Use `fees` instead of this field.<br/> Resource price coefficients.
.proto.FeeData feeData = 2 [deprecated = true]; -
mergeFeeData
Deprecated.* Use `fees` instead of this field.<br/> Resource price coefficients.
.proto.FeeData feeData = 2 [deprecated = true]; -
clearFeeData
Deprecated.* Use `fees` instead of this field.<br/> Resource price coefficients.
.proto.FeeData feeData = 2 [deprecated = true]; -
getFeesList
* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.
repeated .proto.FeeData fees = 3;- Specified by:
getFeesListin interfaceTransactionFeeScheduleOrBuilder
-
getFeesCount
public int getFeesCount()* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.
repeated .proto.FeeData fees = 3;- Specified by:
getFeesCountin interfaceTransactionFeeScheduleOrBuilder
-
getFees
* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.
repeated .proto.FeeData fees = 3;- Specified by:
getFeesin interfaceTransactionFeeScheduleOrBuilder
-
setFees
* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.
repeated .proto.FeeData fees = 3; -
setFees
* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.
repeated .proto.FeeData fees = 3; -
addFees
* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.
repeated .proto.FeeData fees = 3; -
addFees
* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.
repeated .proto.FeeData fees = 3; -
addFees
* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.
repeated .proto.FeeData fees = 3; -
addFees
* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.
repeated .proto.FeeData fees = 3; -
addAllFees
* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.
repeated .proto.FeeData fees = 3; -
clearFees
* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.
repeated .proto.FeeData fees = 3; -
removeFees
* The resource price coefficients for transaction type and any applicable subtypes.<br/> The multiple entries enable support for subtype price definitions.
repeated .proto.FeeData fees = 3;
-