com.hedera.hashgraph.sdk.proto.NftOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: nft.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
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.hedera.hashgraph.sdk.proto.NftID getNftId();
/**
*
**
* The id of this NFT.
*
*
* .proto.NftID nft_id = 1;
*/
com.hedera.hashgraph.sdk.proto.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.hedera.hashgraph.sdk.proto.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.hedera.hashgraph.sdk.proto.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.hedera.hashgraph.sdk.proto.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.hedera.hashgraph.sdk.proto.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.hedera.hashgraph.sdk.proto.Timestamp getMintTime();
/**
*
**
* The consensus time of the TokenMint that created this NFT.
*
*
* .proto.Timestamp mint_time = 4;
*/
com.hedera.hashgraph.sdk.proto.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.hedera.hashgraph.sdk.proto.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.hedera.hashgraph.sdk.proto.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.hedera.hashgraph.sdk.proto.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.hedera.hashgraph.sdk.proto.NftIDOrBuilder getOwnerNextNftIdOrBuilder();
}