com.hederahashgraph.api.proto.java.TokenRelationOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: state/token/token_relation.proto
package com.hederahashgraph.api.proto.java;
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.hederahashgraph.api.proto.java.TokenID getTokenId();
/**
*
**
* The token involved in this relation.It takes only positive
*
*
* .proto.TokenID token_id = 1;
*/
com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.AccountID getAccountId();
/**
*
**
* The account involved in this association.
*
*
* .proto.AccountID account_id = 2;
*/
com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenID getPreviousToken();
/**
*
**
* The previous token id of account's association linked list
*
*
* .proto.TokenID previous_token = 7;
*/
com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenID getNextToken();
/**
*
**
* The next token id of account's association linked list
*
*
* .proto.TokenID next_token = 8;
*/
com.hederahashgraph.api.proto.java.TokenIDOrBuilder getNextTokenOrBuilder();
}