java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<KeyList,KeyList.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<KeyList,KeyList.Builder>
com.hedera.hashgraph.sdk.proto.KeyList.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,KeyListOrBuilder,Cloneable
- Enclosing class:
KeyList
public static final class KeyList.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<KeyList,KeyList.Builder>
implements KeyListOrBuilder
* A list of keys.<br/> A `KeyList` requires all keys (N-of-N) to sign, unless otherwise specified in official documentation. A KeyList may contain repeated keys, but all such repeated keys are considered a single key when determining signature authorization. ### Additional Notes 1. An empty key list is the "standard" mechanism to represent an unassigned key. For example, if the `admin_key` of a token is set to the empty key list, then that token has no admin key, and functionality that requires an admin key to sign the transaction is disabled.Protobuf type
proto.KeyList-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllKeys(Iterable<? extends Key> values) * A list of keys.* A list of keys.addKeys(int index, Key.Builder builderForValue) * A list of keys.* A list of keys.addKeys(Key.Builder builderForValue) * A list of keys.* A list of keys.getKeys(int index) * A list of keys.int* A list of keys.* A list of keys.removeKeys(int index) * A list of keys.* A list of keys.setKeys(int index, Key.Builder builderForValue) * A list of keys.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
-
getKeysList
* A list of keys. All values in this list SHALL be non-null. <p>
repeated .proto.Key keys = 1;- Specified by:
getKeysListin interfaceKeyListOrBuilder
-
getKeysCount
public int getKeysCount()* A list of keys. All values in this list SHALL be non-null. <p>
repeated .proto.Key keys = 1;- Specified by:
getKeysCountin interfaceKeyListOrBuilder
-
getKeys
* A list of keys. All values in this list SHALL be non-null. <p>
repeated .proto.Key keys = 1;- Specified by:
getKeysin interfaceKeyListOrBuilder
-
setKeys
* A list of keys. All values in this list SHALL be non-null. <p>
repeated .proto.Key keys = 1; -
setKeys
* A list of keys. All values in this list SHALL be non-null. <p>
repeated .proto.Key keys = 1; -
addKeys
* A list of keys. All values in this list SHALL be non-null. <p>
repeated .proto.Key keys = 1; -
addKeys
* A list of keys. All values in this list SHALL be non-null. <p>
repeated .proto.Key keys = 1; -
addKeys
* A list of keys. All values in this list SHALL be non-null. <p>
repeated .proto.Key keys = 1; -
addKeys
* A list of keys. All values in this list SHALL be non-null. <p>
repeated .proto.Key keys = 1; -
addAllKeys
* A list of keys. All values in this list SHALL be non-null. <p>
repeated .proto.Key keys = 1; -
clearKeys
* A list of keys. All values in this list SHALL be non-null. <p>
repeated .proto.Key keys = 1; -
removeKeys
* A list of keys. All values in this list SHALL be non-null. <p>
repeated .proto.Key keys = 1;
-