com.hedera.hashgraph.sdk.proto.NftAllowanceOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: crypto_approve_allowance.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface NftAllowanceOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.NftAllowance)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
**
* The NFT token type that the allowance pertains to.
*
*
* .proto.TokenID tokenId = 1;
* @return Whether the tokenId field is set.
*/
boolean hasTokenId();
/**
*
**
* The NFT token type that the allowance pertains to.
*
*
* .proto.TokenID tokenId = 1;
* @return The tokenId.
*/
com.hedera.hashgraph.sdk.proto.TokenID getTokenId();
/**
*
**
* The account ID of the token owner (ie. the grantor of the allowance).
*
*
* .proto.AccountID owner = 2;
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
*
**
* The account ID of the token owner (ie. the grantor of the allowance).
*
*
* .proto.AccountID owner = 2;
* @return The owner.
*/
com.hedera.hashgraph.sdk.proto.AccountID getOwner();
/**
*
**
* The account ID of the token allowance spender.
*
*
* .proto.AccountID spender = 3;
* @return Whether the spender field is set.
*/
boolean hasSpender();
/**
*
**
* The account ID of the token allowance spender.
*
*
* .proto.AccountID spender = 3;
* @return The spender.
*/
com.hedera.hashgraph.sdk.proto.AccountID getSpender();
/**
*
**
* The list of serial numbers that the spender is permitted to transfer.
*
*
* repeated int64 serial_numbers = 4;
* @return A list containing the serialNumbers.
*/
java.util.List getSerialNumbersList();
/**
*
**
* The list of serial numbers that the spender is permitted to transfer.
*
*
* repeated int64 serial_numbers = 4;
* @return The count of serialNumbers.
*/
int getSerialNumbersCount();
/**
*
**
* The list of serial numbers that the spender is permitted to transfer.
*
*
* repeated int64 serial_numbers = 4;
* @param index The index of the element to return.
* @return The serialNumbers at the given index.
*/
long getSerialNumbers(int index);
/**
*
**
* If true, the spender has access to all of the owner's NFT units of type tokenId (currently
* owned and any in the future).
*
*
* .google.protobuf.BoolValue approved_for_all = 5;
* @return Whether the approvedForAll field is set.
*/
boolean hasApprovedForAll();
/**
*
**
* If true, the spender has access to all of the owner's NFT units of type tokenId (currently
* owned and any in the future).
*
*
* .google.protobuf.BoolValue approved_for_all = 5;
* @return The approvedForAll.
*/
com.google.protobuf.BoolValue getApprovedForAll();
/**
*
**
* The account ID of the spender who is granted approvedForAll allowance and granting
* approval on an NFT serial to another spender.
*
*
* .proto.AccountID delegating_spender = 6;
* @return Whether the delegatingSpender field is set.
*/
boolean hasDelegatingSpender();
/**
*
**
* The account ID of the spender who is granted approvedForAll allowance and granting
* approval on an NFT serial to another spender.
*
*
* .proto.AccountID delegating_spender = 6;
* @return The delegatingSpender.
*/
com.hedera.hashgraph.sdk.proto.AccountID getDelegatingSpender();
}