Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class CryptoDeleteAllowanceTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<CryptoDeleteAllowanceTransactionBody,CryptoDeleteAllowanceTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<CryptoDeleteAllowanceTransactionBody,CryptoDeleteAllowanceTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,CryptoDeleteAllowanceTransactionBodyOrBuilder
@Generated
public final class CryptoDeleteAllowanceTransactionBody
extends com.google.protobuf.GeneratedMessageLite<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-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* 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.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) 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.getNftAllowancesOrBuilder(int index) * List of non-fungible/unique token allowances to remove.List<? extends NftRemoveAllowanceOrBuilder> * List of non-fungible/unique token allowances to remove.newBuilder(CryptoDeleteAllowanceTransactionBody prototype) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CryptoDeleteAllowanceTransactionBody> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
NFTALLOWANCES_FIELD_NUMBER
public static final int NFTALLOWANCES_FIELD_NUMBER- See Also:
-
-
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
-
getNftAllowancesOrBuilderList
* List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2; -
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
-
getNftAllowancesOrBuilder
* List of non-fungible/unique token allowances to remove. <p> This list MUST NOT be empty.
repeated .proto.NftRemoveAllowance nftAllowances = 2; -
parseFrom
public static CryptoDeleteAllowanceTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CryptoDeleteAllowanceTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CryptoDeleteAllowanceTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CryptoDeleteAllowanceTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CryptoDeleteAllowanceTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CryptoDeleteAllowanceTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CryptoDeleteAllowanceTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static CryptoDeleteAllowanceTransactionBody parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static CryptoDeleteAllowanceTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CryptoDeleteAllowanceTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CryptoDeleteAllowanceTransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static CryptoDeleteAllowanceTransactionBody.Builder newBuilder(CryptoDeleteAllowanceTransactionBody prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<CryptoDeleteAllowanceTransactionBody,CryptoDeleteAllowanceTransactionBody.Builder>
-
getDefaultInstance
-
parser
-