Class TokenUnpauseTransactionBody.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TokenUnpauseTransactionBody,TokenUnpauseTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TokenUnpauseTransactionBody,TokenUnpauseTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, TokenUnpauseTransactionBodyOrBuilder, Cloneable
Enclosing class:
TokenUnpauseTransactionBody

public static final class TokenUnpauseTransactionBody.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TokenUnpauseTransactionBody,TokenUnpauseTransactionBody.Builder> implements TokenUnpauseTransactionBodyOrBuilder
 *
 Resume transaction activity for a token.

 This transaction MUST be signed by the Token `pause_key`.<br/>
 The `token` identified MUST exist, and MUST NOT be deleted.<br/>
 The `token` identified MAY not be paused; if the token is not paused,
 this transaction SHALL have no effect.
 The `token` identified MUST have a `pause_key` set, the `pause_key` MUST be
 a valid `Key`, and the `pause_key` MUST NOT be an empty `KeyList`.<br/>
 An `unpaused` token MAY be transferred or otherwise modified.

 ### Block Stream Effects
 None
 
Protobuf type proto.TokenUnpauseTransactionBody
  • Method Details

    • hasToken

      public boolean hasToken()
       *
       A token identifier.
       <p>
       The identified token SHALL be "unpaused". Subsequent transactions
       involving that token MAY succeed.
       
      .proto.TokenID token = 1;
      Specified by:
      hasToken in interface TokenUnpauseTransactionBodyOrBuilder
      Returns:
      Whether the token field is set.
    • getToken

      public TokenID getToken()
       *
       A token identifier.
       <p>
       The identified token SHALL be "unpaused". Subsequent transactions
       involving that token MAY succeed.
       
      .proto.TokenID token = 1;
      Specified by:
      getToken in interface TokenUnpauseTransactionBodyOrBuilder
      Returns:
      The token.
    • setToken

       *
       A token identifier.
       <p>
       The identified token SHALL be "unpaused". Subsequent transactions
       involving that token MAY succeed.
       
      .proto.TokenID token = 1;
    • setToken

      public TokenUnpauseTransactionBody.Builder setToken(TokenID.Builder builderForValue)
       *
       A token identifier.
       <p>
       The identified token SHALL be "unpaused". Subsequent transactions
       involving that token MAY succeed.
       
      .proto.TokenID token = 1;
    • mergeToken

      public TokenUnpauseTransactionBody.Builder mergeToken(TokenID value)
       *
       A token identifier.
       <p>
       The identified token SHALL be "unpaused". Subsequent transactions
       involving that token MAY succeed.
       
      .proto.TokenID token = 1;
    • clearToken

       *
       A token identifier.
       <p>
       The identified token SHALL be "unpaused". Subsequent transactions
       involving that token MAY succeed.
       
      .proto.TokenID token = 1;