Class FeeExemptKeyList.Builder

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

public static final class FeeExemptKeyList.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<FeeExemptKeyList,FeeExemptKeyList.Builder> implements FeeExemptKeyListOrBuilder
 *
 A wrapper for fee exempt key list.<br/>
 This wrapper exists to enable an update transaction to differentiate between
 a field that is not set and an empty list of keys.
 <p>
 An _unset_ field of this type SHALL NOT modify existing values.<br/>
 A _set_ field of this type with an empty `keys` list SHALL remove any
 existing values.
 
Protobuf type proto.FeeExemptKeyList
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllKeys(Iterable<? extends Key> values)
    * A set of keys.<br/> The keys in this list are permitted to submit messages to the topic without paying the topic's custom fees.
    addKeys(int index, Key value)
    * A set of keys.<br/> The keys in this list are permitted to submit messages to the topic without paying the topic's custom fees.
    addKeys(int index, Key.Builder builderForValue)
    * A set of keys.<br/> The keys in this list are permitted to submit messages to the topic without paying the topic's custom fees.
    addKeys(Key value)
    * A set of keys.<br/> The keys in this list are permitted to submit messages to the topic without paying the topic's custom fees.
    addKeys(Key.Builder builderForValue)
    * A set of keys.<br/> The keys in this list are permitted to submit messages to the topic without paying the topic's custom fees.
    * A set of keys.<br/> The keys in this list are permitted to submit messages to the topic without paying the topic's custom fees.
    getKeys(int index)
    * A set of keys.<br/> The keys in this list are permitted to submit messages to the topic without paying the topic's custom fees.
    int
    * A set of keys.<br/> The keys in this list are permitted to submit messages to the topic without paying the topic's custom fees.
    * A set of keys.<br/> The keys in this list are permitted to submit messages to the topic without paying the topic's custom fees.
    removeKeys(int index)
    * A set of keys.<br/> The keys in this list are permitted to submit messages to the topic without paying the topic's custom fees.
    setKeys(int index, Key value)
    * A set of keys.<br/> The keys in this list are permitted to submit messages to the topic without paying the topic's custom fees.
    setKeys(int index, Key.Builder builderForValue)
    * A set of keys.<br/> The keys in this list are permitted to submit messages to the topic without paying the topic's custom fees.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getKeysList

      public List<Key> getKeysList()
       *
       A set of keys.<br/>
       The keys in this list are permitted to submit messages to the
       topic without paying the topic's custom fees.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.
       
      repeated .proto.Key keys = 1;
      Specified by:
      getKeysList in interface FeeExemptKeyListOrBuilder
    • getKeysCount

      public int getKeysCount()
       *
       A set of keys.<br/>
       The keys in this list are permitted to submit messages to the
       topic without paying the topic's custom fees.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.
       
      repeated .proto.Key keys = 1;
      Specified by:
      getKeysCount in interface FeeExemptKeyListOrBuilder
    • getKeys

      public Key getKeys(int index)
       *
       A set of keys.<br/>
       The keys in this list are permitted to submit messages to the
       topic without paying the topic's custom fees.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.
       
      repeated .proto.Key keys = 1;
      Specified by:
      getKeys in interface FeeExemptKeyListOrBuilder
    • setKeys

      public FeeExemptKeyList.Builder setKeys(int index, Key value)
       *
       A set of keys.<br/>
       The keys in this list are permitted to submit messages to the
       topic without paying the topic's custom fees.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.
       
      repeated .proto.Key keys = 1;
    • setKeys

      public FeeExemptKeyList.Builder setKeys(int index, Key.Builder builderForValue)
       *
       A set of keys.<br/>
       The keys in this list are permitted to submit messages to the
       topic without paying the topic's custom fees.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.
       
      repeated .proto.Key keys = 1;
    • addKeys

      public FeeExemptKeyList.Builder addKeys(Key value)
       *
       A set of keys.<br/>
       The keys in this list are permitted to submit messages to the
       topic without paying the topic's custom fees.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.
       
      repeated .proto.Key keys = 1;
    • addKeys

      public FeeExemptKeyList.Builder addKeys(int index, Key value)
       *
       A set of keys.<br/>
       The keys in this list are permitted to submit messages to the
       topic without paying the topic's custom fees.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.
       
      repeated .proto.Key keys = 1;
    • addKeys

      public FeeExemptKeyList.Builder addKeys(Key.Builder builderForValue)
       *
       A set of keys.<br/>
       The keys in this list are permitted to submit messages to the
       topic without paying the topic's custom fees.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.
       
      repeated .proto.Key keys = 1;
    • addKeys

      public FeeExemptKeyList.Builder addKeys(int index, Key.Builder builderForValue)
       *
       A set of keys.<br/>
       The keys in this list are permitted to submit messages to the
       topic without paying the topic's custom fees.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.
       
      repeated .proto.Key keys = 1;
    • addAllKeys

      public FeeExemptKeyList.Builder addAllKeys(Iterable<? extends Key> values)
       *
       A set of keys.<br/>
       The keys in this list are permitted to submit messages to the
       topic without paying the topic's custom fees.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.
       
      repeated .proto.Key keys = 1;
    • clearKeys

      public FeeExemptKeyList.Builder clearKeys()
       *
       A set of keys.<br/>
       The keys in this list are permitted to submit messages to the
       topic without paying the topic's custom fees.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.
       
      repeated .proto.Key keys = 1;
    • removeKeys

      public FeeExemptKeyList.Builder removeKeys(int index)
       *
       A set of keys.<br/>
       The keys in this list are permitted to submit messages to the
       topic without paying the topic's custom fees.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.
       
      repeated .proto.Key keys = 1;