com.hedera.hashgraph.sdk.proto.TokenRelationOrBuilder 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
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: token_relation.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface TokenRelationOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TokenRelation)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The token involved in this relation.It takes only positive
*
*
* .proto.TokenID token_id = 1;
* @return Whether the tokenId field is set.
*/
boolean hasTokenId();
/**
*
**
* The token involved in this relation.It takes only positive
*
*
* .proto.TokenID token_id = 1;
* @return The tokenId.
*/
com.hedera.hashgraph.sdk.proto.TokenID getTokenId();
/**
*
**
* The token involved in this relation.It takes only positive
*
*
* .proto.TokenID token_id = 1;
*/
com.hedera.hashgraph.sdk.proto.TokenIDOrBuilder getTokenIdOrBuilder();
/**
*
**
* The account involved in this association.
*
*
* .proto.AccountID account_id = 2;
* @return Whether the accountId field is set.
*/
boolean hasAccountId();
/**
*
**
* The account involved in this association.
*
*
* .proto.AccountID account_id = 2;
* @return The accountId.
*/
com.hedera.hashgraph.sdk.proto.AccountID getAccountId();
/**
*
**
* The account involved in this association.
*
*
* .proto.AccountID account_id = 2;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getAccountIdOrBuilder();
/**
*
**
* The balance of the token relationship.
*
*
* int64 balance = 3;
* @return The balance.
*/
long getBalance();
/**
*
**
* The flags specifying the token relationship is frozen or not.
*
*
* bool frozen = 4;
* @return The frozen.
*/
boolean getFrozen();
/**
*
**
* The flag indicating if the token relationship has been granted KYC.
*
*
* bool kyc_granted = 5;
* @return The kycGranted.
*/
boolean getKycGranted();
/**
*
**
* The flag indicating if the token relationship was created using automatic association.
*
*
* bool automatic_association = 6;
* @return The automaticAssociation.
*/
boolean getAutomaticAssociation();
/**
*
**
* The previous token id of account's association linked list
*
*
* .proto.TokenID previous_token = 7;
* @return Whether the previousToken field is set.
*/
boolean hasPreviousToken();
/**
*
**
* The previous token id of account's association linked list
*
*
* .proto.TokenID previous_token = 7;
* @return The previousToken.
*/
com.hedera.hashgraph.sdk.proto.TokenID getPreviousToken();
/**
*
**
* The previous token id of account's association linked list
*
*
* .proto.TokenID previous_token = 7;
*/
com.hedera.hashgraph.sdk.proto.TokenIDOrBuilder getPreviousTokenOrBuilder();
/**
*
**
* The next token id of account's association linked list
*
*
* .proto.TokenID next_token = 8;
* @return Whether the nextToken field is set.
*/
boolean hasNextToken();
/**
*
**
* The next token id of account's association linked list
*
*
* .proto.TokenID next_token = 8;
* @return The nextToken.
*/
com.hedera.hashgraph.sdk.proto.TokenID getNextToken();
/**
*
**
* The next token id of account's association linked list
*
*
* .proto.TokenID next_token = 8;
*/
com.hedera.hashgraph.sdk.proto.TokenIDOrBuilder getNextTokenOrBuilder();
}