com.hederahashgraph.api.proto.java.NftOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: state/token/nft.proto
package com.hederahashgraph.api.proto.java;
public interface NftOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.Nft)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The id of this NFT.
*
*
* .proto.NftID nft_id = 1;
* @return Whether the nftId field is set.
*/
boolean hasNftId();
/**
*
**
* The id of this NFT.
*
*
* .proto.NftID nft_id = 1;
* @return The nftId.
*/
com.hederahashgraph.api.proto.java.NftID getNftId();
/**
*
**
* The id of this NFT.
*
*
* .proto.NftID nft_id = 1;
*/
com.hederahashgraph.api.proto.java.NftIDOrBuilder getNftIdOrBuilder();
/**
*
**
* The account or contract id that owns this NFT.
* If this number is zero in state, the NFT is owned by its token type's current treasury.
*
*
* .proto.AccountID owner_id = 2;
* @return Whether the ownerId field is set.
*/
boolean hasOwnerId();
/**
*
**
* The account or contract id that owns this NFT.
* If this number is zero in state, the NFT is owned by its token type's current treasury.
*
*
* .proto.AccountID owner_id = 2;
* @return The ownerId.
*/
com.hederahashgraph.api.proto.java.AccountID getOwnerId();
/**
*
**
* The account or contract id that owns this NFT.
* If this number is zero in state, the NFT is owned by its token type's current treasury.
*
*
* .proto.AccountID owner_id = 2;
*/
com.hederahashgraph.api.proto.java.AccountIDOrBuilder getOwnerIdOrBuilder();
/**
*
**
* The account or contract id approved to spend this NFT.
* If this number is zero, there is no approved spender.
*
*
* .proto.AccountID spender_id = 3;
* @return Whether the spenderId field is set.
*/
boolean hasSpenderId();
/**
*
**
* The account or contract id approved to spend this NFT.
* If this number is zero, there is no approved spender.
*
*
* .proto.AccountID spender_id = 3;
* @return The spenderId.
*/
com.hederahashgraph.api.proto.java.AccountID getSpenderId();
/**
*
**
* The account or contract id approved to spend this NFT.
* If this number is zero, there is no approved spender.
*
*
* .proto.AccountID spender_id = 3;
*/
com.hederahashgraph.api.proto.java.AccountIDOrBuilder getSpenderIdOrBuilder();
/**
*
**
* The consensus time of the TokenMint that created this NFT.
*
*
* .proto.Timestamp mint_time = 4;
* @return Whether the mintTime field is set.
*/
boolean hasMintTime();
/**
*
**
* The consensus time of the TokenMint that created this NFT.
*
*
* .proto.Timestamp mint_time = 4;
* @return The mintTime.
*/
com.hederahashgraph.api.proto.java.Timestamp getMintTime();
/**
*
**
* The consensus time of the TokenMint that created this NFT.
*
*
* .proto.Timestamp mint_time = 4;
*/
com.hederahashgraph.api.proto.java.TimestampOrBuilder getMintTimeOrBuilder();
/**
*
**
* The metadata of this NFT, up to 100 bytes; usually the UTF-8 encoding of a URI.
*
*
* bytes metadata = 5;
* @return The metadata.
*/
com.google.protobuf.ByteString getMetadata();
/**
*
**
* If the owner of this NFT is not its token treasury, the id of the previous NFT
* in the owner's "doubly-linked list" of owned NFTs (if any).
*
*
* .proto.NftID owner_previous_nft_id = 6;
* @return Whether the ownerPreviousNftId field is set.
*/
boolean hasOwnerPreviousNftId();
/**
*
**
* If the owner of this NFT is not its token treasury, the id of the previous NFT
* in the owner's "doubly-linked list" of owned NFTs (if any).
*
*
* .proto.NftID owner_previous_nft_id = 6;
* @return The ownerPreviousNftId.
*/
com.hederahashgraph.api.proto.java.NftID getOwnerPreviousNftId();
/**
*
**
* If the owner of this NFT is not its token treasury, the id of the previous NFT
* in the owner's "doubly-linked list" of owned NFTs (if any).
*
*
* .proto.NftID owner_previous_nft_id = 6;
*/
com.hederahashgraph.api.proto.java.NftIDOrBuilder getOwnerPreviousNftIdOrBuilder();
/**
*
**
* If the owner of this NFT is not its token treasury, the id of the next NFT in
* the owner's "doubly-linked list" of owned NFTs (if any).
*
*
* .proto.NftID owner_next_nft_id = 7;
* @return Whether the ownerNextNftId field is set.
*/
boolean hasOwnerNextNftId();
/**
*
**
* If the owner of this NFT is not its token treasury, the id of the next NFT in
* the owner's "doubly-linked list" of owned NFTs (if any).
*
*
* .proto.NftID owner_next_nft_id = 7;
* @return The ownerNextNftId.
*/
com.hederahashgraph.api.proto.java.NftID getOwnerNextNftId();
/**
*
**
* If the owner of this NFT is not its token treasury, the id of the next NFT in
* the owner's "doubly-linked list" of owned NFTs (if any).
*
*
* .proto.NftID owner_next_nft_id = 7;
*/
com.hederahashgraph.api.proto.java.NftIDOrBuilder getOwnerNextNftIdOrBuilder();
}