java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<FeeSchedule,FeeSchedule.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<FeeSchedule,FeeSchedule.Builder>
com.hedera.hashgraph.sdk.proto.FeeSchedule.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,FeeScheduleOrBuilder,Cloneable
- Enclosing class:
FeeSchedule
public static final class FeeSchedule.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<FeeSchedule,FeeSchedule.Builder>
implements FeeScheduleOrBuilder
* A set of fee schedules covering all transaction types and query types, along with a specific time at which this fee schedule will expire. Nodes SHALL use the most recent unexpired fee schedule to determine the fees for all transactions based on various resource components imputed to each transaction.Protobuf type
proto.FeeSchedule-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllTransactionFeeSchedule(Iterable<? extends TransactionFeeSchedule> values) * Sets of fee coefficients for various transaction or query types.addTransactionFeeSchedule(int index, TransactionFeeSchedule value) * Sets of fee coefficients for various transaction or query types.addTransactionFeeSchedule(int index, TransactionFeeSchedule.Builder builderForValue) * Sets of fee coefficients for various transaction or query types.* Sets of fee coefficients for various transaction or query types.addTransactionFeeSchedule(TransactionFeeSchedule.Builder builderForValue) * Sets of fee coefficients for various transaction or query types.* A time, in seconds since the `epoch`, when this fee schedule will expire.* Sets of fee coefficients for various transaction or query types.* A time, in seconds since the `epoch`, when this fee schedule will expire.getTransactionFeeSchedule(int index) * Sets of fee coefficients for various transaction or query types.int* Sets of fee coefficients for various transaction or query types.* Sets of fee coefficients for various transaction or query types.boolean* A time, in seconds since the `epoch`, when this fee schedule will expire.mergeExpiryTime(TimestampSeconds value) * A time, in seconds since the `epoch`, when this fee schedule will expire.removeTransactionFeeSchedule(int index) * Sets of fee coefficients for various transaction or query types.setExpiryTime(TimestampSeconds value) * A time, in seconds since the `epoch`, when this fee schedule will expire.setExpiryTime(TimestampSeconds.Builder builderForValue) * A time, in seconds since the `epoch`, when this fee schedule will expire.setTransactionFeeSchedule(int index, TransactionFeeSchedule value) * Sets of fee coefficients for various transaction or query types.setTransactionFeeSchedule(int index, TransactionFeeSchedule.Builder builderForValue) * Sets of fee coefficients for various transaction or query types.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
-
getTransactionFeeScheduleList
* Sets of fee coefficients for various transaction or query types.
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;- Specified by:
getTransactionFeeScheduleListin interfaceFeeScheduleOrBuilder
-
getTransactionFeeScheduleCount
public int getTransactionFeeScheduleCount()* Sets of fee coefficients for various transaction or query types.
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;- Specified by:
getTransactionFeeScheduleCountin interfaceFeeScheduleOrBuilder
-
getTransactionFeeSchedule
* Sets of fee coefficients for various transaction or query types.
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;- Specified by:
getTransactionFeeSchedulein interfaceFeeScheduleOrBuilder
-
setTransactionFeeSchedule
* Sets of fee coefficients for various transaction or query types.
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1; -
setTransactionFeeSchedule
public FeeSchedule.Builder setTransactionFeeSchedule(int index, TransactionFeeSchedule.Builder builderForValue) * Sets of fee coefficients for various transaction or query types.
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1; -
addTransactionFeeSchedule
* Sets of fee coefficients for various transaction or query types.
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1; -
addTransactionFeeSchedule
* Sets of fee coefficients for various transaction or query types.
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1; -
addTransactionFeeSchedule
public FeeSchedule.Builder addTransactionFeeSchedule(TransactionFeeSchedule.Builder builderForValue) * Sets of fee coefficients for various transaction or query types.
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1; -
addTransactionFeeSchedule
public FeeSchedule.Builder addTransactionFeeSchedule(int index, TransactionFeeSchedule.Builder builderForValue) * Sets of fee coefficients for various transaction or query types.
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1; -
addAllTransactionFeeSchedule
public FeeSchedule.Builder addAllTransactionFeeSchedule(Iterable<? extends TransactionFeeSchedule> values) * Sets of fee coefficients for various transaction or query types.
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1; -
clearTransactionFeeSchedule
* Sets of fee coefficients for various transaction or query types.
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1; -
removeTransactionFeeSchedule
* Sets of fee coefficients for various transaction or query types.
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1; -
hasExpiryTime
public boolean hasExpiryTime()* A time, in seconds since the `epoch`, when this fee schedule will expire. <p> For this purpose, `epoch` SHALL be the UNIX epoch with 0 at `1970-01-01T00:00:00.000Z`.
.proto.TimestampSeconds expiryTime = 2;- Specified by:
hasExpiryTimein interfaceFeeScheduleOrBuilder- Returns:
- Whether the expiryTime field is set.
-
getExpiryTime
* A time, in seconds since the `epoch`, when this fee schedule will expire. <p> For this purpose, `epoch` SHALL be the UNIX epoch with 0 at `1970-01-01T00:00:00.000Z`.
.proto.TimestampSeconds expiryTime = 2;- Specified by:
getExpiryTimein interfaceFeeScheduleOrBuilder- Returns:
- The expiryTime.
-
setExpiryTime
* A time, in seconds since the `epoch`, when this fee schedule will expire. <p> For this purpose, `epoch` SHALL be the UNIX epoch with 0 at `1970-01-01T00:00:00.000Z`.
.proto.TimestampSeconds expiryTime = 2; -
setExpiryTime
* A time, in seconds since the `epoch`, when this fee schedule will expire. <p> For this purpose, `epoch` SHALL be the UNIX epoch with 0 at `1970-01-01T00:00:00.000Z`.
.proto.TimestampSeconds expiryTime = 2; -
mergeExpiryTime
* A time, in seconds since the `epoch`, when this fee schedule will expire. <p> For this purpose, `epoch` SHALL be the UNIX epoch with 0 at `1970-01-01T00:00:00.000Z`.
.proto.TimestampSeconds expiryTime = 2; -
clearExpiryTime
* A time, in seconds since the `epoch`, when this fee schedule will expire. <p> For this purpose, `epoch` SHALL be the UNIX epoch with 0 at `1970-01-01T00:00:00.000Z`.
.proto.TimestampSeconds expiryTime = 2;
-