Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class TokenPauseTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TokenPauseTransactionBody,TokenPauseTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TokenPauseTransactionBody,TokenPauseTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TokenPauseTransactionBodyOrBuilder,Cloneable
- Enclosing class:
TokenPauseTransactionBody
public static final class TokenPauseTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TokenPauseTransactionBody,TokenPauseTransactionBody.Builder>
implements TokenPauseTransactionBodyOrBuilder
* Pause 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 be paused; if the token is already 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/> A `paused` token SHALL NOT be transferred or otherwise modified except to "up-pause" the token with `unpauseToken` or in a `rejectToken` transaction. ### Block Stream Effects NoneProtobuf type
proto.TokenPauseTransactionBody-
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 paused. Subsequent transactions involving that token SHALL fail until the token is "unpaused".
.proto.TokenID token = 1;- Specified by:
hasTokenin interfaceTokenPauseTransactionBodyOrBuilder- Returns:
- Whether the token field is set.
-
getToken
* A token identifier. <p> The identified token SHALL be paused. Subsequent transactions involving that token SHALL fail until the token is "unpaused".
.proto.TokenID token = 1;- Specified by:
getTokenin interfaceTokenPauseTransactionBodyOrBuilder- Returns:
- The token.
-
setToken
* A token identifier. <p> The identified token SHALL be paused. Subsequent transactions involving that token SHALL fail until the token is "unpaused".
.proto.TokenID token = 1; -
setToken
* A token identifier. <p> The identified token SHALL be paused. Subsequent transactions involving that token SHALL fail until the token is "unpaused".
.proto.TokenID token = 1; -
mergeToken
* A token identifier. <p> The identified token SHALL be paused. Subsequent transactions involving that token SHALL fail until the token is "unpaused".
.proto.TokenID token = 1; -
clearToken
* A token identifier. <p> The identified token SHALL be paused. Subsequent transactions involving that token SHALL fail until the token is "unpaused".
.proto.TokenID token = 1;
-