com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: schedulable_transaction_body.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
/**
*
**
* A schedulable transaction. Note that the global/dynamic system property
* <tt>scheduling.whitelist</tt> controls which transaction types may be scheduled. As of Hedera
* Services 0.24.0 this list includes <tt>ConsensusSubmitMessage</tt>, <tt>CryptoTransfer</tt>, <tt>TokenMint</tt>, and <tt>TokenBurn</tt>
* functions.
*
*
* Protobuf type {@code proto.SchedulableTransactionBody}
*/
public final class SchedulableTransactionBody extends
com.google.protobuf.GeneratedMessageLite<
SchedulableTransactionBody, SchedulableTransactionBody.Builder> implements
// @@protoc_insertion_point(message_implements:proto.SchedulableTransactionBody)
SchedulableTransactionBodyOrBuilder {
private SchedulableTransactionBody() {
memo_ = "";
}
private int dataCase_ = 0;
private java.lang.Object data_;
public enum DataCase {
CONTRACTCALL(3),
CONTRACTCREATEINSTANCE(4),
CONTRACTUPDATEINSTANCE(5),
CONTRACTDELETEINSTANCE(6),
CRYPTOAPPROVEALLOWANCE(37),
CRYPTODELETEALLOWANCE(38),
CRYPTOCREATEACCOUNT(7),
CRYPTODELETE(8),
CRYPTOTRANSFER(9),
CRYPTOUPDATEACCOUNT(10),
FILEAPPEND(11),
FILECREATE(12),
FILEDELETE(13),
FILEUPDATE(14),
SYSTEMDELETE(15),
SYSTEMUNDELETE(16),
FREEZE(17),
CONSENSUSCREATETOPIC(18),
CONSENSUSUPDATETOPIC(19),
CONSENSUSDELETETOPIC(20),
CONSENSUSSUBMITMESSAGE(21),
TOKENCREATION(22),
TOKENFREEZE(23),
TOKENUNFREEZE(24),
TOKENGRANTKYC(25),
TOKENREVOKEKYC(26),
TOKENDELETION(27),
TOKENUPDATE(28),
TOKENMINT(29),
TOKENBURN(30),
TOKENWIPE(31),
TOKENASSOCIATE(32),
TOKENDISSOCIATE(33),
TOKEN_FEE_SCHEDULE_UPDATE(39),
TOKEN_PAUSE(35),
TOKEN_UNPAUSE(36),
SCHEDULEDELETE(34),
UTIL_PRNG(40),
TOKEN_UPDATE_NFTS(41),
NODECREATE(42),
NODEUPDATE(43),
NODEDELETE(44),
TOKENREJECT(45),
TOKENCANCELAIRDROP(46),
TOKENCLAIMAIRDROP(47),
TOKENAIRDROP(48),
DATA_NOT_SET(0);
private final int value;
private DataCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DataCase valueOf(int value) {
return forNumber(value);
}
public static DataCase forNumber(int value) {
switch (value) {
case 3: return CONTRACTCALL;
case 4: return CONTRACTCREATEINSTANCE;
case 5: return CONTRACTUPDATEINSTANCE;
case 6: return CONTRACTDELETEINSTANCE;
case 37: return CRYPTOAPPROVEALLOWANCE;
case 38: return CRYPTODELETEALLOWANCE;
case 7: return CRYPTOCREATEACCOUNT;
case 8: return CRYPTODELETE;
case 9: return CRYPTOTRANSFER;
case 10: return CRYPTOUPDATEACCOUNT;
case 11: return FILEAPPEND;
case 12: return FILECREATE;
case 13: return FILEDELETE;
case 14: return FILEUPDATE;
case 15: return SYSTEMDELETE;
case 16: return SYSTEMUNDELETE;
case 17: return FREEZE;
case 18: return CONSENSUSCREATETOPIC;
case 19: return CONSENSUSUPDATETOPIC;
case 20: return CONSENSUSDELETETOPIC;
case 21: return CONSENSUSSUBMITMESSAGE;
case 22: return TOKENCREATION;
case 23: return TOKENFREEZE;
case 24: return TOKENUNFREEZE;
case 25: return TOKENGRANTKYC;
case 26: return TOKENREVOKEKYC;
case 27: return TOKENDELETION;
case 28: return TOKENUPDATE;
case 29: return TOKENMINT;
case 30: return TOKENBURN;
case 31: return TOKENWIPE;
case 32: return TOKENASSOCIATE;
case 33: return TOKENDISSOCIATE;
case 39: return TOKEN_FEE_SCHEDULE_UPDATE;
case 35: return TOKEN_PAUSE;
case 36: return TOKEN_UNPAUSE;
case 34: return SCHEDULEDELETE;
case 40: return UTIL_PRNG;
case 41: return TOKEN_UPDATE_NFTS;
case 42: return NODECREATE;
case 43: return NODEUPDATE;
case 44: return NODEDELETE;
case 45: return TOKENREJECT;
case 46: return TOKENCANCELAIRDROP;
case 47: return TOKENCLAIMAIRDROP;
case 48: return TOKENAIRDROP;
case 0: return DATA_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public DataCase
getDataCase() {
return DataCase.forNumber(
dataCase_);
}
private void clearData() {
dataCase_ = 0;
data_ = null;
}
public static final int TRANSACTIONFEE_FIELD_NUMBER = 1;
private long transactionFee_;
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 1;
* @return The transactionFee.
*/
@java.lang.Override
public long getTransactionFee() {
return transactionFee_;
}
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 1;
* @param value The transactionFee to set.
*/
private void setTransactionFee(long value) {
transactionFee_ = value;
}
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 1;
*/
private void clearTransactionFee() {
transactionFee_ = 0L;
}
public static final int MEMO_FIELD_NUMBER = 2;
private java.lang.String memo_;
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @return The memo.
*/
@java.lang.Override
public java.lang.String getMemo() {
return memo_;
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @return The bytes for memo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMemoBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(memo_);
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @param value The memo to set.
*/
private void setMemo(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
memo_ = value;
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
*/
private void clearMemo() {
memo_ = getDefaultInstance().getMemo();
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @param value The bytes for memo to set.
*/
private void setMemoBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
memo_ = value.toStringUtf8();
}
public static final int CONTRACTCALL_FIELD_NUMBER = 3;
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
@java.lang.Override
public boolean hasContractCall() {
return dataCase_ == 3;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody getContractCall() {
if (dataCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.getDefaultInstance();
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
private void setContractCall(com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 3;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
private void mergeContractCall(com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody value) {
value.getClass();
if (dataCase_ == 3 &&
data_ != com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 3;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
private void clearContractCall() {
if (dataCase_ == 3) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONTRACTCREATEINSTANCE_FIELD_NUMBER = 4;
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
@java.lang.Override
public boolean hasContractCreateInstance() {
return dataCase_ == 4;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody getContractCreateInstance() {
if (dataCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
private void setContractCreateInstance(com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 4;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
private void mergeContractCreateInstance(com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody value) {
value.getClass();
if (dataCase_ == 4 &&
data_ != com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 4;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
private void clearContractCreateInstance() {
if (dataCase_ == 4) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONTRACTUPDATEINSTANCE_FIELD_NUMBER = 5;
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
@java.lang.Override
public boolean hasContractUpdateInstance() {
return dataCase_ == 5;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody getContractUpdateInstance() {
if (dataCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
private void setContractUpdateInstance(com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 5;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
private void mergeContractUpdateInstance(com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 5 &&
data_ != com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 5;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
private void clearContractUpdateInstance() {
if (dataCase_ == 5) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONTRACTDELETEINSTANCE_FIELD_NUMBER = 6;
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
@java.lang.Override
public boolean hasContractDeleteInstance() {
return dataCase_ == 6;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody getContractDeleteInstance() {
if (dataCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
private void setContractDeleteInstance(com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 6;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
private void mergeContractDeleteInstance(com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 6 &&
data_ != com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 6;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
private void clearContractDeleteInstance() {
if (dataCase_ == 6) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTOAPPROVEALLOWANCE_FIELD_NUMBER = 37;
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
@java.lang.Override
public boolean hasCryptoApproveAllowance() {
return dataCase_ == 37;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody getCryptoApproveAllowance() {
if (dataCase_ == 37) {
return (com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.getDefaultInstance();
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
private void setCryptoApproveAllowance(com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 37;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
private void mergeCryptoApproveAllowance(com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody value) {
value.getClass();
if (dataCase_ == 37 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 37;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
private void clearCryptoApproveAllowance() {
if (dataCase_ == 37) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTODELETEALLOWANCE_FIELD_NUMBER = 38;
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
@java.lang.Override
public boolean hasCryptoDeleteAllowance() {
return dataCase_ == 38;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody getCryptoDeleteAllowance() {
if (dataCase_ == 38) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.getDefaultInstance();
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
private void setCryptoDeleteAllowance(com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 38;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
private void mergeCryptoDeleteAllowance(com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody value) {
value.getClass();
if (dataCase_ == 38 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 38;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
private void clearCryptoDeleteAllowance() {
if (dataCase_ == 38) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTOCREATEACCOUNT_FIELD_NUMBER = 7;
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
@java.lang.Override
public boolean hasCryptoCreateAccount() {
return dataCase_ == 7;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody getCryptoCreateAccount() {
if (dataCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
private void setCryptoCreateAccount(com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 7;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
private void mergeCryptoCreateAccount(com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody value) {
value.getClass();
if (dataCase_ == 7 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 7;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
private void clearCryptoCreateAccount() {
if (dataCase_ == 7) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTODELETE_FIELD_NUMBER = 8;
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
@java.lang.Override
public boolean hasCryptoDelete() {
return dataCase_ == 8;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody getCryptoDelete() {
if (dataCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
private void setCryptoDelete(com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 8;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
private void mergeCryptoDelete(com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 8 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 8;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
private void clearCryptoDelete() {
if (dataCase_ == 8) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTOTRANSFER_FIELD_NUMBER = 9;
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
@java.lang.Override
public boolean hasCryptoTransfer() {
return dataCase_ == 9;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody getCryptoTransfer() {
if (dataCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance();
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
private void setCryptoTransfer(com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 9;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
private void mergeCryptoTransfer(com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody value) {
value.getClass();
if (dataCase_ == 9 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 9;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
private void clearCryptoTransfer() {
if (dataCase_ == 9) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTOUPDATEACCOUNT_FIELD_NUMBER = 10;
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
@java.lang.Override
public boolean hasCryptoUpdateAccount() {
return dataCase_ == 10;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody getCryptoUpdateAccount() {
if (dataCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
private void setCryptoUpdateAccount(com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 10;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
private void mergeCryptoUpdateAccount(com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 10 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 10;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
private void clearCryptoUpdateAccount() {
if (dataCase_ == 10) {
dataCase_ = 0;
data_ = null;
}
}
public static final int FILEAPPEND_FIELD_NUMBER = 11;
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
@java.lang.Override
public boolean hasFileAppend() {
return dataCase_ == 11;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody getFileAppend() {
if (dataCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.getDefaultInstance();
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
private void setFileAppend(com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 11;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
private void mergeFileAppend(com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody value) {
value.getClass();
if (dataCase_ == 11 &&
data_ != com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 11;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
private void clearFileAppend() {
if (dataCase_ == 11) {
dataCase_ = 0;
data_ = null;
}
}
public static final int FILECREATE_FIELD_NUMBER = 12;
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
@java.lang.Override
public boolean hasFileCreate() {
return dataCase_ == 12;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody getFileCreate() {
if (dataCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
private void setFileCreate(com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 12;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
private void mergeFileCreate(com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody value) {
value.getClass();
if (dataCase_ == 12 &&
data_ != com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 12;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
private void clearFileCreate() {
if (dataCase_ == 12) {
dataCase_ = 0;
data_ = null;
}
}
public static final int FILEDELETE_FIELD_NUMBER = 13;
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
@java.lang.Override
public boolean hasFileDelete() {
return dataCase_ == 13;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody getFileDelete() {
if (dataCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
private void setFileDelete(com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 13;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
private void mergeFileDelete(com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 13 &&
data_ != com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 13;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
private void clearFileDelete() {
if (dataCase_ == 13) {
dataCase_ = 0;
data_ = null;
}
}
public static final int FILEUPDATE_FIELD_NUMBER = 14;
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
@java.lang.Override
public boolean hasFileUpdate() {
return dataCase_ == 14;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody getFileUpdate() {
if (dataCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
private void setFileUpdate(com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 14;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
private void mergeFileUpdate(com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 14 &&
data_ != com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 14;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
private void clearFileUpdate() {
if (dataCase_ == 14) {
dataCase_ = 0;
data_ = null;
}
}
public static final int SYSTEMDELETE_FIELD_NUMBER = 15;
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
@java.lang.Override
public boolean hasSystemDelete() {
return dataCase_ == 15;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody getSystemDelete() {
if (dataCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
private void setSystemDelete(com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 15;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
private void mergeSystemDelete(com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 15 &&
data_ != com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 15;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
private void clearSystemDelete() {
if (dataCase_ == 15) {
dataCase_ = 0;
data_ = null;
}
}
public static final int SYSTEMUNDELETE_FIELD_NUMBER = 16;
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
@java.lang.Override
public boolean hasSystemUndelete() {
return dataCase_ == 16;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody getSystemUndelete() {
if (dataCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
private void setSystemUndelete(com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 16;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
private void mergeSystemUndelete(com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 16 &&
data_ != com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 16;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
private void clearSystemUndelete() {
if (dataCase_ == 16) {
dataCase_ = 0;
data_ = null;
}
}
public static final int FREEZE_FIELD_NUMBER = 17;
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
@java.lang.Override
public boolean hasFreeze() {
return dataCase_ == 17;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBody getFreeze() {
if (dataCase_ == 17) {
return (com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance();
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
private void setFreeze(com.hedera.hashgraph.sdk.proto.FreezeTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 17;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
private void mergeFreeze(com.hedera.hashgraph.sdk.proto.FreezeTransactionBody value) {
value.getClass();
if (dataCase_ == 17 &&
data_ != com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 17;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
private void clearFreeze() {
if (dataCase_ == 17) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONSENSUSCREATETOPIC_FIELD_NUMBER = 18;
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
@java.lang.Override
public boolean hasConsensusCreateTopic() {
return dataCase_ == 18;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody getConsensusCreateTopic() {
if (dataCase_ == 18) {
return (com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
private void setConsensusCreateTopic(com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 18;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
private void mergeConsensusCreateTopic(com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody value) {
value.getClass();
if (dataCase_ == 18 &&
data_ != com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 18;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
private void clearConsensusCreateTopic() {
if (dataCase_ == 18) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONSENSUSUPDATETOPIC_FIELD_NUMBER = 19;
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
@java.lang.Override
public boolean hasConsensusUpdateTopic() {
return dataCase_ == 19;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody getConsensusUpdateTopic() {
if (dataCase_ == 19) {
return (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
private void setConsensusUpdateTopic(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 19;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
private void mergeConsensusUpdateTopic(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody value) {
value.getClass();
if (dataCase_ == 19 &&
data_ != com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 19;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
private void clearConsensusUpdateTopic() {
if (dataCase_ == 19) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONSENSUSDELETETOPIC_FIELD_NUMBER = 20;
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
@java.lang.Override
public boolean hasConsensusDeleteTopic() {
return dataCase_ == 20;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody getConsensusDeleteTopic() {
if (dataCase_ == 20) {
return (com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
private void setConsensusDeleteTopic(com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 20;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
private void mergeConsensusDeleteTopic(com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody value) {
value.getClass();
if (dataCase_ == 20 &&
data_ != com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 20;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
private void clearConsensusDeleteTopic() {
if (dataCase_ == 20) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONSENSUSSUBMITMESSAGE_FIELD_NUMBER = 21;
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
@java.lang.Override
public boolean hasConsensusSubmitMessage() {
return dataCase_ == 21;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody getConsensusSubmitMessage() {
if (dataCase_ == 21) {
return (com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
private void setConsensusSubmitMessage(com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 21;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
private void mergeConsensusSubmitMessage(com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody value) {
value.getClass();
if (dataCase_ == 21 &&
data_ != com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 21;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
private void clearConsensusSubmitMessage() {
if (dataCase_ == 21) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENCREATION_FIELD_NUMBER = 22;
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
@java.lang.Override
public boolean hasTokenCreation() {
return dataCase_ == 22;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody getTokenCreation() {
if (dataCase_ == 22) {
return (com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
private void setTokenCreation(com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 22;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
private void mergeTokenCreation(com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody value) {
value.getClass();
if (dataCase_ == 22 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 22;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
private void clearTokenCreation() {
if (dataCase_ == 22) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENFREEZE_FIELD_NUMBER = 23;
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
@java.lang.Override
public boolean hasTokenFreeze() {
return dataCase_ == 23;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody getTokenFreeze() {
if (dataCase_ == 23) {
return (com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.getDefaultInstance();
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
private void setTokenFreeze(com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 23;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
private void mergeTokenFreeze(com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody value) {
value.getClass();
if (dataCase_ == 23 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 23;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
private void clearTokenFreeze() {
if (dataCase_ == 23) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENUNFREEZE_FIELD_NUMBER = 24;
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
@java.lang.Override
public boolean hasTokenUnfreeze() {
return dataCase_ == 24;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody getTokenUnfreeze() {
if (dataCase_ == 24) {
return (com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
private void setTokenUnfreeze(com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 24;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
private void mergeTokenUnfreeze(com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody value) {
value.getClass();
if (dataCase_ == 24 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 24;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
private void clearTokenUnfreeze() {
if (dataCase_ == 24) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENGRANTKYC_FIELD_NUMBER = 25;
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
@java.lang.Override
public boolean hasTokenGrantKyc() {
return dataCase_ == 25;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody getTokenGrantKyc() {
if (dataCase_ == 25) {
return (com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.getDefaultInstance();
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
private void setTokenGrantKyc(com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 25;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
private void mergeTokenGrantKyc(com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody value) {
value.getClass();
if (dataCase_ == 25 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 25;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
private void clearTokenGrantKyc() {
if (dataCase_ == 25) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENREVOKEKYC_FIELD_NUMBER = 26;
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
@java.lang.Override
public boolean hasTokenRevokeKyc() {
return dataCase_ == 26;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody getTokenRevokeKyc() {
if (dataCase_ == 26) {
return (com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.getDefaultInstance();
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
private void setTokenRevokeKyc(com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 26;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
private void mergeTokenRevokeKyc(com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody value) {
value.getClass();
if (dataCase_ == 26 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 26;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
private void clearTokenRevokeKyc() {
if (dataCase_ == 26) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENDELETION_FIELD_NUMBER = 27;
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
@java.lang.Override
public boolean hasTokenDeletion() {
return dataCase_ == 27;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody getTokenDeletion() {
if (dataCase_ == 27) {
return (com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
private void setTokenDeletion(com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 27;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
private void mergeTokenDeletion(com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 27 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 27;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
private void clearTokenDeletion() {
if (dataCase_ == 27) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENUPDATE_FIELD_NUMBER = 28;
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
@java.lang.Override
public boolean hasTokenUpdate() {
return dataCase_ == 28;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody getTokenUpdate() {
if (dataCase_ == 28) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
private void setTokenUpdate(com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 28;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
private void mergeTokenUpdate(com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 28 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 28;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
private void clearTokenUpdate() {
if (dataCase_ == 28) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENMINT_FIELD_NUMBER = 29;
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
@java.lang.Override
public boolean hasTokenMint() {
return dataCase_ == 29;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody getTokenMint() {
if (dataCase_ == 29) {
return (com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.getDefaultInstance();
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
private void setTokenMint(com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 29;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
private void mergeTokenMint(com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody value) {
value.getClass();
if (dataCase_ == 29 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 29;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
private void clearTokenMint() {
if (dataCase_ == 29) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENBURN_FIELD_NUMBER = 30;
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
@java.lang.Override
public boolean hasTokenBurn() {
return dataCase_ == 30;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody getTokenBurn() {
if (dataCase_ == 30) {
return (com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.getDefaultInstance();
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
private void setTokenBurn(com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 30;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
private void mergeTokenBurn(com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody value) {
value.getClass();
if (dataCase_ == 30 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 30;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
private void clearTokenBurn() {
if (dataCase_ == 30) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENWIPE_FIELD_NUMBER = 31;
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
@java.lang.Override
public boolean hasTokenWipe() {
return dataCase_ == 31;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody getTokenWipe() {
if (dataCase_ == 31) {
return (com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.getDefaultInstance();
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
private void setTokenWipe(com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 31;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
private void mergeTokenWipe(com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody value) {
value.getClass();
if (dataCase_ == 31 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 31;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
private void clearTokenWipe() {
if (dataCase_ == 31) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENASSOCIATE_FIELD_NUMBER = 32;
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
@java.lang.Override
public boolean hasTokenAssociate() {
return dataCase_ == 32;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody getTokenAssociate() {
if (dataCase_ == 32) {
return (com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance();
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
private void setTokenAssociate(com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 32;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
private void mergeTokenAssociate(com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody value) {
value.getClass();
if (dataCase_ == 32 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 32;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
private void clearTokenAssociate() {
if (dataCase_ == 32) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENDISSOCIATE_FIELD_NUMBER = 33;
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
@java.lang.Override
public boolean hasTokenDissociate() {
return dataCase_ == 33;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody getTokenDissociate() {
if (dataCase_ == 33) {
return (com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance();
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
private void setTokenDissociate(com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 33;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
private void mergeTokenDissociate(com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody value) {
value.getClass();
if (dataCase_ == 33 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 33;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
private void clearTokenDissociate() {
if (dataCase_ == 33) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKEN_FEE_SCHEDULE_UPDATE_FIELD_NUMBER = 39;
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
@java.lang.Override
public boolean hasTokenFeeScheduleUpdate() {
return dataCase_ == 39;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody getTokenFeeScheduleUpdate() {
if (dataCase_ == 39) {
return (com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
private void setTokenFeeScheduleUpdate(com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 39;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
private void mergeTokenFeeScheduleUpdate(com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 39 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 39;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
private void clearTokenFeeScheduleUpdate() {
if (dataCase_ == 39) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKEN_PAUSE_FIELD_NUMBER = 35;
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
@java.lang.Override
public boolean hasTokenPause() {
return dataCase_ == 35;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody getTokenPause() {
if (dataCase_ == 35) {
return (com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance();
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
private void setTokenPause(com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 35;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
private void mergeTokenPause(com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody value) {
value.getClass();
if (dataCase_ == 35 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 35;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
private void clearTokenPause() {
if (dataCase_ == 35) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKEN_UNPAUSE_FIELD_NUMBER = 36;
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
@java.lang.Override
public boolean hasTokenUnpause() {
return dataCase_ == 36;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody getTokenUnpause() {
if (dataCase_ == 36) {
return (com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance();
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
private void setTokenUnpause(com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 36;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
private void mergeTokenUnpause(com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody value) {
value.getClass();
if (dataCase_ == 36 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 36;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
private void clearTokenUnpause() {
if (dataCase_ == 36) {
dataCase_ = 0;
data_ = null;
}
}
public static final int SCHEDULEDELETE_FIELD_NUMBER = 34;
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
@java.lang.Override
public boolean hasScheduleDelete() {
return dataCase_ == 34;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody getScheduleDelete() {
if (dataCase_ == 34) {
return (com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
private void setScheduleDelete(com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 34;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
private void mergeScheduleDelete(com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 34 &&
data_ != com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 34;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
private void clearScheduleDelete() {
if (dataCase_ == 34) {
dataCase_ = 0;
data_ = null;
}
}
public static final int UTIL_PRNG_FIELD_NUMBER = 40;
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
@java.lang.Override
public boolean hasUtilPrng() {
return dataCase_ == 40;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody getUtilPrng() {
if (dataCase_ == 40) {
return (com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.getDefaultInstance();
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
private void setUtilPrng(com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 40;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
private void mergeUtilPrng(com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody value) {
value.getClass();
if (dataCase_ == 40 &&
data_ != com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 40;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
private void clearUtilPrng() {
if (dataCase_ == 40) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKEN_UPDATE_NFTS_FIELD_NUMBER = 41;
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
@java.lang.Override
public boolean hasTokenUpdateNfts() {
return dataCase_ == 41;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody getTokenUpdateNfts() {
if (dataCase_ == 41) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.getDefaultInstance();
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
private void setTokenUpdateNfts(com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 41;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
private void mergeTokenUpdateNfts(com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody value) {
value.getClass();
if (dataCase_ == 41 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 41;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
private void clearTokenUpdateNfts() {
if (dataCase_ == 41) {
dataCase_ = 0;
data_ = null;
}
}
public static final int NODECREATE_FIELD_NUMBER = 42;
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
@java.lang.Override
public boolean hasNodeCreate() {
return dataCase_ == 42;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody getNodeCreate() {
if (dataCase_ == 42) {
return (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
private void setNodeCreate(com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 42;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
private void mergeNodeCreate(com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody value) {
value.getClass();
if (dataCase_ == 42 &&
data_ != com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 42;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
private void clearNodeCreate() {
if (dataCase_ == 42) {
dataCase_ = 0;
data_ = null;
}
}
public static final int NODEUPDATE_FIELD_NUMBER = 43;
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
@java.lang.Override
public boolean hasNodeUpdate() {
return dataCase_ == 43;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody getNodeUpdate() {
if (dataCase_ == 43) {
return (com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
private void setNodeUpdate(com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 43;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
private void mergeNodeUpdate(com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 43 &&
data_ != com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 43;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
private void clearNodeUpdate() {
if (dataCase_ == 43) {
dataCase_ = 0;
data_ = null;
}
}
public static final int NODEDELETE_FIELD_NUMBER = 44;
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
@java.lang.Override
public boolean hasNodeDelete() {
return dataCase_ == 44;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody getNodeDelete() {
if (dataCase_ == 44) {
return (com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
private void setNodeDelete(com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 44;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
private void mergeNodeDelete(com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 44 &&
data_ != com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 44;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
private void clearNodeDelete() {
if (dataCase_ == 44) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENREJECT_FIELD_NUMBER = 45;
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
@java.lang.Override
public boolean hasTokenReject() {
return dataCase_ == 45;
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody getTokenReject() {
if (dataCase_ == 45) {
return (com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.getDefaultInstance();
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
private void setTokenReject(com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 45;
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
private void mergeTokenReject(com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody value) {
value.getClass();
if (dataCase_ == 45 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 45;
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
private void clearTokenReject() {
if (dataCase_ == 45) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENCANCELAIRDROP_FIELD_NUMBER = 46;
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
@java.lang.Override
public boolean hasTokenCancelAirdrop() {
return dataCase_ == 46;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody getTokenCancelAirdrop() {
if (dataCase_ == 46) {
return (com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
private void setTokenCancelAirdrop(com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 46;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
private void mergeTokenCancelAirdrop(com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody value) {
value.getClass();
if (dataCase_ == 46 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 46;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
private void clearTokenCancelAirdrop() {
if (dataCase_ == 46) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENCLAIMAIRDROP_FIELD_NUMBER = 47;
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
@java.lang.Override
public boolean hasTokenClaimAirdrop() {
return dataCase_ == 47;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody getTokenClaimAirdrop() {
if (dataCase_ == 47) {
return (com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
private void setTokenClaimAirdrop(com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 47;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
private void mergeTokenClaimAirdrop(com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody value) {
value.getClass();
if (dataCase_ == 47 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 47;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
private void clearTokenClaimAirdrop() {
if (dataCase_ == 47) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENAIRDROP_FIELD_NUMBER = 48;
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
@java.lang.Override
public boolean hasTokenAirdrop() {
return dataCase_ == 48;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody getTokenAirdrop() {
if (dataCase_ == 48) {
return (com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
private void setTokenAirdrop(com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 48;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
private void mergeTokenAirdrop(com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody value) {
value.getClass();
if (dataCase_ == 48 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 48;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
private void clearTokenAirdrop() {
if (dataCase_ == 48) {
dataCase_ = 0;
data_ = null;
}
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
**
* A schedulable transaction. Note that the global/dynamic system property
* <tt>scheduling.whitelist</tt> controls which transaction types may be scheduled. As of Hedera
* Services 0.24.0 this list includes <tt>ConsensusSubmitMessage</tt>, <tt>CryptoTransfer</tt>, <tt>TokenMint</tt>, and <tt>TokenBurn</tt>
* functions.
*
*
* Protobuf type {@code proto.SchedulableTransactionBody}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody, Builder> implements
// @@protoc_insertion_point(builder_implements:proto.SchedulableTransactionBody)
com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOrBuilder {
// Construct using com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public DataCase
getDataCase() {
return instance.getDataCase();
}
public Builder clearData() {
copyOnWrite();
instance.clearData();
return this;
}
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 1;
* @return The transactionFee.
*/
@java.lang.Override
public long getTransactionFee() {
return instance.getTransactionFee();
}
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 1;
* @param value The transactionFee to set.
* @return This builder for chaining.
*/
public Builder setTransactionFee(long value) {
copyOnWrite();
instance.setTransactionFee(value);
return this;
}
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 1;
* @return This builder for chaining.
*/
public Builder clearTransactionFee() {
copyOnWrite();
instance.clearTransactionFee();
return this;
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @return The memo.
*/
@java.lang.Override
public java.lang.String getMemo() {
return instance.getMemo();
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @return The bytes for memo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMemoBytes() {
return instance.getMemoBytes();
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @param value The memo to set.
* @return This builder for chaining.
*/
public Builder setMemo(
java.lang.String value) {
copyOnWrite();
instance.setMemo(value);
return this;
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @return This builder for chaining.
*/
public Builder clearMemo() {
copyOnWrite();
instance.clearMemo();
return this;
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @param value The bytes for memo to set.
* @return This builder for chaining.
*/
public Builder setMemoBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMemoBytes(value);
return this;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
@java.lang.Override
public boolean hasContractCall() {
return instance.hasContractCall();
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody getContractCall() {
return instance.getContractCall();
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
public Builder setContractCall(com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody value) {
copyOnWrite();
instance.setContractCall(value);
return this;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
public Builder setContractCall(
com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setContractCall(builderForValue.build());
return this;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
public Builder mergeContractCall(com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody value) {
copyOnWrite();
instance.mergeContractCall(value);
return this;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
public Builder clearContractCall() {
copyOnWrite();
instance.clearContractCall();
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
@java.lang.Override
public boolean hasContractCreateInstance() {
return instance.hasContractCreateInstance();
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody getContractCreateInstance() {
return instance.getContractCreateInstance();
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
public Builder setContractCreateInstance(com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody value) {
copyOnWrite();
instance.setContractCreateInstance(value);
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
public Builder setContractCreateInstance(
com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setContractCreateInstance(builderForValue.build());
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
public Builder mergeContractCreateInstance(com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody value) {
copyOnWrite();
instance.mergeContractCreateInstance(value);
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
public Builder clearContractCreateInstance() {
copyOnWrite();
instance.clearContractCreateInstance();
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
@java.lang.Override
public boolean hasContractUpdateInstance() {
return instance.hasContractUpdateInstance();
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody getContractUpdateInstance() {
return instance.getContractUpdateInstance();
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
public Builder setContractUpdateInstance(com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody value) {
copyOnWrite();
instance.setContractUpdateInstance(value);
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
public Builder setContractUpdateInstance(
com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setContractUpdateInstance(builderForValue.build());
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
public Builder mergeContractUpdateInstance(com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody value) {
copyOnWrite();
instance.mergeContractUpdateInstance(value);
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
public Builder clearContractUpdateInstance() {
copyOnWrite();
instance.clearContractUpdateInstance();
return this;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
@java.lang.Override
public boolean hasContractDeleteInstance() {
return instance.hasContractDeleteInstance();
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody getContractDeleteInstance() {
return instance.getContractDeleteInstance();
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
public Builder setContractDeleteInstance(com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody value) {
copyOnWrite();
instance.setContractDeleteInstance(value);
return this;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
public Builder setContractDeleteInstance(
com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setContractDeleteInstance(builderForValue.build());
return this;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
public Builder mergeContractDeleteInstance(com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody value) {
copyOnWrite();
instance.mergeContractDeleteInstance(value);
return this;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
public Builder clearContractDeleteInstance() {
copyOnWrite();
instance.clearContractDeleteInstance();
return this;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
@java.lang.Override
public boolean hasCryptoApproveAllowance() {
return instance.hasCryptoApproveAllowance();
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody getCryptoApproveAllowance() {
return instance.getCryptoApproveAllowance();
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
public Builder setCryptoApproveAllowance(com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody value) {
copyOnWrite();
instance.setCryptoApproveAllowance(value);
return this;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
public Builder setCryptoApproveAllowance(
com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setCryptoApproveAllowance(builderForValue.build());
return this;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
public Builder mergeCryptoApproveAllowance(com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody value) {
copyOnWrite();
instance.mergeCryptoApproveAllowance(value);
return this;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
public Builder clearCryptoApproveAllowance() {
copyOnWrite();
instance.clearCryptoApproveAllowance();
return this;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
@java.lang.Override
public boolean hasCryptoDeleteAllowance() {
return instance.hasCryptoDeleteAllowance();
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody getCryptoDeleteAllowance() {
return instance.getCryptoDeleteAllowance();
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
public Builder setCryptoDeleteAllowance(com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody value) {
copyOnWrite();
instance.setCryptoDeleteAllowance(value);
return this;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
public Builder setCryptoDeleteAllowance(
com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setCryptoDeleteAllowance(builderForValue.build());
return this;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
public Builder mergeCryptoDeleteAllowance(com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody value) {
copyOnWrite();
instance.mergeCryptoDeleteAllowance(value);
return this;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
public Builder clearCryptoDeleteAllowance() {
copyOnWrite();
instance.clearCryptoDeleteAllowance();
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
@java.lang.Override
public boolean hasCryptoCreateAccount() {
return instance.hasCryptoCreateAccount();
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody getCryptoCreateAccount() {
return instance.getCryptoCreateAccount();
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
public Builder setCryptoCreateAccount(com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody value) {
copyOnWrite();
instance.setCryptoCreateAccount(value);
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
public Builder setCryptoCreateAccount(
com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setCryptoCreateAccount(builderForValue.build());
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
public Builder mergeCryptoCreateAccount(com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody value) {
copyOnWrite();
instance.mergeCryptoCreateAccount(value);
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
public Builder clearCryptoCreateAccount() {
copyOnWrite();
instance.clearCryptoCreateAccount();
return this;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
@java.lang.Override
public boolean hasCryptoDelete() {
return instance.hasCryptoDelete();
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody getCryptoDelete() {
return instance.getCryptoDelete();
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
public Builder setCryptoDelete(com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody value) {
copyOnWrite();
instance.setCryptoDelete(value);
return this;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
public Builder setCryptoDelete(
com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setCryptoDelete(builderForValue.build());
return this;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
public Builder mergeCryptoDelete(com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody value) {
copyOnWrite();
instance.mergeCryptoDelete(value);
return this;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
public Builder clearCryptoDelete() {
copyOnWrite();
instance.clearCryptoDelete();
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
@java.lang.Override
public boolean hasCryptoTransfer() {
return instance.hasCryptoTransfer();
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody getCryptoTransfer() {
return instance.getCryptoTransfer();
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
public Builder setCryptoTransfer(com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody value) {
copyOnWrite();
instance.setCryptoTransfer(value);
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
public Builder setCryptoTransfer(
com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setCryptoTransfer(builderForValue.build());
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
public Builder mergeCryptoTransfer(com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody value) {
copyOnWrite();
instance.mergeCryptoTransfer(value);
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
public Builder clearCryptoTransfer() {
copyOnWrite();
instance.clearCryptoTransfer();
return this;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
@java.lang.Override
public boolean hasCryptoUpdateAccount() {
return instance.hasCryptoUpdateAccount();
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody getCryptoUpdateAccount() {
return instance.getCryptoUpdateAccount();
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
public Builder setCryptoUpdateAccount(com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody value) {
copyOnWrite();
instance.setCryptoUpdateAccount(value);
return this;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
public Builder setCryptoUpdateAccount(
com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setCryptoUpdateAccount(builderForValue.build());
return this;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
public Builder mergeCryptoUpdateAccount(com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody value) {
copyOnWrite();
instance.mergeCryptoUpdateAccount(value);
return this;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
public Builder clearCryptoUpdateAccount() {
copyOnWrite();
instance.clearCryptoUpdateAccount();
return this;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
@java.lang.Override
public boolean hasFileAppend() {
return instance.hasFileAppend();
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody getFileAppend() {
return instance.getFileAppend();
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
public Builder setFileAppend(com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody value) {
copyOnWrite();
instance.setFileAppend(value);
return this;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
public Builder setFileAppend(
com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setFileAppend(builderForValue.build());
return this;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
public Builder mergeFileAppend(com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody value) {
copyOnWrite();
instance.mergeFileAppend(value);
return this;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
public Builder clearFileAppend() {
copyOnWrite();
instance.clearFileAppend();
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
@java.lang.Override
public boolean hasFileCreate() {
return instance.hasFileCreate();
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody getFileCreate() {
return instance.getFileCreate();
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
public Builder setFileCreate(com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody value) {
copyOnWrite();
instance.setFileCreate(value);
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
public Builder setFileCreate(
com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setFileCreate(builderForValue.build());
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
public Builder mergeFileCreate(com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody value) {
copyOnWrite();
instance.mergeFileCreate(value);
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
public Builder clearFileCreate() {
copyOnWrite();
instance.clearFileCreate();
return this;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
@java.lang.Override
public boolean hasFileDelete() {
return instance.hasFileDelete();
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody getFileDelete() {
return instance.getFileDelete();
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
public Builder setFileDelete(com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody value) {
copyOnWrite();
instance.setFileDelete(value);
return this;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
public Builder setFileDelete(
com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setFileDelete(builderForValue.build());
return this;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
public Builder mergeFileDelete(com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody value) {
copyOnWrite();
instance.mergeFileDelete(value);
return this;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
public Builder clearFileDelete() {
copyOnWrite();
instance.clearFileDelete();
return this;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
@java.lang.Override
public boolean hasFileUpdate() {
return instance.hasFileUpdate();
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody getFileUpdate() {
return instance.getFileUpdate();
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
public Builder setFileUpdate(com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody value) {
copyOnWrite();
instance.setFileUpdate(value);
return this;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
public Builder setFileUpdate(
com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setFileUpdate(builderForValue.build());
return this;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
public Builder mergeFileUpdate(com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody value) {
copyOnWrite();
instance.mergeFileUpdate(value);
return this;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
public Builder clearFileUpdate() {
copyOnWrite();
instance.clearFileUpdate();
return this;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
@java.lang.Override
public boolean hasSystemDelete() {
return instance.hasSystemDelete();
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody getSystemDelete() {
return instance.getSystemDelete();
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
public Builder setSystemDelete(com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody value) {
copyOnWrite();
instance.setSystemDelete(value);
return this;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
public Builder setSystemDelete(
com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setSystemDelete(builderForValue.build());
return this;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
public Builder mergeSystemDelete(com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody value) {
copyOnWrite();
instance.mergeSystemDelete(value);
return this;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
public Builder clearSystemDelete() {
copyOnWrite();
instance.clearSystemDelete();
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
@java.lang.Override
public boolean hasSystemUndelete() {
return instance.hasSystemUndelete();
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody getSystemUndelete() {
return instance.getSystemUndelete();
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
public Builder setSystemUndelete(com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody value) {
copyOnWrite();
instance.setSystemUndelete(value);
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
public Builder setSystemUndelete(
com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setSystemUndelete(builderForValue.build());
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
public Builder mergeSystemUndelete(com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody value) {
copyOnWrite();
instance.mergeSystemUndelete(value);
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
public Builder clearSystemUndelete() {
copyOnWrite();
instance.clearSystemUndelete();
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
@java.lang.Override
public boolean hasFreeze() {
return instance.hasFreeze();
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBody getFreeze() {
return instance.getFreeze();
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
public Builder setFreeze(com.hedera.hashgraph.sdk.proto.FreezeTransactionBody value) {
copyOnWrite();
instance.setFreeze(value);
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
public Builder setFreeze(
com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setFreeze(builderForValue.build());
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
public Builder mergeFreeze(com.hedera.hashgraph.sdk.proto.FreezeTransactionBody value) {
copyOnWrite();
instance.mergeFreeze(value);
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
public Builder clearFreeze() {
copyOnWrite();
instance.clearFreeze();
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
@java.lang.Override
public boolean hasConsensusCreateTopic() {
return instance.hasConsensusCreateTopic();
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody getConsensusCreateTopic() {
return instance.getConsensusCreateTopic();
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
public Builder setConsensusCreateTopic(com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody value) {
copyOnWrite();
instance.setConsensusCreateTopic(value);
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
public Builder setConsensusCreateTopic(
com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setConsensusCreateTopic(builderForValue.build());
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
public Builder mergeConsensusCreateTopic(com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody value) {
copyOnWrite();
instance.mergeConsensusCreateTopic(value);
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
public Builder clearConsensusCreateTopic() {
copyOnWrite();
instance.clearConsensusCreateTopic();
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
@java.lang.Override
public boolean hasConsensusUpdateTopic() {
return instance.hasConsensusUpdateTopic();
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody getConsensusUpdateTopic() {
return instance.getConsensusUpdateTopic();
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
public Builder setConsensusUpdateTopic(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody value) {
copyOnWrite();
instance.setConsensusUpdateTopic(value);
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
public Builder setConsensusUpdateTopic(
com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setConsensusUpdateTopic(builderForValue.build());
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
public Builder mergeConsensusUpdateTopic(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody value) {
copyOnWrite();
instance.mergeConsensusUpdateTopic(value);
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
public Builder clearConsensusUpdateTopic() {
copyOnWrite();
instance.clearConsensusUpdateTopic();
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
@java.lang.Override
public boolean hasConsensusDeleteTopic() {
return instance.hasConsensusDeleteTopic();
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody getConsensusDeleteTopic() {
return instance.getConsensusDeleteTopic();
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
public Builder setConsensusDeleteTopic(com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody value) {
copyOnWrite();
instance.setConsensusDeleteTopic(value);
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
public Builder setConsensusDeleteTopic(
com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setConsensusDeleteTopic(builderForValue.build());
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
public Builder mergeConsensusDeleteTopic(com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody value) {
copyOnWrite();
instance.mergeConsensusDeleteTopic(value);
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
public Builder clearConsensusDeleteTopic() {
copyOnWrite();
instance.clearConsensusDeleteTopic();
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
@java.lang.Override
public boolean hasConsensusSubmitMessage() {
return instance.hasConsensusSubmitMessage();
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody getConsensusSubmitMessage() {
return instance.getConsensusSubmitMessage();
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
public Builder setConsensusSubmitMessage(com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody value) {
copyOnWrite();
instance.setConsensusSubmitMessage(value);
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
public Builder setConsensusSubmitMessage(
com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setConsensusSubmitMessage(builderForValue.build());
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
public Builder mergeConsensusSubmitMessage(com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody value) {
copyOnWrite();
instance.mergeConsensusSubmitMessage(value);
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
public Builder clearConsensusSubmitMessage() {
copyOnWrite();
instance.clearConsensusSubmitMessage();
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
@java.lang.Override
public boolean hasTokenCreation() {
return instance.hasTokenCreation();
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody getTokenCreation() {
return instance.getTokenCreation();
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
public Builder setTokenCreation(com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody value) {
copyOnWrite();
instance.setTokenCreation(value);
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
public Builder setTokenCreation(
com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenCreation(builderForValue.build());
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
public Builder mergeTokenCreation(com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody value) {
copyOnWrite();
instance.mergeTokenCreation(value);
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
public Builder clearTokenCreation() {
copyOnWrite();
instance.clearTokenCreation();
return this;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
@java.lang.Override
public boolean hasTokenFreeze() {
return instance.hasTokenFreeze();
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody getTokenFreeze() {
return instance.getTokenFreeze();
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
public Builder setTokenFreeze(com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody value) {
copyOnWrite();
instance.setTokenFreeze(value);
return this;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
public Builder setTokenFreeze(
com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenFreeze(builderForValue.build());
return this;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
public Builder mergeTokenFreeze(com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody value) {
copyOnWrite();
instance.mergeTokenFreeze(value);
return this;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
public Builder clearTokenFreeze() {
copyOnWrite();
instance.clearTokenFreeze();
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
@java.lang.Override
public boolean hasTokenUnfreeze() {
return instance.hasTokenUnfreeze();
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody getTokenUnfreeze() {
return instance.getTokenUnfreeze();
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
public Builder setTokenUnfreeze(com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody value) {
copyOnWrite();
instance.setTokenUnfreeze(value);
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
public Builder setTokenUnfreeze(
com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenUnfreeze(builderForValue.build());
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
public Builder mergeTokenUnfreeze(com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody value) {
copyOnWrite();
instance.mergeTokenUnfreeze(value);
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
public Builder clearTokenUnfreeze() {
copyOnWrite();
instance.clearTokenUnfreeze();
return this;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
@java.lang.Override
public boolean hasTokenGrantKyc() {
return instance.hasTokenGrantKyc();
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody getTokenGrantKyc() {
return instance.getTokenGrantKyc();
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
public Builder setTokenGrantKyc(com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody value) {
copyOnWrite();
instance.setTokenGrantKyc(value);
return this;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
public Builder setTokenGrantKyc(
com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenGrantKyc(builderForValue.build());
return this;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
public Builder mergeTokenGrantKyc(com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody value) {
copyOnWrite();
instance.mergeTokenGrantKyc(value);
return this;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
public Builder clearTokenGrantKyc() {
copyOnWrite();
instance.clearTokenGrantKyc();
return this;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
@java.lang.Override
public boolean hasTokenRevokeKyc() {
return instance.hasTokenRevokeKyc();
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody getTokenRevokeKyc() {
return instance.getTokenRevokeKyc();
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
public Builder setTokenRevokeKyc(com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody value) {
copyOnWrite();
instance.setTokenRevokeKyc(value);
return this;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
public Builder setTokenRevokeKyc(
com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenRevokeKyc(builderForValue.build());
return this;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
public Builder mergeTokenRevokeKyc(com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody value) {
copyOnWrite();
instance.mergeTokenRevokeKyc(value);
return this;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
public Builder clearTokenRevokeKyc() {
copyOnWrite();
instance.clearTokenRevokeKyc();
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
@java.lang.Override
public boolean hasTokenDeletion() {
return instance.hasTokenDeletion();
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody getTokenDeletion() {
return instance.getTokenDeletion();
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
public Builder setTokenDeletion(com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody value) {
copyOnWrite();
instance.setTokenDeletion(value);
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
public Builder setTokenDeletion(
com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenDeletion(builderForValue.build());
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
public Builder mergeTokenDeletion(com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody value) {
copyOnWrite();
instance.mergeTokenDeletion(value);
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
public Builder clearTokenDeletion() {
copyOnWrite();
instance.clearTokenDeletion();
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
@java.lang.Override
public boolean hasTokenUpdate() {
return instance.hasTokenUpdate();
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody getTokenUpdate() {
return instance.getTokenUpdate();
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
public Builder setTokenUpdate(com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody value) {
copyOnWrite();
instance.setTokenUpdate(value);
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
public Builder setTokenUpdate(
com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenUpdate(builderForValue.build());
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
public Builder mergeTokenUpdate(com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody value) {
copyOnWrite();
instance.mergeTokenUpdate(value);
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
public Builder clearTokenUpdate() {
copyOnWrite();
instance.clearTokenUpdate();
return this;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
@java.lang.Override
public boolean hasTokenMint() {
return instance.hasTokenMint();
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody getTokenMint() {
return instance.getTokenMint();
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
public Builder setTokenMint(com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody value) {
copyOnWrite();
instance.setTokenMint(value);
return this;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
public Builder setTokenMint(
com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenMint(builderForValue.build());
return this;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
public Builder mergeTokenMint(com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody value) {
copyOnWrite();
instance.mergeTokenMint(value);
return this;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
public Builder clearTokenMint() {
copyOnWrite();
instance.clearTokenMint();
return this;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
@java.lang.Override
public boolean hasTokenBurn() {
return instance.hasTokenBurn();
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody getTokenBurn() {
return instance.getTokenBurn();
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
public Builder setTokenBurn(com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody value) {
copyOnWrite();
instance.setTokenBurn(value);
return this;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
public Builder setTokenBurn(
com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenBurn(builderForValue.build());
return this;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
public Builder mergeTokenBurn(com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody value) {
copyOnWrite();
instance.mergeTokenBurn(value);
return this;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
public Builder clearTokenBurn() {
copyOnWrite();
instance.clearTokenBurn();
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
@java.lang.Override
public boolean hasTokenWipe() {
return instance.hasTokenWipe();
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody getTokenWipe() {
return instance.getTokenWipe();
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
public Builder setTokenWipe(com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody value) {
copyOnWrite();
instance.setTokenWipe(value);
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
public Builder setTokenWipe(
com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenWipe(builderForValue.build());
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
public Builder mergeTokenWipe(com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody value) {
copyOnWrite();
instance.mergeTokenWipe(value);
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
public Builder clearTokenWipe() {
copyOnWrite();
instance.clearTokenWipe();
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
@java.lang.Override
public boolean hasTokenAssociate() {
return instance.hasTokenAssociate();
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody getTokenAssociate() {
return instance.getTokenAssociate();
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
public Builder setTokenAssociate(com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody value) {
copyOnWrite();
instance.setTokenAssociate(value);
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
public Builder setTokenAssociate(
com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenAssociate(builderForValue.build());
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
public Builder mergeTokenAssociate(com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody value) {
copyOnWrite();
instance.mergeTokenAssociate(value);
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
public Builder clearTokenAssociate() {
copyOnWrite();
instance.clearTokenAssociate();
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
@java.lang.Override
public boolean hasTokenDissociate() {
return instance.hasTokenDissociate();
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody getTokenDissociate() {
return instance.getTokenDissociate();
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
public Builder setTokenDissociate(com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody value) {
copyOnWrite();
instance.setTokenDissociate(value);
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
public Builder setTokenDissociate(
com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenDissociate(builderForValue.build());
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
public Builder mergeTokenDissociate(com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody value) {
copyOnWrite();
instance.mergeTokenDissociate(value);
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
public Builder clearTokenDissociate() {
copyOnWrite();
instance.clearTokenDissociate();
return this;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
@java.lang.Override
public boolean hasTokenFeeScheduleUpdate() {
return instance.hasTokenFeeScheduleUpdate();
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody getTokenFeeScheduleUpdate() {
return instance.getTokenFeeScheduleUpdate();
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
public Builder setTokenFeeScheduleUpdate(com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody value) {
copyOnWrite();
instance.setTokenFeeScheduleUpdate(value);
return this;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
public Builder setTokenFeeScheduleUpdate(
com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenFeeScheduleUpdate(builderForValue.build());
return this;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
public Builder mergeTokenFeeScheduleUpdate(com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody value) {
copyOnWrite();
instance.mergeTokenFeeScheduleUpdate(value);
return this;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
public Builder clearTokenFeeScheduleUpdate() {
copyOnWrite();
instance.clearTokenFeeScheduleUpdate();
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
@java.lang.Override
public boolean hasTokenPause() {
return instance.hasTokenPause();
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody getTokenPause() {
return instance.getTokenPause();
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
public Builder setTokenPause(com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody value) {
copyOnWrite();
instance.setTokenPause(value);
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
public Builder setTokenPause(
com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenPause(builderForValue.build());
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
public Builder mergeTokenPause(com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody value) {
copyOnWrite();
instance.mergeTokenPause(value);
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
public Builder clearTokenPause() {
copyOnWrite();
instance.clearTokenPause();
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
@java.lang.Override
public boolean hasTokenUnpause() {
return instance.hasTokenUnpause();
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody getTokenUnpause() {
return instance.getTokenUnpause();
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
public Builder setTokenUnpause(com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody value) {
copyOnWrite();
instance.setTokenUnpause(value);
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
public Builder setTokenUnpause(
com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenUnpause(builderForValue.build());
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
public Builder mergeTokenUnpause(com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody value) {
copyOnWrite();
instance.mergeTokenUnpause(value);
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
public Builder clearTokenUnpause() {
copyOnWrite();
instance.clearTokenUnpause();
return this;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
@java.lang.Override
public boolean hasScheduleDelete() {
return instance.hasScheduleDelete();
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody getScheduleDelete() {
return instance.getScheduleDelete();
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
public Builder setScheduleDelete(com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody value) {
copyOnWrite();
instance.setScheduleDelete(value);
return this;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
public Builder setScheduleDelete(
com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setScheduleDelete(builderForValue.build());
return this;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
public Builder mergeScheduleDelete(com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody value) {
copyOnWrite();
instance.mergeScheduleDelete(value);
return this;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
public Builder clearScheduleDelete() {
copyOnWrite();
instance.clearScheduleDelete();
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
@java.lang.Override
public boolean hasUtilPrng() {
return instance.hasUtilPrng();
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody getUtilPrng() {
return instance.getUtilPrng();
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
public Builder setUtilPrng(com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody value) {
copyOnWrite();
instance.setUtilPrng(value);
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
public Builder setUtilPrng(
com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setUtilPrng(builderForValue.build());
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
public Builder mergeUtilPrng(com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody value) {
copyOnWrite();
instance.mergeUtilPrng(value);
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
public Builder clearUtilPrng() {
copyOnWrite();
instance.clearUtilPrng();
return this;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
@java.lang.Override
public boolean hasTokenUpdateNfts() {
return instance.hasTokenUpdateNfts();
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody getTokenUpdateNfts() {
return instance.getTokenUpdateNfts();
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
public Builder setTokenUpdateNfts(com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody value) {
copyOnWrite();
instance.setTokenUpdateNfts(value);
return this;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
public Builder setTokenUpdateNfts(
com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenUpdateNfts(builderForValue.build());
return this;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
public Builder mergeTokenUpdateNfts(com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody value) {
copyOnWrite();
instance.mergeTokenUpdateNfts(value);
return this;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
public Builder clearTokenUpdateNfts() {
copyOnWrite();
instance.clearTokenUpdateNfts();
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
@java.lang.Override
public boolean hasNodeCreate() {
return instance.hasNodeCreate();
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody getNodeCreate() {
return instance.getNodeCreate();
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
public Builder setNodeCreate(com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody value) {
copyOnWrite();
instance.setNodeCreate(value);
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
public Builder setNodeCreate(
com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setNodeCreate(builderForValue.build());
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
public Builder mergeNodeCreate(com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody value) {
copyOnWrite();
instance.mergeNodeCreate(value);
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
public Builder clearNodeCreate() {
copyOnWrite();
instance.clearNodeCreate();
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
@java.lang.Override
public boolean hasNodeUpdate() {
return instance.hasNodeUpdate();
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody getNodeUpdate() {
return instance.getNodeUpdate();
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
public Builder setNodeUpdate(com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody value) {
copyOnWrite();
instance.setNodeUpdate(value);
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
public Builder setNodeUpdate(
com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setNodeUpdate(builderForValue.build());
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
public Builder mergeNodeUpdate(com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody value) {
copyOnWrite();
instance.mergeNodeUpdate(value);
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
public Builder clearNodeUpdate() {
copyOnWrite();
instance.clearNodeUpdate();
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
@java.lang.Override
public boolean hasNodeDelete() {
return instance.hasNodeDelete();
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody getNodeDelete() {
return instance.getNodeDelete();
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
public Builder setNodeDelete(com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody value) {
copyOnWrite();
instance.setNodeDelete(value);
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
public Builder setNodeDelete(
com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setNodeDelete(builderForValue.build());
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
public Builder mergeNodeDelete(com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody value) {
copyOnWrite();
instance.mergeNodeDelete(value);
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
public Builder clearNodeDelete() {
copyOnWrite();
instance.clearNodeDelete();
return this;
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
@java.lang.Override
public boolean hasTokenReject() {
return instance.hasTokenReject();
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody getTokenReject() {
return instance.getTokenReject();
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
public Builder setTokenReject(com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody value) {
copyOnWrite();
instance.setTokenReject(value);
return this;
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
public Builder setTokenReject(
com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenReject(builderForValue.build());
return this;
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
public Builder mergeTokenReject(com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody value) {
copyOnWrite();
instance.mergeTokenReject(value);
return this;
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
public Builder clearTokenReject() {
copyOnWrite();
instance.clearTokenReject();
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
@java.lang.Override
public boolean hasTokenCancelAirdrop() {
return instance.hasTokenCancelAirdrop();
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody getTokenCancelAirdrop() {
return instance.getTokenCancelAirdrop();
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
public Builder setTokenCancelAirdrop(com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody value) {
copyOnWrite();
instance.setTokenCancelAirdrop(value);
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
public Builder setTokenCancelAirdrop(
com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenCancelAirdrop(builderForValue.build());
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
public Builder mergeTokenCancelAirdrop(com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody value) {
copyOnWrite();
instance.mergeTokenCancelAirdrop(value);
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
public Builder clearTokenCancelAirdrop() {
copyOnWrite();
instance.clearTokenCancelAirdrop();
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
@java.lang.Override
public boolean hasTokenClaimAirdrop() {
return instance.hasTokenClaimAirdrop();
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody getTokenClaimAirdrop() {
return instance.getTokenClaimAirdrop();
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
public Builder setTokenClaimAirdrop(com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody value) {
copyOnWrite();
instance.setTokenClaimAirdrop(value);
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
public Builder setTokenClaimAirdrop(
com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenClaimAirdrop(builderForValue.build());
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
public Builder mergeTokenClaimAirdrop(com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody value) {
copyOnWrite();
instance.mergeTokenClaimAirdrop(value);
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
public Builder clearTokenClaimAirdrop() {
copyOnWrite();
instance.clearTokenClaimAirdrop();
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
@java.lang.Override
public boolean hasTokenAirdrop() {
return instance.hasTokenAirdrop();
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody getTokenAirdrop() {
return instance.getTokenAirdrop();
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
public Builder setTokenAirdrop(com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody value) {
copyOnWrite();
instance.setTokenAirdrop(value);
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
public Builder setTokenAirdrop(
com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenAirdrop(builderForValue.build());
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
public Builder mergeTokenAirdrop(com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody value) {
copyOnWrite();
instance.mergeTokenAirdrop(value);
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
public Builder clearTokenAirdrop() {
copyOnWrite();
instance.clearTokenAirdrop();
return this;
}
// @@protoc_insertion_point(builder_scope:proto.SchedulableTransactionBody)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"data_",
"dataCase_",
"transactionFee_",
"memo_",
com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.class,
com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.class,
com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.class,
com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.class,
com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.class,
com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.class,
com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.class,
com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.class,
com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.class,
com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.class,
com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.class,
com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.class,
com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.class,
com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.class,
com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.class,
com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.class,
};
java.lang.String info =
"\u00000\u0001\u0000\u000100\u0000\u0000\u0000\u0001\u0003\u0002\u0208\u0003<\u0000" +
"\u0004<\u0000\u0005<\u0000\u0006<\u0000\u0007<\u0000\b<\u0000\t<\u0000\n<\u0000\u000b" +
"<\u0000\f<\u0000\r<\u0000\u000e<\u0000\u000f<\u0000\u0010<\u0000\u0011<\u0000\u0012" +
"<\u0000\u0013<\u0000\u0014<\u0000\u0015<\u0000\u0016<\u0000\u0017<\u0000\u0018<\u0000" +
"\u0019<\u0000\u001a<\u0000\u001b<\u0000\u001c<\u0000\u001d<\u0000\u001e<\u0000\u001f" +
"<\u0000 <\u0000!<\u0000\"<\u0000#<\u0000$<\u0000%<\u0000&<\u0000\'<\u0000(<\u0000" +
")<\u0000*<\u0000+<\u0000,<\u0000-<\u0000.<\u0000/<\u00000<\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:proto.SchedulableTransactionBody)
private static final com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody DEFAULT_INSTANCE;
static {
SchedulableTransactionBody defaultInstance = new SchedulableTransactionBody();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SchedulableTransactionBody.class, defaultInstance);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}