Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class AccountApprovalForAllAllowance
java.lang.Object
com.google.protobuf.AbstractMessageLite<AccountApprovalForAllAllowance,AccountApprovalForAllAllowance.Builder>
com.google.protobuf.GeneratedMessageLite<AccountApprovalForAllAllowance,AccountApprovalForAllAllowance.Builder>
com.hedera.hashgraph.sdk.proto.AccountApprovalForAllAllowance
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,AccountApprovalForAllAllowanceOrBuilder
@Generated
public final class AccountApprovalForAllAllowance
extends com.google.protobuf.GeneratedMessageLite<AccountApprovalForAllAllowance,AccountApprovalForAllAllowance.Builder>
implements AccountApprovalForAllAllowanceOrBuilder
* Permission granted by one account (the "funding" account) to another account (the "spender" account) that allows the spender to transfer all serial numbers of a specific non-fungible token (NFT) collection owned by the funding account.<br/> This is a broad permission, as it does not matter how many NFTs of the specified collection the funding account owns, the spender MAY dispose of any or all of them with this allowance.<br/> Each token type (typically a collection of NFTs) SHALL require a separate allowance.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible token, rather than the holding account. An allowance SHALL NOT transfer any tokens directly, it only permits transactions signed only by the spender account to transfer any non-fungible tokens of the specified type owned by the funding account.Protobuf type
proto.AccountApprovalForAllAllowance-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Permission granted by one account (the "funding" account) to another account (the "spender" account) that allows the spender to transfer all serial numbers of a specific non-fungible token (NFT) collection owned by the funding account.<br/> This is a broad permission, as it does not matter how many NFTs of the specified collection the funding account owns, the spender MAY dispose of any or all of them with this allowance.<br/> Each token type (typically a collection of NFTs) SHALL require a separate allowance.<br/> Allowances for a specific serial number MUST be directly associated with that specific non-fungible token, rather than the holding account.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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields 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) * The identifier for the spending account associated with this allowance.* The identifier for the token associated with this allowance.boolean* The identifier for the spending account associated with this allowance.boolean* The identifier for the token associated with this allowance.newBuilder(AccountApprovalForAllAllowance 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<AccountApprovalForAllAllowance> 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
-
TOKEN_ID_FIELD_NUMBER
public static final int TOKEN_ID_FIELD_NUMBER- See Also:
-
SPENDER_ID_FIELD_NUMBER
public static final int SPENDER_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasTokenId
public boolean hasTokenId()* The identifier for the token associated with this allowance. <p> This token MUST be a non-fungible/unique token.
.proto.TokenID token_id = 1;- Specified by:
hasTokenIdin interfaceAccountApprovalForAllAllowanceOrBuilder- Returns:
- Whether the tokenId field is set.
-
getTokenId
* The identifier for the token associated with this allowance. <p> This token MUST be a non-fungible/unique token.
.proto.TokenID token_id = 1;- Specified by:
getTokenIdin interfaceAccountApprovalForAllAllowanceOrBuilder- Returns:
- The tokenId.
-
hasSpenderId
public boolean hasSpenderId()* The identifier for the spending account associated with this allowance. <p> This account SHALL be permitted to sign transactions to spend tokens of the associated token type from the funding/allowing account.
.proto.AccountID spender_id = 2;- Specified by:
hasSpenderIdin interfaceAccountApprovalForAllAllowanceOrBuilder- Returns:
- Whether the spenderId field is set.
-
getSpenderId
* The identifier for the spending account associated with this allowance. <p> This account SHALL be permitted to sign transactions to spend tokens of the associated token type from the funding/allowing account.
.proto.AccountID spender_id = 2;- Specified by:
getSpenderIdin interfaceAccountApprovalForAllAllowanceOrBuilder- Returns:
- The spenderId.
-
parseFrom
public static AccountApprovalForAllAllowance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccountApprovalForAllAllowance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccountApprovalForAllAllowance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccountApprovalForAllAllowance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccountApprovalForAllAllowance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccountApprovalForAllAllowance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AccountApprovalForAllAllowance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static AccountApprovalForAllAllowance parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static AccountApprovalForAllAllowance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AccountApprovalForAllAllowance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AccountApprovalForAllAllowance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static AccountApprovalForAllAllowance.Builder newBuilder(AccountApprovalForAllAllowance prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<AccountApprovalForAllAllowance,AccountApprovalForAllAllowance.Builder>
-
getDefaultInstance
-
parser
-