com.hederahashgraph.api.proto.java.NftAllowanceOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: crypto_approve_allowance.proto
package com.hederahashgraph.api.proto.java;
public interface NftAllowanceOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.NftAllowance)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* 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.hederahashgraph.api.proto.java.TokenID getTokenId();
/**
*
**
* The NFT token type that the allowance pertains to.
*
*
* .proto.TokenID tokenId = 1;
*/
com.hederahashgraph.api.proto.java.TokenIDOrBuilder getTokenIdOrBuilder();
/**
*
**
* 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.hederahashgraph.api.proto.java.AccountID getOwner();
/**
*
**
* The account ID of the token owner (ie. the grantor of the allowance).
*
*
* .proto.AccountID owner = 2;
*/
com.hederahashgraph.api.proto.java.AccountIDOrBuilder getOwnerOrBuilder();
/**
*
**
* 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.hederahashgraph.api.proto.java.AccountID getSpender();
/**
*
**
* The account ID of the token allowance spender.
*
*
* .proto.AccountID spender = 3;
*/
com.hederahashgraph.api.proto.java.AccountIDOrBuilder getSpenderOrBuilder();
/**
*
**
* 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();
/**
*
**
* 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;
*/
com.google.protobuf.BoolValueOrBuilder getApprovedForAllOrBuilder();
/**
*
**
* 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.hederahashgraph.api.proto.java.AccountID getDelegatingSpender();
/**
*
**
* 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;
*/
com.hederahashgraph.api.proto.java.AccountIDOrBuilder getDelegatingSpenderOrBuilder();
}