Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface NftRemoveAllowanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
NftRemoveAllowance,NftRemoveAllowance.Builder
@Generated
public interface NftRemoveAllowanceOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetOwner()* An `owner` account identifier.longgetSerialNumbers(int index) * The list of serial numbers to remove allowances from.int* The list of serial numbers to remove allowances from.* The list of serial numbers to remove allowances from.* A token identifier.booleanhasOwner()* An `owner` account identifier.boolean* A token identifier.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasTokenId
boolean hasTokenId()* A token identifier. <p> This MUST be a valid token identifier for a non-fungible/unique token type.
.proto.TokenID token_id = 1;- Returns:
- Whether the tokenId field is set.
-
getTokenId
TokenID getTokenId()* A token identifier. <p> This MUST be a valid token identifier for a non-fungible/unique token type.
.proto.TokenID token_id = 1;- Returns:
- The tokenId.
-
hasOwner
boolean hasOwner()* An `owner` account identifier. <p> This account MUST sign the transaction containing this message.
.proto.AccountID owner = 2;- Returns:
- Whether the owner field is set.
-
getOwner
AccountID getOwner()* An `owner` account identifier. <p> This account MUST sign the transaction containing this message.
.proto.AccountID owner = 2;- Returns:
- The owner.
-
getSerialNumbersList
* The list of serial numbers to remove allowances from. <p> This list MUST NOT be empty.
repeated int64 serial_numbers = 3;- Returns:
- A list containing the serialNumbers.
-
getSerialNumbersCount
int getSerialNumbersCount()* The list of serial numbers to remove allowances from. <p> This list MUST NOT be empty.
repeated int64 serial_numbers = 3;- Returns:
- The count of serialNumbers.
-
getSerialNumbers
long getSerialNumbers(int index) * The list of serial numbers to remove allowances from. <p> This list MUST NOT be empty.
repeated int64 serial_numbers = 3;- Parameters:
index- The index of the element to return.- Returns:
- The serialNumbers at the given index.
-