com.hedera.hashgraph.sdk.proto.TransactionBody Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: transaction_body.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
/**
*
**
* A single transaction. All transaction types are possible here.
*
*
* Protobuf type {@code proto.TransactionBody}
*/
public final class TransactionBody extends
com.google.protobuf.GeneratedMessageLite<
TransactionBody, TransactionBody.Builder> implements
// @@protoc_insertion_point(message_implements:proto.TransactionBody)
TransactionBodyOrBuilder {
private TransactionBody() {
memo_ = "";
}
private int bitField0_;
private int dataCase_ = 0;
private java.lang.Object data_;
public enum DataCase {
CONTRACTCALL(7),
CONTRACTCREATEINSTANCE(8),
CONTRACTUPDATEINSTANCE(9),
CRYPTOADDLIVEHASH(10),
CRYPTOCREATEACCOUNT(11),
CRYPTODELETE(12),
CRYPTODELETELIVEHASH(13),
CRYPTOTRANSFER(14),
CRYPTOUPDATEACCOUNT(15),
FILEAPPEND(16),
FILECREATE(17),
FILEDELETE(18),
FILEUPDATE(19),
SYSTEMDELETE(20),
SYSTEMUNDELETE(21),
CONTRACTDELETEINSTANCE(22),
FREEZE(23),
CONSENSUSCREATETOPIC(24),
CONSENSUSUPDATETOPIC(25),
CONSENSUSDELETETOPIC(26),
CONSENSUSSUBMITMESSAGE(27),
UNCHECKEDSUBMIT(28),
TOKENCREATION(29),
TOKENFREEZE(31),
TOKENUNFREEZE(32),
TOKENGRANTKYC(33),
TOKENREVOKEKYC(34),
TOKENDELETION(35),
TOKENUPDATE(36),
TOKENMINT(37),
TOKENBURN(38),
TOKENWIPE(39),
TOKENASSOCIATE(40),
TOKENDISSOCIATE(41),
SCHEDULECREATE(42),
SCHEDULEDELETE(43),
SCHEDULESIGN(44),
TOKEN_FEE_SCHEDULE_UPDATE(45),
TOKEN_PAUSE(46),
TOKEN_UNPAUSE(47),
CRYPTOAPPROVEALLOWANCE(48),
CRYPTODELETEALLOWANCE(49),
ETHEREUMTRANSACTION(50),
NODE_STAKE_UPDATE(51),
UTIL_PRNG(52),
TOKEN_UPDATE_NFTS(53),
NODECREATE(54),
NODEUPDATE(55),
NODEDELETE(56),
TOKENREJECT(57),
TOKENAIRDROP(58),
TOKENCANCELAIRDROP(59),
TOKENCLAIMAIRDROP(60),
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 7: return CONTRACTCALL;
case 8: return CONTRACTCREATEINSTANCE;
case 9: return CONTRACTUPDATEINSTANCE;
case 10: return CRYPTOADDLIVEHASH;
case 11: return CRYPTOCREATEACCOUNT;
case 12: return CRYPTODELETE;
case 13: return CRYPTODELETELIVEHASH;
case 14: return CRYPTOTRANSFER;
case 15: return CRYPTOUPDATEACCOUNT;
case 16: return FILEAPPEND;
case 17: return FILECREATE;
case 18: return FILEDELETE;
case 19: return FILEUPDATE;
case 20: return SYSTEMDELETE;
case 21: return SYSTEMUNDELETE;
case 22: return CONTRACTDELETEINSTANCE;
case 23: return FREEZE;
case 24: return CONSENSUSCREATETOPIC;
case 25: return CONSENSUSUPDATETOPIC;
case 26: return CONSENSUSDELETETOPIC;
case 27: return CONSENSUSSUBMITMESSAGE;
case 28: return UNCHECKEDSUBMIT;
case 29: return TOKENCREATION;
case 31: return TOKENFREEZE;
case 32: return TOKENUNFREEZE;
case 33: return TOKENGRANTKYC;
case 34: return TOKENREVOKEKYC;
case 35: return TOKENDELETION;
case 36: return TOKENUPDATE;
case 37: return TOKENMINT;
case 38: return TOKENBURN;
case 39: return TOKENWIPE;
case 40: return TOKENASSOCIATE;
case 41: return TOKENDISSOCIATE;
case 42: return SCHEDULECREATE;
case 43: return SCHEDULEDELETE;
case 44: return SCHEDULESIGN;
case 45: return TOKEN_FEE_SCHEDULE_UPDATE;
case 46: return TOKEN_PAUSE;
case 47: return TOKEN_UNPAUSE;
case 48: return CRYPTOAPPROVEALLOWANCE;
case 49: return CRYPTODELETEALLOWANCE;
case 50: return ETHEREUMTRANSACTION;
case 51: return NODE_STAKE_UPDATE;
case 52: return UTIL_PRNG;
case 53: return TOKEN_UPDATE_NFTS;
case 54: return NODECREATE;
case 55: return NODEUPDATE;
case 56: return NODEDELETE;
case 57: return TOKENREJECT;
case 58: return TOKENAIRDROP;
case 59: return TOKENCANCELAIRDROP;
case 60: return TOKENCLAIMAIRDROP;
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 TRANSACTIONID_FIELD_NUMBER = 1;
private com.hedera.hashgraph.sdk.proto.TransactionID transactionID_;
/**
*
**
* The ID for this transaction, which includes the payer's account (the account paying the
* transaction fee). If two transactions have the same transactionID, they won't both have an
* effect
*
*
* .proto.TransactionID transactionID = 1;
*/
@java.lang.Override
public boolean hasTransactionID() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
**
* The ID for this transaction, which includes the payer's account (the account paying the
* transaction fee). If two transactions have the same transactionID, they won't both have an
* effect
*
*
* .proto.TransactionID transactionID = 1;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionID getTransactionID() {
return transactionID_ == null ? com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance() : transactionID_;
}
/**
*
**
* The ID for this transaction, which includes the payer's account (the account paying the
* transaction fee). If two transactions have the same transactionID, they won't both have an
* effect
*
*
* .proto.TransactionID transactionID = 1;
*/
private void setTransactionID(com.hedera.hashgraph.sdk.proto.TransactionID value) {
value.getClass();
transactionID_ = value;
bitField0_ |= 0x00000001;
}
/**
*
**
* The ID for this transaction, which includes the payer's account (the account paying the
* transaction fee). If two transactions have the same transactionID, they won't both have an
* effect
*
*
* .proto.TransactionID transactionID = 1;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTransactionID(com.hedera.hashgraph.sdk.proto.TransactionID value) {
value.getClass();
if (transactionID_ != null &&
transactionID_ != com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance()) {
transactionID_ =
com.hedera.hashgraph.sdk.proto.TransactionID.newBuilder(transactionID_).mergeFrom(value).buildPartial();
} else {
transactionID_ = value;
}
bitField0_ |= 0x00000001;
}
/**
*
**
* The ID for this transaction, which includes the payer's account (the account paying the
* transaction fee). If two transactions have the same transactionID, they won't both have an
* effect
*
*
* .proto.TransactionID transactionID = 1;
*/
private void clearTransactionID() { transactionID_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int NODEACCOUNTID_FIELD_NUMBER = 2;
private com.hedera.hashgraph.sdk.proto.AccountID nodeAccountID_;
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
@java.lang.Override
public boolean hasNodeAccountID() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.AccountID getNodeAccountID() {
return nodeAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : nodeAccountID_;
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
private void setNodeAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) {
value.getClass();
nodeAccountID_ = value;
bitField0_ |= 0x00000002;
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeNodeAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) {
value.getClass();
if (nodeAccountID_ != null &&
nodeAccountID_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) {
nodeAccountID_ =
com.hedera.hashgraph.sdk.proto.AccountID.newBuilder(nodeAccountID_).mergeFrom(value).buildPartial();
} else {
nodeAccountID_ = value;
}
bitField0_ |= 0x00000002;
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
private void clearNodeAccountID() { nodeAccountID_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int TRANSACTIONFEE_FIELD_NUMBER = 3;
private long transactionFee_;
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 3;
* @return The transactionFee.
*/
@java.lang.Override
public long getTransactionFee() {
return transactionFee_;
}
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 3;
* @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 = 3;
*/
private void clearTransactionFee() {
transactionFee_ = 0L;
}
public static final int TRANSACTIONVALIDDURATION_FIELD_NUMBER = 4;
private com.hedera.hashgraph.sdk.proto.Duration transactionValidDuration_;
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
@java.lang.Override
public boolean hasTransactionValidDuration() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.Duration getTransactionValidDuration() {
return transactionValidDuration_ == null ? com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance() : transactionValidDuration_;
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
private void setTransactionValidDuration(com.hedera.hashgraph.sdk.proto.Duration value) {
value.getClass();
transactionValidDuration_ = value;
bitField0_ |= 0x00000004;
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTransactionValidDuration(com.hedera.hashgraph.sdk.proto.Duration value) {
value.getClass();
if (transactionValidDuration_ != null &&
transactionValidDuration_ != com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance()) {
transactionValidDuration_ =
com.hedera.hashgraph.sdk.proto.Duration.newBuilder(transactionValidDuration_).mergeFrom(value).buildPartial();
} else {
transactionValidDuration_ = value;
}
bitField0_ |= 0x00000004;
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
private void clearTransactionValidDuration() { transactionValidDuration_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int GENERATERECORD_FIELD_NUMBER = 5;
private boolean generateRecord_;
/**
*
**
* Should a record of this transaction be generated? (A receipt is always generated, but the
* record is optional)
*
*
* bool generateRecord = 5 [deprecated = true];
* @deprecated proto.TransactionBody.generateRecord is deprecated.
* See transaction_body.proto;l=122
* @return The generateRecord.
*/
@java.lang.Override
@java.lang.Deprecated public boolean getGenerateRecord() {
return generateRecord_;
}
/**
*
**
* Should a record of this transaction be generated? (A receipt is always generated, but the
* record is optional)
*
*
* bool generateRecord = 5 [deprecated = true];
* @deprecated proto.TransactionBody.generateRecord is deprecated.
* See transaction_body.proto;l=122
* @param value The generateRecord to set.
*/
private void setGenerateRecord(boolean value) {
generateRecord_ = value;
}
/**
*
**
* Should a record of this transaction be generated? (A receipt is always generated, but the
* record is optional)
*
*
* bool generateRecord = 5 [deprecated = true];
* @deprecated proto.TransactionBody.generateRecord is deprecated.
* See transaction_body.proto;l=122
*/
private void clearGenerateRecord() {
generateRecord_ = false;
}
public static final int MEMO_FIELD_NUMBER = 6;
private java.lang.String memo_;
/**
*
**
* Any notes or descriptions that should be put into the record (max length 100)
*
*
* string memo = 6;
* @return The memo.
*/
@java.lang.Override
public java.lang.String getMemo() {
return memo_;
}
/**
*
**
* Any notes or descriptions that should be put into the record (max length 100)
*
*
* string memo = 6;
* @return The bytes for memo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMemoBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(memo_);
}
/**
*
**
* Any notes or descriptions that should be put into the record (max length 100)
*
*
* string memo = 6;
* @param value The memo to set.
*/
private void setMemo(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
memo_ = value;
}
/**
*
**
* Any notes or descriptions that should be put into the record (max length 100)
*
*
* string memo = 6;
*/
private void clearMemo() {
memo_ = getDefaultInstance().getMemo();
}
/**
*
**
* Any notes or descriptions that should be put into the record (max length 100)
*
*
* string memo = 6;
* @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 = 7;
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
*/
@java.lang.Override
public boolean hasContractCall() {
return dataCase_ == 7;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody getContractCall() {
if (dataCase_ == 7) {
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 = 7;
*/
private void setContractCall(com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 7;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
*/
private void mergeContractCall(com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody value) {
value.getClass();
if (dataCase_ == 7 &&
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_ = 7;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
*/
private void clearContractCall() {
if (dataCase_ == 7) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONTRACTCREATEINSTANCE_FIELD_NUMBER = 8;
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
@java.lang.Override
public boolean hasContractCreateInstance() {
return dataCase_ == 8;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody getContractCreateInstance() {
if (dataCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
private void setContractCreateInstance(com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 8;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
private void mergeContractCreateInstance(com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody value) {
value.getClass();
if (dataCase_ == 8 &&
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_ = 8;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
private void clearContractCreateInstance() {
if (dataCase_ == 8) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONTRACTUPDATEINSTANCE_FIELD_NUMBER = 9;
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
@java.lang.Override
public boolean hasContractUpdateInstance() {
return dataCase_ == 9;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody getContractUpdateInstance() {
if (dataCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
private void setContractUpdateInstance(com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 9;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
private void mergeContractUpdateInstance(com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 9 &&
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_ = 9;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
private void clearContractUpdateInstance() {
if (dataCase_ == 9) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTOADDLIVEHASH_FIELD_NUMBER = 10;
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
@java.lang.Override
public boolean hasCryptoAddLiveHash() {
return dataCase_ == 10;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody getCryptoAddLiveHash() {
if (dataCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.getDefaultInstance();
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
private void setCryptoAddLiveHash(com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 10;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
private void mergeCryptoAddLiveHash(com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody value) {
value.getClass();
if (dataCase_ == 10 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 10;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
private void clearCryptoAddLiveHash() {
if (dataCase_ == 10) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTOCREATEACCOUNT_FIELD_NUMBER = 11;
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
@java.lang.Override
public boolean hasCryptoCreateAccount() {
return dataCase_ == 11;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody getCryptoCreateAccount() {
if (dataCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
private void setCryptoCreateAccount(com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 11;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
private void mergeCryptoCreateAccount(com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody value) {
value.getClass();
if (dataCase_ == 11 &&
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_ = 11;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
private void clearCryptoCreateAccount() {
if (dataCase_ == 11) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTODELETE_FIELD_NUMBER = 12;
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
*/
@java.lang.Override
public boolean hasCryptoDelete() {
return dataCase_ == 12;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody getCryptoDelete() {
if (dataCase_ == 12) {
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 = 12;
*/
private void setCryptoDelete(com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 12;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
*/
private void mergeCryptoDelete(com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 12 &&
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_ = 12;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
*/
private void clearCryptoDelete() {
if (dataCase_ == 12) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTODELETELIVEHASH_FIELD_NUMBER = 13;
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
@java.lang.Override
public boolean hasCryptoDeleteLiveHash() {
return dataCase_ == 13;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody getCryptoDeleteLiveHash() {
if (dataCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.getDefaultInstance();
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
private void setCryptoDeleteLiveHash(com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 13;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
private void mergeCryptoDeleteLiveHash(com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody value) {
value.getClass();
if (dataCase_ == 13 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 13;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
private void clearCryptoDeleteLiveHash() {
if (dataCase_ == 13) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTOTRANSFER_FIELD_NUMBER = 14;
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
@java.lang.Override
public boolean hasCryptoTransfer() {
return dataCase_ == 14;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody getCryptoTransfer() {
if (dataCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance();
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
private void setCryptoTransfer(com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 14;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
private void mergeCryptoTransfer(com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody value) {
value.getClass();
if (dataCase_ == 14 &&
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_ = 14;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
private void clearCryptoTransfer() {
if (dataCase_ == 14) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTOUPDATEACCOUNT_FIELD_NUMBER = 15;
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
*/
@java.lang.Override
public boolean hasCryptoUpdateAccount() {
return dataCase_ == 15;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody getCryptoUpdateAccount() {
if (dataCase_ == 15) {
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 = 15;
*/
private void setCryptoUpdateAccount(com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 15;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
*/
private void mergeCryptoUpdateAccount(com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 15 &&
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_ = 15;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
*/
private void clearCryptoUpdateAccount() {
if (dataCase_ == 15) {
dataCase_ = 0;
data_ = null;
}
}
public static final int FILEAPPEND_FIELD_NUMBER = 16;
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
*/
@java.lang.Override
public boolean hasFileAppend() {
return dataCase_ == 16;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody getFileAppend() {
if (dataCase_ == 16) {
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 = 16;
*/
private void setFileAppend(com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 16;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
*/
private void mergeFileAppend(com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody value) {
value.getClass();
if (dataCase_ == 16 &&
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_ = 16;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
*/
private void clearFileAppend() {
if (dataCase_ == 16) {
dataCase_ = 0;
data_ = null;
}
}
public static final int FILECREATE_FIELD_NUMBER = 17;
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
@java.lang.Override
public boolean hasFileCreate() {
return dataCase_ == 17;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody getFileCreate() {
if (dataCase_ == 17) {
return (com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
private void setFileCreate(com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 17;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
private void mergeFileCreate(com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody value) {
value.getClass();
if (dataCase_ == 17 &&
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_ = 17;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
private void clearFileCreate() {
if (dataCase_ == 17) {
dataCase_ = 0;
data_ = null;
}
}
public static final int FILEDELETE_FIELD_NUMBER = 18;
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 18;
*/
@java.lang.Override
public boolean hasFileDelete() {
return dataCase_ == 18;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 18;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody getFileDelete() {
if (dataCase_ == 18) {
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 = 18;
*/
private void setFileDelete(com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 18;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 18;
*/
private void mergeFileDelete(com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 18 &&
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_ = 18;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 18;
*/
private void clearFileDelete() {
if (dataCase_ == 18) {
dataCase_ = 0;
data_ = null;
}
}
public static final int FILEUPDATE_FIELD_NUMBER = 19;
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
*/
@java.lang.Override
public boolean hasFileUpdate() {
return dataCase_ == 19;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody getFileUpdate() {
if (dataCase_ == 19) {
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 = 19;
*/
private void setFileUpdate(com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 19;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
*/
private void mergeFileUpdate(com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 19 &&
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_ = 19;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
*/
private void clearFileUpdate() {
if (dataCase_ == 19) {
dataCase_ = 0;
data_ = null;
}
}
public static final int SYSTEMDELETE_FIELD_NUMBER = 20;
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
*/
@java.lang.Override
public boolean hasSystemDelete() {
return dataCase_ == 20;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody getSystemDelete() {
if (dataCase_ == 20) {
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 = 20;
*/
private void setSystemDelete(com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 20;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
*/
private void mergeSystemDelete(com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 20 &&
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_ = 20;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
*/
private void clearSystemDelete() {
if (dataCase_ == 20) {
dataCase_ = 0;
data_ = null;
}
}
public static final int SYSTEMUNDELETE_FIELD_NUMBER = 21;
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
@java.lang.Override
public boolean hasSystemUndelete() {
return dataCase_ == 21;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody getSystemUndelete() {
if (dataCase_ == 21) {
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 = 21;
*/
private void setSystemUndelete(com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 21;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
private void mergeSystemUndelete(com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 21 &&
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_ = 21;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
private void clearSystemUndelete() {
if (dataCase_ == 21) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONTRACTDELETEINSTANCE_FIELD_NUMBER = 22;
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
*/
@java.lang.Override
public boolean hasContractDeleteInstance() {
return dataCase_ == 22;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody getContractDeleteInstance() {
if (dataCase_ == 22) {
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 = 22;
*/
private void setContractDeleteInstance(com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 22;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
*/
private void mergeContractDeleteInstance(com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 22 &&
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_ = 22;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
*/
private void clearContractDeleteInstance() {
if (dataCase_ == 22) {
dataCase_ = 0;
data_ = null;
}
}
public static final int FREEZE_FIELD_NUMBER = 23;
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
@java.lang.Override
public boolean hasFreeze() {
return dataCase_ == 23;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBody getFreeze() {
if (dataCase_ == 23) {
return (com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance();
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
private void setFreeze(com.hedera.hashgraph.sdk.proto.FreezeTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 23;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
private void mergeFreeze(com.hedera.hashgraph.sdk.proto.FreezeTransactionBody value) {
value.getClass();
if (dataCase_ == 23 &&
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_ = 23;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
private void clearFreeze() {
if (dataCase_ == 23) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONSENSUSCREATETOPIC_FIELD_NUMBER = 24;
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
@java.lang.Override
public boolean hasConsensusCreateTopic() {
return dataCase_ == 24;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody getConsensusCreateTopic() {
if (dataCase_ == 24) {
return (com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
private void setConsensusCreateTopic(com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 24;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
private void mergeConsensusCreateTopic(com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody value) {
value.getClass();
if (dataCase_ == 24 &&
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_ = 24;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
private void clearConsensusCreateTopic() {
if (dataCase_ == 24) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONSENSUSUPDATETOPIC_FIELD_NUMBER = 25;
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
@java.lang.Override
public boolean hasConsensusUpdateTopic() {
return dataCase_ == 25;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody getConsensusUpdateTopic() {
if (dataCase_ == 25) {
return (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
private void setConsensusUpdateTopic(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 25;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
private void mergeConsensusUpdateTopic(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody value) {
value.getClass();
if (dataCase_ == 25 &&
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_ = 25;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
private void clearConsensusUpdateTopic() {
if (dataCase_ == 25) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONSENSUSDELETETOPIC_FIELD_NUMBER = 26;
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
@java.lang.Override
public boolean hasConsensusDeleteTopic() {
return dataCase_ == 26;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody getConsensusDeleteTopic() {
if (dataCase_ == 26) {
return (com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
private void setConsensusDeleteTopic(com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 26;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
private void mergeConsensusDeleteTopic(com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody value) {
value.getClass();
if (dataCase_ == 26 &&
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_ = 26;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
private void clearConsensusDeleteTopic() {
if (dataCase_ == 26) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CONSENSUSSUBMITMESSAGE_FIELD_NUMBER = 27;
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
@java.lang.Override
public boolean hasConsensusSubmitMessage() {
return dataCase_ == 27;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody getConsensusSubmitMessage() {
if (dataCase_ == 27) {
return (com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
private void setConsensusSubmitMessage(com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 27;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
private void mergeConsensusSubmitMessage(com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody value) {
value.getClass();
if (dataCase_ == 27 &&
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_ = 27;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
private void clearConsensusSubmitMessage() {
if (dataCase_ == 27) {
dataCase_ = 0;
data_ = null;
}
}
public static final int UNCHECKEDSUBMIT_FIELD_NUMBER = 28;
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
@java.lang.Override
public boolean hasUncheckedSubmit() {
return dataCase_ == 28;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody getUncheckedSubmit() {
if (dataCase_ == 28) {
return (com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody) data_;
}
return com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.getDefaultInstance();
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
private void setUncheckedSubmit(com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody value) {
value.getClass();
data_ = value;
dataCase_ = 28;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
private void mergeUncheckedSubmit(com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody value) {
value.getClass();
if (dataCase_ == 28 &&
data_ != com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.newBuilder((com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 28;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
private void clearUncheckedSubmit() {
if (dataCase_ == 28) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENCREATION_FIELD_NUMBER = 29;
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
@java.lang.Override
public boolean hasTokenCreation() {
return dataCase_ == 29;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody getTokenCreation() {
if (dataCase_ == 29) {
return (com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
private void setTokenCreation(com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 29;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
private void mergeTokenCreation(com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody value) {
value.getClass();
if (dataCase_ == 29 &&
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_ = 29;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
private void clearTokenCreation() {
if (dataCase_ == 29) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENFREEZE_FIELD_NUMBER = 31;
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
*/
@java.lang.Override
public boolean hasTokenFreeze() {
return dataCase_ == 31;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody getTokenFreeze() {
if (dataCase_ == 31) {
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 = 31;
*/
private void setTokenFreeze(com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 31;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
*/
private void mergeTokenFreeze(com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody value) {
value.getClass();
if (dataCase_ == 31 &&
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_ = 31;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
*/
private void clearTokenFreeze() {
if (dataCase_ == 31) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENUNFREEZE_FIELD_NUMBER = 32;
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
@java.lang.Override
public boolean hasTokenUnfreeze() {
return dataCase_ == 32;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody getTokenUnfreeze() {
if (dataCase_ == 32) {
return (com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
private void setTokenUnfreeze(com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 32;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
private void mergeTokenUnfreeze(com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody value) {
value.getClass();
if (dataCase_ == 32 &&
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_ = 32;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
private void clearTokenUnfreeze() {
if (dataCase_ == 32) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENGRANTKYC_FIELD_NUMBER = 33;
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
*/
@java.lang.Override
public boolean hasTokenGrantKyc() {
return dataCase_ == 33;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody getTokenGrantKyc() {
if (dataCase_ == 33) {
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 = 33;
*/
private void setTokenGrantKyc(com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 33;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
*/
private void mergeTokenGrantKyc(com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody value) {
value.getClass();
if (dataCase_ == 33 &&
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_ = 33;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
*/
private void clearTokenGrantKyc() {
if (dataCase_ == 33) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENREVOKEKYC_FIELD_NUMBER = 34;
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
*/
@java.lang.Override
public boolean hasTokenRevokeKyc() {
return dataCase_ == 34;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody getTokenRevokeKyc() {
if (dataCase_ == 34) {
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 = 34;
*/
private void setTokenRevokeKyc(com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 34;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
*/
private void mergeTokenRevokeKyc(com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody value) {
value.getClass();
if (dataCase_ == 34 &&
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_ = 34;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
*/
private void clearTokenRevokeKyc() {
if (dataCase_ == 34) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENDELETION_FIELD_NUMBER = 35;
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
@java.lang.Override
public boolean hasTokenDeletion() {
return dataCase_ == 35;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody getTokenDeletion() {
if (dataCase_ == 35) {
return (com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
private void setTokenDeletion(com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 35;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
private void mergeTokenDeletion(com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 35 &&
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_ = 35;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
private void clearTokenDeletion() {
if (dataCase_ == 35) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENUPDATE_FIELD_NUMBER = 36;
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
@java.lang.Override
public boolean hasTokenUpdate() {
return dataCase_ == 36;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody getTokenUpdate() {
if (dataCase_ == 36) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
private void setTokenUpdate(com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 36;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
private void mergeTokenUpdate(com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 36 &&
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_ = 36;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
private void clearTokenUpdate() {
if (dataCase_ == 36) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENMINT_FIELD_NUMBER = 37;
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
*/
@java.lang.Override
public boolean hasTokenMint() {
return dataCase_ == 37;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody getTokenMint() {
if (dataCase_ == 37) {
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 = 37;
*/
private void setTokenMint(com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 37;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
*/
private void mergeTokenMint(com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody value) {
value.getClass();
if (dataCase_ == 37 &&
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_ = 37;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
*/
private void clearTokenMint() {
if (dataCase_ == 37) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENBURN_FIELD_NUMBER = 38;
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
*/
@java.lang.Override
public boolean hasTokenBurn() {
return dataCase_ == 38;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody getTokenBurn() {
if (dataCase_ == 38) {
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 = 38;
*/
private void setTokenBurn(com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 38;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
*/
private void mergeTokenBurn(com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody value) {
value.getClass();
if (dataCase_ == 38 &&
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_ = 38;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
*/
private void clearTokenBurn() {
if (dataCase_ == 38) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENWIPE_FIELD_NUMBER = 39;
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
@java.lang.Override
public boolean hasTokenWipe() {
return dataCase_ == 39;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody getTokenWipe() {
if (dataCase_ == 39) {
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 = 39;
*/
private void setTokenWipe(com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 39;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
private void mergeTokenWipe(com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody value) {
value.getClass();
if (dataCase_ == 39 &&
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_ = 39;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
private void clearTokenWipe() {
if (dataCase_ == 39) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENASSOCIATE_FIELD_NUMBER = 40;
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
@java.lang.Override
public boolean hasTokenAssociate() {
return dataCase_ == 40;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody getTokenAssociate() {
if (dataCase_ == 40) {
return (com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance();
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
private void setTokenAssociate(com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 40;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
private void mergeTokenAssociate(com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody value) {
value.getClass();
if (dataCase_ == 40 &&
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_ = 40;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
private void clearTokenAssociate() {
if (dataCase_ == 40) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENDISSOCIATE_FIELD_NUMBER = 41;
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
@java.lang.Override
public boolean hasTokenDissociate() {
return dataCase_ == 41;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody getTokenDissociate() {
if (dataCase_ == 41) {
return (com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance();
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
private void setTokenDissociate(com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 41;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
private void mergeTokenDissociate(com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody value) {
value.getClass();
if (dataCase_ == 41 &&
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_ = 41;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
private void clearTokenDissociate() {
if (dataCase_ == 41) {
dataCase_ = 0;
data_ = null;
}
}
public static final int SCHEDULECREATE_FIELD_NUMBER = 42;
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
@java.lang.Override
public boolean hasScheduleCreate() {
return dataCase_ == 42;
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody getScheduleCreate() {
if (dataCase_ == 42) {
return (com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
private void setScheduleCreate(com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 42;
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
private void mergeScheduleCreate(com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody value) {
value.getClass();
if (dataCase_ == 42 &&
data_ != com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 42;
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
private void clearScheduleCreate() {
if (dataCase_ == 42) {
dataCase_ = 0;
data_ = null;
}
}
public static final int SCHEDULEDELETE_FIELD_NUMBER = 43;
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
@java.lang.Override
public boolean hasScheduleDelete() {
return dataCase_ == 43;
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody getScheduleDelete() {
if (dataCase_ == 43) {
return (com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
private void setScheduleDelete(com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 43;
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
private void mergeScheduleDelete(com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 43 &&
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_ = 43;
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
private void clearScheduleDelete() {
if (dataCase_ == 43) {
dataCase_ = 0;
data_ = null;
}
}
public static final int SCHEDULESIGN_FIELD_NUMBER = 44;
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
@java.lang.Override
public boolean hasScheduleSign() {
return dataCase_ == 44;
}
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody getScheduleSign() {
if (dataCase_ == 44) {
return (com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody.getDefaultInstance();
}
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
private void setScheduleSign(com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 44;
}
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
private void mergeScheduleSign(com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody value) {
value.getClass();
if (dataCase_ == 44 &&
data_ != com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 44;
}
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
private void clearScheduleSign() {
if (dataCase_ == 44) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKEN_FEE_SCHEDULE_UPDATE_FIELD_NUMBER = 45;
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
*/
@java.lang.Override
public boolean hasTokenFeeScheduleUpdate() {
return dataCase_ == 45;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody getTokenFeeScheduleUpdate() {
if (dataCase_ == 45) {
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 = 45;
*/
private void setTokenFeeScheduleUpdate(com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 45;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
*/
private void mergeTokenFeeScheduleUpdate(com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 45 &&
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_ = 45;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
*/
private void clearTokenFeeScheduleUpdate() {
if (dataCase_ == 45) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKEN_PAUSE_FIELD_NUMBER = 46;
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
@java.lang.Override
public boolean hasTokenPause() {
return dataCase_ == 46;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody getTokenPause() {
if (dataCase_ == 46) {
return (com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance();
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
private void setTokenPause(com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 46;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
private void mergeTokenPause(com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody value) {
value.getClass();
if (dataCase_ == 46 &&
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_ = 46;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
private void clearTokenPause() {
if (dataCase_ == 46) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKEN_UNPAUSE_FIELD_NUMBER = 47;
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
@java.lang.Override
public boolean hasTokenUnpause() {
return dataCase_ == 47;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody getTokenUnpause() {
if (dataCase_ == 47) {
return (com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance();
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
private void setTokenUnpause(com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 47;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
private void mergeTokenUnpause(com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody value) {
value.getClass();
if (dataCase_ == 47 &&
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_ = 47;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
private void clearTokenUnpause() {
if (dataCase_ == 47) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTOAPPROVEALLOWANCE_FIELD_NUMBER = 48;
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 48;
*/
@java.lang.Override
public boolean hasCryptoApproveAllowance() {
return dataCase_ == 48;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 48;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody getCryptoApproveAllowance() {
if (dataCase_ == 48) {
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 = 48;
*/
private void setCryptoApproveAllowance(com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 48;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 48;
*/
private void mergeCryptoApproveAllowance(com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody value) {
value.getClass();
if (dataCase_ == 48 &&
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_ = 48;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 48;
*/
private void clearCryptoApproveAllowance() {
if (dataCase_ == 48) {
dataCase_ = 0;
data_ = null;
}
}
public static final int CRYPTODELETEALLOWANCE_FIELD_NUMBER = 49;
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 49;
*/
@java.lang.Override
public boolean hasCryptoDeleteAllowance() {
return dataCase_ == 49;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 49;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody getCryptoDeleteAllowance() {
if (dataCase_ == 49) {
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 = 49;
*/
private void setCryptoDeleteAllowance(com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 49;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 49;
*/
private void mergeCryptoDeleteAllowance(com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody value) {
value.getClass();
if (dataCase_ == 49 &&
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_ = 49;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 49;
*/
private void clearCryptoDeleteAllowance() {
if (dataCase_ == 49) {
dataCase_ = 0;
data_ = null;
}
}
public static final int ETHEREUMTRANSACTION_FIELD_NUMBER = 50;
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
@java.lang.Override
public boolean hasEthereumTransaction() {
return dataCase_ == 50;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.EthereumTransactionBody getEthereumTransaction() {
if (dataCase_ == 50) {
return (com.hedera.hashgraph.sdk.proto.EthereumTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.getDefaultInstance();
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
private void setEthereumTransaction(com.hedera.hashgraph.sdk.proto.EthereumTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 50;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
private void mergeEthereumTransaction(com.hedera.hashgraph.sdk.proto.EthereumTransactionBody value) {
value.getClass();
if (dataCase_ == 50 &&
data_ != com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.EthereumTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 50;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
private void clearEthereumTransaction() {
if (dataCase_ == 50) {
dataCase_ = 0;
data_ = null;
}
}
public static final int NODE_STAKE_UPDATE_FIELD_NUMBER = 51;
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* .proto.NodeStakeUpdateTransactionBody node_stake_update = 51;
*/
@java.lang.Override
public boolean hasNodeStakeUpdate() {
return dataCase_ == 51;
}
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* .proto.NodeStakeUpdateTransactionBody node_stake_update = 51;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody getNodeStakeUpdate() {
if (dataCase_ == 51) {
return (com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* .proto.NodeStakeUpdateTransactionBody node_stake_update = 51;
*/
private void setNodeStakeUpdate(com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 51;
}
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* .proto.NodeStakeUpdateTransactionBody node_stake_update = 51;
*/
private void mergeNodeStakeUpdate(com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 51 &&
data_ != com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
dataCase_ = 51;
}
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* .proto.NodeStakeUpdateTransactionBody node_stake_update = 51;
*/
private void clearNodeStakeUpdate() {
if (dataCase_ == 51) {
dataCase_ = 0;
data_ = null;
}
}
public static final int UTIL_PRNG_FIELD_NUMBER = 52;
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
@java.lang.Override
public boolean hasUtilPrng() {
return dataCase_ == 52;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody getUtilPrng() {
if (dataCase_ == 52) {
return (com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.getDefaultInstance();
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
private void setUtilPrng(com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 52;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
private void mergeUtilPrng(com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody value) {
value.getClass();
if (dataCase_ == 52 &&
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_ = 52;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
private void clearUtilPrng() {
if (dataCase_ == 52) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKEN_UPDATE_NFTS_FIELD_NUMBER = 53;
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 53;
*/
@java.lang.Override
public boolean hasTokenUpdateNfts() {
return dataCase_ == 53;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 53;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody getTokenUpdateNfts() {
if (dataCase_ == 53) {
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 = 53;
*/
private void setTokenUpdateNfts(com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 53;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 53;
*/
private void mergeTokenUpdateNfts(com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody value) {
value.getClass();
if (dataCase_ == 53 &&
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_ = 53;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 53;
*/
private void clearTokenUpdateNfts() {
if (dataCase_ == 53) {
dataCase_ = 0;
data_ = null;
}
}
public static final int NODECREATE_FIELD_NUMBER = 54;
/**
*
**
* A transaction body for a `createNode` request.
* <p>
* This transaction SHALL create a new consensus node record and add
* that record to the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 54;
*/
@java.lang.Override
public boolean hasNodeCreate() {
return dataCase_ == 54;
}
/**
*
**
* A transaction body for a `createNode` request.
* <p>
* This transaction SHALL create a new consensus node record and add
* that record to the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 54;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody getNodeCreate() {
if (dataCase_ == 54) {
return (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* A transaction body for a `createNode` request.
* <p>
* This transaction SHALL create a new consensus node record and add
* that record to the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 54;
*/
private void setNodeCreate(com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 54;
}
/**
*
**
* A transaction body for a `createNode` request.
* <p>
* This transaction SHALL create a new consensus node record and add
* that record to the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 54;
*/
private void mergeNodeCreate(com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody value) {
value.getClass();
if (dataCase_ == 54 &&
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_ = 54;
}
/**
*
**
* A transaction body for a `createNode` request.
* <p>
* This transaction SHALL create a new consensus node record and add
* that record to the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 54;
*/
private void clearNodeCreate() {
if (dataCase_ == 54) {
dataCase_ = 0;
data_ = null;
}
}
public static final int NODEUPDATE_FIELD_NUMBER = 55;
/**
*
**
* A transaction body for an `updateNode` request.
* <p>
* This transaction SHALL update an existing consensus node record in
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 55;
*/
@java.lang.Override
public boolean hasNodeUpdate() {
return dataCase_ == 55;
}
/**
*
**
* A transaction body for an `updateNode` request.
* <p>
* This transaction SHALL update an existing consensus node record in
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 55;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody getNodeUpdate() {
if (dataCase_ == 55) {
return (com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* A transaction body for an `updateNode` request.
* <p>
* This transaction SHALL update an existing consensus node record in
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 55;
*/
private void setNodeUpdate(com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 55;
}
/**
*
**
* A transaction body for an `updateNode` request.
* <p>
* This transaction SHALL update an existing consensus node record in
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 55;
*/
private void mergeNodeUpdate(com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody value) {
value.getClass();
if (dataCase_ == 55 &&
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_ = 55;
}
/**
*
**
* A transaction body for an `updateNode` request.
* <p>
* This transaction SHALL update an existing consensus node record in
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 55;
*/
private void clearNodeUpdate() {
if (dataCase_ == 55) {
dataCase_ = 0;
data_ = null;
}
}
public static final int NODEDELETE_FIELD_NUMBER = 56;
/**
*
**
* A transaction body for a `deleteNode` request.
* <p>
* This transaction SHALL remove an existing consensus node record from
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 56;
*/
@java.lang.Override
public boolean hasNodeDelete() {
return dataCase_ == 56;
}
/**
*
**
* A transaction body for a `deleteNode` request.
* <p>
* This transaction SHALL remove an existing consensus node record from
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 56;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody getNodeDelete() {
if (dataCase_ == 56) {
return (com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* A transaction body for a `deleteNode` request.
* <p>
* This transaction SHALL remove an existing consensus node record from
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 56;
*/
private void setNodeDelete(com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 56;
}
/**
*
**
* A transaction body for a `deleteNode` request.
* <p>
* This transaction SHALL remove an existing consensus node record from
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 56;
*/
private void mergeNodeDelete(com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody value) {
value.getClass();
if (dataCase_ == 56 &&
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_ = 56;
}
/**
*
**
* A transaction body for a `deleteNode` request.
* <p>
* This transaction SHALL remove an existing consensus node record from
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 56;
*/
private void clearNodeDelete() {
if (dataCase_ == 56) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENREJECT_FIELD_NUMBER = 57;
/**
*
**
* 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 = 57;
*/
@java.lang.Override
public boolean hasTokenReject() {
return dataCase_ == 57;
}
/**
*
**
* 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 = 57;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody getTokenReject() {
if (dataCase_ == 57) {
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 = 57;
*/
private void setTokenReject(com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 57;
}
/**
*
**
* 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 = 57;
*/
private void mergeTokenReject(com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody value) {
value.getClass();
if (dataCase_ == 57 &&
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_ = 57;
}
/**
*
**
* 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 = 57;
*/
private void clearTokenReject() {
if (dataCase_ == 57) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENAIRDROP_FIELD_NUMBER = 58;
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
@java.lang.Override
public boolean hasTokenAirdrop() {
return dataCase_ == 58;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody getTokenAirdrop() {
if (dataCase_ == 58) {
return (com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.getDefaultInstance();
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
private void setTokenAirdrop(com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 58;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
private void mergeTokenAirdrop(com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody value) {
value.getClass();
if (dataCase_ == 58 &&
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_ = 58;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
private void clearTokenAirdrop() {
if (dataCase_ == 58) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENCANCELAIRDROP_FIELD_NUMBER = 59;
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
@java.lang.Override
public boolean hasTokenCancelAirdrop() {
return dataCase_ == 59;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody getTokenCancelAirdrop() {
if (dataCase_ == 59) {
return (com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
private void setTokenCancelAirdrop(com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 59;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
private void mergeTokenCancelAirdrop(com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody value) {
value.getClass();
if (dataCase_ == 59 &&
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_ = 59;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
private void clearTokenCancelAirdrop() {
if (dataCase_ == 59) {
dataCase_ = 0;
data_ = null;
}
}
public static final int TOKENCLAIMAIRDROP_FIELD_NUMBER = 60;
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
@java.lang.Override
public boolean hasTokenClaimAirdrop() {
return dataCase_ == 60;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody getTokenClaimAirdrop() {
if (dataCase_ == 60) {
return (com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
private void setTokenClaimAirdrop(com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody value) {
value.getClass();
data_ = value;
dataCase_ = 60;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
private void mergeTokenClaimAirdrop(com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody value) {
value.getClass();
if (dataCase_ == 60 &&
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_ = 60;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
private void clearTokenClaimAirdrop() {
if (dataCase_ == 60) {
dataCase_ = 0;
data_ = null;
}
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody 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.TransactionBody 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.TransactionBody 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.TransactionBody 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.TransactionBody parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody 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.TransactionBody 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.TransactionBody 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.TransactionBody parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody 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.TransactionBody 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.TransactionBody 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.TransactionBody prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
**
* A single transaction. All transaction types are possible here.
*
*
* Protobuf type {@code proto.TransactionBody}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.hedera.hashgraph.sdk.proto.TransactionBody, Builder> implements
// @@protoc_insertion_point(builder_implements:proto.TransactionBody)
com.hedera.hashgraph.sdk.proto.TransactionBodyOrBuilder {
// Construct using com.hedera.hashgraph.sdk.proto.TransactionBody.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public DataCase
getDataCase() {
return instance.getDataCase();
}
public Builder clearData() {
copyOnWrite();
instance.clearData();
return this;
}
/**
*
**
* The ID for this transaction, which includes the payer's account (the account paying the
* transaction fee). If two transactions have the same transactionID, they won't both have an
* effect
*
*
* .proto.TransactionID transactionID = 1;
*/
@java.lang.Override
public boolean hasTransactionID() {
return instance.hasTransactionID();
}
/**
*
**
* The ID for this transaction, which includes the payer's account (the account paying the
* transaction fee). If two transactions have the same transactionID, they won't both have an
* effect
*
*
* .proto.TransactionID transactionID = 1;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionID getTransactionID() {
return instance.getTransactionID();
}
/**
*
**
* The ID for this transaction, which includes the payer's account (the account paying the
* transaction fee). If two transactions have the same transactionID, they won't both have an
* effect
*
*
* .proto.TransactionID transactionID = 1;
*/
public Builder setTransactionID(com.hedera.hashgraph.sdk.proto.TransactionID value) {
copyOnWrite();
instance.setTransactionID(value);
return this;
}
/**
*
**
* The ID for this transaction, which includes the payer's account (the account paying the
* transaction fee). If two transactions have the same transactionID, they won't both have an
* effect
*
*
* .proto.TransactionID transactionID = 1;
*/
public Builder setTransactionID(
com.hedera.hashgraph.sdk.proto.TransactionID.Builder builderForValue) {
copyOnWrite();
instance.setTransactionID(builderForValue.build());
return this;
}
/**
*
**
* The ID for this transaction, which includes the payer's account (the account paying the
* transaction fee). If two transactions have the same transactionID, they won't both have an
* effect
*
*
* .proto.TransactionID transactionID = 1;
*/
public Builder mergeTransactionID(com.hedera.hashgraph.sdk.proto.TransactionID value) {
copyOnWrite();
instance.mergeTransactionID(value);
return this;
}
/**
*
**
* The ID for this transaction, which includes the payer's account (the account paying the
* transaction fee). If two transactions have the same transactionID, they won't both have an
* effect
*
*
* .proto.TransactionID transactionID = 1;
*/
public Builder clearTransactionID() { copyOnWrite();
instance.clearTransactionID();
return this;
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
@java.lang.Override
public boolean hasNodeAccountID() {
return instance.hasNodeAccountID();
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.AccountID getNodeAccountID() {
return instance.getNodeAccountID();
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
public Builder setNodeAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) {
copyOnWrite();
instance.setNodeAccountID(value);
return this;
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
public Builder setNodeAccountID(
com.hedera.hashgraph.sdk.proto.AccountID.Builder builderForValue) {
copyOnWrite();
instance.setNodeAccountID(builderForValue.build());
return this;
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
public Builder mergeNodeAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) {
copyOnWrite();
instance.mergeNodeAccountID(value);
return this;
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
public Builder clearNodeAccountID() { copyOnWrite();
instance.clearNodeAccountID();
return this;
}
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 3;
* @return The transactionFee.
*/
@java.lang.Override
public long getTransactionFee() {
return instance.getTransactionFee();
}
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 3;
* @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 = 3;
* @return This builder for chaining.
*/
public Builder clearTransactionFee() {
copyOnWrite();
instance.clearTransactionFee();
return this;
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
@java.lang.Override
public boolean hasTransactionValidDuration() {
return instance.hasTransactionValidDuration();
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.Duration getTransactionValidDuration() {
return instance.getTransactionValidDuration();
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
public Builder setTransactionValidDuration(com.hedera.hashgraph.sdk.proto.Duration value) {
copyOnWrite();
instance.setTransactionValidDuration(value);
return this;
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
public Builder setTransactionValidDuration(
com.hedera.hashgraph.sdk.proto.Duration.Builder builderForValue) {
copyOnWrite();
instance.setTransactionValidDuration(builderForValue.build());
return this;
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
public Builder mergeTransactionValidDuration(com.hedera.hashgraph.sdk.proto.Duration value) {
copyOnWrite();
instance.mergeTransactionValidDuration(value);
return this;
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
public Builder clearTransactionValidDuration() { copyOnWrite();
instance.clearTransactionValidDuration();
return this;
}
/**
*
**
* Should a record of this transaction be generated? (A receipt is always generated, but the
* record is optional)
*
*
* bool generateRecord = 5 [deprecated = true];
* @deprecated proto.TransactionBody.generateRecord is deprecated.
* See transaction_body.proto;l=122
* @return The generateRecord.
*/
@java.lang.Override
@java.lang.Deprecated public boolean getGenerateRecord() {
return instance.getGenerateRecord();
}
/**
*
**
* Should a record of this transaction be generated? (A receipt is always generated, but the
* record is optional)
*
*
* bool generateRecord = 5 [deprecated = true];
* @deprecated proto.TransactionBody.generateRecord is deprecated.
* See transaction_body.proto;l=122
* @param value The generateRecord to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setGenerateRecord(boolean value) {
copyOnWrite();
instance.setGenerateRecord(value);
return this;
}
/**
*
**
* Should a record of this transaction be generated? (A receipt is always generated, but the
* record is optional)
*
*
* bool generateRecord = 5 [deprecated = true];
* @deprecated proto.TransactionBody.generateRecord is deprecated.
* See transaction_body.proto;l=122
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearGenerateRecord() {
copyOnWrite();
instance.clearGenerateRecord();
return this;
}
/**
*
**
* Any notes or descriptions that should be put into the record (max length 100)
*
*
* string memo = 6;
* @return The memo.
*/
@java.lang.Override
public java.lang.String getMemo() {
return instance.getMemo();
}
/**
*
**
* Any notes or descriptions that should be put into the record (max length 100)
*
*
* string memo = 6;
* @return The bytes for memo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMemoBytes() {
return instance.getMemoBytes();
}
/**
*
**
* Any notes or descriptions that should be put into the record (max length 100)
*
*
* string memo = 6;
* @param value The memo to set.
* @return This builder for chaining.
*/
public Builder setMemo(
java.lang.String value) {
copyOnWrite();
instance.setMemo(value);
return this;
}
/**
*
**
* Any notes or descriptions that should be put into the record (max length 100)
*
*
* string memo = 6;
* @return This builder for chaining.
*/
public Builder clearMemo() {
copyOnWrite();
instance.clearMemo();
return this;
}
/**
*
**
* Any notes or descriptions that should be put into the record (max length 100)
*
*
* string memo = 6;
* @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 = 7;
*/
@java.lang.Override
public boolean hasContractCall() {
return instance.hasContractCall();
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody getContractCall() {
return instance.getContractCall();
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
*/
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 = 7;
*/
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 = 7;
*/
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 = 7;
*/
public Builder clearContractCall() {
copyOnWrite();
instance.clearContractCall();
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
@java.lang.Override
public boolean hasContractCreateInstance() {
return instance.hasContractCreateInstance();
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody getContractCreateInstance() {
return instance.getContractCreateInstance();
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
public Builder setContractCreateInstance(com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody value) {
copyOnWrite();
instance.setContractCreateInstance(value);
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
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 = 8;
*/
public Builder mergeContractCreateInstance(com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody value) {
copyOnWrite();
instance.mergeContractCreateInstance(value);
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
public Builder clearContractCreateInstance() {
copyOnWrite();
instance.clearContractCreateInstance();
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
@java.lang.Override
public boolean hasContractUpdateInstance() {
return instance.hasContractUpdateInstance();
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody getContractUpdateInstance() {
return instance.getContractUpdateInstance();
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
public Builder setContractUpdateInstance(com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody value) {
copyOnWrite();
instance.setContractUpdateInstance(value);
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
public Builder setContractUpdateInstance(
com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setContractUpdateInstance(builderForValue.build());
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
public Builder mergeContractUpdateInstance(com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody value) {
copyOnWrite();
instance.mergeContractUpdateInstance(value);
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
public Builder clearContractUpdateInstance() {
copyOnWrite();
instance.clearContractUpdateInstance();
return this;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
@java.lang.Override
public boolean hasCryptoAddLiveHash() {
return instance.hasCryptoAddLiveHash();
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody getCryptoAddLiveHash() {
return instance.getCryptoAddLiveHash();
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
public Builder setCryptoAddLiveHash(com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody value) {
copyOnWrite();
instance.setCryptoAddLiveHash(value);
return this;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
public Builder setCryptoAddLiveHash(
com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setCryptoAddLiveHash(builderForValue.build());
return this;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
public Builder mergeCryptoAddLiveHash(com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody value) {
copyOnWrite();
instance.mergeCryptoAddLiveHash(value);
return this;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
public Builder clearCryptoAddLiveHash() {
copyOnWrite();
instance.clearCryptoAddLiveHash();
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
@java.lang.Override
public boolean hasCryptoCreateAccount() {
return instance.hasCryptoCreateAccount();
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody getCryptoCreateAccount() {
return instance.getCryptoCreateAccount();
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
public Builder setCryptoCreateAccount(com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody value) {
copyOnWrite();
instance.setCryptoCreateAccount(value);
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
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 = 11;
*/
public Builder mergeCryptoCreateAccount(com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody value) {
copyOnWrite();
instance.mergeCryptoCreateAccount(value);
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
public Builder clearCryptoCreateAccount() {
copyOnWrite();
instance.clearCryptoCreateAccount();
return this;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
*/
@java.lang.Override
public boolean hasCryptoDelete() {
return instance.hasCryptoDelete();
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
*/
@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 = 12;
*/
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 = 12;
*/
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 = 12;
*/
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 = 12;
*/
public Builder clearCryptoDelete() {
copyOnWrite();
instance.clearCryptoDelete();
return this;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
@java.lang.Override
public boolean hasCryptoDeleteLiveHash() {
return instance.hasCryptoDeleteLiveHash();
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody getCryptoDeleteLiveHash() {
return instance.getCryptoDeleteLiveHash();
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
public Builder setCryptoDeleteLiveHash(com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody value) {
copyOnWrite();
instance.setCryptoDeleteLiveHash(value);
return this;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
public Builder setCryptoDeleteLiveHash(
com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setCryptoDeleteLiveHash(builderForValue.build());
return this;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
public Builder mergeCryptoDeleteLiveHash(com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody value) {
copyOnWrite();
instance.mergeCryptoDeleteLiveHash(value);
return this;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
public Builder clearCryptoDeleteLiveHash() {
copyOnWrite();
instance.clearCryptoDeleteLiveHash();
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
@java.lang.Override
public boolean hasCryptoTransfer() {
return instance.hasCryptoTransfer();
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody getCryptoTransfer() {
return instance.getCryptoTransfer();
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
public Builder setCryptoTransfer(com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody value) {
copyOnWrite();
instance.setCryptoTransfer(value);
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
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 = 14;
*/
public Builder mergeCryptoTransfer(com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody value) {
copyOnWrite();
instance.mergeCryptoTransfer(value);
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
public Builder clearCryptoTransfer() {
copyOnWrite();
instance.clearCryptoTransfer();
return this;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
*/
@java.lang.Override
public boolean hasCryptoUpdateAccount() {
return instance.hasCryptoUpdateAccount();
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
*/
@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 = 15;
*/
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 = 15;
*/
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 = 15;
*/
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 = 15;
*/
public Builder clearCryptoUpdateAccount() {
copyOnWrite();
instance.clearCryptoUpdateAccount();
return this;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
*/
@java.lang.Override
public boolean hasFileAppend() {
return instance.hasFileAppend();
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
*/
@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 = 16;
*/
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 = 16;
*/
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 = 16;
*/
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 = 16;
*/
public Builder clearFileAppend() {
copyOnWrite();
instance.clearFileAppend();
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
@java.lang.Override
public boolean hasFileCreate() {
return instance.hasFileCreate();
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody getFileCreate() {
return instance.getFileCreate();
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
public Builder setFileCreate(com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody value) {
copyOnWrite();
instance.setFileCreate(value);
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
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 = 17;
*/
public Builder mergeFileCreate(com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody value) {
copyOnWrite();
instance.mergeFileCreate(value);
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
public Builder clearFileCreate() {
copyOnWrite();
instance.clearFileCreate();
return this;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 18;
*/
@java.lang.Override
public boolean hasFileDelete() {
return instance.hasFileDelete();
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 18;
*/
@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 = 18;
*/
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 = 18;
*/
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 = 18;
*/
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 = 18;
*/
public Builder clearFileDelete() {
copyOnWrite();
instance.clearFileDelete();
return this;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
*/
@java.lang.Override
public boolean hasFileUpdate() {
return instance.hasFileUpdate();
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
*/
@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 = 19;
*/
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 = 19;
*/
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 = 19;
*/
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 = 19;
*/
public Builder clearFileUpdate() {
copyOnWrite();
instance.clearFileUpdate();
return this;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
*/
@java.lang.Override
public boolean hasSystemDelete() {
return instance.hasSystemDelete();
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
*/
@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 = 20;
*/
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 = 20;
*/
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 = 20;
*/
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 = 20;
*/
public Builder clearSystemDelete() {
copyOnWrite();
instance.clearSystemDelete();
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
@java.lang.Override
public boolean hasSystemUndelete() {
return instance.hasSystemUndelete();
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody getSystemUndelete() {
return instance.getSystemUndelete();
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
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 = 21;
*/
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 = 21;
*/
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 = 21;
*/
public Builder clearSystemUndelete() {
copyOnWrite();
instance.clearSystemUndelete();
return this;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
*/
@java.lang.Override
public boolean hasContractDeleteInstance() {
return instance.hasContractDeleteInstance();
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
*/
@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 = 22;
*/
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 = 22;
*/
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 = 22;
*/
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 = 22;
*/
public Builder clearContractDeleteInstance() {
copyOnWrite();
instance.clearContractDeleteInstance();
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
@java.lang.Override
public boolean hasFreeze() {
return instance.hasFreeze();
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBody getFreeze() {
return instance.getFreeze();
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
public Builder setFreeze(com.hedera.hashgraph.sdk.proto.FreezeTransactionBody value) {
copyOnWrite();
instance.setFreeze(value);
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
public Builder setFreeze(
com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setFreeze(builderForValue.build());
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
public Builder mergeFreeze(com.hedera.hashgraph.sdk.proto.FreezeTransactionBody value) {
copyOnWrite();
instance.mergeFreeze(value);
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
public Builder clearFreeze() {
copyOnWrite();
instance.clearFreeze();
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
@java.lang.Override
public boolean hasConsensusCreateTopic() {
return instance.hasConsensusCreateTopic();
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody getConsensusCreateTopic() {
return instance.getConsensusCreateTopic();
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
public Builder setConsensusCreateTopic(com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody value) {
copyOnWrite();
instance.setConsensusCreateTopic(value);
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
public Builder setConsensusCreateTopic(
com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setConsensusCreateTopic(builderForValue.build());
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
public Builder mergeConsensusCreateTopic(com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody value) {
copyOnWrite();
instance.mergeConsensusCreateTopic(value);
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
public Builder clearConsensusCreateTopic() {
copyOnWrite();
instance.clearConsensusCreateTopic();
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
@java.lang.Override
public boolean hasConsensusUpdateTopic() {
return instance.hasConsensusUpdateTopic();
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody getConsensusUpdateTopic() {
return instance.getConsensusUpdateTopic();
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
public Builder setConsensusUpdateTopic(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody value) {
copyOnWrite();
instance.setConsensusUpdateTopic(value);
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
public Builder setConsensusUpdateTopic(
com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setConsensusUpdateTopic(builderForValue.build());
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
public Builder mergeConsensusUpdateTopic(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody value) {
copyOnWrite();
instance.mergeConsensusUpdateTopic(value);
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
public Builder clearConsensusUpdateTopic() {
copyOnWrite();
instance.clearConsensusUpdateTopic();
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
@java.lang.Override
public boolean hasConsensusDeleteTopic() {
return instance.hasConsensusDeleteTopic();
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody getConsensusDeleteTopic() {
return instance.getConsensusDeleteTopic();
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
public Builder setConsensusDeleteTopic(com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody value) {
copyOnWrite();
instance.setConsensusDeleteTopic(value);
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
public Builder setConsensusDeleteTopic(
com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setConsensusDeleteTopic(builderForValue.build());
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
public Builder mergeConsensusDeleteTopic(com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody value) {
copyOnWrite();
instance.mergeConsensusDeleteTopic(value);
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
public Builder clearConsensusDeleteTopic() {
copyOnWrite();
instance.clearConsensusDeleteTopic();
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
@java.lang.Override
public boolean hasConsensusSubmitMessage() {
return instance.hasConsensusSubmitMessage();
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody getConsensusSubmitMessage() {
return instance.getConsensusSubmitMessage();
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
public Builder setConsensusSubmitMessage(com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody value) {
copyOnWrite();
instance.setConsensusSubmitMessage(value);
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
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 = 27;
*/
public Builder mergeConsensusSubmitMessage(com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody value) {
copyOnWrite();
instance.mergeConsensusSubmitMessage(value);
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
public Builder clearConsensusSubmitMessage() {
copyOnWrite();
instance.clearConsensusSubmitMessage();
return this;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
@java.lang.Override
public boolean hasUncheckedSubmit() {
return instance.hasUncheckedSubmit();
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody getUncheckedSubmit() {
return instance.getUncheckedSubmit();
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
public Builder setUncheckedSubmit(com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody value) {
copyOnWrite();
instance.setUncheckedSubmit(value);
return this;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
public Builder setUncheckedSubmit(
com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.Builder builderForValue) {
copyOnWrite();
instance.setUncheckedSubmit(builderForValue.build());
return this;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
public Builder mergeUncheckedSubmit(com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody value) {
copyOnWrite();
instance.mergeUncheckedSubmit(value);
return this;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
public Builder clearUncheckedSubmit() {
copyOnWrite();
instance.clearUncheckedSubmit();
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
@java.lang.Override
public boolean hasTokenCreation() {
return instance.hasTokenCreation();
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody getTokenCreation() {
return instance.getTokenCreation();
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
public Builder setTokenCreation(com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody value) {
copyOnWrite();
instance.setTokenCreation(value);
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
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 = 29;
*/
public Builder mergeTokenCreation(com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody value) {
copyOnWrite();
instance.mergeTokenCreation(value);
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
public Builder clearTokenCreation() {
copyOnWrite();
instance.clearTokenCreation();
return this;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
*/
@java.lang.Override
public boolean hasTokenFreeze() {
return instance.hasTokenFreeze();
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
*/
@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 = 31;
*/
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 = 31;
*/
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 = 31;
*/
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 = 31;
*/
public Builder clearTokenFreeze() {
copyOnWrite();
instance.clearTokenFreeze();
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
@java.lang.Override
public boolean hasTokenUnfreeze() {
return instance.hasTokenUnfreeze();
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody getTokenUnfreeze() {
return instance.getTokenUnfreeze();
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
public Builder setTokenUnfreeze(com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody value) {
copyOnWrite();
instance.setTokenUnfreeze(value);
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
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 = 32;
*/
public Builder mergeTokenUnfreeze(com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody value) {
copyOnWrite();
instance.mergeTokenUnfreeze(value);
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
public Builder clearTokenUnfreeze() {
copyOnWrite();
instance.clearTokenUnfreeze();
return this;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
*/
@java.lang.Override
public boolean hasTokenGrantKyc() {
return instance.hasTokenGrantKyc();
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
*/
@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 = 33;
*/
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 = 33;
*/
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 = 33;
*/
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 = 33;
*/
public Builder clearTokenGrantKyc() {
copyOnWrite();
instance.clearTokenGrantKyc();
return this;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
*/
@java.lang.Override
public boolean hasTokenRevokeKyc() {
return instance.hasTokenRevokeKyc();
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
*/
@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 = 34;
*/
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 = 34;
*/
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 = 34;
*/
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 = 34;
*/
public Builder clearTokenRevokeKyc() {
copyOnWrite();
instance.clearTokenRevokeKyc();
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
@java.lang.Override
public boolean hasTokenDeletion() {
return instance.hasTokenDeletion();
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody getTokenDeletion() {
return instance.getTokenDeletion();
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
public Builder setTokenDeletion(com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody value) {
copyOnWrite();
instance.setTokenDeletion(value);
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
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 = 35;
*/
public Builder mergeTokenDeletion(com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody value) {
copyOnWrite();
instance.mergeTokenDeletion(value);
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
public Builder clearTokenDeletion() {
copyOnWrite();
instance.clearTokenDeletion();
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
@java.lang.Override
public boolean hasTokenUpdate() {
return instance.hasTokenUpdate();
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody getTokenUpdate() {
return instance.getTokenUpdate();
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
public Builder setTokenUpdate(com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody value) {
copyOnWrite();
instance.setTokenUpdate(value);
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
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 = 36;
*/
public Builder mergeTokenUpdate(com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody value) {
copyOnWrite();
instance.mergeTokenUpdate(value);
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
public Builder clearTokenUpdate() {
copyOnWrite();
instance.clearTokenUpdate();
return this;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
*/
@java.lang.Override
public boolean hasTokenMint() {
return instance.hasTokenMint();
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
*/
@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 = 37;
*/
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 = 37;
*/
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 = 37;
*/
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 = 37;
*/
public Builder clearTokenMint() {
copyOnWrite();
instance.clearTokenMint();
return this;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
*/
@java.lang.Override
public boolean hasTokenBurn() {
return instance.hasTokenBurn();
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
*/
@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 = 38;
*/
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 = 38;
*/
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 = 38;
*/
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 = 38;
*/
public Builder clearTokenBurn() {
copyOnWrite();
instance.clearTokenBurn();
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
@java.lang.Override
public boolean hasTokenWipe() {
return instance.hasTokenWipe();
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody getTokenWipe() {
return instance.getTokenWipe();
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
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 = 39;
*/
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 = 39;
*/
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 = 39;
*/
public Builder clearTokenWipe() {
copyOnWrite();
instance.clearTokenWipe();
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
@java.lang.Override
public boolean hasTokenAssociate() {
return instance.hasTokenAssociate();
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody getTokenAssociate() {
return instance.getTokenAssociate();
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
public Builder setTokenAssociate(com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody value) {
copyOnWrite();
instance.setTokenAssociate(value);
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
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 = 40;
*/
public Builder mergeTokenAssociate(com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody value) {
copyOnWrite();
instance.mergeTokenAssociate(value);
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
public Builder clearTokenAssociate() {
copyOnWrite();
instance.clearTokenAssociate();
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
@java.lang.Override
public boolean hasTokenDissociate() {
return instance.hasTokenDissociate();
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody getTokenDissociate() {
return instance.getTokenDissociate();
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
public Builder setTokenDissociate(com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody value) {
copyOnWrite();
instance.setTokenDissociate(value);
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
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 = 41;
*/
public Builder mergeTokenDissociate(com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody value) {
copyOnWrite();
instance.mergeTokenDissociate(value);
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
public Builder clearTokenDissociate() {
copyOnWrite();
instance.clearTokenDissociate();
return this;
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
@java.lang.Override
public boolean hasScheduleCreate() {
return instance.hasScheduleCreate();
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody getScheduleCreate() {
return instance.getScheduleCreate();
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
public Builder setScheduleCreate(com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody value) {
copyOnWrite();
instance.setScheduleCreate(value);
return this;
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
public Builder setScheduleCreate(
com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setScheduleCreate(builderForValue.build());
return this;
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
public Builder mergeScheduleCreate(com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody value) {
copyOnWrite();
instance.mergeScheduleCreate(value);
return this;
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
public Builder clearScheduleCreate() {
copyOnWrite();
instance.clearScheduleCreate();
return this;
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
@java.lang.Override
public boolean hasScheduleDelete() {
return instance.hasScheduleDelete();
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody getScheduleDelete() {
return instance.getScheduleDelete();
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
public Builder setScheduleDelete(com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody value) {
copyOnWrite();
instance.setScheduleDelete(value);
return this;
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
public Builder setScheduleDelete(
com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setScheduleDelete(builderForValue.build());
return this;
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
public Builder mergeScheduleDelete(com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody value) {
copyOnWrite();
instance.mergeScheduleDelete(value);
return this;
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
public Builder clearScheduleDelete() {
copyOnWrite();
instance.clearScheduleDelete();
return this;
}
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
@java.lang.Override
public boolean hasScheduleSign() {
return instance.hasScheduleSign();
}
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody getScheduleSign() {
return instance.getScheduleSign();
}
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
public Builder setScheduleSign(com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody value) {
copyOnWrite();
instance.setScheduleSign(value);
return this;
}
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
public Builder setScheduleSign(
com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setScheduleSign(builderForValue.build());
return this;
}
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
public Builder mergeScheduleSign(com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody value) {
copyOnWrite();
instance.mergeScheduleSign(value);
return this;
}
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
public Builder clearScheduleSign() {
copyOnWrite();
instance.clearScheduleSign();
return this;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
*/
@java.lang.Override
public boolean hasTokenFeeScheduleUpdate() {
return instance.hasTokenFeeScheduleUpdate();
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
*/
@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 = 45;
*/
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 = 45;
*/
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 = 45;
*/
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 = 45;
*/
public Builder clearTokenFeeScheduleUpdate() {
copyOnWrite();
instance.clearTokenFeeScheduleUpdate();
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
@java.lang.Override
public boolean hasTokenPause() {
return instance.hasTokenPause();
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody getTokenPause() {
return instance.getTokenPause();
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
public Builder setTokenPause(com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody value) {
copyOnWrite();
instance.setTokenPause(value);
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
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 = 46;
*/
public Builder mergeTokenPause(com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody value) {
copyOnWrite();
instance.mergeTokenPause(value);
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
public Builder clearTokenPause() {
copyOnWrite();
instance.clearTokenPause();
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
@java.lang.Override
public boolean hasTokenUnpause() {
return instance.hasTokenUnpause();
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody getTokenUnpause() {
return instance.getTokenUnpause();
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
public Builder setTokenUnpause(com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody value) {
copyOnWrite();
instance.setTokenUnpause(value);
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
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 = 47;
*/
public Builder mergeTokenUnpause(com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody value) {
copyOnWrite();
instance.mergeTokenUnpause(value);
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
public Builder clearTokenUnpause() {
copyOnWrite();
instance.clearTokenUnpause();
return this;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 48;
*/
@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 = 48;
*/
@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 = 48;
*/
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 = 48;
*/
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 = 48;
*/
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 = 48;
*/
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 = 49;
*/
@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 = 49;
*/
@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 = 49;
*/
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 = 49;
*/
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 = 49;
*/
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 = 49;
*/
public Builder clearCryptoDeleteAllowance() {
copyOnWrite();
instance.clearCryptoDeleteAllowance();
return this;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
@java.lang.Override
public boolean hasEthereumTransaction() {
return instance.hasEthereumTransaction();
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.EthereumTransactionBody getEthereumTransaction() {
return instance.getEthereumTransaction();
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
public Builder setEthereumTransaction(com.hedera.hashgraph.sdk.proto.EthereumTransactionBody value) {
copyOnWrite();
instance.setEthereumTransaction(value);
return this;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
public Builder setEthereumTransaction(
com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setEthereumTransaction(builderForValue.build());
return this;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
public Builder mergeEthereumTransaction(com.hedera.hashgraph.sdk.proto.EthereumTransactionBody value) {
copyOnWrite();
instance.mergeEthereumTransaction(value);
return this;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
public Builder clearEthereumTransaction() {
copyOnWrite();
instance.clearEthereumTransaction();
return this;
}
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* .proto.NodeStakeUpdateTransactionBody node_stake_update = 51;
*/
@java.lang.Override
public boolean hasNodeStakeUpdate() {
return instance.hasNodeStakeUpdate();
}
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* .proto.NodeStakeUpdateTransactionBody node_stake_update = 51;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody getNodeStakeUpdate() {
return instance.getNodeStakeUpdate();
}
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* .proto.NodeStakeUpdateTransactionBody node_stake_update = 51;
*/
public Builder setNodeStakeUpdate(com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody value) {
copyOnWrite();
instance.setNodeStakeUpdate(value);
return this;
}
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* .proto.NodeStakeUpdateTransactionBody node_stake_update = 51;
*/
public Builder setNodeStakeUpdate(
com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setNodeStakeUpdate(builderForValue.build());
return this;
}
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* .proto.NodeStakeUpdateTransactionBody node_stake_update = 51;
*/
public Builder mergeNodeStakeUpdate(com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody value) {
copyOnWrite();
instance.mergeNodeStakeUpdate(value);
return this;
}
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* .proto.NodeStakeUpdateTransactionBody node_stake_update = 51;
*/
public Builder clearNodeStakeUpdate() {
copyOnWrite();
instance.clearNodeStakeUpdate();
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
@java.lang.Override
public boolean hasUtilPrng() {
return instance.hasUtilPrng();
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody getUtilPrng() {
return instance.getUtilPrng();
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
public Builder setUtilPrng(com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody value) {
copyOnWrite();
instance.setUtilPrng(value);
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
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 = 52;
*/
public Builder mergeUtilPrng(com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody value) {
copyOnWrite();
instance.mergeUtilPrng(value);
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
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 = 53;
*/
@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 = 53;
*/
@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 = 53;
*/
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 = 53;
*/
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 = 53;
*/
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 = 53;
*/
public Builder clearTokenUpdateNfts() {
copyOnWrite();
instance.clearTokenUpdateNfts();
return this;
}
/**
*
**
* A transaction body for a `createNode` request.
* <p>
* This transaction SHALL create a new consensus node record and add
* that record to the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 54;
*/
@java.lang.Override
public boolean hasNodeCreate() {
return instance.hasNodeCreate();
}
/**
*
**
* A transaction body for a `createNode` request.
* <p>
* This transaction SHALL create a new consensus node record and add
* that record to the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 54;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody getNodeCreate() {
return instance.getNodeCreate();
}
/**
*
**
* A transaction body for a `createNode` request.
* <p>
* This transaction SHALL create a new consensus node record and add
* that record to the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 54;
*/
public Builder setNodeCreate(com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody value) {
copyOnWrite();
instance.setNodeCreate(value);
return this;
}
/**
*
**
* A transaction body for a `createNode` request.
* <p>
* This transaction SHALL create a new consensus node record and add
* that record to the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 54;
*/
public Builder setNodeCreate(
com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setNodeCreate(builderForValue.build());
return this;
}
/**
*
**
* A transaction body for a `createNode` request.
* <p>
* This transaction SHALL create a new consensus node record and add
* that record to the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 54;
*/
public Builder mergeNodeCreate(com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody value) {
copyOnWrite();
instance.mergeNodeCreate(value);
return this;
}
/**
*
**
* A transaction body for a `createNode` request.
* <p>
* This transaction SHALL create a new consensus node record and add
* that record to the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 54;
*/
public Builder clearNodeCreate() {
copyOnWrite();
instance.clearNodeCreate();
return this;
}
/**
*
**
* A transaction body for an `updateNode` request.
* <p>
* This transaction SHALL update an existing consensus node record in
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 55;
*/
@java.lang.Override
public boolean hasNodeUpdate() {
return instance.hasNodeUpdate();
}
/**
*
**
* A transaction body for an `updateNode` request.
* <p>
* This transaction SHALL update an existing consensus node record in
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 55;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody getNodeUpdate() {
return instance.getNodeUpdate();
}
/**
*
**
* A transaction body for an `updateNode` request.
* <p>
* This transaction SHALL update an existing consensus node record in
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 55;
*/
public Builder setNodeUpdate(com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody value) {
copyOnWrite();
instance.setNodeUpdate(value);
return this;
}
/**
*
**
* A transaction body for an `updateNode` request.
* <p>
* This transaction SHALL update an existing consensus node record in
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 55;
*/
public Builder setNodeUpdate(
com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setNodeUpdate(builderForValue.build());
return this;
}
/**
*
**
* A transaction body for an `updateNode` request.
* <p>
* This transaction SHALL update an existing consensus node record in
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 55;
*/
public Builder mergeNodeUpdate(com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody value) {
copyOnWrite();
instance.mergeNodeUpdate(value);
return this;
}
/**
*
**
* A transaction body for an `updateNode` request.
* <p>
* This transaction SHALL update an existing consensus node record in
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 55;
*/
public Builder clearNodeUpdate() {
copyOnWrite();
instance.clearNodeUpdate();
return this;
}
/**
*
**
* A transaction body for a `deleteNode` request.
* <p>
* This transaction SHALL remove an existing consensus node record from
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 56;
*/
@java.lang.Override
public boolean hasNodeDelete() {
return instance.hasNodeDelete();
}
/**
*
**
* A transaction body for a `deleteNode` request.
* <p>
* This transaction SHALL remove an existing consensus node record from
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 56;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody getNodeDelete() {
return instance.getNodeDelete();
}
/**
*
**
* A transaction body for a `deleteNode` request.
* <p>
* This transaction SHALL remove an existing consensus node record from
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 56;
*/
public Builder setNodeDelete(com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody value) {
copyOnWrite();
instance.setNodeDelete(value);
return this;
}
/**
*
**
* A transaction body for a `deleteNode` request.
* <p>
* This transaction SHALL remove an existing consensus node record from
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 56;
*/
public Builder setNodeDelete(
com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setNodeDelete(builderForValue.build());
return this;
}
/**
*
**
* A transaction body for a `deleteNode` request.
* <p>
* This transaction SHALL remove an existing consensus node record from
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 56;
*/
public Builder mergeNodeDelete(com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody value) {
copyOnWrite();
instance.mergeNodeDelete(value);
return this;
}
/**
*
**
* A transaction body for a `deleteNode` request.
* <p>
* This transaction SHALL remove an existing consensus node record from
* the network address book.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 56;
*/
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 = 57;
*/
@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 = 57;
*/
@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 = 57;
*/
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 = 57;
*/
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 = 57;
*/
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 = 57;
*/
public Builder clearTokenReject() {
copyOnWrite();
instance.clearTokenReject();
return this;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
@java.lang.Override
public boolean hasTokenAirdrop() {
return instance.hasTokenAirdrop();
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody getTokenAirdrop() {
return instance.getTokenAirdrop();
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
public Builder setTokenAirdrop(com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody value) {
copyOnWrite();
instance.setTokenAirdrop(value);
return this;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
public Builder setTokenAirdrop(
com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenAirdrop(builderForValue.build());
return this;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
public Builder mergeTokenAirdrop(com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody value) {
copyOnWrite();
instance.mergeTokenAirdrop(value);
return this;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
public Builder clearTokenAirdrop() {
copyOnWrite();
instance.clearTokenAirdrop();
return this;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
@java.lang.Override
public boolean hasTokenCancelAirdrop() {
return instance.hasTokenCancelAirdrop();
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody getTokenCancelAirdrop() {
return instance.getTokenCancelAirdrop();
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
public Builder setTokenCancelAirdrop(com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody value) {
copyOnWrite();
instance.setTokenCancelAirdrop(value);
return this;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
public Builder setTokenCancelAirdrop(
com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenCancelAirdrop(builderForValue.build());
return this;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
public Builder mergeTokenCancelAirdrop(com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody value) {
copyOnWrite();
instance.mergeTokenCancelAirdrop(value);
return this;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
public Builder clearTokenCancelAirdrop() {
copyOnWrite();
instance.clearTokenCancelAirdrop();
return this;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
@java.lang.Override
public boolean hasTokenClaimAirdrop() {
return instance.hasTokenClaimAirdrop();
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody getTokenClaimAirdrop() {
return instance.getTokenClaimAirdrop();
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
public Builder setTokenClaimAirdrop(com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody value) {
copyOnWrite();
instance.setTokenClaimAirdrop(value);
return this;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
public Builder setTokenClaimAirdrop(
com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.Builder builderForValue) {
copyOnWrite();
instance.setTokenClaimAirdrop(builderForValue.build());
return this;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
public Builder mergeTokenClaimAirdrop(com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody value) {
copyOnWrite();
instance.mergeTokenClaimAirdrop(value);
return this;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
public Builder clearTokenClaimAirdrop() {
copyOnWrite();
instance.clearTokenClaimAirdrop();
return this;
}
// @@protoc_insertion_point(builder_scope:proto.TransactionBody)
}
@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.TransactionBody();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"data_",
"dataCase_",
"bitField0_",
"transactionID_",
"nodeAccountID_",
"transactionFee_",
"transactionValidDuration_",
"generateRecord_",
"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.CryptoAddLiveHashTransactionBody.class,
com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.class,
com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.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.ContractDeleteTransactionBody.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.UncheckedSubmitBody.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.ScheduleCreateTransactionBody.class,
com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.class,
com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.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.EthereumTransactionBody.class,
com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody.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.TokenAirdropTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.class,
com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.class,
};
java.lang.String info =
"\u0000;\u0001\u0001\u0001<;\u0000\u0000\u0000\u0001\u1009\u0000\u0002\u1009\u0001" +
"\u0003\u0003\u0004\u1009\u0002\u0005\u0007\u0006\u0208\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\u001f" +
"<\u0000 <\u0000!<\u0000\"<\u0000#<\u0000$<\u0000%<\u0000&<\u0000\'<\u0000(<\u0000" +
")<\u0000*<\u0000+<\u0000,<\u0000-<\u0000.<\u0000/<\u00000<\u00001<\u00002<\u0000" +
"3<\u00004<\u00005<\u00006<\u00007<\u00008<\u00009<\u0000:<\u0000;<\u0000<<\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.TransactionBody.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.TransactionBody)
private static final com.hedera.hashgraph.sdk.proto.TransactionBody DEFAULT_INSTANCE;
static {
TransactionBody defaultInstance = new TransactionBody();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TransactionBody.class, defaultInstance);
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}