Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class CryptoDeleteAllowanceTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<CryptoDeleteAllowanceTransactionBody,CryptoDeleteAllowanceTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<CryptoDeleteAllowanceTransactionBody,CryptoDeleteAllowanceTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,CryptoDeleteAllowanceTransactionBodyOrBuilder,Cloneable
- Enclosing class:
CryptoDeleteAllowanceTransactionBody
public static final class CryptoDeleteAllowanceTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<CryptoDeleteAllowanceTransactionBody,CryptoDeleteAllowanceTransactionBody.Builder>
implements CryptoDeleteAllowanceTransactionBodyOrBuilder
* Delete one or more allowances.<br/> Given one or more, previously approved, allowances for non-fungible/unique tokens to be transferred by a spending account from an owning account; this transaction removes a specified set of those allowances. The owner account for each listed allowance MUST sign this transaction.<br/> Allowances for HBAR cannot be removed with this transaction. The owner account MUST submit a new `cryptoApproveAllowance` transaction with the amount set to `0` to "remove" that allowance.<br/> Allowances for fungible/common tokens cannot be removed with this transaction. The owner account MUST submit a new `cryptoApproveAllowance` transaction with the amount set to `0` to "remove" that allowance.<br/> ### Block Stream Effects NoneProtobuf type
proto.CryptoDeleteAllowanceTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllNftAllowances(Iterable<? extends NftRemoveAllowance> values) * List of non-fungible/unique token allowances to remove.addNftAllowances(int index, NftRemoveAllowance value) * List of non-fungible/unique token allowances to remove.addNftAllowances(int index, NftRemoveAllowance.Builder builderForValue) * List of non-fungible/unique token allowances to remove.* List of non-fungible/unique token allowances to remove.addNftAllowances(NftRemoveAllowance.Builder builderForValue) * List of non-fungible/unique token allowances to remove.* List of non-fungible/unique token allowances to remove.getNftAllowances(int index) * List of non-fungible/unique token allowances to remove.int* List of non-fungible/unique token allowances to remove.* List of non-fungible/unique token allowances to remove.removeNftAllowances(int index) * List of non-fungible/unique token allowances to remove.setNftAllowances(int index, NftRemoveAllowance value) * List of non-fungible/unique token allowances to remove.setNftAllowances(int index, NftRemoveAllowance.Builder builderForValue) * List of non-fungible/unique token allowances to remove.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
-
getNftAllowancesList
* List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2;- Specified by:
getNftAllowancesListin interfaceCryptoDeleteAllowanceTransactionBodyOrBuilder
-
getNftAllowancesCount
public int getNftAllowancesCount()* List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2;- Specified by:
getNftAllowancesCountin interfaceCryptoDeleteAllowanceTransactionBodyOrBuilder
-
getNftAllowances
* List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2;- Specified by:
getNftAllowancesin interfaceCryptoDeleteAllowanceTransactionBodyOrBuilder
-
setNftAllowances
public CryptoDeleteAllowanceTransactionBody.Builder setNftAllowances(int index, NftRemoveAllowance value) * List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2; -
setNftAllowances
public CryptoDeleteAllowanceTransactionBody.Builder setNftAllowances(int index, NftRemoveAllowance.Builder builderForValue) * List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2; -
addNftAllowances
* List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2; -
addNftAllowances
public CryptoDeleteAllowanceTransactionBody.Builder addNftAllowances(int index, NftRemoveAllowance value) * List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2; -
addNftAllowances
public CryptoDeleteAllowanceTransactionBody.Builder addNftAllowances(NftRemoveAllowance.Builder builderForValue) * List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2; -
addNftAllowances
public CryptoDeleteAllowanceTransactionBody.Builder addNftAllowances(int index, NftRemoveAllowance.Builder builderForValue) * List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2; -
addAllNftAllowances
public CryptoDeleteAllowanceTransactionBody.Builder addAllNftAllowances(Iterable<? extends NftRemoveAllowance> values) * List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2; -
clearNftAllowances
* List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2; -
removeNftAllowances
* List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2;
-