Class CustomFeeLimit.Builder

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
  • Method Details

    • hasAccountId

      public boolean hasAccountId()
       *
       A payer account identifier.
       
      .proto.AccountID account_id = 1;
      Specified by:
      hasAccountId in interface CustomFeeLimitOrBuilder
      Returns:
      Whether the accountId field is set.
    • getAccountId

      public AccountID getAccountId()
       *
       A payer account identifier.
       
      .proto.AccountID account_id = 1;
      Specified by:
      getAccountId in interface CustomFeeLimitOrBuilder
      Returns:
      The accountId.
    • setAccountId

      public CustomFeeLimit.Builder setAccountId(AccountID value)
       *
       A payer account identifier.
       
      .proto.AccountID account_id = 1;
    • setAccountId

      public CustomFeeLimit.Builder setAccountId(AccountID.Builder builderForValue)
       *
       A payer account identifier.
       
      .proto.AccountID account_id = 1;
    • mergeAccountId

      public CustomFeeLimit.Builder mergeAccountId(AccountID value)
       *
       A payer account identifier.
       
      .proto.AccountID account_id = 1;
    • clearAccountId

      public CustomFeeLimit.Builder clearAccountId()
       *
       A payer account identifier.
       
      .proto.AccountID account_id = 1;
    • getFeesList

      public List<FixedFee> getFeesList()
       *
       The maximum fees that the user is willing to pay for the message.
       
      repeated .proto.FixedFee fees = 2;
      Specified by:
      getFeesList in interface CustomFeeLimitOrBuilder
    • getFeesCount

      public int getFeesCount()
       *
       The maximum fees that the user is willing to pay for the message.
       
      repeated .proto.FixedFee fees = 2;
      Specified by:
      getFeesCount in interface CustomFeeLimitOrBuilder
    • getFees

      public FixedFee getFees(int index)
       *
       The maximum fees that the user is willing to pay for the message.
       
      repeated .proto.FixedFee fees = 2;
      Specified by:
      getFees in interface CustomFeeLimitOrBuilder
    • setFees

      public CustomFeeLimit.Builder setFees(int index, FixedFee value)
       *
       The maximum fees that the user is willing to pay for the message.
       
      repeated .proto.FixedFee fees = 2;
    • setFees

      public CustomFeeLimit.Builder setFees(int index, FixedFee.Builder builderForValue)
       *
       The maximum fees that the user is willing to pay for the message.
       
      repeated .proto.FixedFee fees = 2;
    • addFees

      public CustomFeeLimit.Builder addFees(FixedFee value)
       *
       The maximum fees that the user is willing to pay for the message.
       
      repeated .proto.FixedFee fees = 2;
    • addFees

      public CustomFeeLimit.Builder addFees(int index, FixedFee value)
       *
       The maximum fees that the user is willing to pay for the message.
       
      repeated .proto.FixedFee fees = 2;
    • addFees

      public CustomFeeLimit.Builder addFees(FixedFee.Builder builderForValue)
       *
       The maximum fees that the user is willing to pay for the message.
       
      repeated .proto.FixedFee fees = 2;
    • addFees

      public CustomFeeLimit.Builder addFees(int index, FixedFee.Builder builderForValue)
       *
       The maximum fees that the user is willing to pay for the message.
       
      repeated .proto.FixedFee fees = 2;
    • addAllFees

      public CustomFeeLimit.Builder addAllFees(Iterable<? extends FixedFee> values)
       *
       The maximum fees that the user is willing to pay for the message.
       
      repeated .proto.FixedFee fees = 2;
    • clearFees

      public CustomFeeLimit.Builder clearFees()
       *
       The maximum fees that the user is willing to pay for the message.
       
      repeated .proto.FixedFee fees = 2;
    • removeFees

      public CustomFeeLimit.Builder removeFees(int index)
       *
       The maximum fees that the user is willing to pay for the message.
       
      repeated .proto.FixedFee fees = 2;