Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class TokenUnfreezeAccountTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<TokenUnfreezeAccountTransactionBody,TokenUnfreezeAccountTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<TokenUnfreezeAccountTransactionBody,TokenUnfreezeAccountTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,TokenUnfreezeAccountTransactionBodyOrBuilder
@Generated
public final class TokenUnfreezeAccountTransactionBody
extends com.google.protobuf.GeneratedMessageLite<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-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Resume transfers of a token type for an account.<br/> This releases previously frozen assets of one account with respect to one token type.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) * An account identifier.getToken()* A token identifier.boolean* An account identifier.booleanhasToken()* A token identifier.newBuilder(TokenUnfreezeAccountTransactionBody prototype) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TokenUnfreezeAccountTransactionBody> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
TOKEN_FIELD_NUMBER
public static final int TOKEN_FIELD_NUMBER- See Also:
-
ACCOUNT_FIELD_NUMBER
public static final int ACCOUNT_FIELD_NUMBER- See Also:
-
-
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.
-
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.
-
parseFrom
public static TokenUnfreezeAccountTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenUnfreezeAccountTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenUnfreezeAccountTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenUnfreezeAccountTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenUnfreezeAccountTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenUnfreezeAccountTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TokenUnfreezeAccountTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static TokenUnfreezeAccountTransactionBody parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static TokenUnfreezeAccountTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TokenUnfreezeAccountTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TokenUnfreezeAccountTransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static TokenUnfreezeAccountTransactionBody.Builder newBuilder(TokenUnfreezeAccountTransactionBody prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<TokenUnfreezeAccountTransactionBody,TokenUnfreezeAccountTransactionBody.Builder>
-
getDefaultInstance
-
parser
-