Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface TokenAssociateTransactionBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
TokenAssociateTransactionBody,TokenAssociateTransactionBody.Builder
@Generated
public interface TokenAssociateTransactionBodyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* An account identifier.getTokens(int index) * A list of token identifiers.int* A list of token identifiers.* A list of token identifiers.boolean* An account identifier.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasAccount
boolean hasAccount()* An account identifier. <p> The identified account SHALL be associated to each of the tokens identified in the `tokens` field.<br/> This field is REQUIRED and MUST be a valid account identifier.<br/> The identified account MUST exist in state.<br/> The identified account MUST NOT be deleted.<br/> The identified account MUST NOT be expired.
.proto.AccountID account = 1;- Returns:
- Whether the account field is set.
-
getAccount
AccountID getAccount()* An account identifier. <p> The identified account SHALL be associated to each of the tokens identified in the `tokens` field.<br/> This field is REQUIRED and MUST be a valid account identifier.<br/> The identified account MUST exist in state.<br/> The identified account MUST NOT be deleted.<br/> The identified account MUST NOT be expired.
.proto.AccountID account = 1;- Returns:
- The account.
-
getTokensList
* A list of token identifiers. <p> Each token identified in this list SHALL be separately associated with the account identified in the `account` field.<br/> This list MUST NOT be empty. Each entry in this list MUST be a valid token identifier.<br/> Each entry in this list MUST NOT be currently associated to the account identified in `account`.<br/> Each entry in this list MUST NOT be expired.<br/> Each entry in this list MUST NOT be deleted.
repeated .proto.TokenID tokens = 2; -
getTokens
* A list of token identifiers. <p> Each token identified in this list SHALL be separately associated with the account identified in the `account` field.<br/> This list MUST NOT be empty. Each entry in this list MUST be a valid token identifier.<br/> Each entry in this list MUST NOT be currently associated to the account identified in `account`.<br/> Each entry in this list MUST NOT be expired.<br/> Each entry in this list MUST NOT be deleted.
repeated .proto.TokenID tokens = 2; -
getTokensCount
int getTokensCount()* A list of token identifiers. <p> Each token identified in this list SHALL be separately associated with the account identified in the `account` field.<br/> This list MUST NOT be empty. Each entry in this list MUST be a valid token identifier.<br/> Each entry in this list MUST NOT be currently associated to the account identified in `account`.<br/> Each entry in this list MUST NOT be expired.<br/> Each entry in this list MUST NOT be deleted.
repeated .proto.TokenID tokens = 2;
-