java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<CustomFeeLimit,CustomFeeLimit.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<CustomFeeLimit,CustomFeeLimit.Builder>
com.hedera.hashgraph.sdk.proto.CustomFeeLimit.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,CustomFeeLimitOrBuilder,Cloneable
- Enclosing class:
CustomFeeLimit
public static final class CustomFeeLimit.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<CustomFeeLimit,CustomFeeLimit.Builder>
implements CustomFeeLimitOrBuilder
* A maximum custom fee that the user is willing to pay. <p> This message is used to specify the maximum custom fee that given user is willing to pay.Protobuf type
proto.CustomFeeLimit-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllFees(Iterable<? extends FixedFee> values) * The maximum fees that the user is willing to pay for the message.* The maximum fees that the user is willing to pay for the message.addFees(int index, FixedFee.Builder builderForValue) * The maximum fees that the user is willing to pay for the message.* The maximum fees that the user is willing to pay for the message.addFees(FixedFee.Builder builderForValue) * The maximum fees that the user is willing to pay for the message.* A payer account identifier.* The maximum fees that the user is willing to pay for the message.* A payer account identifier.getFees(int index) * The maximum fees that the user is willing to pay for the message.int* The maximum fees that the user is willing to pay for the message.* The maximum fees that the user is willing to pay for the message.boolean* A payer account identifier.mergeAccountId(AccountID value) * A payer account identifier.removeFees(int index) * The maximum fees that the user is willing to pay for the message.setAccountId(AccountID value) * A payer account identifier.setAccountId(AccountID.Builder builderForValue) * A payer account identifier.* The maximum fees that the user is willing to pay for the message.setFees(int index, FixedFee.Builder builderForValue) * The maximum fees that the user is willing to pay for the message.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
-
hasAccountId
public boolean hasAccountId()* A payer account identifier.
.proto.AccountID account_id = 1;- Specified by:
hasAccountIdin interfaceCustomFeeLimitOrBuilder- Returns:
- Whether the accountId field is set.
-
getAccountId
* A payer account identifier.
.proto.AccountID account_id = 1;- Specified by:
getAccountIdin interfaceCustomFeeLimitOrBuilder- Returns:
- The accountId.
-
setAccountId
* A payer account identifier.
.proto.AccountID account_id = 1; -
setAccountId
* A payer account identifier.
.proto.AccountID account_id = 1; -
mergeAccountId
* A payer account identifier.
.proto.AccountID account_id = 1; -
clearAccountId
* A payer account identifier.
.proto.AccountID account_id = 1; -
getFeesList
* The maximum fees that the user is willing to pay for the message.
repeated .proto.FixedFee fees = 2;- Specified by:
getFeesListin interfaceCustomFeeLimitOrBuilder
-
getFeesCount
public int getFeesCount()* The maximum fees that the user is willing to pay for the message.
repeated .proto.FixedFee fees = 2;- Specified by:
getFeesCountin interfaceCustomFeeLimitOrBuilder
-
getFees
* The maximum fees that the user is willing to pay for the message.
repeated .proto.FixedFee fees = 2;- Specified by:
getFeesin interfaceCustomFeeLimitOrBuilder
-
setFees
* The maximum fees that the user is willing to pay for the message.
repeated .proto.FixedFee fees = 2; -
setFees
* The maximum fees that the user is willing to pay for the message.
repeated .proto.FixedFee fees = 2; -
addFees
* The maximum fees that the user is willing to pay for the message.
repeated .proto.FixedFee fees = 2; -
addFees
* The maximum fees that the user is willing to pay for the message.
repeated .proto.FixedFee fees = 2; -
addFees
* The maximum fees that the user is willing to pay for the message.
repeated .proto.FixedFee fees = 2; -
addFees
* The maximum fees that the user is willing to pay for the message.
repeated .proto.FixedFee fees = 2; -
addAllFees
* The maximum fees that the user is willing to pay for the message.
repeated .proto.FixedFee fees = 2; -
clearFees
* The maximum fees that the user is willing to pay for the message.
repeated .proto.FixedFee fees = 2; -
removeFees
* The maximum fees that the user is willing to pay for the message.
repeated .proto.FixedFee fees = 2;
-