com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBodyOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: token_associate.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface TokenAssociateTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TokenAssociateTransactionBody)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
**
* The account to be associated with the provided tokens
*
*
* .proto.AccountID account = 1;
* @return Whether the account field is set.
*/
boolean hasAccount();
/**
*
**
* The account to be associated with the provided tokens
*
*
* .proto.AccountID account = 1;
* @return The account.
*/
com.hedera.hashgraph.sdk.proto.AccountID getAccount();
/**
*
**
* The tokens to be associated with the provided account. In the case of NON_FUNGIBLE_UNIQUE
* Type, once an account is associated, it can hold any number of NFTs (serial numbers) of that
* token type
*
*
* repeated .proto.TokenID tokens = 2;
*/
java.util.List
getTokensList();
/**
*
**
* The tokens to be associated with the provided account. In the case of NON_FUNGIBLE_UNIQUE
* Type, once an account is associated, it can hold any number of NFTs (serial numbers) of that
* token type
*
*
* repeated .proto.TokenID tokens = 2;
*/
com.hedera.hashgraph.sdk.proto.TokenID getTokens(int index);
/**
*
**
* The tokens to be associated with the provided account. In the case of NON_FUNGIBLE_UNIQUE
* Type, once an account is associated, it can hold any number of NFTs (serial numbers) of that
* token type
*
*
* repeated .proto.TokenID tokens = 2;
*/
int getTokensCount();
}