Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class TokenUnfreezeAccountTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TokenUnfreezeAccountTransactionBody,TokenUnfreezeAccountTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TokenUnfreezeAccountTransactionBody,TokenUnfreezeAccountTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TokenUnfreezeAccountTransactionBodyOrBuilder,Cloneable
- Enclosing class:
TokenUnfreezeAccountTransactionBody
public static final class TokenUnfreezeAccountTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TokenUnfreezeAccountTransactionBody,TokenUnfreezeAccountTransactionBody.Builder>
implements TokenUnfreezeAccountTransactionBodyOrBuilder
* Resume transfers of a token type for an account.<br/> This releases previously frozen assets of one account with respect to one token type. Once unfrozen, that account can once again send or receive tokens of the identified type. The token MUST have a `freeze_key` set and that key MUST NOT be an empty `KeyList`.<br/> The token `freeze_key` MUST sign this transaction.<br/> The identified token MUST exist, MUST NOT be deleted, MUST NOT be paused, and MUST NOT be expired.<br/> The identified account MUST exist, MUST NOT be deleted, and MUST NOT be expired.<br/> If the identified account is not frozen with respect to the identified token, the transaction SHALL succeed, but no change SHALL be made.<br/> An association between the identified account and the identified token MUST exist. ### Block Stream Effects NoneProtobuf type
proto.TokenUnfreezeAccountTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* An account identifier.* A token identifier.* An account identifier.getToken()* A token identifier.boolean* An account identifier.booleanhasToken()* A token identifier.mergeAccount(AccountID value) * An account identifier.mergeToken(TokenID value) * A token identifier.setAccount(AccountID value) * An account identifier.setAccount(AccountID.Builder builderForValue) * An account identifier.* A token identifier.setToken(TokenID.Builder builderForValue) * A token identifier.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasToken
public boolean hasToken()* A token identifier. <p> This SHALL identify the token type to "unfreeze".<br/> The identified token MUST exist, MUST NOT be deleted, and MUST be associated to the identified account.
.proto.TokenID token = 1;- Specified by:
hasTokenin interfaceTokenUnfreezeAccountTransactionBodyOrBuilder- Returns:
- Whether the token field is set.
-
getToken
* A token identifier. <p> This SHALL identify the token type to "unfreeze".<br/> The identified token MUST exist, MUST NOT be deleted, and MUST be associated to the identified account.
.proto.TokenID token = 1;- Specified by:
getTokenin interfaceTokenUnfreezeAccountTransactionBodyOrBuilder- Returns:
- The token.
-
setToken
* A token identifier. <p> This SHALL identify the token type to "unfreeze".<br/> The identified token MUST exist, MUST NOT be deleted, and MUST be associated to the identified account.
.proto.TokenID token = 1; -
setToken
* A token identifier. <p> This SHALL identify the token type to "unfreeze".<br/> The identified token MUST exist, MUST NOT be deleted, and MUST be associated to the identified account.
.proto.TokenID token = 1; -
mergeToken
* A token identifier. <p> This SHALL identify the token type to "unfreeze".<br/> The identified token MUST exist, MUST NOT be deleted, and MUST be associated to the identified account.
.proto.TokenID token = 1; -
clearToken
* A token identifier. <p> This SHALL identify the token type to "unfreeze".<br/> The identified token MUST exist, MUST NOT be deleted, and MUST be associated to the identified account.
.proto.TokenID token = 1; -
hasAccount
public boolean hasAccount()* An account identifier. <p> This shall identify the account to "unfreeze".<br/> The identified account MUST exist, MUST NOT be deleted, MUST NOT be expired, and MUST be associated to the identified token.<br/> The identified account SHOULD be "frozen" with respect to the identified token.
.proto.AccountID account = 2;- Specified by:
hasAccountin interfaceTokenUnfreezeAccountTransactionBodyOrBuilder- Returns:
- Whether the account field is set.
-
getAccount
* An account identifier. <p> This shall identify the account to "unfreeze".<br/> The identified account MUST exist, MUST NOT be deleted, MUST NOT be expired, and MUST be associated to the identified token.<br/> The identified account SHOULD be "frozen" with respect to the identified token.
.proto.AccountID account = 2;- Specified by:
getAccountin interfaceTokenUnfreezeAccountTransactionBodyOrBuilder- Returns:
- The account.
-
setAccount
* An account identifier. <p> This shall identify the account to "unfreeze".<br/> The identified account MUST exist, MUST NOT be deleted, MUST NOT be expired, and MUST be associated to the identified token.<br/> The identified account SHOULD be "frozen" with respect to the identified token.
.proto.AccountID account = 2; -
setAccount
* An account identifier. <p> This shall identify the account to "unfreeze".<br/> The identified account MUST exist, MUST NOT be deleted, MUST NOT be expired, and MUST be associated to the identified token.<br/> The identified account SHOULD be "frozen" with respect to the identified token.
.proto.AccountID account = 2; -
mergeAccount
* An account identifier. <p> This shall identify the account to "unfreeze".<br/> The identified account MUST exist, MUST NOT be deleted, MUST NOT be expired, and MUST be associated to the identified token.<br/> The identified account SHOULD be "frozen" with respect to the identified token.
.proto.AccountID account = 2; -
clearAccount
* An account identifier. <p> This shall identify the account to "unfreeze".<br/> The identified account MUST exist, MUST NOT be deleted, MUST NOT be expired, and MUST be associated to the identified token.<br/> The identified account SHOULD be "frozen" with respect to the identified token.
.proto.AccountID account = 2;
-