Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
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 NoneProtobuf type
proto.TokenUnpauseTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* A token identifier.getToken()* A token identifier.booleanhasToken()* A token identifier.mergeToken(TokenID value) * A token 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> The identified token SHALL be "unpaused". Subsequent transactions involving that token MAY succeed.
.proto.TokenID token = 1;- Specified by:
hasTokenin interfaceTokenUnpauseTransactionBodyOrBuilder- Returns:
- Whether the token field is set.
-
getToken
* A token identifier. <p> The identified token SHALL be "unpaused". Subsequent transactions involving that token MAY succeed.
.proto.TokenID token = 1;- Specified by:
getTokenin interfaceTokenUnpauseTransactionBodyOrBuilder- 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
* A token identifier. <p> The identified token SHALL be "unpaused". Subsequent transactions involving that token MAY succeed.
.proto.TokenID token = 1; -
mergeToken
* 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;
-