Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class CryptoDeleteTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<CryptoDeleteTransactionBody,CryptoDeleteTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<CryptoDeleteTransactionBody,CryptoDeleteTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,CryptoDeleteTransactionBodyOrBuilder,Cloneable
- Enclosing class:
CryptoDeleteTransactionBody
public static final class CryptoDeleteTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<CryptoDeleteTransactionBody,CryptoDeleteTransactionBody.Builder>
implements CryptoDeleteTransactionBodyOrBuilder
* Delete an account.<br/> This will mark an account deleted, and transfer all tokens to a "sweep" account. A deleted account SHALL NOT hold a balance in any token type.<br/> A deleted account SHALL remain in state until it expires.<br/> Transfers that would increase the balance of a deleted account SHALL fail.<br/> A deleted account MAY be subject of a `cryptoUpdate` transaction to extend its expiration.<br/> When a deleted account expires it SHALL be removed entirely, and SHALL NOT be archived. ### Block Stream Effects NoneProtobuf type
proto.CryptoDeleteTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* An account identifier.* An account identifier.* An account identifier.* An account identifier.boolean* An account identifier.boolean* An account identifier.mergeDeleteAccountID(AccountID value) * An account identifier.mergeTransferAccountID(AccountID value) * An account identifier.setDeleteAccountID(AccountID value) * An account identifier.setDeleteAccountID(AccountID.Builder builderForValue) * An account identifier.setTransferAccountID(AccountID value) * An account identifier.setTransferAccountID(AccountID.Builder builderForValue) * An account 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
-
hasTransferAccountID
public boolean hasTransferAccountID()* An account identifier. <p> The identified account SHALL receive all tokens, token balances, and non-fungible/unique from the deleted account.<br/> The identified account MUST sign this transaction.<br/> If not set, the account to be deleted MUST NOT have a balance in any token, a balance in HBAR, or hold any NFT.
.proto.AccountID transferAccountID = 1;- Specified by:
hasTransferAccountIDin interfaceCryptoDeleteTransactionBodyOrBuilder- Returns:
- Whether the transferAccountID field is set.
-
getTransferAccountID
* An account identifier. <p> The identified account SHALL receive all tokens, token balances, and non-fungible/unique from the deleted account.<br/> The identified account MUST sign this transaction.<br/> If not set, the account to be deleted MUST NOT have a balance in any token, a balance in HBAR, or hold any NFT.
.proto.AccountID transferAccountID = 1;- Specified by:
getTransferAccountIDin interfaceCryptoDeleteTransactionBodyOrBuilder- Returns:
- The transferAccountID.
-
setTransferAccountID
* An account identifier. <p> The identified account SHALL receive all tokens, token balances, and non-fungible/unique from the deleted account.<br/> The identified account MUST sign this transaction.<br/> If not set, the account to be deleted MUST NOT have a balance in any token, a balance in HBAR, or hold any NFT.
.proto.AccountID transferAccountID = 1; -
setTransferAccountID
* An account identifier. <p> The identified account SHALL receive all tokens, token balances, and non-fungible/unique from the deleted account.<br/> The identified account MUST sign this transaction.<br/> If not set, the account to be deleted MUST NOT have a balance in any token, a balance in HBAR, or hold any NFT.
.proto.AccountID transferAccountID = 1; -
mergeTransferAccountID
* An account identifier. <p> The identified account SHALL receive all tokens, token balances, and non-fungible/unique from the deleted account.<br/> The identified account MUST sign this transaction.<br/> If not set, the account to be deleted MUST NOT have a balance in any token, a balance in HBAR, or hold any NFT.
.proto.AccountID transferAccountID = 1; -
clearTransferAccountID
* An account identifier. <p> The identified account SHALL receive all tokens, token balances, and non-fungible/unique from the deleted account.<br/> The identified account MUST sign this transaction.<br/> If not set, the account to be deleted MUST NOT have a balance in any token, a balance in HBAR, or hold any NFT.
.proto.AccountID transferAccountID = 1; -
hasDeleteAccountID
public boolean hasDeleteAccountID()* An account identifier. <p> This account SHALL be deleted if this transaction succeeds.<br/> This account SHOULD NOT hold any balance other than HBAR.<br/> If this account _does_ hold balances, the `transferAccountID` value MUST be set to a valid transfer account.<br/> This account MUST sign this transaction.<br/> This field MUST be set to a valid account identifier.
.proto.AccountID deleteAccountID = 2;- Specified by:
hasDeleteAccountIDin interfaceCryptoDeleteTransactionBodyOrBuilder- Returns:
- Whether the deleteAccountID field is set.
-
getDeleteAccountID
* An account identifier. <p> This account SHALL be deleted if this transaction succeeds.<br/> This account SHOULD NOT hold any balance other than HBAR.<br/> If this account _does_ hold balances, the `transferAccountID` value MUST be set to a valid transfer account.<br/> This account MUST sign this transaction.<br/> This field MUST be set to a valid account identifier.
.proto.AccountID deleteAccountID = 2;- Specified by:
getDeleteAccountIDin interfaceCryptoDeleteTransactionBodyOrBuilder- Returns:
- The deleteAccountID.
-
setDeleteAccountID
* An account identifier. <p> This account SHALL be deleted if this transaction succeeds.<br/> This account SHOULD NOT hold any balance other than HBAR.<br/> If this account _does_ hold balances, the `transferAccountID` value MUST be set to a valid transfer account.<br/> This account MUST sign this transaction.<br/> This field MUST be set to a valid account identifier.
.proto.AccountID deleteAccountID = 2; -
setDeleteAccountID
* An account identifier. <p> This account SHALL be deleted if this transaction succeeds.<br/> This account SHOULD NOT hold any balance other than HBAR.<br/> If this account _does_ hold balances, the `transferAccountID` value MUST be set to a valid transfer account.<br/> This account MUST sign this transaction.<br/> This field MUST be set to a valid account identifier.
.proto.AccountID deleteAccountID = 2; -
mergeDeleteAccountID
* An account identifier. <p> This account SHALL be deleted if this transaction succeeds.<br/> This account SHOULD NOT hold any balance other than HBAR.<br/> If this account _does_ hold balances, the `transferAccountID` value MUST be set to a valid transfer account.<br/> This account MUST sign this transaction.<br/> This field MUST be set to a valid account identifier.
.proto.AccountID deleteAccountID = 2; -
clearDeleteAccountID
* An account identifier. <p> This account SHALL be deleted if this transaction succeeds.<br/> This account SHOULD NOT hold any balance other than HBAR.<br/> If this account _does_ hold balances, the `transferAccountID` value MUST be set to a valid transfer account.<br/> This account MUST sign this transaction.<br/> This field MUST be set to a valid account identifier.
.proto.AccountID deleteAccountID = 2;
-