Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface TokenAssociationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
TokenAssociation,TokenAssociation.Builder
@Generated
public interface TokenAssociationOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* An account identifier for the associated account.* A token identifier for the associated token.boolean* An account identifier for the associated account.boolean* A token identifier for the associated token.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasTokenId
boolean hasTokenId()* A token identifier for the associated token.
.proto.TokenID token_id = 1;- Returns:
- Whether the tokenId field is set.
-
getTokenId
TokenID getTokenId()* A token identifier for the associated token.
.proto.TokenID token_id = 1;- Returns:
- The tokenId.
-
hasAccountId
boolean hasAccountId()* An account identifier for the associated account.
.proto.AccountID account_id = 2;- Returns:
- Whether the accountId field is set.
-
getAccountId
AccountID getAccountId()* An account identifier for the associated account.
.proto.AccountID account_id = 2;- Returns:
- The accountId.
-