Class FixedCustomFeeList.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<FixedCustomFeeList,FixedCustomFeeList.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<FixedCustomFeeList,FixedCustomFeeList.Builder>
com.hedera.hashgraph.sdk.proto.FixedCustomFeeList.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, FixedCustomFeeListOrBuilder, Cloneable
Enclosing class:
FixedCustomFeeList

public static final class FixedCustomFeeList.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<FixedCustomFeeList,FixedCustomFeeList.Builder> implements FixedCustomFeeListOrBuilder
 *
 A wrapper around a consensus custom fee list.<br/>
 This wrapper exists to enable an update transaction to differentiate between
 a field that is not set and an empty list of custom fees.
 <p>
 An _unset_ field of this type SHALL NOT modify existing values.<br/>
 A _set_ field of this type with an empty `fees` list SHALL remove any
 existing values.
 
Protobuf type proto.FixedCustomFeeList
  • Method Details

    • getFeesList

      public List<FixedCustomFee> getFeesList()
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to a topic.
       
      repeated .proto.FixedCustomFee fees = 1;
      Specified by:
      getFeesList in interface FixedCustomFeeListOrBuilder
    • getFeesCount

      public int getFeesCount()
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to a topic.
       
      repeated .proto.FixedCustomFee fees = 1;
      Specified by:
      getFeesCount in interface FixedCustomFeeListOrBuilder
    • getFees

      public FixedCustomFee getFees(int index)
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to a topic.
       
      repeated .proto.FixedCustomFee fees = 1;
      Specified by:
      getFees in interface FixedCustomFeeListOrBuilder
    • setFees

      public FixedCustomFeeList.Builder setFees(int index, FixedCustomFee value)
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to a topic.
       
      repeated .proto.FixedCustomFee fees = 1;
    • setFees

      public FixedCustomFeeList.Builder setFees(int index, FixedCustomFee.Builder builderForValue)
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to a topic.
       
      repeated .proto.FixedCustomFee fees = 1;
    • addFees

       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to a topic.
       
      repeated .proto.FixedCustomFee fees = 1;
    • addFees

      public FixedCustomFeeList.Builder addFees(int index, FixedCustomFee value)
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to a topic.
       
      repeated .proto.FixedCustomFee fees = 1;
    • addFees

      public FixedCustomFeeList.Builder addFees(FixedCustomFee.Builder builderForValue)
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to a topic.
       
      repeated .proto.FixedCustomFee fees = 1;
    • addFees

      public FixedCustomFeeList.Builder addFees(int index, FixedCustomFee.Builder builderForValue)
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to a topic.
       
      repeated .proto.FixedCustomFee fees = 1;
    • addAllFees

      public FixedCustomFeeList.Builder addAllFees(Iterable<? extends FixedCustomFee> values)
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to a topic.
       
      repeated .proto.FixedCustomFee fees = 1;
    • clearFees

      public FixedCustomFeeList.Builder clearFees()
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to a topic.
       
      repeated .proto.FixedCustomFee fees = 1;
    • removeFees

      public FixedCustomFeeList.Builder removeFees(int index)
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to a topic.
       
      repeated .proto.FixedCustomFee fees = 1;