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
 None
 
Protobuf type proto.TokenUnfreezeAccountTransactionBody
  • 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:
      hasToken in interface TokenUnfreezeAccountTransactionBodyOrBuilder
      Returns:
      Whether the token field is set.
    • getToken

      public TokenID 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:
      getToken in interface TokenUnfreezeAccountTransactionBodyOrBuilder
      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:
      hasAccount in interface TokenUnfreezeAccountTransactionBodyOrBuilder
      Returns:
      Whether the account field is set.
    • getAccount

      public AccountID 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:
      getAccount in interface TokenUnfreezeAccountTransactionBodyOrBuilder
      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;