com.hedera.hashgraph.sdk.proto.TransactionBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
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.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.TransactionBody)
TransactionBodyOrBuilder {
private static final long serialVersionUID = 0L;
// Use TransactionBody.newBuilder() to construct.
private TransactionBody(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TransactionBody() {
memo_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TransactionBody();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hedera.hashgraph.sdk.proto.TransactionBodyOuterClass.internal_static_proto_TransactionBody_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hedera.hashgraph.sdk.proto.TransactionBodyOuterClass.internal_static_proto_TransactionBody_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hedera.hashgraph.sdk.proto.TransactionBody.class, com.hedera.hashgraph.sdk.proto.TransactionBody.Builder.class);
}
private int bitField0_;
private int dataCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object data_;
public enum DataCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
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;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @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;
}
};
public DataCase
getDataCase() {
return DataCase.forNumber(
dataCase_);
}
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;
* @return Whether the transactionID field is set.
*/
@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;
* @return The transactionID.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder getTransactionIDOrBuilder() {
return transactionID_ == null ? com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance() : transactionID_;
}
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;
* @return Whether the nodeAccountID field is set.
*/
@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;
* @return The nodeAccountID.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getNodeAccountIDOrBuilder() {
return nodeAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : nodeAccountID_;
}
public static final int TRANSACTIONFEE_FIELD_NUMBER = 3;
private long transactionFee_ = 0L;
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 3;
* @return The transactionFee.
*/
@java.lang.Override
public long getTransactionFee() {
return transactionFee_;
}
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;
* @return Whether the transactionValidDuration field is set.
*/
@java.lang.Override
public boolean hasTransactionValidDuration() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
* @return The transactionValidDuration.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.DurationOrBuilder getTransactionValidDurationOrBuilder() {
return transactionValidDuration_ == null ? com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance() : transactionValidDuration_;
}
public static final int GENERATERECORD_FIELD_NUMBER = 5;
private boolean generateRecord_ = false;
/**
*
**
* 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_;
}
public static final int MEMO_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object 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() {
java.lang.Object ref = memo_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
memo_ = s;
return s;
}
}
/**
*
**
* 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() {
java.lang.Object ref = memo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
memo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONTRACTCALL_FIELD_NUMBER = 7;
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
* @return Whether the contractCall field is set.
*/
@java.lang.Override
public boolean hasContractCall() {
return dataCase_ == 7;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
* @return The contractCall.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBodyOrBuilder getContractCallOrBuilder() {
if (dataCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.getDefaultInstance();
}
public static final int CONTRACTCREATEINSTANCE_FIELD_NUMBER = 8;
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
* @return Whether the contractCreateInstance field is set.
*/
@java.lang.Override
public boolean hasContractCreateInstance() {
return dataCase_ == 8;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
* @return The contractCreateInstance.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBodyOrBuilder getContractCreateInstanceOrBuilder() {
if (dataCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance();
}
public static final int CONTRACTUPDATEINSTANCE_FIELD_NUMBER = 9;
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
* @return Whether the contractUpdateInstance field is set.
*/
@java.lang.Override
public boolean hasContractUpdateInstance() {
return dataCase_ == 9;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
* @return The contractUpdateInstance.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBodyOrBuilder getContractUpdateInstanceOrBuilder() {
if (dataCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance();
}
public static final int CRYPTOADDLIVEHASH_FIELD_NUMBER = 10;
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
* @return Whether the cryptoAddLiveHash field is set.
*/
@java.lang.Override
public boolean hasCryptoAddLiveHash() {
return dataCase_ == 10;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
* @return The cryptoAddLiveHash.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBodyOrBuilder getCryptoAddLiveHashOrBuilder() {
if (dataCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.getDefaultInstance();
}
public static final int CRYPTOCREATEACCOUNT_FIELD_NUMBER = 11;
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
* @return Whether the cryptoCreateAccount field is set.
*/
@java.lang.Override
public boolean hasCryptoCreateAccount() {
return dataCase_ == 11;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
* @return The cryptoCreateAccount.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBodyOrBuilder getCryptoCreateAccountOrBuilder() {
if (dataCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance();
}
public static final int CRYPTODELETE_FIELD_NUMBER = 12;
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
* @return Whether the cryptoDelete field is set.
*/
@java.lang.Override
public boolean hasCryptoDelete() {
return dataCase_ == 12;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
* @return The cryptoDelete.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBodyOrBuilder getCryptoDeleteOrBuilder() {
if (dataCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.getDefaultInstance();
}
public static final int CRYPTODELETELIVEHASH_FIELD_NUMBER = 13;
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
* @return Whether the cryptoDeleteLiveHash field is set.
*/
@java.lang.Override
public boolean hasCryptoDeleteLiveHash() {
return dataCase_ == 13;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
* @return The cryptoDeleteLiveHash.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBodyOrBuilder getCryptoDeleteLiveHashOrBuilder() {
if (dataCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.getDefaultInstance();
}
public static final int CRYPTOTRANSFER_FIELD_NUMBER = 14;
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
* @return Whether the cryptoTransfer field is set.
*/
@java.lang.Override
public boolean hasCryptoTransfer() {
return dataCase_ == 14;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
* @return The cryptoTransfer.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBodyOrBuilder getCryptoTransferOrBuilder() {
if (dataCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance();
}
public static final int CRYPTOUPDATEACCOUNT_FIELD_NUMBER = 15;
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
* @return Whether the cryptoUpdateAccount field is set.
*/
@java.lang.Override
public boolean hasCryptoUpdateAccount() {
return dataCase_ == 15;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
* @return The cryptoUpdateAccount.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBodyOrBuilder getCryptoUpdateAccountOrBuilder() {
if (dataCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.getDefaultInstance();
}
public static final int FILEAPPEND_FIELD_NUMBER = 16;
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
* @return Whether the fileAppend field is set.
*/
@java.lang.Override
public boolean hasFileAppend() {
return dataCase_ == 16;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
* @return The fileAppend.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileAppendTransactionBodyOrBuilder getFileAppendOrBuilder() {
if (dataCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.getDefaultInstance();
}
public static final int FILECREATE_FIELD_NUMBER = 17;
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
* @return Whether the fileCreate field is set.
*/
@java.lang.Override
public boolean hasFileCreate() {
return dataCase_ == 17;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
* @return The fileCreate.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBodyOrBuilder getFileCreateOrBuilder() {
if (dataCase_ == 17) {
return (com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance();
}
public static final int FILEDELETE_FIELD_NUMBER = 18;
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 18;
* @return Whether the fileDelete field is set.
*/
@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;
* @return The fileDelete.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBodyOrBuilder getFileDeleteOrBuilder() {
if (dataCase_ == 18) {
return (com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.getDefaultInstance();
}
public static final int FILEUPDATE_FIELD_NUMBER = 19;
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
* @return Whether the fileUpdate field is set.
*/
@java.lang.Override
public boolean hasFileUpdate() {
return dataCase_ == 19;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
* @return The fileUpdate.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBodyOrBuilder getFileUpdateOrBuilder() {
if (dataCase_ == 19) {
return (com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.getDefaultInstance();
}
public static final int SYSTEMDELETE_FIELD_NUMBER = 20;
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
* @return Whether the systemDelete field is set.
*/
@java.lang.Override
public boolean hasSystemDelete() {
return dataCase_ == 20;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
* @return The systemDelete.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBodyOrBuilder getSystemDeleteOrBuilder() {
if (dataCase_ == 20) {
return (com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.getDefaultInstance();
}
public static final int SYSTEMUNDELETE_FIELD_NUMBER = 21;
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
* @return Whether the systemUndelete field is set.
*/
@java.lang.Override
public boolean hasSystemUndelete() {
return dataCase_ == 21;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
* @return The systemUndelete.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBodyOrBuilder getSystemUndeleteOrBuilder() {
if (dataCase_ == 21) {
return (com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.getDefaultInstance();
}
public static final int CONTRACTDELETEINSTANCE_FIELD_NUMBER = 22;
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
* @return Whether the contractDeleteInstance field is set.
*/
@java.lang.Override
public boolean hasContractDeleteInstance() {
return dataCase_ == 22;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
* @return The contractDeleteInstance.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBodyOrBuilder getContractDeleteInstanceOrBuilder() {
if (dataCase_ == 22) {
return (com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.getDefaultInstance();
}
public static final int FREEZE_FIELD_NUMBER = 23;
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
* @return Whether the freeze field is set.
*/
@java.lang.Override
public boolean hasFreeze() {
return dataCase_ == 23;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
* @return The freeze.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBodyOrBuilder getFreezeOrBuilder() {
if (dataCase_ == 23) {
return (com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance();
}
public static final int CONSENSUSCREATETOPIC_FIELD_NUMBER = 24;
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
* @return Whether the consensusCreateTopic field is set.
*/
@java.lang.Override
public boolean hasConsensusCreateTopic() {
return dataCase_ == 24;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
* @return The consensusCreateTopic.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBodyOrBuilder getConsensusCreateTopicOrBuilder() {
if (dataCase_ == 24) {
return (com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
public static final int CONSENSUSUPDATETOPIC_FIELD_NUMBER = 25;
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
* @return Whether the consensusUpdateTopic field is set.
*/
@java.lang.Override
public boolean hasConsensusUpdateTopic() {
return dataCase_ == 25;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
* @return The consensusUpdateTopic.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBodyOrBuilder getConsensusUpdateTopicOrBuilder() {
if (dataCase_ == 25) {
return (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
public static final int CONSENSUSDELETETOPIC_FIELD_NUMBER = 26;
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
* @return Whether the consensusDeleteTopic field is set.
*/
@java.lang.Override
public boolean hasConsensusDeleteTopic() {
return dataCase_ == 26;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
* @return The consensusDeleteTopic.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBodyOrBuilder getConsensusDeleteTopicOrBuilder() {
if (dataCase_ == 26) {
return (com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
public static final int CONSENSUSSUBMITMESSAGE_FIELD_NUMBER = 27;
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
* @return Whether the consensusSubmitMessage field is set.
*/
@java.lang.Override
public boolean hasConsensusSubmitMessage() {
return dataCase_ == 27;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
* @return The consensusSubmitMessage.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBodyOrBuilder getConsensusSubmitMessageOrBuilder() {
if (dataCase_ == 27) {
return (com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
public static final int UNCHECKEDSUBMIT_FIELD_NUMBER = 28;
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
* @return Whether the uncheckedSubmit field is set.
*/
@java.lang.Override
public boolean hasUncheckedSubmit() {
return dataCase_ == 28;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
* @return The uncheckedSubmit.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UncheckedSubmitBodyOrBuilder getUncheckedSubmitOrBuilder() {
if (dataCase_ == 28) {
return (com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody) data_;
}
return com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.getDefaultInstance();
}
public static final int TOKENCREATION_FIELD_NUMBER = 29;
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
* @return Whether the tokenCreation field is set.
*/
@java.lang.Override
public boolean hasTokenCreation() {
return dataCase_ == 29;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
* @return The tokenCreation.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBodyOrBuilder getTokenCreationOrBuilder() {
if (dataCase_ == 29) {
return (com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance();
}
public static final int TOKENFREEZE_FIELD_NUMBER = 31;
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
* @return Whether the tokenFreeze field is set.
*/
@java.lang.Override
public boolean hasTokenFreeze() {
return dataCase_ == 31;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
* @return The tokenFreeze.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBodyOrBuilder getTokenFreezeOrBuilder() {
if (dataCase_ == 31) {
return (com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.getDefaultInstance();
}
public static final int TOKENUNFREEZE_FIELD_NUMBER = 32;
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
* @return Whether the tokenUnfreeze field is set.
*/
@java.lang.Override
public boolean hasTokenUnfreeze() {
return dataCase_ == 32;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
* @return The tokenUnfreeze.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBodyOrBuilder getTokenUnfreezeOrBuilder() {
if (dataCase_ == 32) {
return (com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
public static final int TOKENGRANTKYC_FIELD_NUMBER = 33;
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
* @return Whether the tokenGrantKyc field is set.
*/
@java.lang.Override
public boolean hasTokenGrantKyc() {
return dataCase_ == 33;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
* @return The tokenGrantKyc.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBodyOrBuilder getTokenGrantKycOrBuilder() {
if (dataCase_ == 33) {
return (com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.getDefaultInstance();
}
public static final int TOKENREVOKEKYC_FIELD_NUMBER = 34;
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
* @return Whether the tokenRevokeKyc field is set.
*/
@java.lang.Override
public boolean hasTokenRevokeKyc() {
return dataCase_ == 34;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
* @return The tokenRevokeKyc.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBodyOrBuilder getTokenRevokeKycOrBuilder() {
if (dataCase_ == 34) {
return (com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.getDefaultInstance();
}
public static final int TOKENDELETION_FIELD_NUMBER = 35;
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
* @return Whether the tokenDeletion field is set.
*/
@java.lang.Override
public boolean hasTokenDeletion() {
return dataCase_ == 35;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
* @return The tokenDeletion.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBodyOrBuilder getTokenDeletionOrBuilder() {
if (dataCase_ == 35) {
return (com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance();
}
public static final int TOKENUPDATE_FIELD_NUMBER = 36;
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
* @return Whether the tokenUpdate field is set.
*/
@java.lang.Override
public boolean hasTokenUpdate() {
return dataCase_ == 36;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
* @return The tokenUpdate.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBodyOrBuilder getTokenUpdateOrBuilder() {
if (dataCase_ == 36) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance();
}
public static final int TOKENMINT_FIELD_NUMBER = 37;
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
* @return Whether the tokenMint field is set.
*/
@java.lang.Override
public boolean hasTokenMint() {
return dataCase_ == 37;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
* @return The tokenMint.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenMintTransactionBodyOrBuilder getTokenMintOrBuilder() {
if (dataCase_ == 37) {
return (com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.getDefaultInstance();
}
public static final int TOKENBURN_FIELD_NUMBER = 38;
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
* @return Whether the tokenBurn field is set.
*/
@java.lang.Override
public boolean hasTokenBurn() {
return dataCase_ == 38;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
* @return The tokenBurn.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBodyOrBuilder getTokenBurnOrBuilder() {
if (dataCase_ == 38) {
return (com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.getDefaultInstance();
}
public static final int TOKENWIPE_FIELD_NUMBER = 39;
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
* @return Whether the tokenWipe field is set.
*/
@java.lang.Override
public boolean hasTokenWipe() {
return dataCase_ == 39;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
* @return The tokenWipe.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBodyOrBuilder getTokenWipeOrBuilder() {
if (dataCase_ == 39) {
return (com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.getDefaultInstance();
}
public static final int TOKENASSOCIATE_FIELD_NUMBER = 40;
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
* @return Whether the tokenAssociate field is set.
*/
@java.lang.Override
public boolean hasTokenAssociate() {
return dataCase_ == 40;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
* @return The tokenAssociate.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBodyOrBuilder getTokenAssociateOrBuilder() {
if (dataCase_ == 40) {
return (com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance();
}
public static final int TOKENDISSOCIATE_FIELD_NUMBER = 41;
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
* @return Whether the tokenDissociate field is set.
*/
@java.lang.Override
public boolean hasTokenDissociate() {
return dataCase_ == 41;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
* @return The tokenDissociate.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBodyOrBuilder getTokenDissociateOrBuilder() {
if (dataCase_ == 41) {
return (com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance();
}
public static final int SCHEDULECREATE_FIELD_NUMBER = 42;
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
* @return Whether the scheduleCreate field is set.
*/
@java.lang.Override
public boolean hasScheduleCreate() {
return dataCase_ == 42;
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
* @return The scheduleCreate.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBodyOrBuilder getScheduleCreateOrBuilder() {
if (dataCase_ == 42) {
return (com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody.getDefaultInstance();
}
public static final int SCHEDULEDELETE_FIELD_NUMBER = 43;
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
* @return Whether the scheduleDelete field is set.
*/
@java.lang.Override
public boolean hasScheduleDelete() {
return dataCase_ == 43;
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
* @return The scheduleDelete.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBodyOrBuilder getScheduleDeleteOrBuilder() {
if (dataCase_ == 43) {
return (com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance();
}
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;
* @return Whether the scheduleSign field is set.
*/
@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;
* @return The scheduleSign.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBodyOrBuilder getScheduleSignOrBuilder() {
if (dataCase_ == 44) {
return (com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody.getDefaultInstance();
}
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;
* @return Whether the tokenFeeScheduleUpdate field is set.
*/
@java.lang.Override
public boolean hasTokenFeeScheduleUpdate() {
return dataCase_ == 45;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
* @return The tokenFeeScheduleUpdate.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBodyOrBuilder getTokenFeeScheduleUpdateOrBuilder() {
if (dataCase_ == 45) {
return (com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
}
public static final int TOKEN_PAUSE_FIELD_NUMBER = 46;
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
* @return Whether the tokenPause field is set.
*/
@java.lang.Override
public boolean hasTokenPause() {
return dataCase_ == 46;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
* @return The tokenPause.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBodyOrBuilder getTokenPauseOrBuilder() {
if (dataCase_ == 46) {
return (com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance();
}
public static final int TOKEN_UNPAUSE_FIELD_NUMBER = 47;
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
* @return Whether the tokenUnpause field is set.
*/
@java.lang.Override
public boolean hasTokenUnpause() {
return dataCase_ == 47;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
* @return The tokenUnpause.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBodyOrBuilder getTokenUnpauseOrBuilder() {
if (dataCase_ == 47) {
return (com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance();
}
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;
* @return Whether the cryptoApproveAllowance field is set.
*/
@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;
* @return The cryptoApproveAllowance.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBodyOrBuilder getCryptoApproveAllowanceOrBuilder() {
if (dataCase_ == 48) {
return (com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.getDefaultInstance();
}
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;
* @return Whether the cryptoDeleteAllowance field is set.
*/
@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;
* @return The cryptoDeleteAllowance.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBodyOrBuilder getCryptoDeleteAllowanceOrBuilder() {
if (dataCase_ == 49) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.getDefaultInstance();
}
public static final int ETHEREUMTRANSACTION_FIELD_NUMBER = 50;
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
* @return Whether the ethereumTransaction field is set.
*/
@java.lang.Override
public boolean hasEthereumTransaction() {
return dataCase_ == 50;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
* @return The ethereumTransaction.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.EthereumTransactionBodyOrBuilder getEthereumTransactionOrBuilder() {
if (dataCase_ == 50) {
return (com.hedera.hashgraph.sdk.proto.EthereumTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.getDefaultInstance();
}
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;
* @return Whether the nodeStakeUpdate field is set.
*/
@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;
* @return The nodeStakeUpdate.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBodyOrBuilder getNodeStakeUpdateOrBuilder() {
if (dataCase_ == 51) {
return (com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody.getDefaultInstance();
}
public static final int UTIL_PRNG_FIELD_NUMBER = 52;
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
* @return Whether the utilPrng field is set.
*/
@java.lang.Override
public boolean hasUtilPrng() {
return dataCase_ == 52;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
* @return The utilPrng.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBodyOrBuilder getUtilPrngOrBuilder() {
if (dataCase_ == 52) {
return (com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.getDefaultInstance();
}
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;
* @return Whether the tokenUpdateNfts field is set.
*/
@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;
* @return The tokenUpdateNfts.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBodyOrBuilder getTokenUpdateNftsOrBuilder() {
if (dataCase_ == 53) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.getDefaultInstance();
}
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;
* @return Whether the nodeCreate field is set.
*/
@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;
* @return The nodeCreate.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBodyOrBuilder getNodeCreateOrBuilder() {
if (dataCase_ == 54) {
return (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.getDefaultInstance();
}
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;
* @return Whether the nodeUpdate field is set.
*/
@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;
* @return The nodeUpdate.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBodyOrBuilder getNodeUpdateOrBuilder() {
if (dataCase_ == 55) {
return (com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.getDefaultInstance();
}
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;
* @return Whether the nodeDelete field is set.
*/
@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;
* @return The nodeDelete.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBodyOrBuilder getNodeDeleteOrBuilder() {
if (dataCase_ == 56) {
return (com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.getDefaultInstance();
}
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;
* @return Whether the tokenReject field is set.
*/
@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;
* @return The tokenReject.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBodyOrBuilder getTokenRejectOrBuilder() {
if (dataCase_ == 57) {
return (com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.getDefaultInstance();
}
public static final int TOKENAIRDROP_FIELD_NUMBER = 58;
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
* @return Whether the tokenAirdrop field is set.
*/
@java.lang.Override
public boolean hasTokenAirdrop() {
return dataCase_ == 58;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
* @return The tokenAirdrop.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBodyOrBuilder getTokenAirdropOrBuilder() {
if (dataCase_ == 58) {
return (com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.getDefaultInstance();
}
public static final int TOKENCANCELAIRDROP_FIELD_NUMBER = 59;
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
* @return Whether the tokenCancelAirdrop field is set.
*/
@java.lang.Override
public boolean hasTokenCancelAirdrop() {
return dataCase_ == 59;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
* @return The tokenCancelAirdrop.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBodyOrBuilder getTokenCancelAirdropOrBuilder() {
if (dataCase_ == 59) {
return (com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
public static final int TOKENCLAIMAIRDROP_FIELD_NUMBER = 60;
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
* @return Whether the tokenClaimAirdrop field is set.
*/
@java.lang.Override
public boolean hasTokenClaimAirdrop() {
return dataCase_ == 60;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
* @return The tokenClaimAirdrop.
*/
@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;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBodyOrBuilder getTokenClaimAirdropOrBuilder() {
if (dataCase_ == 60) {
return (com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getTransactionID());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getNodeAccountID());
}
if (transactionFee_ != 0L) {
output.writeUInt64(3, transactionFee_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(4, getTransactionValidDuration());
}
if (generateRecord_ != false) {
output.writeBool(5, generateRecord_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memo_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, memo_);
}
if (dataCase_ == 7) {
output.writeMessage(7, (com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_);
}
if (dataCase_ == 8) {
output.writeMessage(8, (com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_);
}
if (dataCase_ == 9) {
output.writeMessage(9, (com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_);
}
if (dataCase_ == 10) {
output.writeMessage(10, (com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody) data_);
}
if (dataCase_ == 11) {
output.writeMessage(11, (com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_);
}
if (dataCase_ == 12) {
output.writeMessage(12, (com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_);
}
if (dataCase_ == 13) {
output.writeMessage(13, (com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody) data_);
}
if (dataCase_ == 14) {
output.writeMessage(14, (com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_);
}
if (dataCase_ == 15) {
output.writeMessage(15, (com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_);
}
if (dataCase_ == 16) {
output.writeMessage(16, (com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_);
}
if (dataCase_ == 17) {
output.writeMessage(17, (com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_);
}
if (dataCase_ == 18) {
output.writeMessage(18, (com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_);
}
if (dataCase_ == 19) {
output.writeMessage(19, (com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_);
}
if (dataCase_ == 20) {
output.writeMessage(20, (com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_);
}
if (dataCase_ == 21) {
output.writeMessage(21, (com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_);
}
if (dataCase_ == 22) {
output.writeMessage(22, (com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_);
}
if (dataCase_ == 23) {
output.writeMessage(23, (com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_);
}
if (dataCase_ == 24) {
output.writeMessage(24, (com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_);
}
if (dataCase_ == 25) {
output.writeMessage(25, (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_);
}
if (dataCase_ == 26) {
output.writeMessage(26, (com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_);
}
if (dataCase_ == 27) {
output.writeMessage(27, (com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_);
}
if (dataCase_ == 28) {
output.writeMessage(28, (com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody) data_);
}
if (dataCase_ == 29) {
output.writeMessage(29, (com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_);
}
if (dataCase_ == 31) {
output.writeMessage(31, (com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_);
}
if (dataCase_ == 32) {
output.writeMessage(32, (com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_);
}
if (dataCase_ == 33) {
output.writeMessage(33, (com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_);
}
if (dataCase_ == 34) {
output.writeMessage(34, (com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_);
}
if (dataCase_ == 35) {
output.writeMessage(35, (com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_);
}
if (dataCase_ == 36) {
output.writeMessage(36, (com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_);
}
if (dataCase_ == 37) {
output.writeMessage(37, (com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_);
}
if (dataCase_ == 38) {
output.writeMessage(38, (com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_);
}
if (dataCase_ == 39) {
output.writeMessage(39, (com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_);
}
if (dataCase_ == 40) {
output.writeMessage(40, (com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_);
}
if (dataCase_ == 41) {
output.writeMessage(41, (com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_);
}
if (dataCase_ == 42) {
output.writeMessage(42, (com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody) data_);
}
if (dataCase_ == 43) {
output.writeMessage(43, (com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_);
}
if (dataCase_ == 44) {
output.writeMessage(44, (com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody) data_);
}
if (dataCase_ == 45) {
output.writeMessage(45, (com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_);
}
if (dataCase_ == 46) {
output.writeMessage(46, (com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_);
}
if (dataCase_ == 47) {
output.writeMessage(47, (com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_);
}
if (dataCase_ == 48) {
output.writeMessage(48, (com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_);
}
if (dataCase_ == 49) {
output.writeMessage(49, (com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_);
}
if (dataCase_ == 50) {
output.writeMessage(50, (com.hedera.hashgraph.sdk.proto.EthereumTransactionBody) data_);
}
if (dataCase_ == 51) {
output.writeMessage(51, (com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody) data_);
}
if (dataCase_ == 52) {
output.writeMessage(52, (com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_);
}
if (dataCase_ == 53) {
output.writeMessage(53, (com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_);
}
if (dataCase_ == 54) {
output.writeMessage(54, (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_);
}
if (dataCase_ == 55) {
output.writeMessage(55, (com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_);
}
if (dataCase_ == 56) {
output.writeMessage(56, (com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_);
}
if (dataCase_ == 57) {
output.writeMessage(57, (com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_);
}
if (dataCase_ == 58) {
output.writeMessage(58, (com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_);
}
if (dataCase_ == 59) {
output.writeMessage(59, (com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_);
}
if (dataCase_ == 60) {
output.writeMessage(60, (com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTransactionID());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getNodeAccountID());
}
if (transactionFee_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, transactionFee_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getTransactionValidDuration());
}
if (generateRecord_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, generateRecord_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memo_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, memo_);
}
if (dataCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_);
}
if (dataCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_);
}
if (dataCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_);
}
if (dataCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody) data_);
}
if (dataCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_);
}
if (dataCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_);
}
if (dataCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody) data_);
}
if (dataCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_);
}
if (dataCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_);
}
if (dataCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_);
}
if (dataCase_ == 17) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, (com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_);
}
if (dataCase_ == 18) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, (com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_);
}
if (dataCase_ == 19) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, (com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_);
}
if (dataCase_ == 20) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, (com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_);
}
if (dataCase_ == 21) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, (com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_);
}
if (dataCase_ == 22) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, (com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_);
}
if (dataCase_ == 23) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, (com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_);
}
if (dataCase_ == 24) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(24, (com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_);
}
if (dataCase_ == 25) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(25, (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_);
}
if (dataCase_ == 26) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(26, (com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_);
}
if (dataCase_ == 27) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(27, (com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_);
}
if (dataCase_ == 28) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(28, (com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody) data_);
}
if (dataCase_ == 29) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(29, (com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_);
}
if (dataCase_ == 31) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(31, (com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_);
}
if (dataCase_ == 32) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(32, (com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_);
}
if (dataCase_ == 33) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(33, (com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_);
}
if (dataCase_ == 34) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(34, (com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_);
}
if (dataCase_ == 35) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(35, (com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_);
}
if (dataCase_ == 36) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(36, (com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_);
}
if (dataCase_ == 37) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(37, (com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_);
}
if (dataCase_ == 38) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(38, (com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_);
}
if (dataCase_ == 39) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(39, (com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_);
}
if (dataCase_ == 40) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(40, (com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_);
}
if (dataCase_ == 41) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(41, (com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_);
}
if (dataCase_ == 42) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(42, (com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody) data_);
}
if (dataCase_ == 43) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(43, (com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_);
}
if (dataCase_ == 44) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(44, (com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody) data_);
}
if (dataCase_ == 45) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(45, (com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_);
}
if (dataCase_ == 46) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(46, (com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_);
}
if (dataCase_ == 47) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(47, (com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_);
}
if (dataCase_ == 48) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(48, (com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_);
}
if (dataCase_ == 49) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(49, (com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_);
}
if (dataCase_ == 50) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(50, (com.hedera.hashgraph.sdk.proto.EthereumTransactionBody) data_);
}
if (dataCase_ == 51) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(51, (com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody) data_);
}
if (dataCase_ == 52) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(52, (com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_);
}
if (dataCase_ == 53) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(53, (com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_);
}
if (dataCase_ == 54) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(54, (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_);
}
if (dataCase_ == 55) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(55, (com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_);
}
if (dataCase_ == 56) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(56, (com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_);
}
if (dataCase_ == 57) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(57, (com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_);
}
if (dataCase_ == 58) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(58, (com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_);
}
if (dataCase_ == 59) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(59, (com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_);
}
if (dataCase_ == 60) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(60, (com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.hedera.hashgraph.sdk.proto.TransactionBody)) {
return super.equals(obj);
}
com.hedera.hashgraph.sdk.proto.TransactionBody other = (com.hedera.hashgraph.sdk.proto.TransactionBody) obj;
if (hasTransactionID() != other.hasTransactionID()) return false;
if (hasTransactionID()) {
if (!getTransactionID()
.equals(other.getTransactionID())) return false;
}
if (hasNodeAccountID() != other.hasNodeAccountID()) return false;
if (hasNodeAccountID()) {
if (!getNodeAccountID()
.equals(other.getNodeAccountID())) return false;
}
if (getTransactionFee()
!= other.getTransactionFee()) return false;
if (hasTransactionValidDuration() != other.hasTransactionValidDuration()) return false;
if (hasTransactionValidDuration()) {
if (!getTransactionValidDuration()
.equals(other.getTransactionValidDuration())) return false;
}
if (getGenerateRecord()
!= other.getGenerateRecord()) return false;
if (!getMemo()
.equals(other.getMemo())) return false;
if (!getDataCase().equals(other.getDataCase())) return false;
switch (dataCase_) {
case 7:
if (!getContractCall()
.equals(other.getContractCall())) return false;
break;
case 8:
if (!getContractCreateInstance()
.equals(other.getContractCreateInstance())) return false;
break;
case 9:
if (!getContractUpdateInstance()
.equals(other.getContractUpdateInstance())) return false;
break;
case 10:
if (!getCryptoAddLiveHash()
.equals(other.getCryptoAddLiveHash())) return false;
break;
case 11:
if (!getCryptoCreateAccount()
.equals(other.getCryptoCreateAccount())) return false;
break;
case 12:
if (!getCryptoDelete()
.equals(other.getCryptoDelete())) return false;
break;
case 13:
if (!getCryptoDeleteLiveHash()
.equals(other.getCryptoDeleteLiveHash())) return false;
break;
case 14:
if (!getCryptoTransfer()
.equals(other.getCryptoTransfer())) return false;
break;
case 15:
if (!getCryptoUpdateAccount()
.equals(other.getCryptoUpdateAccount())) return false;
break;
case 16:
if (!getFileAppend()
.equals(other.getFileAppend())) return false;
break;
case 17:
if (!getFileCreate()
.equals(other.getFileCreate())) return false;
break;
case 18:
if (!getFileDelete()
.equals(other.getFileDelete())) return false;
break;
case 19:
if (!getFileUpdate()
.equals(other.getFileUpdate())) return false;
break;
case 20:
if (!getSystemDelete()
.equals(other.getSystemDelete())) return false;
break;
case 21:
if (!getSystemUndelete()
.equals(other.getSystemUndelete())) return false;
break;
case 22:
if (!getContractDeleteInstance()
.equals(other.getContractDeleteInstance())) return false;
break;
case 23:
if (!getFreeze()
.equals(other.getFreeze())) return false;
break;
case 24:
if (!getConsensusCreateTopic()
.equals(other.getConsensusCreateTopic())) return false;
break;
case 25:
if (!getConsensusUpdateTopic()
.equals(other.getConsensusUpdateTopic())) return false;
break;
case 26:
if (!getConsensusDeleteTopic()
.equals(other.getConsensusDeleteTopic())) return false;
break;
case 27:
if (!getConsensusSubmitMessage()
.equals(other.getConsensusSubmitMessage())) return false;
break;
case 28:
if (!getUncheckedSubmit()
.equals(other.getUncheckedSubmit())) return false;
break;
case 29:
if (!getTokenCreation()
.equals(other.getTokenCreation())) return false;
break;
case 31:
if (!getTokenFreeze()
.equals(other.getTokenFreeze())) return false;
break;
case 32:
if (!getTokenUnfreeze()
.equals(other.getTokenUnfreeze())) return false;
break;
case 33:
if (!getTokenGrantKyc()
.equals(other.getTokenGrantKyc())) return false;
break;
case 34:
if (!getTokenRevokeKyc()
.equals(other.getTokenRevokeKyc())) return false;
break;
case 35:
if (!getTokenDeletion()
.equals(other.getTokenDeletion())) return false;
break;
case 36:
if (!getTokenUpdate()
.equals(other.getTokenUpdate())) return false;
break;
case 37:
if (!getTokenMint()
.equals(other.getTokenMint())) return false;
break;
case 38:
if (!getTokenBurn()
.equals(other.getTokenBurn())) return false;
break;
case 39:
if (!getTokenWipe()
.equals(other.getTokenWipe())) return false;
break;
case 40:
if (!getTokenAssociate()
.equals(other.getTokenAssociate())) return false;
break;
case 41:
if (!getTokenDissociate()
.equals(other.getTokenDissociate())) return false;
break;
case 42:
if (!getScheduleCreate()
.equals(other.getScheduleCreate())) return false;
break;
case 43:
if (!getScheduleDelete()
.equals(other.getScheduleDelete())) return false;
break;
case 44:
if (!getScheduleSign()
.equals(other.getScheduleSign())) return false;
break;
case 45:
if (!getTokenFeeScheduleUpdate()
.equals(other.getTokenFeeScheduleUpdate())) return false;
break;
case 46:
if (!getTokenPause()
.equals(other.getTokenPause())) return false;
break;
case 47:
if (!getTokenUnpause()
.equals(other.getTokenUnpause())) return false;
break;
case 48:
if (!getCryptoApproveAllowance()
.equals(other.getCryptoApproveAllowance())) return false;
break;
case 49:
if (!getCryptoDeleteAllowance()
.equals(other.getCryptoDeleteAllowance())) return false;
break;
case 50:
if (!getEthereumTransaction()
.equals(other.getEthereumTransaction())) return false;
break;
case 51:
if (!getNodeStakeUpdate()
.equals(other.getNodeStakeUpdate())) return false;
break;
case 52:
if (!getUtilPrng()
.equals(other.getUtilPrng())) return false;
break;
case 53:
if (!getTokenUpdateNfts()
.equals(other.getTokenUpdateNfts())) return false;
break;
case 54:
if (!getNodeCreate()
.equals(other.getNodeCreate())) return false;
break;
case 55:
if (!getNodeUpdate()
.equals(other.getNodeUpdate())) return false;
break;
case 56:
if (!getNodeDelete()
.equals(other.getNodeDelete())) return false;
break;
case 57:
if (!getTokenReject()
.equals(other.getTokenReject())) return false;
break;
case 58:
if (!getTokenAirdrop()
.equals(other.getTokenAirdrop())) return false;
break;
case 59:
if (!getTokenCancelAirdrop()
.equals(other.getTokenCancelAirdrop())) return false;
break;
case 60:
if (!getTokenClaimAirdrop()
.equals(other.getTokenClaimAirdrop())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTransactionID()) {
hash = (37 * hash) + TRANSACTIONID_FIELD_NUMBER;
hash = (53 * hash) + getTransactionID().hashCode();
}
if (hasNodeAccountID()) {
hash = (37 * hash) + NODEACCOUNTID_FIELD_NUMBER;
hash = (53 * hash) + getNodeAccountID().hashCode();
}
hash = (37 * hash) + TRANSACTIONFEE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTransactionFee());
if (hasTransactionValidDuration()) {
hash = (37 * hash) + TRANSACTIONVALIDDURATION_FIELD_NUMBER;
hash = (53 * hash) + getTransactionValidDuration().hashCode();
}
hash = (37 * hash) + GENERATERECORD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getGenerateRecord());
hash = (37 * hash) + MEMO_FIELD_NUMBER;
hash = (53 * hash) + getMemo().hashCode();
switch (dataCase_) {
case 7:
hash = (37 * hash) + CONTRACTCALL_FIELD_NUMBER;
hash = (53 * hash) + getContractCall().hashCode();
break;
case 8:
hash = (37 * hash) + CONTRACTCREATEINSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getContractCreateInstance().hashCode();
break;
case 9:
hash = (37 * hash) + CONTRACTUPDATEINSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getContractUpdateInstance().hashCode();
break;
case 10:
hash = (37 * hash) + CRYPTOADDLIVEHASH_FIELD_NUMBER;
hash = (53 * hash) + getCryptoAddLiveHash().hashCode();
break;
case 11:
hash = (37 * hash) + CRYPTOCREATEACCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getCryptoCreateAccount().hashCode();
break;
case 12:
hash = (37 * hash) + CRYPTODELETE_FIELD_NUMBER;
hash = (53 * hash) + getCryptoDelete().hashCode();
break;
case 13:
hash = (37 * hash) + CRYPTODELETELIVEHASH_FIELD_NUMBER;
hash = (53 * hash) + getCryptoDeleteLiveHash().hashCode();
break;
case 14:
hash = (37 * hash) + CRYPTOTRANSFER_FIELD_NUMBER;
hash = (53 * hash) + getCryptoTransfer().hashCode();
break;
case 15:
hash = (37 * hash) + CRYPTOUPDATEACCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getCryptoUpdateAccount().hashCode();
break;
case 16:
hash = (37 * hash) + FILEAPPEND_FIELD_NUMBER;
hash = (53 * hash) + getFileAppend().hashCode();
break;
case 17:
hash = (37 * hash) + FILECREATE_FIELD_NUMBER;
hash = (53 * hash) + getFileCreate().hashCode();
break;
case 18:
hash = (37 * hash) + FILEDELETE_FIELD_NUMBER;
hash = (53 * hash) + getFileDelete().hashCode();
break;
case 19:
hash = (37 * hash) + FILEUPDATE_FIELD_NUMBER;
hash = (53 * hash) + getFileUpdate().hashCode();
break;
case 20:
hash = (37 * hash) + SYSTEMDELETE_FIELD_NUMBER;
hash = (53 * hash) + getSystemDelete().hashCode();
break;
case 21:
hash = (37 * hash) + SYSTEMUNDELETE_FIELD_NUMBER;
hash = (53 * hash) + getSystemUndelete().hashCode();
break;
case 22:
hash = (37 * hash) + CONTRACTDELETEINSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getContractDeleteInstance().hashCode();
break;
case 23:
hash = (37 * hash) + FREEZE_FIELD_NUMBER;
hash = (53 * hash) + getFreeze().hashCode();
break;
case 24:
hash = (37 * hash) + CONSENSUSCREATETOPIC_FIELD_NUMBER;
hash = (53 * hash) + getConsensusCreateTopic().hashCode();
break;
case 25:
hash = (37 * hash) + CONSENSUSUPDATETOPIC_FIELD_NUMBER;
hash = (53 * hash) + getConsensusUpdateTopic().hashCode();
break;
case 26:
hash = (37 * hash) + CONSENSUSDELETETOPIC_FIELD_NUMBER;
hash = (53 * hash) + getConsensusDeleteTopic().hashCode();
break;
case 27:
hash = (37 * hash) + CONSENSUSSUBMITMESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getConsensusSubmitMessage().hashCode();
break;
case 28:
hash = (37 * hash) + UNCHECKEDSUBMIT_FIELD_NUMBER;
hash = (53 * hash) + getUncheckedSubmit().hashCode();
break;
case 29:
hash = (37 * hash) + TOKENCREATION_FIELD_NUMBER;
hash = (53 * hash) + getTokenCreation().hashCode();
break;
case 31:
hash = (37 * hash) + TOKENFREEZE_FIELD_NUMBER;
hash = (53 * hash) + getTokenFreeze().hashCode();
break;
case 32:
hash = (37 * hash) + TOKENUNFREEZE_FIELD_NUMBER;
hash = (53 * hash) + getTokenUnfreeze().hashCode();
break;
case 33:
hash = (37 * hash) + TOKENGRANTKYC_FIELD_NUMBER;
hash = (53 * hash) + getTokenGrantKyc().hashCode();
break;
case 34:
hash = (37 * hash) + TOKENREVOKEKYC_FIELD_NUMBER;
hash = (53 * hash) + getTokenRevokeKyc().hashCode();
break;
case 35:
hash = (37 * hash) + TOKENDELETION_FIELD_NUMBER;
hash = (53 * hash) + getTokenDeletion().hashCode();
break;
case 36:
hash = (37 * hash) + TOKENUPDATE_FIELD_NUMBER;
hash = (53 * hash) + getTokenUpdate().hashCode();
break;
case 37:
hash = (37 * hash) + TOKENMINT_FIELD_NUMBER;
hash = (53 * hash) + getTokenMint().hashCode();
break;
case 38:
hash = (37 * hash) + TOKENBURN_FIELD_NUMBER;
hash = (53 * hash) + getTokenBurn().hashCode();
break;
case 39:
hash = (37 * hash) + TOKENWIPE_FIELD_NUMBER;
hash = (53 * hash) + getTokenWipe().hashCode();
break;
case 40:
hash = (37 * hash) + TOKENASSOCIATE_FIELD_NUMBER;
hash = (53 * hash) + getTokenAssociate().hashCode();
break;
case 41:
hash = (37 * hash) + TOKENDISSOCIATE_FIELD_NUMBER;
hash = (53 * hash) + getTokenDissociate().hashCode();
break;
case 42:
hash = (37 * hash) + SCHEDULECREATE_FIELD_NUMBER;
hash = (53 * hash) + getScheduleCreate().hashCode();
break;
case 43:
hash = (37 * hash) + SCHEDULEDELETE_FIELD_NUMBER;
hash = (53 * hash) + getScheduleDelete().hashCode();
break;
case 44:
hash = (37 * hash) + SCHEDULESIGN_FIELD_NUMBER;
hash = (53 * hash) + getScheduleSign().hashCode();
break;
case 45:
hash = (37 * hash) + TOKEN_FEE_SCHEDULE_UPDATE_FIELD_NUMBER;
hash = (53 * hash) + getTokenFeeScheduleUpdate().hashCode();
break;
case 46:
hash = (37 * hash) + TOKEN_PAUSE_FIELD_NUMBER;
hash = (53 * hash) + getTokenPause().hashCode();
break;
case 47:
hash = (37 * hash) + TOKEN_UNPAUSE_FIELD_NUMBER;
hash = (53 * hash) + getTokenUnpause().hashCode();
break;
case 48:
hash = (37 * hash) + CRYPTOAPPROVEALLOWANCE_FIELD_NUMBER;
hash = (53 * hash) + getCryptoApproveAllowance().hashCode();
break;
case 49:
hash = (37 * hash) + CRYPTODELETEALLOWANCE_FIELD_NUMBER;
hash = (53 * hash) + getCryptoDeleteAllowance().hashCode();
break;
case 50:
hash = (37 * hash) + ETHEREUMTRANSACTION_FIELD_NUMBER;
hash = (53 * hash) + getEthereumTransaction().hashCode();
break;
case 51:
hash = (37 * hash) + NODE_STAKE_UPDATE_FIELD_NUMBER;
hash = (53 * hash) + getNodeStakeUpdate().hashCode();
break;
case 52:
hash = (37 * hash) + UTIL_PRNG_FIELD_NUMBER;
hash = (53 * hash) + getUtilPrng().hashCode();
break;
case 53:
hash = (37 * hash) + TOKEN_UPDATE_NFTS_FIELD_NUMBER;
hash = (53 * hash) + getTokenUpdateNfts().hashCode();
break;
case 54:
hash = (37 * hash) + NODECREATE_FIELD_NUMBER;
hash = (53 * hash) + getNodeCreate().hashCode();
break;
case 55:
hash = (37 * hash) + NODEUPDATE_FIELD_NUMBER;
hash = (53 * hash) + getNodeUpdate().hashCode();
break;
case 56:
hash = (37 * hash) + NODEDELETE_FIELD_NUMBER;
hash = (53 * hash) + getNodeDelete().hashCode();
break;
case 57:
hash = (37 * hash) + TOKENREJECT_FIELD_NUMBER;
hash = (53 * hash) + getTokenReject().hashCode();
break;
case 58:
hash = (37 * hash) + TOKENAIRDROP_FIELD_NUMBER;
hash = (53 * hash) + getTokenAirdrop().hashCode();
break;
case 59:
hash = (37 * hash) + TOKENCANCELAIRDROP_FIELD_NUMBER;
hash = (53 * hash) + getTokenCancelAirdrop().hashCode();
break;
case 60:
hash = (37 * hash) + TOKENCLAIMAIRDROP_FIELD_NUMBER;
hash = (53 * hash) + getTokenClaimAirdrop().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(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 PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(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 PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, 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.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, 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.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.TransactionBody prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* A single transaction. All transaction types are possible here.
*
*
* Protobuf type {@code proto.TransactionBody}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:proto.TransactionBody)
com.hedera.hashgraph.sdk.proto.TransactionBodyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hedera.hashgraph.sdk.proto.TransactionBodyOuterClass.internal_static_proto_TransactionBody_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hedera.hashgraph.sdk.proto.TransactionBodyOuterClass.internal_static_proto_TransactionBody_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hedera.hashgraph.sdk.proto.TransactionBody.class, com.hedera.hashgraph.sdk.proto.TransactionBody.Builder.class);
}
// Construct using com.hedera.hashgraph.sdk.proto.TransactionBody.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTransactionIDFieldBuilder();
getNodeAccountIDFieldBuilder();
getTransactionValidDurationFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
bitField1_ = 0;
transactionID_ = null;
if (transactionIDBuilder_ != null) {
transactionIDBuilder_.dispose();
transactionIDBuilder_ = null;
}
nodeAccountID_ = null;
if (nodeAccountIDBuilder_ != null) {
nodeAccountIDBuilder_.dispose();
nodeAccountIDBuilder_ = null;
}
transactionFee_ = 0L;
transactionValidDuration_ = null;
if (transactionValidDurationBuilder_ != null) {
transactionValidDurationBuilder_.dispose();
transactionValidDurationBuilder_ = null;
}
generateRecord_ = false;
memo_ = "";
if (contractCallBuilder_ != null) {
contractCallBuilder_.clear();
}
if (contractCreateInstanceBuilder_ != null) {
contractCreateInstanceBuilder_.clear();
}
if (contractUpdateInstanceBuilder_ != null) {
contractUpdateInstanceBuilder_.clear();
}
if (cryptoAddLiveHashBuilder_ != null) {
cryptoAddLiveHashBuilder_.clear();
}
if (cryptoCreateAccountBuilder_ != null) {
cryptoCreateAccountBuilder_.clear();
}
if (cryptoDeleteBuilder_ != null) {
cryptoDeleteBuilder_.clear();
}
if (cryptoDeleteLiveHashBuilder_ != null) {
cryptoDeleteLiveHashBuilder_.clear();
}
if (cryptoTransferBuilder_ != null) {
cryptoTransferBuilder_.clear();
}
if (cryptoUpdateAccountBuilder_ != null) {
cryptoUpdateAccountBuilder_.clear();
}
if (fileAppendBuilder_ != null) {
fileAppendBuilder_.clear();
}
if (fileCreateBuilder_ != null) {
fileCreateBuilder_.clear();
}
if (fileDeleteBuilder_ != null) {
fileDeleteBuilder_.clear();
}
if (fileUpdateBuilder_ != null) {
fileUpdateBuilder_.clear();
}
if (systemDeleteBuilder_ != null) {
systemDeleteBuilder_.clear();
}
if (systemUndeleteBuilder_ != null) {
systemUndeleteBuilder_.clear();
}
if (contractDeleteInstanceBuilder_ != null) {
contractDeleteInstanceBuilder_.clear();
}
if (freezeBuilder_ != null) {
freezeBuilder_.clear();
}
if (consensusCreateTopicBuilder_ != null) {
consensusCreateTopicBuilder_.clear();
}
if (consensusUpdateTopicBuilder_ != null) {
consensusUpdateTopicBuilder_.clear();
}
if (consensusDeleteTopicBuilder_ != null) {
consensusDeleteTopicBuilder_.clear();
}
if (consensusSubmitMessageBuilder_ != null) {
consensusSubmitMessageBuilder_.clear();
}
if (uncheckedSubmitBuilder_ != null) {
uncheckedSubmitBuilder_.clear();
}
if (tokenCreationBuilder_ != null) {
tokenCreationBuilder_.clear();
}
if (tokenFreezeBuilder_ != null) {
tokenFreezeBuilder_.clear();
}
if (tokenUnfreezeBuilder_ != null) {
tokenUnfreezeBuilder_.clear();
}
if (tokenGrantKycBuilder_ != null) {
tokenGrantKycBuilder_.clear();
}
if (tokenRevokeKycBuilder_ != null) {
tokenRevokeKycBuilder_.clear();
}
if (tokenDeletionBuilder_ != null) {
tokenDeletionBuilder_.clear();
}
if (tokenUpdateBuilder_ != null) {
tokenUpdateBuilder_.clear();
}
if (tokenMintBuilder_ != null) {
tokenMintBuilder_.clear();
}
if (tokenBurnBuilder_ != null) {
tokenBurnBuilder_.clear();
}
if (tokenWipeBuilder_ != null) {
tokenWipeBuilder_.clear();
}
if (tokenAssociateBuilder_ != null) {
tokenAssociateBuilder_.clear();
}
if (tokenDissociateBuilder_ != null) {
tokenDissociateBuilder_.clear();
}
if (scheduleCreateBuilder_ != null) {
scheduleCreateBuilder_.clear();
}
if (scheduleDeleteBuilder_ != null) {
scheduleDeleteBuilder_.clear();
}
if (scheduleSignBuilder_ != null) {
scheduleSignBuilder_.clear();
}
if (tokenFeeScheduleUpdateBuilder_ != null) {
tokenFeeScheduleUpdateBuilder_.clear();
}
if (tokenPauseBuilder_ != null) {
tokenPauseBuilder_.clear();
}
if (tokenUnpauseBuilder_ != null) {
tokenUnpauseBuilder_.clear();
}
if (cryptoApproveAllowanceBuilder_ != null) {
cryptoApproveAllowanceBuilder_.clear();
}
if (cryptoDeleteAllowanceBuilder_ != null) {
cryptoDeleteAllowanceBuilder_.clear();
}
if (ethereumTransactionBuilder_ != null) {
ethereumTransactionBuilder_.clear();
}
if (nodeStakeUpdateBuilder_ != null) {
nodeStakeUpdateBuilder_.clear();
}
if (utilPrngBuilder_ != null) {
utilPrngBuilder_.clear();
}
if (tokenUpdateNftsBuilder_ != null) {
tokenUpdateNftsBuilder_.clear();
}
if (nodeCreateBuilder_ != null) {
nodeCreateBuilder_.clear();
}
if (nodeUpdateBuilder_ != null) {
nodeUpdateBuilder_.clear();
}
if (nodeDeleteBuilder_ != null) {
nodeDeleteBuilder_.clear();
}
if (tokenRejectBuilder_ != null) {
tokenRejectBuilder_.clear();
}
if (tokenAirdropBuilder_ != null) {
tokenAirdropBuilder_.clear();
}
if (tokenCancelAirdropBuilder_ != null) {
tokenCancelAirdropBuilder_.clear();
}
if (tokenClaimAirdropBuilder_ != null) {
tokenClaimAirdropBuilder_.clear();
}
dataCase_ = 0;
data_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.hedera.hashgraph.sdk.proto.TransactionBodyOuterClass.internal_static_proto_TransactionBody_descriptor;
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionBody getDefaultInstanceForType() {
return com.hedera.hashgraph.sdk.proto.TransactionBody.getDefaultInstance();
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionBody build() {
com.hedera.hashgraph.sdk.proto.TransactionBody result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionBody buildPartial() {
com.hedera.hashgraph.sdk.proto.TransactionBody result = new com.hedera.hashgraph.sdk.proto.TransactionBody(this);
if (bitField0_ != 0) { buildPartial0(result); }
if (bitField1_ != 0) { buildPartial1(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(com.hedera.hashgraph.sdk.proto.TransactionBody result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.transactionID_ = transactionIDBuilder_ == null
? transactionID_
: transactionIDBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.nodeAccountID_ = nodeAccountIDBuilder_ == null
? nodeAccountID_
: nodeAccountIDBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.transactionFee_ = transactionFee_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.transactionValidDuration_ = transactionValidDurationBuilder_ == null
? transactionValidDuration_
: transactionValidDurationBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.generateRecord_ = generateRecord_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.memo_ = memo_;
}
result.bitField0_ |= to_bitField0_;
}
private void buildPartial1(com.hedera.hashgraph.sdk.proto.TransactionBody result) {
int from_bitField1_ = bitField1_;
}
private void buildPartialOneofs(com.hedera.hashgraph.sdk.proto.TransactionBody result) {
result.dataCase_ = dataCase_;
result.data_ = this.data_;
if (dataCase_ == 7 &&
contractCallBuilder_ != null) {
result.data_ = contractCallBuilder_.build();
}
if (dataCase_ == 8 &&
contractCreateInstanceBuilder_ != null) {
result.data_ = contractCreateInstanceBuilder_.build();
}
if (dataCase_ == 9 &&
contractUpdateInstanceBuilder_ != null) {
result.data_ = contractUpdateInstanceBuilder_.build();
}
if (dataCase_ == 10 &&
cryptoAddLiveHashBuilder_ != null) {
result.data_ = cryptoAddLiveHashBuilder_.build();
}
if (dataCase_ == 11 &&
cryptoCreateAccountBuilder_ != null) {
result.data_ = cryptoCreateAccountBuilder_.build();
}
if (dataCase_ == 12 &&
cryptoDeleteBuilder_ != null) {
result.data_ = cryptoDeleteBuilder_.build();
}
if (dataCase_ == 13 &&
cryptoDeleteLiveHashBuilder_ != null) {
result.data_ = cryptoDeleteLiveHashBuilder_.build();
}
if (dataCase_ == 14 &&
cryptoTransferBuilder_ != null) {
result.data_ = cryptoTransferBuilder_.build();
}
if (dataCase_ == 15 &&
cryptoUpdateAccountBuilder_ != null) {
result.data_ = cryptoUpdateAccountBuilder_.build();
}
if (dataCase_ == 16 &&
fileAppendBuilder_ != null) {
result.data_ = fileAppendBuilder_.build();
}
if (dataCase_ == 17 &&
fileCreateBuilder_ != null) {
result.data_ = fileCreateBuilder_.build();
}
if (dataCase_ == 18 &&
fileDeleteBuilder_ != null) {
result.data_ = fileDeleteBuilder_.build();
}
if (dataCase_ == 19 &&
fileUpdateBuilder_ != null) {
result.data_ = fileUpdateBuilder_.build();
}
if (dataCase_ == 20 &&
systemDeleteBuilder_ != null) {
result.data_ = systemDeleteBuilder_.build();
}
if (dataCase_ == 21 &&
systemUndeleteBuilder_ != null) {
result.data_ = systemUndeleteBuilder_.build();
}
if (dataCase_ == 22 &&
contractDeleteInstanceBuilder_ != null) {
result.data_ = contractDeleteInstanceBuilder_.build();
}
if (dataCase_ == 23 &&
freezeBuilder_ != null) {
result.data_ = freezeBuilder_.build();
}
if (dataCase_ == 24 &&
consensusCreateTopicBuilder_ != null) {
result.data_ = consensusCreateTopicBuilder_.build();
}
if (dataCase_ == 25 &&
consensusUpdateTopicBuilder_ != null) {
result.data_ = consensusUpdateTopicBuilder_.build();
}
if (dataCase_ == 26 &&
consensusDeleteTopicBuilder_ != null) {
result.data_ = consensusDeleteTopicBuilder_.build();
}
if (dataCase_ == 27 &&
consensusSubmitMessageBuilder_ != null) {
result.data_ = consensusSubmitMessageBuilder_.build();
}
if (dataCase_ == 28 &&
uncheckedSubmitBuilder_ != null) {
result.data_ = uncheckedSubmitBuilder_.build();
}
if (dataCase_ == 29 &&
tokenCreationBuilder_ != null) {
result.data_ = tokenCreationBuilder_.build();
}
if (dataCase_ == 31 &&
tokenFreezeBuilder_ != null) {
result.data_ = tokenFreezeBuilder_.build();
}
if (dataCase_ == 32 &&
tokenUnfreezeBuilder_ != null) {
result.data_ = tokenUnfreezeBuilder_.build();
}
if (dataCase_ == 33 &&
tokenGrantKycBuilder_ != null) {
result.data_ = tokenGrantKycBuilder_.build();
}
if (dataCase_ == 34 &&
tokenRevokeKycBuilder_ != null) {
result.data_ = tokenRevokeKycBuilder_.build();
}
if (dataCase_ == 35 &&
tokenDeletionBuilder_ != null) {
result.data_ = tokenDeletionBuilder_.build();
}
if (dataCase_ == 36 &&
tokenUpdateBuilder_ != null) {
result.data_ = tokenUpdateBuilder_.build();
}
if (dataCase_ == 37 &&
tokenMintBuilder_ != null) {
result.data_ = tokenMintBuilder_.build();
}
if (dataCase_ == 38 &&
tokenBurnBuilder_ != null) {
result.data_ = tokenBurnBuilder_.build();
}
if (dataCase_ == 39 &&
tokenWipeBuilder_ != null) {
result.data_ = tokenWipeBuilder_.build();
}
if (dataCase_ == 40 &&
tokenAssociateBuilder_ != null) {
result.data_ = tokenAssociateBuilder_.build();
}
if (dataCase_ == 41 &&
tokenDissociateBuilder_ != null) {
result.data_ = tokenDissociateBuilder_.build();
}
if (dataCase_ == 42 &&
scheduleCreateBuilder_ != null) {
result.data_ = scheduleCreateBuilder_.build();
}
if (dataCase_ == 43 &&
scheduleDeleteBuilder_ != null) {
result.data_ = scheduleDeleteBuilder_.build();
}
if (dataCase_ == 44 &&
scheduleSignBuilder_ != null) {
result.data_ = scheduleSignBuilder_.build();
}
if (dataCase_ == 45 &&
tokenFeeScheduleUpdateBuilder_ != null) {
result.data_ = tokenFeeScheduleUpdateBuilder_.build();
}
if (dataCase_ == 46 &&
tokenPauseBuilder_ != null) {
result.data_ = tokenPauseBuilder_.build();
}
if (dataCase_ == 47 &&
tokenUnpauseBuilder_ != null) {
result.data_ = tokenUnpauseBuilder_.build();
}
if (dataCase_ == 48 &&
cryptoApproveAllowanceBuilder_ != null) {
result.data_ = cryptoApproveAllowanceBuilder_.build();
}
if (dataCase_ == 49 &&
cryptoDeleteAllowanceBuilder_ != null) {
result.data_ = cryptoDeleteAllowanceBuilder_.build();
}
if (dataCase_ == 50 &&
ethereumTransactionBuilder_ != null) {
result.data_ = ethereumTransactionBuilder_.build();
}
if (dataCase_ == 51 &&
nodeStakeUpdateBuilder_ != null) {
result.data_ = nodeStakeUpdateBuilder_.build();
}
if (dataCase_ == 52 &&
utilPrngBuilder_ != null) {
result.data_ = utilPrngBuilder_.build();
}
if (dataCase_ == 53 &&
tokenUpdateNftsBuilder_ != null) {
result.data_ = tokenUpdateNftsBuilder_.build();
}
if (dataCase_ == 54 &&
nodeCreateBuilder_ != null) {
result.data_ = nodeCreateBuilder_.build();
}
if (dataCase_ == 55 &&
nodeUpdateBuilder_ != null) {
result.data_ = nodeUpdateBuilder_.build();
}
if (dataCase_ == 56 &&
nodeDeleteBuilder_ != null) {
result.data_ = nodeDeleteBuilder_.build();
}
if (dataCase_ == 57 &&
tokenRejectBuilder_ != null) {
result.data_ = tokenRejectBuilder_.build();
}
if (dataCase_ == 58 &&
tokenAirdropBuilder_ != null) {
result.data_ = tokenAirdropBuilder_.build();
}
if (dataCase_ == 59 &&
tokenCancelAirdropBuilder_ != null) {
result.data_ = tokenCancelAirdropBuilder_.build();
}
if (dataCase_ == 60 &&
tokenClaimAirdropBuilder_ != null) {
result.data_ = tokenClaimAirdropBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.hedera.hashgraph.sdk.proto.TransactionBody) {
return mergeFrom((com.hedera.hashgraph.sdk.proto.TransactionBody)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.hedera.hashgraph.sdk.proto.TransactionBody other) {
if (other == com.hedera.hashgraph.sdk.proto.TransactionBody.getDefaultInstance()) return this;
if (other.hasTransactionID()) {
mergeTransactionID(other.getTransactionID());
}
if (other.hasNodeAccountID()) {
mergeNodeAccountID(other.getNodeAccountID());
}
if (other.getTransactionFee() != 0L) {
setTransactionFee(other.getTransactionFee());
}
if (other.hasTransactionValidDuration()) {
mergeTransactionValidDuration(other.getTransactionValidDuration());
}
if (other.getGenerateRecord() != false) {
setGenerateRecord(other.getGenerateRecord());
}
if (!other.getMemo().isEmpty()) {
memo_ = other.memo_;
bitField0_ |= 0x00000020;
onChanged();
}
switch (other.getDataCase()) {
case CONTRACTCALL: {
mergeContractCall(other.getContractCall());
break;
}
case CONTRACTCREATEINSTANCE: {
mergeContractCreateInstance(other.getContractCreateInstance());
break;
}
case CONTRACTUPDATEINSTANCE: {
mergeContractUpdateInstance(other.getContractUpdateInstance());
break;
}
case CRYPTOADDLIVEHASH: {
mergeCryptoAddLiveHash(other.getCryptoAddLiveHash());
break;
}
case CRYPTOCREATEACCOUNT: {
mergeCryptoCreateAccount(other.getCryptoCreateAccount());
break;
}
case CRYPTODELETE: {
mergeCryptoDelete(other.getCryptoDelete());
break;
}
case CRYPTODELETELIVEHASH: {
mergeCryptoDeleteLiveHash(other.getCryptoDeleteLiveHash());
break;
}
case CRYPTOTRANSFER: {
mergeCryptoTransfer(other.getCryptoTransfer());
break;
}
case CRYPTOUPDATEACCOUNT: {
mergeCryptoUpdateAccount(other.getCryptoUpdateAccount());
break;
}
case FILEAPPEND: {
mergeFileAppend(other.getFileAppend());
break;
}
case FILECREATE: {
mergeFileCreate(other.getFileCreate());
break;
}
case FILEDELETE: {
mergeFileDelete(other.getFileDelete());
break;
}
case FILEUPDATE: {
mergeFileUpdate(other.getFileUpdate());
break;
}
case SYSTEMDELETE: {
mergeSystemDelete(other.getSystemDelete());
break;
}
case SYSTEMUNDELETE: {
mergeSystemUndelete(other.getSystemUndelete());
break;
}
case CONTRACTDELETEINSTANCE: {
mergeContractDeleteInstance(other.getContractDeleteInstance());
break;
}
case FREEZE: {
mergeFreeze(other.getFreeze());
break;
}
case CONSENSUSCREATETOPIC: {
mergeConsensusCreateTopic(other.getConsensusCreateTopic());
break;
}
case CONSENSUSUPDATETOPIC: {
mergeConsensusUpdateTopic(other.getConsensusUpdateTopic());
break;
}
case CONSENSUSDELETETOPIC: {
mergeConsensusDeleteTopic(other.getConsensusDeleteTopic());
break;
}
case CONSENSUSSUBMITMESSAGE: {
mergeConsensusSubmitMessage(other.getConsensusSubmitMessage());
break;
}
case UNCHECKEDSUBMIT: {
mergeUncheckedSubmit(other.getUncheckedSubmit());
break;
}
case TOKENCREATION: {
mergeTokenCreation(other.getTokenCreation());
break;
}
case TOKENFREEZE: {
mergeTokenFreeze(other.getTokenFreeze());
break;
}
case TOKENUNFREEZE: {
mergeTokenUnfreeze(other.getTokenUnfreeze());
break;
}
case TOKENGRANTKYC: {
mergeTokenGrantKyc(other.getTokenGrantKyc());
break;
}
case TOKENREVOKEKYC: {
mergeTokenRevokeKyc(other.getTokenRevokeKyc());
break;
}
case TOKENDELETION: {
mergeTokenDeletion(other.getTokenDeletion());
break;
}
case TOKENUPDATE: {
mergeTokenUpdate(other.getTokenUpdate());
break;
}
case TOKENMINT: {
mergeTokenMint(other.getTokenMint());
break;
}
case TOKENBURN: {
mergeTokenBurn(other.getTokenBurn());
break;
}
case TOKENWIPE: {
mergeTokenWipe(other.getTokenWipe());
break;
}
case TOKENASSOCIATE: {
mergeTokenAssociate(other.getTokenAssociate());
break;
}
case TOKENDISSOCIATE: {
mergeTokenDissociate(other.getTokenDissociate());
break;
}
case SCHEDULECREATE: {
mergeScheduleCreate(other.getScheduleCreate());
break;
}
case SCHEDULEDELETE: {
mergeScheduleDelete(other.getScheduleDelete());
break;
}
case SCHEDULESIGN: {
mergeScheduleSign(other.getScheduleSign());
break;
}
case TOKEN_FEE_SCHEDULE_UPDATE: {
mergeTokenFeeScheduleUpdate(other.getTokenFeeScheduleUpdate());
break;
}
case TOKEN_PAUSE: {
mergeTokenPause(other.getTokenPause());
break;
}
case TOKEN_UNPAUSE: {
mergeTokenUnpause(other.getTokenUnpause());
break;
}
case CRYPTOAPPROVEALLOWANCE: {
mergeCryptoApproveAllowance(other.getCryptoApproveAllowance());
break;
}
case CRYPTODELETEALLOWANCE: {
mergeCryptoDeleteAllowance(other.getCryptoDeleteAllowance());
break;
}
case ETHEREUMTRANSACTION: {
mergeEthereumTransaction(other.getEthereumTransaction());
break;
}
case NODE_STAKE_UPDATE: {
mergeNodeStakeUpdate(other.getNodeStakeUpdate());
break;
}
case UTIL_PRNG: {
mergeUtilPrng(other.getUtilPrng());
break;
}
case TOKEN_UPDATE_NFTS: {
mergeTokenUpdateNfts(other.getTokenUpdateNfts());
break;
}
case NODECREATE: {
mergeNodeCreate(other.getNodeCreate());
break;
}
case NODEUPDATE: {
mergeNodeUpdate(other.getNodeUpdate());
break;
}
case NODEDELETE: {
mergeNodeDelete(other.getNodeDelete());
break;
}
case TOKENREJECT: {
mergeTokenReject(other.getTokenReject());
break;
}
case TOKENAIRDROP: {
mergeTokenAirdrop(other.getTokenAirdrop());
break;
}
case TOKENCANCELAIRDROP: {
mergeTokenCancelAirdrop(other.getTokenCancelAirdrop());
break;
}
case TOKENCLAIMAIRDROP: {
mergeTokenClaimAirdrop(other.getTokenClaimAirdrop());
break;
}
case DATA_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getTransactionIDFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getNodeAccountIDFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
transactionFee_ = input.readUInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
input.readMessage(
getTransactionValidDurationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
generateRecord_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
case 50: {
memo_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
input.readMessage(
getContractCallFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 7;
break;
} // case 58
case 66: {
input.readMessage(
getContractCreateInstanceFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 8;
break;
} // case 66
case 74: {
input.readMessage(
getContractUpdateInstanceFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 9;
break;
} // case 74
case 82: {
input.readMessage(
getCryptoAddLiveHashFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 10;
break;
} // case 82
case 90: {
input.readMessage(
getCryptoCreateAccountFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 11;
break;
} // case 90
case 98: {
input.readMessage(
getCryptoDeleteFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 12;
break;
} // case 98
case 106: {
input.readMessage(
getCryptoDeleteLiveHashFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 13;
break;
} // case 106
case 114: {
input.readMessage(
getCryptoTransferFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 14;
break;
} // case 114
case 122: {
input.readMessage(
getCryptoUpdateAccountFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 15;
break;
} // case 122
case 130: {
input.readMessage(
getFileAppendFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 16;
break;
} // case 130
case 138: {
input.readMessage(
getFileCreateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 17;
break;
} // case 138
case 146: {
input.readMessage(
getFileDeleteFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 18;
break;
} // case 146
case 154: {
input.readMessage(
getFileUpdateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 19;
break;
} // case 154
case 162: {
input.readMessage(
getSystemDeleteFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 20;
break;
} // case 162
case 170: {
input.readMessage(
getSystemUndeleteFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 21;
break;
} // case 170
case 178: {
input.readMessage(
getContractDeleteInstanceFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 22;
break;
} // case 178
case 186: {
input.readMessage(
getFreezeFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 23;
break;
} // case 186
case 194: {
input.readMessage(
getConsensusCreateTopicFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 24;
break;
} // case 194
case 202: {
input.readMessage(
getConsensusUpdateTopicFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 25;
break;
} // case 202
case 210: {
input.readMessage(
getConsensusDeleteTopicFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 26;
break;
} // case 210
case 218: {
input.readMessage(
getConsensusSubmitMessageFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 27;
break;
} // case 218
case 226: {
input.readMessage(
getUncheckedSubmitFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 28;
break;
} // case 226
case 234: {
input.readMessage(
getTokenCreationFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 29;
break;
} // case 234
case 250: {
input.readMessage(
getTokenFreezeFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 31;
break;
} // case 250
case 258: {
input.readMessage(
getTokenUnfreezeFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 32;
break;
} // case 258
case 266: {
input.readMessage(
getTokenGrantKycFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 33;
break;
} // case 266
case 274: {
input.readMessage(
getTokenRevokeKycFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 34;
break;
} // case 274
case 282: {
input.readMessage(
getTokenDeletionFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 35;
break;
} // case 282
case 290: {
input.readMessage(
getTokenUpdateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 36;
break;
} // case 290
case 298: {
input.readMessage(
getTokenMintFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 37;
break;
} // case 298
case 306: {
input.readMessage(
getTokenBurnFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 38;
break;
} // case 306
case 314: {
input.readMessage(
getTokenWipeFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 39;
break;
} // case 314
case 322: {
input.readMessage(
getTokenAssociateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 40;
break;
} // case 322
case 330: {
input.readMessage(
getTokenDissociateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 41;
break;
} // case 330
case 338: {
input.readMessage(
getScheduleCreateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 42;
break;
} // case 338
case 346: {
input.readMessage(
getScheduleDeleteFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 43;
break;
} // case 346
case 354: {
input.readMessage(
getScheduleSignFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 44;
break;
} // case 354
case 362: {
input.readMessage(
getTokenFeeScheduleUpdateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 45;
break;
} // case 362
case 370: {
input.readMessage(
getTokenPauseFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 46;
break;
} // case 370
case 378: {
input.readMessage(
getTokenUnpauseFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 47;
break;
} // case 378
case 386: {
input.readMessage(
getCryptoApproveAllowanceFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 48;
break;
} // case 386
case 394: {
input.readMessage(
getCryptoDeleteAllowanceFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 49;
break;
} // case 394
case 402: {
input.readMessage(
getEthereumTransactionFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 50;
break;
} // case 402
case 410: {
input.readMessage(
getNodeStakeUpdateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 51;
break;
} // case 410
case 418: {
input.readMessage(
getUtilPrngFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 52;
break;
} // case 418
case 426: {
input.readMessage(
getTokenUpdateNftsFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 53;
break;
} // case 426
case 434: {
input.readMessage(
getNodeCreateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 54;
break;
} // case 434
case 442: {
input.readMessage(
getNodeUpdateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 55;
break;
} // case 442
case 450: {
input.readMessage(
getNodeDeleteFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 56;
break;
} // case 450
case 458: {
input.readMessage(
getTokenRejectFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 57;
break;
} // case 458
case 466: {
input.readMessage(
getTokenAirdropFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 58;
break;
} // case 466
case 474: {
input.readMessage(
getTokenCancelAirdropFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 59;
break;
} // case 474
case 482: {
input.readMessage(
getTokenClaimAirdropFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 60;
break;
} // case 482
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int dataCase_ = 0;
private java.lang.Object data_;
public DataCase
getDataCase() {
return DataCase.forNumber(
dataCase_);
}
public Builder clearData() {
dataCase_ = 0;
data_ = null;
onChanged();
return this;
}
private int bitField0_;
private int bitField1_;
private com.hedera.hashgraph.sdk.proto.TransactionID transactionID_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionID, com.hedera.hashgraph.sdk.proto.TransactionID.Builder, com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder> transactionIDBuilder_;
/**
*
**
* 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;
* @return Whether the transactionID field is set.
*/
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;
* @return The transactionID.
*/
public com.hedera.hashgraph.sdk.proto.TransactionID getTransactionID() {
if (transactionIDBuilder_ == null) {
return transactionID_ == null ? com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance() : transactionID_;
} else {
return transactionIDBuilder_.getMessage();
}
}
/**
*
**
* 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) {
if (transactionIDBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
transactionID_ = value;
} else {
transactionIDBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
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) {
if (transactionIDBuilder_ == null) {
transactionID_ = builderForValue.build();
} else {
transactionIDBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
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) {
if (transactionIDBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
transactionID_ != null &&
transactionID_ != com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance()) {
getTransactionIDBuilder().mergeFrom(value);
} else {
transactionID_ = value;
}
} else {
transactionIDBuilder_.mergeFrom(value);
}
if (transactionID_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
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() {
bitField0_ = (bitField0_ & ~0x00000001);
transactionID_ = null;
if (transactionIDBuilder_ != null) {
transactionIDBuilder_.dispose();
transactionIDBuilder_ = null;
}
onChanged();
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 com.hedera.hashgraph.sdk.proto.TransactionID.Builder getTransactionIDBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getTransactionIDFieldBuilder().getBuilder();
}
/**
*
**
* 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 com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder getTransactionIDOrBuilder() {
if (transactionIDBuilder_ != null) {
return transactionIDBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionID, com.hedera.hashgraph.sdk.proto.TransactionID.Builder, com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder>
getTransactionIDFieldBuilder() {
if (transactionIDBuilder_ == null) {
transactionIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionID, com.hedera.hashgraph.sdk.proto.TransactionID.Builder, com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder>(
getTransactionID(),
getParentForChildren(),
isClean());
transactionID_ = null;
}
return transactionIDBuilder_;
}
private com.hedera.hashgraph.sdk.proto.AccountID nodeAccountID_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.AccountID, com.hedera.hashgraph.sdk.proto.AccountID.Builder, com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder> nodeAccountIDBuilder_;
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
* @return Whether the nodeAccountID field is set.
*/
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;
* @return The nodeAccountID.
*/
public com.hedera.hashgraph.sdk.proto.AccountID getNodeAccountID() {
if (nodeAccountIDBuilder_ == null) {
return nodeAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : nodeAccountID_;
} else {
return nodeAccountIDBuilder_.getMessage();
}
}
/**
*
**
* 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) {
if (nodeAccountIDBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
nodeAccountID_ = value;
} else {
nodeAccountIDBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
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) {
if (nodeAccountIDBuilder_ == null) {
nodeAccountID_ = builderForValue.build();
} else {
nodeAccountIDBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
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) {
if (nodeAccountIDBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
nodeAccountID_ != null &&
nodeAccountID_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) {
getNodeAccountIDBuilder().mergeFrom(value);
} else {
nodeAccountID_ = value;
}
} else {
nodeAccountIDBuilder_.mergeFrom(value);
}
if (nodeAccountID_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
public Builder clearNodeAccountID() {
bitField0_ = (bitField0_ & ~0x00000002);
nodeAccountID_ = null;
if (nodeAccountIDBuilder_ != null) {
nodeAccountIDBuilder_.dispose();
nodeAccountIDBuilder_ = null;
}
onChanged();
return this;
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
public com.hedera.hashgraph.sdk.proto.AccountID.Builder getNodeAccountIDBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getNodeAccountIDFieldBuilder().getBuilder();
}
/**
*
**
* The account of the node that submits the client's transaction to the network
*
*
* .proto.AccountID nodeAccountID = 2;
*/
public com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getNodeAccountIDOrBuilder() {
if (nodeAccountIDBuilder_ != null) {
return nodeAccountIDBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.AccountID, com.hedera.hashgraph.sdk.proto.AccountID.Builder, com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder>
getNodeAccountIDFieldBuilder() {
if (nodeAccountIDBuilder_ == null) {
nodeAccountIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.AccountID, com.hedera.hashgraph.sdk.proto.AccountID.Builder, com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder>(
getNodeAccountID(),
getParentForChildren(),
isClean());
nodeAccountID_ = null;
}
return nodeAccountIDBuilder_;
}
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.
* @return This builder for chaining.
*/
public Builder setTransactionFee(long value) {
transactionFee_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 3;
* @return This builder for chaining.
*/
public Builder clearTransactionFee() {
bitField0_ = (bitField0_ & ~0x00000004);
transactionFee_ = 0L;
onChanged();
return this;
}
private com.hedera.hashgraph.sdk.proto.Duration transactionValidDuration_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.Duration, com.hedera.hashgraph.sdk.proto.Duration.Builder, com.hedera.hashgraph.sdk.proto.DurationOrBuilder> transactionValidDurationBuilder_;
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
* @return Whether the transactionValidDuration field is set.
*/
public boolean hasTransactionValidDuration() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
* @return The transactionValidDuration.
*/
public com.hedera.hashgraph.sdk.proto.Duration getTransactionValidDuration() {
if (transactionValidDurationBuilder_ == null) {
return transactionValidDuration_ == null ? com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance() : transactionValidDuration_;
} else {
return transactionValidDurationBuilder_.getMessage();
}
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
public Builder setTransactionValidDuration(com.hedera.hashgraph.sdk.proto.Duration value) {
if (transactionValidDurationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
transactionValidDuration_ = value;
} else {
transactionValidDurationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
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) {
if (transactionValidDurationBuilder_ == null) {
transactionValidDuration_ = builderForValue.build();
} else {
transactionValidDurationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
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) {
if (transactionValidDurationBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
transactionValidDuration_ != null &&
transactionValidDuration_ != com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance()) {
getTransactionValidDurationBuilder().mergeFrom(value);
} else {
transactionValidDuration_ = value;
}
} else {
transactionValidDurationBuilder_.mergeFrom(value);
}
if (transactionValidDuration_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
public Builder clearTransactionValidDuration() {
bitField0_ = (bitField0_ & ~0x00000008);
transactionValidDuration_ = null;
if (transactionValidDurationBuilder_ != null) {
transactionValidDurationBuilder_.dispose();
transactionValidDurationBuilder_ = null;
}
onChanged();
return this;
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
public com.hedera.hashgraph.sdk.proto.Duration.Builder getTransactionValidDurationBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getTransactionValidDurationFieldBuilder().getBuilder();
}
/**
*
**
* The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
* transactionValidDuration
*
*
* .proto.Duration transactionValidDuration = 4;
*/
public com.hedera.hashgraph.sdk.proto.DurationOrBuilder getTransactionValidDurationOrBuilder() {
if (transactionValidDurationBuilder_ != null) {
return transactionValidDurationBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.Duration, com.hedera.hashgraph.sdk.proto.Duration.Builder, com.hedera.hashgraph.sdk.proto.DurationOrBuilder>
getTransactionValidDurationFieldBuilder() {
if (transactionValidDurationBuilder_ == null) {
transactionValidDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.Duration, com.hedera.hashgraph.sdk.proto.Duration.Builder, com.hedera.hashgraph.sdk.proto.DurationOrBuilder>(
getTransactionValidDuration(),
getParentForChildren(),
isClean());
transactionValidDuration_ = null;
}
return transactionValidDurationBuilder_;
}
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.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setGenerateRecord(boolean value) {
generateRecord_ = value;
bitField0_ |= 0x00000010;
onChanged();
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() {
bitField0_ = (bitField0_ & ~0x00000010);
generateRecord_ = false;
onChanged();
return this;
}
private java.lang.Object memo_ = "";
/**
*
**
* Any notes or descriptions that should be put into the record (max length 100)
*
*
* string memo = 6;
* @return The memo.
*/
public java.lang.String getMemo() {
java.lang.Object ref = memo_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
memo_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
**
* Any notes or descriptions that should be put into the record (max length 100)
*
*
* string memo = 6;
* @return The bytes for memo.
*/
public com.google.protobuf.ByteString
getMemoBytes() {
java.lang.Object ref = memo_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
memo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
**
* 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) {
if (value == null) { throw new NullPointerException(); }
memo_ = value;
bitField0_ |= 0x00000020;
onChanged();
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() {
memo_ = getDefaultInstance().getMemo();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
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) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
memo_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody, com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ContractCallTransactionBodyOrBuilder> contractCallBuilder_;
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
* @return Whether the contractCall field is set.
*/
@java.lang.Override
public boolean hasContractCall() {
return dataCase_ == 7;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
* @return The contractCall.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody getContractCall() {
if (contractCallBuilder_ == null) {
if (dataCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 7) {
return contractCallBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
*/
public Builder setContractCall(com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody value) {
if (contractCallBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
contractCallBuilder_.setMessage(value);
}
dataCase_ = 7;
return this;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
*/
public Builder setContractCall(
com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.Builder builderForValue) {
if (contractCallBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
contractCallBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 7;
return this;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
*/
public Builder mergeContractCall(com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody value) {
if (contractCallBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 7) {
contractCallBuilder_.mergeFrom(value);
} else {
contractCallBuilder_.setMessage(value);
}
}
dataCase_ = 7;
return this;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
*/
public Builder clearContractCall() {
if (contractCallBuilder_ == null) {
if (dataCase_ == 7) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 7) {
dataCase_ = 0;
data_ = null;
}
contractCallBuilder_.clear();
}
return this;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
*/
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.Builder getContractCallBuilder() {
return getContractCallFieldBuilder().getBuilder();
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 7;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBodyOrBuilder getContractCallOrBuilder() {
if ((dataCase_ == 7) && (contractCallBuilder_ != null)) {
return contractCallBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody, com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ContractCallTransactionBodyOrBuilder>
getContractCallFieldBuilder() {
if (contractCallBuilder_ == null) {
if (!(dataCase_ == 7)) {
data_ = com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.getDefaultInstance();
}
contractCallBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody, com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ContractCallTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 7;
onChanged();
return contractCallBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody, com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBodyOrBuilder> contractCreateInstanceBuilder_;
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
* @return Whether the contractCreateInstance field is set.
*/
@java.lang.Override
public boolean hasContractCreateInstance() {
return dataCase_ == 8;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
* @return The contractCreateInstance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody getContractCreateInstance() {
if (contractCreateInstanceBuilder_ == null) {
if (dataCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 8) {
return contractCreateInstanceBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
public Builder setContractCreateInstance(com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody value) {
if (contractCreateInstanceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
contractCreateInstanceBuilder_.setMessage(value);
}
dataCase_ = 8;
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
public Builder setContractCreateInstance(
com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.Builder builderForValue) {
if (contractCreateInstanceBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
contractCreateInstanceBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 8;
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
public Builder mergeContractCreateInstance(com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody value) {
if (contractCreateInstanceBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 8) {
contractCreateInstanceBuilder_.mergeFrom(value);
} else {
contractCreateInstanceBuilder_.setMessage(value);
}
}
dataCase_ = 8;
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
public Builder clearContractCreateInstance() {
if (contractCreateInstanceBuilder_ == null) {
if (dataCase_ == 8) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 8) {
dataCase_ = 0;
data_ = null;
}
contractCreateInstanceBuilder_.clear();
}
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.Builder getContractCreateInstanceBuilder() {
return getContractCreateInstanceFieldBuilder().getBuilder();
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 8;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBodyOrBuilder getContractCreateInstanceOrBuilder() {
if ((dataCase_ == 8) && (contractCreateInstanceBuilder_ != null)) {
return contractCreateInstanceBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody, com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBodyOrBuilder>
getContractCreateInstanceFieldBuilder() {
if (contractCreateInstanceBuilder_ == null) {
if (!(dataCase_ == 8)) {
data_ = com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance();
}
contractCreateInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody, com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 8;
onChanged();
return contractCreateInstanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBodyOrBuilder> contractUpdateInstanceBuilder_;
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
* @return Whether the contractUpdateInstance field is set.
*/
@java.lang.Override
public boolean hasContractUpdateInstance() {
return dataCase_ == 9;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
* @return The contractUpdateInstance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody getContractUpdateInstance() {
if (contractUpdateInstanceBuilder_ == null) {
if (dataCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 9) {
return contractUpdateInstanceBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
public Builder setContractUpdateInstance(com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody value) {
if (contractUpdateInstanceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
contractUpdateInstanceBuilder_.setMessage(value);
}
dataCase_ = 9;
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
public Builder setContractUpdateInstance(
com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.Builder builderForValue) {
if (contractUpdateInstanceBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
contractUpdateInstanceBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 9;
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
public Builder mergeContractUpdateInstance(com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody value) {
if (contractUpdateInstanceBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 9) {
contractUpdateInstanceBuilder_.mergeFrom(value);
} else {
contractUpdateInstanceBuilder_.setMessage(value);
}
}
dataCase_ = 9;
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
public Builder clearContractUpdateInstance() {
if (contractUpdateInstanceBuilder_ == null) {
if (dataCase_ == 9) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 9) {
dataCase_ = 0;
data_ = null;
}
contractUpdateInstanceBuilder_.clear();
}
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.Builder getContractUpdateInstanceBuilder() {
return getContractUpdateInstanceFieldBuilder().getBuilder();
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 9;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBodyOrBuilder getContractUpdateInstanceOrBuilder() {
if ((dataCase_ == 9) && (contractUpdateInstanceBuilder_ != null)) {
return contractUpdateInstanceBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBodyOrBuilder>
getContractUpdateInstanceFieldBuilder() {
if (contractUpdateInstanceBuilder_ == null) {
if (!(dataCase_ == 9)) {
data_ = com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance();
}
contractUpdateInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 9;
onChanged();
return contractUpdateInstanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBodyOrBuilder> cryptoAddLiveHashBuilder_;
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
* @return Whether the cryptoAddLiveHash field is set.
*/
@java.lang.Override
public boolean hasCryptoAddLiveHash() {
return dataCase_ == 10;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
* @return The cryptoAddLiveHash.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody getCryptoAddLiveHash() {
if (cryptoAddLiveHashBuilder_ == null) {
if (dataCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 10) {
return cryptoAddLiveHashBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
public Builder setCryptoAddLiveHash(com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody value) {
if (cryptoAddLiveHashBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
cryptoAddLiveHashBuilder_.setMessage(value);
}
dataCase_ = 10;
return this;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
public Builder setCryptoAddLiveHash(
com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.Builder builderForValue) {
if (cryptoAddLiveHashBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoAddLiveHashBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 10;
return this;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
public Builder mergeCryptoAddLiveHash(com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody value) {
if (cryptoAddLiveHashBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 10) {
cryptoAddLiveHashBuilder_.mergeFrom(value);
} else {
cryptoAddLiveHashBuilder_.setMessage(value);
}
}
dataCase_ = 10;
return this;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
public Builder clearCryptoAddLiveHash() {
if (cryptoAddLiveHashBuilder_ == null) {
if (dataCase_ == 10) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 10) {
dataCase_ = 0;
data_ = null;
}
cryptoAddLiveHashBuilder_.clear();
}
return this;
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
public com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.Builder getCryptoAddLiveHashBuilder() {
return getCryptoAddLiveHashFieldBuilder().getBuilder();
}
/**
*
**
* Attach a new livehash to an account
*
*
* .proto.CryptoAddLiveHashTransactionBody cryptoAddLiveHash = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBodyOrBuilder getCryptoAddLiveHashOrBuilder() {
if ((dataCase_ == 10) && (cryptoAddLiveHashBuilder_ != null)) {
return cryptoAddLiveHashBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBodyOrBuilder>
getCryptoAddLiveHashFieldBuilder() {
if (cryptoAddLiveHashBuilder_ == null) {
if (!(dataCase_ == 10)) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.getDefaultInstance();
}
cryptoAddLiveHashBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 10;
onChanged();
return cryptoAddLiveHashBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBodyOrBuilder> cryptoCreateAccountBuilder_;
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
* @return Whether the cryptoCreateAccount field is set.
*/
@java.lang.Override
public boolean hasCryptoCreateAccount() {
return dataCase_ == 11;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
* @return The cryptoCreateAccount.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody getCryptoCreateAccount() {
if (cryptoCreateAccountBuilder_ == null) {
if (dataCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 11) {
return cryptoCreateAccountBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
public Builder setCryptoCreateAccount(com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody value) {
if (cryptoCreateAccountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
cryptoCreateAccountBuilder_.setMessage(value);
}
dataCase_ = 11;
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
public Builder setCryptoCreateAccount(
com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.Builder builderForValue) {
if (cryptoCreateAccountBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoCreateAccountBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 11;
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
public Builder mergeCryptoCreateAccount(com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody value) {
if (cryptoCreateAccountBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 11) {
cryptoCreateAccountBuilder_.mergeFrom(value);
} else {
cryptoCreateAccountBuilder_.setMessage(value);
}
}
dataCase_ = 11;
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
public Builder clearCryptoCreateAccount() {
if (cryptoCreateAccountBuilder_ == null) {
if (dataCase_ == 11) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 11) {
dataCase_ = 0;
data_ = null;
}
cryptoCreateAccountBuilder_.clear();
}
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.Builder getCryptoCreateAccountBuilder() {
return getCryptoCreateAccountFieldBuilder().getBuilder();
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 11;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBodyOrBuilder getCryptoCreateAccountOrBuilder() {
if ((dataCase_ == 11) && (cryptoCreateAccountBuilder_ != null)) {
return cryptoCreateAccountBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBodyOrBuilder>
getCryptoCreateAccountFieldBuilder() {
if (cryptoCreateAccountBuilder_ == null) {
if (!(dataCase_ == 11)) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance();
}
cryptoCreateAccountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 11;
onChanged();
return cryptoCreateAccountBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBodyOrBuilder> cryptoDeleteBuilder_;
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
* @return Whether the cryptoDelete field is set.
*/
@java.lang.Override
public boolean hasCryptoDelete() {
return dataCase_ == 12;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
* @return The cryptoDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody getCryptoDelete() {
if (cryptoDeleteBuilder_ == null) {
if (dataCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 12) {
return cryptoDeleteBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* 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) {
if (cryptoDeleteBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
cryptoDeleteBuilder_.setMessage(value);
}
dataCase_ = 12;
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) {
if (cryptoDeleteBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoDeleteBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 12;
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) {
if (cryptoDeleteBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 12) {
cryptoDeleteBuilder_.mergeFrom(value);
} else {
cryptoDeleteBuilder_.setMessage(value);
}
}
dataCase_ = 12;
return this;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
*/
public Builder clearCryptoDelete() {
if (cryptoDeleteBuilder_ == null) {
if (dataCase_ == 12) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 12) {
dataCase_ = 0;
data_ = null;
}
cryptoDeleteBuilder_.clear();
}
return this;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
*/
public com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.Builder getCryptoDeleteBuilder() {
return getCryptoDeleteFieldBuilder().getBuilder();
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBodyOrBuilder getCryptoDeleteOrBuilder() {
if ((dataCase_ == 12) && (cryptoDeleteBuilder_ != null)) {
return cryptoDeleteBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBodyOrBuilder>
getCryptoDeleteFieldBuilder() {
if (cryptoDeleteBuilder_ == null) {
if (!(dataCase_ == 12)) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.getDefaultInstance();
}
cryptoDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 12;
onChanged();
return cryptoDeleteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBodyOrBuilder> cryptoDeleteLiveHashBuilder_;
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
* @return Whether the cryptoDeleteLiveHash field is set.
*/
@java.lang.Override
public boolean hasCryptoDeleteLiveHash() {
return dataCase_ == 13;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
* @return The cryptoDeleteLiveHash.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody getCryptoDeleteLiveHash() {
if (cryptoDeleteLiveHashBuilder_ == null) {
if (dataCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 13) {
return cryptoDeleteLiveHashBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
public Builder setCryptoDeleteLiveHash(com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody value) {
if (cryptoDeleteLiveHashBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
cryptoDeleteLiveHashBuilder_.setMessage(value);
}
dataCase_ = 13;
return this;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
public Builder setCryptoDeleteLiveHash(
com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.Builder builderForValue) {
if (cryptoDeleteLiveHashBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoDeleteLiveHashBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 13;
return this;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
public Builder mergeCryptoDeleteLiveHash(com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody value) {
if (cryptoDeleteLiveHashBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 13) {
cryptoDeleteLiveHashBuilder_.mergeFrom(value);
} else {
cryptoDeleteLiveHashBuilder_.setMessage(value);
}
}
dataCase_ = 13;
return this;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
public Builder clearCryptoDeleteLiveHash() {
if (cryptoDeleteLiveHashBuilder_ == null) {
if (dataCase_ == 13) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 13) {
dataCase_ = 0;
data_ = null;
}
cryptoDeleteLiveHashBuilder_.clear();
}
return this;
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
public com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.Builder getCryptoDeleteLiveHashBuilder() {
return getCryptoDeleteLiveHashFieldBuilder().getBuilder();
}
/**
*
**
* Remove a livehash from an account
*
*
* .proto.CryptoDeleteLiveHashTransactionBody cryptoDeleteLiveHash = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBodyOrBuilder getCryptoDeleteLiveHashOrBuilder() {
if ((dataCase_ == 13) && (cryptoDeleteLiveHashBuilder_ != null)) {
return cryptoDeleteLiveHashBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBodyOrBuilder>
getCryptoDeleteLiveHashFieldBuilder() {
if (cryptoDeleteLiveHashBuilder_ == null) {
if (!(dataCase_ == 13)) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.getDefaultInstance();
}
cryptoDeleteLiveHashBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoDeleteLiveHashTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 13;
onChanged();
return cryptoDeleteLiveHashBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBodyOrBuilder> cryptoTransferBuilder_;
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
* @return Whether the cryptoTransfer field is set.
*/
@java.lang.Override
public boolean hasCryptoTransfer() {
return dataCase_ == 14;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
* @return The cryptoTransfer.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody getCryptoTransfer() {
if (cryptoTransferBuilder_ == null) {
if (dataCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 14) {
return cryptoTransferBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
public Builder setCryptoTransfer(com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody value) {
if (cryptoTransferBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
cryptoTransferBuilder_.setMessage(value);
}
dataCase_ = 14;
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
public Builder setCryptoTransfer(
com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.Builder builderForValue) {
if (cryptoTransferBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoTransferBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 14;
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
public Builder mergeCryptoTransfer(com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody value) {
if (cryptoTransferBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 14) {
cryptoTransferBuilder_.mergeFrom(value);
} else {
cryptoTransferBuilder_.setMessage(value);
}
}
dataCase_ = 14;
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
public Builder clearCryptoTransfer() {
if (cryptoTransferBuilder_ == null) {
if (dataCase_ == 14) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 14) {
dataCase_ = 0;
data_ = null;
}
cryptoTransferBuilder_.clear();
}
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.Builder getCryptoTransferBuilder() {
return getCryptoTransferFieldBuilder().getBuilder();
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 14;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBodyOrBuilder getCryptoTransferOrBuilder() {
if ((dataCase_ == 14) && (cryptoTransferBuilder_ != null)) {
return cryptoTransferBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBodyOrBuilder>
getCryptoTransferFieldBuilder() {
if (cryptoTransferBuilder_ == null) {
if (!(dataCase_ == 14)) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance();
}
cryptoTransferBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 14;
onChanged();
return cryptoTransferBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBodyOrBuilder> cryptoUpdateAccountBuilder_;
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
* @return Whether the cryptoUpdateAccount field is set.
*/
@java.lang.Override
public boolean hasCryptoUpdateAccount() {
return dataCase_ == 15;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
* @return The cryptoUpdateAccount.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody getCryptoUpdateAccount() {
if (cryptoUpdateAccountBuilder_ == null) {
if (dataCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 15) {
return cryptoUpdateAccountBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
*/
public Builder setCryptoUpdateAccount(com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody value) {
if (cryptoUpdateAccountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
cryptoUpdateAccountBuilder_.setMessage(value);
}
dataCase_ = 15;
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) {
if (cryptoUpdateAccountBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoUpdateAccountBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 15;
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) {
if (cryptoUpdateAccountBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 15) {
cryptoUpdateAccountBuilder_.mergeFrom(value);
} else {
cryptoUpdateAccountBuilder_.setMessage(value);
}
}
dataCase_ = 15;
return this;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
*/
public Builder clearCryptoUpdateAccount() {
if (cryptoUpdateAccountBuilder_ == null) {
if (dataCase_ == 15) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 15) {
dataCase_ = 0;
data_ = null;
}
cryptoUpdateAccountBuilder_.clear();
}
return this;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
*/
public com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.Builder getCryptoUpdateAccountBuilder() {
return getCryptoUpdateAccountFieldBuilder().getBuilder();
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 15;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBodyOrBuilder getCryptoUpdateAccountOrBuilder() {
if ((dataCase_ == 15) && (cryptoUpdateAccountBuilder_ != null)) {
return cryptoUpdateAccountBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBodyOrBuilder>
getCryptoUpdateAccountFieldBuilder() {
if (cryptoUpdateAccountBuilder_ == null) {
if (!(dataCase_ == 15)) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.getDefaultInstance();
}
cryptoUpdateAccountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 15;
onChanged();
return cryptoUpdateAccountBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody, com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FileAppendTransactionBodyOrBuilder> fileAppendBuilder_;
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
* @return Whether the fileAppend field is set.
*/
@java.lang.Override
public boolean hasFileAppend() {
return dataCase_ == 16;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
* @return The fileAppend.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody getFileAppend() {
if (fileAppendBuilder_ == null) {
if (dataCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 16) {
return fileAppendBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.getDefaultInstance();
}
}
/**
*
**
* 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) {
if (fileAppendBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
fileAppendBuilder_.setMessage(value);
}
dataCase_ = 16;
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) {
if (fileAppendBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
fileAppendBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 16;
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) {
if (fileAppendBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 16) {
fileAppendBuilder_.mergeFrom(value);
} else {
fileAppendBuilder_.setMessage(value);
}
}
dataCase_ = 16;
return this;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
*/
public Builder clearFileAppend() {
if (fileAppendBuilder_ == null) {
if (dataCase_ == 16) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 16) {
dataCase_ = 0;
data_ = null;
}
fileAppendBuilder_.clear();
}
return this;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
*/
public com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.Builder getFileAppendBuilder() {
return getFileAppendFieldBuilder().getBuilder();
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 16;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileAppendTransactionBodyOrBuilder getFileAppendOrBuilder() {
if ((dataCase_ == 16) && (fileAppendBuilder_ != null)) {
return fileAppendBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody, com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FileAppendTransactionBodyOrBuilder>
getFileAppendFieldBuilder() {
if (fileAppendBuilder_ == null) {
if (!(dataCase_ == 16)) {
data_ = com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.getDefaultInstance();
}
fileAppendBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody, com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FileAppendTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 16;
onChanged();
return fileAppendBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody, com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FileCreateTransactionBodyOrBuilder> fileCreateBuilder_;
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
* @return Whether the fileCreate field is set.
*/
@java.lang.Override
public boolean hasFileCreate() {
return dataCase_ == 17;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
* @return The fileCreate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody getFileCreate() {
if (fileCreateBuilder_ == null) {
if (dataCase_ == 17) {
return (com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 17) {
return fileCreateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
public Builder setFileCreate(com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody value) {
if (fileCreateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
fileCreateBuilder_.setMessage(value);
}
dataCase_ = 17;
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
public Builder setFileCreate(
com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.Builder builderForValue) {
if (fileCreateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
fileCreateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 17;
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
public Builder mergeFileCreate(com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody value) {
if (fileCreateBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 17) {
fileCreateBuilder_.mergeFrom(value);
} else {
fileCreateBuilder_.setMessage(value);
}
}
dataCase_ = 17;
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
public Builder clearFileCreate() {
if (fileCreateBuilder_ == null) {
if (dataCase_ == 17) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 17) {
dataCase_ = 0;
data_ = null;
}
fileCreateBuilder_.clear();
}
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.Builder getFileCreateBuilder() {
return getFileCreateFieldBuilder().getBuilder();
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 17;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBodyOrBuilder getFileCreateOrBuilder() {
if ((dataCase_ == 17) && (fileCreateBuilder_ != null)) {
return fileCreateBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody, com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FileCreateTransactionBodyOrBuilder>
getFileCreateFieldBuilder() {
if (fileCreateBuilder_ == null) {
if (!(dataCase_ == 17)) {
data_ = com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance();
}
fileCreateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody, com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FileCreateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 17;
onChanged();
return fileCreateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBodyOrBuilder> fileDeleteBuilder_;
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 18;
* @return Whether the fileDelete field is set.
*/
@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;
* @return The fileDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody getFileDelete() {
if (fileDeleteBuilder_ == null) {
if (dataCase_ == 18) {
return (com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 18) {
return fileDeleteBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* 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) {
if (fileDeleteBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
fileDeleteBuilder_.setMessage(value);
}
dataCase_ = 18;
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) {
if (fileDeleteBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
fileDeleteBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 18;
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) {
if (fileDeleteBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 18) {
fileDeleteBuilder_.mergeFrom(value);
} else {
fileDeleteBuilder_.setMessage(value);
}
}
dataCase_ = 18;
return this;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 18;
*/
public Builder clearFileDelete() {
if (fileDeleteBuilder_ == null) {
if (dataCase_ == 18) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 18) {
dataCase_ = 0;
data_ = null;
}
fileDeleteBuilder_.clear();
}
return this;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 18;
*/
public com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.Builder getFileDeleteBuilder() {
return getFileDeleteFieldBuilder().getBuilder();
}
/**
*
**
* 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.FileDeleteTransactionBodyOrBuilder getFileDeleteOrBuilder() {
if ((dataCase_ == 18) && (fileDeleteBuilder_ != null)) {
return fileDeleteBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBodyOrBuilder>
getFileDeleteFieldBuilder() {
if (fileDeleteBuilder_ == null) {
if (!(dataCase_ == 18)) {
data_ = com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.getDefaultInstance();
}
fileDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 18;
onChanged();
return fileDeleteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBodyOrBuilder> fileUpdateBuilder_;
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
* @return Whether the fileUpdate field is set.
*/
@java.lang.Override
public boolean hasFileUpdate() {
return dataCase_ == 19;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
* @return The fileUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody getFileUpdate() {
if (fileUpdateBuilder_ == null) {
if (dataCase_ == 19) {
return (com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 19) {
return fileUpdateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
*/
public Builder setFileUpdate(com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody value) {
if (fileUpdateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
fileUpdateBuilder_.setMessage(value);
}
dataCase_ = 19;
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) {
if (fileUpdateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
fileUpdateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 19;
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) {
if (fileUpdateBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 19) {
fileUpdateBuilder_.mergeFrom(value);
} else {
fileUpdateBuilder_.setMessage(value);
}
}
dataCase_ = 19;
return this;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
*/
public Builder clearFileUpdate() {
if (fileUpdateBuilder_ == null) {
if (dataCase_ == 19) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 19) {
dataCase_ = 0;
data_ = null;
}
fileUpdateBuilder_.clear();
}
return this;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
*/
public com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.Builder getFileUpdateBuilder() {
return getFileUpdateFieldBuilder().getBuilder();
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 19;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBodyOrBuilder getFileUpdateOrBuilder() {
if ((dataCase_ == 19) && (fileUpdateBuilder_ != null)) {
return fileUpdateBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBodyOrBuilder>
getFileUpdateFieldBuilder() {
if (fileUpdateBuilder_ == null) {
if (!(dataCase_ == 19)) {
data_ = com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.getDefaultInstance();
}
fileUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 19;
onChanged();
return fileUpdateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBodyOrBuilder> systemDeleteBuilder_;
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
* @return Whether the systemDelete field is set.
*/
@java.lang.Override
public boolean hasSystemDelete() {
return dataCase_ == 20;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
* @return The systemDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody getSystemDelete() {
if (systemDeleteBuilder_ == null) {
if (dataCase_ == 20) {
return (com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 20) {
return systemDeleteBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
*/
public Builder setSystemDelete(com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody value) {
if (systemDeleteBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
systemDeleteBuilder_.setMessage(value);
}
dataCase_ = 20;
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) {
if (systemDeleteBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
systemDeleteBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 20;
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) {
if (systemDeleteBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 20) {
systemDeleteBuilder_.mergeFrom(value);
} else {
systemDeleteBuilder_.setMessage(value);
}
}
dataCase_ = 20;
return this;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
*/
public Builder clearSystemDelete() {
if (systemDeleteBuilder_ == null) {
if (dataCase_ == 20) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 20) {
dataCase_ = 0;
data_ = null;
}
systemDeleteBuilder_.clear();
}
return this;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
*/
public com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.Builder getSystemDeleteBuilder() {
return getSystemDeleteFieldBuilder().getBuilder();
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 20;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBodyOrBuilder getSystemDeleteOrBuilder() {
if ((dataCase_ == 20) && (systemDeleteBuilder_ != null)) {
return systemDeleteBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBodyOrBuilder>
getSystemDeleteFieldBuilder() {
if (systemDeleteBuilder_ == null) {
if (!(dataCase_ == 20)) {
data_ = com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.getDefaultInstance();
}
systemDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 20;
onChanged();
return systemDeleteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody, com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBodyOrBuilder> systemUndeleteBuilder_;
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
* @return Whether the systemUndelete field is set.
*/
@java.lang.Override
public boolean hasSystemUndelete() {
return dataCase_ == 21;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
* @return The systemUndelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody getSystemUndelete() {
if (systemUndeleteBuilder_ == null) {
if (dataCase_ == 21) {
return (com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 21) {
return systemUndeleteBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
public Builder setSystemUndelete(com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody value) {
if (systemUndeleteBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
systemUndeleteBuilder_.setMessage(value);
}
dataCase_ = 21;
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
public Builder setSystemUndelete(
com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.Builder builderForValue) {
if (systemUndeleteBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
systemUndeleteBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 21;
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
public Builder mergeSystemUndelete(com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody value) {
if (systemUndeleteBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 21) {
systemUndeleteBuilder_.mergeFrom(value);
} else {
systemUndeleteBuilder_.setMessage(value);
}
}
dataCase_ = 21;
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
public Builder clearSystemUndelete() {
if (systemUndeleteBuilder_ == null) {
if (dataCase_ == 21) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 21) {
dataCase_ = 0;
data_ = null;
}
systemUndeleteBuilder_.clear();
}
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.Builder getSystemUndeleteBuilder() {
return getSystemUndeleteFieldBuilder().getBuilder();
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 21;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBodyOrBuilder getSystemUndeleteOrBuilder() {
if ((dataCase_ == 21) && (systemUndeleteBuilder_ != null)) {
return systemUndeleteBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody, com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBodyOrBuilder>
getSystemUndeleteFieldBuilder() {
if (systemUndeleteBuilder_ == null) {
if (!(dataCase_ == 21)) {
data_ = com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.getDefaultInstance();
}
systemUndeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody, com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 21;
onChanged();
return systemUndeleteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBodyOrBuilder> contractDeleteInstanceBuilder_;
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
* @return Whether the contractDeleteInstance field is set.
*/
@java.lang.Override
public boolean hasContractDeleteInstance() {
return dataCase_ == 22;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
* @return The contractDeleteInstance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody getContractDeleteInstance() {
if (contractDeleteInstanceBuilder_ == null) {
if (dataCase_ == 22) {
return (com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 22) {
return contractDeleteInstanceBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
*/
public Builder setContractDeleteInstance(com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody value) {
if (contractDeleteInstanceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
contractDeleteInstanceBuilder_.setMessage(value);
}
dataCase_ = 22;
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) {
if (contractDeleteInstanceBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
contractDeleteInstanceBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 22;
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) {
if (contractDeleteInstanceBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 22) {
contractDeleteInstanceBuilder_.mergeFrom(value);
} else {
contractDeleteInstanceBuilder_.setMessage(value);
}
}
dataCase_ = 22;
return this;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
*/
public Builder clearContractDeleteInstance() {
if (contractDeleteInstanceBuilder_ == null) {
if (dataCase_ == 22) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 22) {
dataCase_ = 0;
data_ = null;
}
contractDeleteInstanceBuilder_.clear();
}
return this;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
*/
public com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.Builder getContractDeleteInstanceBuilder() {
return getContractDeleteInstanceFieldBuilder().getBuilder();
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 22;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBodyOrBuilder getContractDeleteInstanceOrBuilder() {
if ((dataCase_ == 22) && (contractDeleteInstanceBuilder_ != null)) {
return contractDeleteInstanceBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBodyOrBuilder>
getContractDeleteInstanceFieldBuilder() {
if (contractDeleteInstanceBuilder_ == null) {
if (!(dataCase_ == 22)) {
data_ = com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.getDefaultInstance();
}
contractDeleteInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 22;
onChanged();
return contractDeleteInstanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FreezeTransactionBody, com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FreezeTransactionBodyOrBuilder> freezeBuilder_;
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
* @return Whether the freeze field is set.
*/
@java.lang.Override
public boolean hasFreeze() {
return dataCase_ == 23;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
* @return The freeze.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBody getFreeze() {
if (freezeBuilder_ == null) {
if (dataCase_ == 23) {
return (com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 23) {
return freezeBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
public Builder setFreeze(com.hedera.hashgraph.sdk.proto.FreezeTransactionBody value) {
if (freezeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
freezeBuilder_.setMessage(value);
}
dataCase_ = 23;
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
public Builder setFreeze(
com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.Builder builderForValue) {
if (freezeBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
freezeBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 23;
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
public Builder mergeFreeze(com.hedera.hashgraph.sdk.proto.FreezeTransactionBody value) {
if (freezeBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 23) {
freezeBuilder_.mergeFrom(value);
} else {
freezeBuilder_.setMessage(value);
}
}
dataCase_ = 23;
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
public Builder clearFreeze() {
if (freezeBuilder_ == null) {
if (dataCase_ == 23) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 23) {
dataCase_ = 0;
data_ = null;
}
freezeBuilder_.clear();
}
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.Builder getFreezeBuilder() {
return getFreezeFieldBuilder().getBuilder();
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 23;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBodyOrBuilder getFreezeOrBuilder() {
if ((dataCase_ == 23) && (freezeBuilder_ != null)) {
return freezeBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FreezeTransactionBody, com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FreezeTransactionBodyOrBuilder>
getFreezeFieldBuilder() {
if (freezeBuilder_ == null) {
if (!(dataCase_ == 23)) {
data_ = com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance();
}
freezeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FreezeTransactionBody, com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.FreezeTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 23;
onChanged();
return freezeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody, com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBodyOrBuilder> consensusCreateTopicBuilder_;
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
* @return Whether the consensusCreateTopic field is set.
*/
@java.lang.Override
public boolean hasConsensusCreateTopic() {
return dataCase_ == 24;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
* @return The consensusCreateTopic.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody getConsensusCreateTopic() {
if (consensusCreateTopicBuilder_ == null) {
if (dataCase_ == 24) {
return (com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 24) {
return consensusCreateTopicBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
public Builder setConsensusCreateTopic(com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody value) {
if (consensusCreateTopicBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
consensusCreateTopicBuilder_.setMessage(value);
}
dataCase_ = 24;
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
public Builder setConsensusCreateTopic(
com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.Builder builderForValue) {
if (consensusCreateTopicBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
consensusCreateTopicBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 24;
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
public Builder mergeConsensusCreateTopic(com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody value) {
if (consensusCreateTopicBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 24) {
consensusCreateTopicBuilder_.mergeFrom(value);
} else {
consensusCreateTopicBuilder_.setMessage(value);
}
}
dataCase_ = 24;
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
public Builder clearConsensusCreateTopic() {
if (consensusCreateTopicBuilder_ == null) {
if (dataCase_ == 24) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 24) {
dataCase_ = 0;
data_ = null;
}
consensusCreateTopicBuilder_.clear();
}
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.Builder getConsensusCreateTopicBuilder() {
return getConsensusCreateTopicFieldBuilder().getBuilder();
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 24;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBodyOrBuilder getConsensusCreateTopicOrBuilder() {
if ((dataCase_ == 24) && (consensusCreateTopicBuilder_ != null)) {
return consensusCreateTopicBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody, com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBodyOrBuilder>
getConsensusCreateTopicFieldBuilder() {
if (consensusCreateTopicBuilder_ == null) {
if (!(dataCase_ == 24)) {
data_ = com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
consensusCreateTopicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody, com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 24;
onChanged();
return consensusCreateTopicBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody, com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBodyOrBuilder> consensusUpdateTopicBuilder_;
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
* @return Whether the consensusUpdateTopic field is set.
*/
@java.lang.Override
public boolean hasConsensusUpdateTopic() {
return dataCase_ == 25;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
* @return The consensusUpdateTopic.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody getConsensusUpdateTopic() {
if (consensusUpdateTopicBuilder_ == null) {
if (dataCase_ == 25) {
return (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 25) {
return consensusUpdateTopicBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
public Builder setConsensusUpdateTopic(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody value) {
if (consensusUpdateTopicBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
consensusUpdateTopicBuilder_.setMessage(value);
}
dataCase_ = 25;
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
public Builder setConsensusUpdateTopic(
com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.Builder builderForValue) {
if (consensusUpdateTopicBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
consensusUpdateTopicBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 25;
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
public Builder mergeConsensusUpdateTopic(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody value) {
if (consensusUpdateTopicBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 25) {
consensusUpdateTopicBuilder_.mergeFrom(value);
} else {
consensusUpdateTopicBuilder_.setMessage(value);
}
}
dataCase_ = 25;
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
public Builder clearConsensusUpdateTopic() {
if (consensusUpdateTopicBuilder_ == null) {
if (dataCase_ == 25) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 25) {
dataCase_ = 0;
data_ = null;
}
consensusUpdateTopicBuilder_.clear();
}
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.Builder getConsensusUpdateTopicBuilder() {
return getConsensusUpdateTopicFieldBuilder().getBuilder();
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 25;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBodyOrBuilder getConsensusUpdateTopicOrBuilder() {
if ((dataCase_ == 25) && (consensusUpdateTopicBuilder_ != null)) {
return consensusUpdateTopicBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody, com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBodyOrBuilder>
getConsensusUpdateTopicFieldBuilder() {
if (consensusUpdateTopicBuilder_ == null) {
if (!(dataCase_ == 25)) {
data_ = com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
consensusUpdateTopicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody, com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 25;
onChanged();
return consensusUpdateTopicBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody, com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBodyOrBuilder> consensusDeleteTopicBuilder_;
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
* @return Whether the consensusDeleteTopic field is set.
*/
@java.lang.Override
public boolean hasConsensusDeleteTopic() {
return dataCase_ == 26;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
* @return The consensusDeleteTopic.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody getConsensusDeleteTopic() {
if (consensusDeleteTopicBuilder_ == null) {
if (dataCase_ == 26) {
return (com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 26) {
return consensusDeleteTopicBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
public Builder setConsensusDeleteTopic(com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody value) {
if (consensusDeleteTopicBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
consensusDeleteTopicBuilder_.setMessage(value);
}
dataCase_ = 26;
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
public Builder setConsensusDeleteTopic(
com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.Builder builderForValue) {
if (consensusDeleteTopicBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
consensusDeleteTopicBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 26;
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
public Builder mergeConsensusDeleteTopic(com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody value) {
if (consensusDeleteTopicBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 26) {
consensusDeleteTopicBuilder_.mergeFrom(value);
} else {
consensusDeleteTopicBuilder_.setMessage(value);
}
}
dataCase_ = 26;
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
public Builder clearConsensusDeleteTopic() {
if (consensusDeleteTopicBuilder_ == null) {
if (dataCase_ == 26) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 26) {
dataCase_ = 0;
data_ = null;
}
consensusDeleteTopicBuilder_.clear();
}
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.Builder getConsensusDeleteTopicBuilder() {
return getConsensusDeleteTopicFieldBuilder().getBuilder();
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 26;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBodyOrBuilder getConsensusDeleteTopicOrBuilder() {
if ((dataCase_ == 26) && (consensusDeleteTopicBuilder_ != null)) {
return consensusDeleteTopicBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody, com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBodyOrBuilder>
getConsensusDeleteTopicFieldBuilder() {
if (consensusDeleteTopicBuilder_ == null) {
if (!(dataCase_ == 26)) {
data_ = com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
consensusDeleteTopicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody, com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 26;
onChanged();
return consensusDeleteTopicBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody, com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBodyOrBuilder> consensusSubmitMessageBuilder_;
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
* @return Whether the consensusSubmitMessage field is set.
*/
@java.lang.Override
public boolean hasConsensusSubmitMessage() {
return dataCase_ == 27;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
* @return The consensusSubmitMessage.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody getConsensusSubmitMessage() {
if (consensusSubmitMessageBuilder_ == null) {
if (dataCase_ == 27) {
return (com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 27) {
return consensusSubmitMessageBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
public Builder setConsensusSubmitMessage(com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody value) {
if (consensusSubmitMessageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
consensusSubmitMessageBuilder_.setMessage(value);
}
dataCase_ = 27;
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
public Builder setConsensusSubmitMessage(
com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.Builder builderForValue) {
if (consensusSubmitMessageBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
consensusSubmitMessageBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 27;
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
public Builder mergeConsensusSubmitMessage(com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody value) {
if (consensusSubmitMessageBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 27) {
consensusSubmitMessageBuilder_.mergeFrom(value);
} else {
consensusSubmitMessageBuilder_.setMessage(value);
}
}
dataCase_ = 27;
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
public Builder clearConsensusSubmitMessage() {
if (consensusSubmitMessageBuilder_ == null) {
if (dataCase_ == 27) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 27) {
dataCase_ = 0;
data_ = null;
}
consensusSubmitMessageBuilder_.clear();
}
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.Builder getConsensusSubmitMessageBuilder() {
return getConsensusSubmitMessageFieldBuilder().getBuilder();
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 27;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBodyOrBuilder getConsensusSubmitMessageOrBuilder() {
if ((dataCase_ == 27) && (consensusSubmitMessageBuilder_ != null)) {
return consensusSubmitMessageBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody, com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBodyOrBuilder>
getConsensusSubmitMessageFieldBuilder() {
if (consensusSubmitMessageBuilder_ == null) {
if (!(dataCase_ == 27)) {
data_ = com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
consensusSubmitMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody, com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 27;
onChanged();
return consensusSubmitMessageBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody, com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.Builder, com.hedera.hashgraph.sdk.proto.UncheckedSubmitBodyOrBuilder> uncheckedSubmitBuilder_;
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
* @return Whether the uncheckedSubmit field is set.
*/
@java.lang.Override
public boolean hasUncheckedSubmit() {
return dataCase_ == 28;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
* @return The uncheckedSubmit.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody getUncheckedSubmit() {
if (uncheckedSubmitBuilder_ == null) {
if (dataCase_ == 28) {
return (com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody) data_;
}
return com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.getDefaultInstance();
} else {
if (dataCase_ == 28) {
return uncheckedSubmitBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.getDefaultInstance();
}
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
public Builder setUncheckedSubmit(com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody value) {
if (uncheckedSubmitBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
uncheckedSubmitBuilder_.setMessage(value);
}
dataCase_ = 28;
return this;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
public Builder setUncheckedSubmit(
com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.Builder builderForValue) {
if (uncheckedSubmitBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
uncheckedSubmitBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 28;
return this;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
public Builder mergeUncheckedSubmit(com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody value) {
if (uncheckedSubmitBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 28) {
uncheckedSubmitBuilder_.mergeFrom(value);
} else {
uncheckedSubmitBuilder_.setMessage(value);
}
}
dataCase_ = 28;
return this;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
public Builder clearUncheckedSubmit() {
if (uncheckedSubmitBuilder_ == null) {
if (dataCase_ == 28) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 28) {
dataCase_ = 0;
data_ = null;
}
uncheckedSubmitBuilder_.clear();
}
return this;
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
public com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.Builder getUncheckedSubmitBuilder() {
return getUncheckedSubmitFieldBuilder().getBuilder();
}
/**
*
**
* UNDOCUMENTED
*
*
* .proto.UncheckedSubmitBody uncheckedSubmit = 28;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UncheckedSubmitBodyOrBuilder getUncheckedSubmitOrBuilder() {
if ((dataCase_ == 28) && (uncheckedSubmitBuilder_ != null)) {
return uncheckedSubmitBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody, com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.Builder, com.hedera.hashgraph.sdk.proto.UncheckedSubmitBodyOrBuilder>
getUncheckedSubmitFieldBuilder() {
if (uncheckedSubmitBuilder_ == null) {
if (!(dataCase_ == 28)) {
data_ = com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.getDefaultInstance();
}
uncheckedSubmitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody, com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody.Builder, com.hedera.hashgraph.sdk.proto.UncheckedSubmitBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.UncheckedSubmitBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 28;
onChanged();
return uncheckedSubmitBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBodyOrBuilder> tokenCreationBuilder_;
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
* @return Whether the tokenCreation field is set.
*/
@java.lang.Override
public boolean hasTokenCreation() {
return dataCase_ == 29;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
* @return The tokenCreation.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody getTokenCreation() {
if (tokenCreationBuilder_ == null) {
if (dataCase_ == 29) {
return (com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 29) {
return tokenCreationBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
public Builder setTokenCreation(com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody value) {
if (tokenCreationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenCreationBuilder_.setMessage(value);
}
dataCase_ = 29;
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
public Builder setTokenCreation(
com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.Builder builderForValue) {
if (tokenCreationBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenCreationBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 29;
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
public Builder mergeTokenCreation(com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody value) {
if (tokenCreationBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 29) {
tokenCreationBuilder_.mergeFrom(value);
} else {
tokenCreationBuilder_.setMessage(value);
}
}
dataCase_ = 29;
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
public Builder clearTokenCreation() {
if (tokenCreationBuilder_ == null) {
if (dataCase_ == 29) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 29) {
dataCase_ = 0;
data_ = null;
}
tokenCreationBuilder_.clear();
}
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.Builder getTokenCreationBuilder() {
return getTokenCreationFieldBuilder().getBuilder();
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 29;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBodyOrBuilder getTokenCreationOrBuilder() {
if ((dataCase_ == 29) && (tokenCreationBuilder_ != null)) {
return tokenCreationBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBodyOrBuilder>
getTokenCreationFieldBuilder() {
if (tokenCreationBuilder_ == null) {
if (!(dataCase_ == 29)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance();
}
tokenCreationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 29;
onChanged();
return tokenCreationBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody, com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBodyOrBuilder> tokenFreezeBuilder_;
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
* @return Whether the tokenFreeze field is set.
*/
@java.lang.Override
public boolean hasTokenFreeze() {
return dataCase_ == 31;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
* @return The tokenFreeze.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody getTokenFreeze() {
if (tokenFreezeBuilder_ == null) {
if (dataCase_ == 31) {
return (com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 31) {
return tokenFreezeBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* 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) {
if (tokenFreezeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenFreezeBuilder_.setMessage(value);
}
dataCase_ = 31;
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) {
if (tokenFreezeBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenFreezeBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 31;
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) {
if (tokenFreezeBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 31) {
tokenFreezeBuilder_.mergeFrom(value);
} else {
tokenFreezeBuilder_.setMessage(value);
}
}
dataCase_ = 31;
return this;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
*/
public Builder clearTokenFreeze() {
if (tokenFreezeBuilder_ == null) {
if (dataCase_ == 31) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 31) {
dataCase_ = 0;
data_ = null;
}
tokenFreezeBuilder_.clear();
}
return this;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
*/
public com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.Builder getTokenFreezeBuilder() {
return getTokenFreezeFieldBuilder().getBuilder();
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 31;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBodyOrBuilder getTokenFreezeOrBuilder() {
if ((dataCase_ == 31) && (tokenFreezeBuilder_ != null)) {
return tokenFreezeBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody, com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBodyOrBuilder>
getTokenFreezeFieldBuilder() {
if (tokenFreezeBuilder_ == null) {
if (!(dataCase_ == 31)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.getDefaultInstance();
}
tokenFreezeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody, com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 31;
onChanged();
return tokenFreezeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody, com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBodyOrBuilder> tokenUnfreezeBuilder_;
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
* @return Whether the tokenUnfreeze field is set.
*/
@java.lang.Override
public boolean hasTokenUnfreeze() {
return dataCase_ == 32;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
* @return The tokenUnfreeze.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody getTokenUnfreeze() {
if (tokenUnfreezeBuilder_ == null) {
if (dataCase_ == 32) {
return (com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 32) {
return tokenUnfreezeBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
public Builder setTokenUnfreeze(com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody value) {
if (tokenUnfreezeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenUnfreezeBuilder_.setMessage(value);
}
dataCase_ = 32;
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
public Builder setTokenUnfreeze(
com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.Builder builderForValue) {
if (tokenUnfreezeBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenUnfreezeBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 32;
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
public Builder mergeTokenUnfreeze(com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody value) {
if (tokenUnfreezeBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 32) {
tokenUnfreezeBuilder_.mergeFrom(value);
} else {
tokenUnfreezeBuilder_.setMessage(value);
}
}
dataCase_ = 32;
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
public Builder clearTokenUnfreeze() {
if (tokenUnfreezeBuilder_ == null) {
if (dataCase_ == 32) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 32) {
dataCase_ = 0;
data_ = null;
}
tokenUnfreezeBuilder_.clear();
}
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.Builder getTokenUnfreezeBuilder() {
return getTokenUnfreezeFieldBuilder().getBuilder();
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 32;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBodyOrBuilder getTokenUnfreezeOrBuilder() {
if ((dataCase_ == 32) && (tokenUnfreezeBuilder_ != null)) {
return tokenUnfreezeBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody, com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBodyOrBuilder>
getTokenUnfreezeFieldBuilder() {
if (tokenUnfreezeBuilder_ == null) {
if (!(dataCase_ == 32)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
tokenUnfreezeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody, com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 32;
onChanged();
return tokenUnfreezeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody, com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBodyOrBuilder> tokenGrantKycBuilder_;
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
* @return Whether the tokenGrantKyc field is set.
*/
@java.lang.Override
public boolean hasTokenGrantKyc() {
return dataCase_ == 33;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
* @return The tokenGrantKyc.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody getTokenGrantKyc() {
if (tokenGrantKycBuilder_ == null) {
if (dataCase_ == 33) {
return (com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 33) {
return tokenGrantKycBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
*/
public Builder setTokenGrantKyc(com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody value) {
if (tokenGrantKycBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenGrantKycBuilder_.setMessage(value);
}
dataCase_ = 33;
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) {
if (tokenGrantKycBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenGrantKycBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 33;
return this;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
*/
public Builder mergeTokenGrantKyc(com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody value) {
if (tokenGrantKycBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 33) {
tokenGrantKycBuilder_.mergeFrom(value);
} else {
tokenGrantKycBuilder_.setMessage(value);
}
}
dataCase_ = 33;
return this;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
*/
public Builder clearTokenGrantKyc() {
if (tokenGrantKycBuilder_ == null) {
if (dataCase_ == 33) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 33) {
dataCase_ = 0;
data_ = null;
}
tokenGrantKycBuilder_.clear();
}
return this;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
*/
public com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.Builder getTokenGrantKycBuilder() {
return getTokenGrantKycFieldBuilder().getBuilder();
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 33;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBodyOrBuilder getTokenGrantKycOrBuilder() {
if ((dataCase_ == 33) && (tokenGrantKycBuilder_ != null)) {
return tokenGrantKycBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody, com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBodyOrBuilder>
getTokenGrantKycFieldBuilder() {
if (tokenGrantKycBuilder_ == null) {
if (!(dataCase_ == 33)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.getDefaultInstance();
}
tokenGrantKycBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody, com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 33;
onChanged();
return tokenGrantKycBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody, com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBodyOrBuilder> tokenRevokeKycBuilder_;
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
* @return Whether the tokenRevokeKyc field is set.
*/
@java.lang.Override
public boolean hasTokenRevokeKyc() {
return dataCase_ == 34;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
* @return The tokenRevokeKyc.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody getTokenRevokeKyc() {
if (tokenRevokeKycBuilder_ == null) {
if (dataCase_ == 34) {
return (com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 34) {
return tokenRevokeKycBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
*/
public Builder setTokenRevokeKyc(com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody value) {
if (tokenRevokeKycBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenRevokeKycBuilder_.setMessage(value);
}
dataCase_ = 34;
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) {
if (tokenRevokeKycBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenRevokeKycBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 34;
return this;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
*/
public Builder mergeTokenRevokeKyc(com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody value) {
if (tokenRevokeKycBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 34) {
tokenRevokeKycBuilder_.mergeFrom(value);
} else {
tokenRevokeKycBuilder_.setMessage(value);
}
}
dataCase_ = 34;
return this;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
*/
public Builder clearTokenRevokeKyc() {
if (tokenRevokeKycBuilder_ == null) {
if (dataCase_ == 34) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 34) {
dataCase_ = 0;
data_ = null;
}
tokenRevokeKycBuilder_.clear();
}
return this;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
*/
public com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.Builder getTokenRevokeKycBuilder() {
return getTokenRevokeKycFieldBuilder().getBuilder();
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 34;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBodyOrBuilder getTokenRevokeKycOrBuilder() {
if ((dataCase_ == 34) && (tokenRevokeKycBuilder_ != null)) {
return tokenRevokeKycBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody, com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBodyOrBuilder>
getTokenRevokeKycFieldBuilder() {
if (tokenRevokeKycBuilder_ == null) {
if (!(dataCase_ == 34)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.getDefaultInstance();
}
tokenRevokeKycBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody, com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 34;
onChanged();
return tokenRevokeKycBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBodyOrBuilder> tokenDeletionBuilder_;
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
* @return Whether the tokenDeletion field is set.
*/
@java.lang.Override
public boolean hasTokenDeletion() {
return dataCase_ == 35;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
* @return The tokenDeletion.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody getTokenDeletion() {
if (tokenDeletionBuilder_ == null) {
if (dataCase_ == 35) {
return (com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 35) {
return tokenDeletionBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
public Builder setTokenDeletion(com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody value) {
if (tokenDeletionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenDeletionBuilder_.setMessage(value);
}
dataCase_ = 35;
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
public Builder setTokenDeletion(
com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.Builder builderForValue) {
if (tokenDeletionBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenDeletionBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 35;
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
public Builder mergeTokenDeletion(com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody value) {
if (tokenDeletionBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 35) {
tokenDeletionBuilder_.mergeFrom(value);
} else {
tokenDeletionBuilder_.setMessage(value);
}
}
dataCase_ = 35;
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
public Builder clearTokenDeletion() {
if (tokenDeletionBuilder_ == null) {
if (dataCase_ == 35) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 35) {
dataCase_ = 0;
data_ = null;
}
tokenDeletionBuilder_.clear();
}
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.Builder getTokenDeletionBuilder() {
return getTokenDeletionFieldBuilder().getBuilder();
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 35;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBodyOrBuilder getTokenDeletionOrBuilder() {
if ((dataCase_ == 35) && (tokenDeletionBuilder_ != null)) {
return tokenDeletionBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBodyOrBuilder>
getTokenDeletionFieldBuilder() {
if (tokenDeletionBuilder_ == null) {
if (!(dataCase_ == 35)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance();
}
tokenDeletionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 35;
onChanged();
return tokenDeletionBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBodyOrBuilder> tokenUpdateBuilder_;
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
* @return Whether the tokenUpdate field is set.
*/
@java.lang.Override
public boolean hasTokenUpdate() {
return dataCase_ == 36;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
* @return The tokenUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody getTokenUpdate() {
if (tokenUpdateBuilder_ == null) {
if (dataCase_ == 36) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 36) {
return tokenUpdateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
public Builder setTokenUpdate(com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody value) {
if (tokenUpdateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenUpdateBuilder_.setMessage(value);
}
dataCase_ = 36;
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
public Builder setTokenUpdate(
com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.Builder builderForValue) {
if (tokenUpdateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenUpdateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 36;
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
public Builder mergeTokenUpdate(com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody value) {
if (tokenUpdateBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 36) {
tokenUpdateBuilder_.mergeFrom(value);
} else {
tokenUpdateBuilder_.setMessage(value);
}
}
dataCase_ = 36;
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
public Builder clearTokenUpdate() {
if (tokenUpdateBuilder_ == null) {
if (dataCase_ == 36) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 36) {
dataCase_ = 0;
data_ = null;
}
tokenUpdateBuilder_.clear();
}
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.Builder getTokenUpdateBuilder() {
return getTokenUpdateFieldBuilder().getBuilder();
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 36;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBodyOrBuilder getTokenUpdateOrBuilder() {
if ((dataCase_ == 36) && (tokenUpdateBuilder_ != null)) {
return tokenUpdateBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBodyOrBuilder>
getTokenUpdateFieldBuilder() {
if (tokenUpdateBuilder_ == null) {
if (!(dataCase_ == 36)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance();
}
tokenUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 36;
onChanged();
return tokenUpdateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody, com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenMintTransactionBodyOrBuilder> tokenMintBuilder_;
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
* @return Whether the tokenMint field is set.
*/
@java.lang.Override
public boolean hasTokenMint() {
return dataCase_ == 37;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
* @return The tokenMint.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody getTokenMint() {
if (tokenMintBuilder_ == null) {
if (dataCase_ == 37) {
return (com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 37) {
return tokenMintBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
*/
public Builder setTokenMint(com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody value) {
if (tokenMintBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenMintBuilder_.setMessage(value);
}
dataCase_ = 37;
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) {
if (tokenMintBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenMintBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 37;
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) {
if (tokenMintBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 37) {
tokenMintBuilder_.mergeFrom(value);
} else {
tokenMintBuilder_.setMessage(value);
}
}
dataCase_ = 37;
return this;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
*/
public Builder clearTokenMint() {
if (tokenMintBuilder_ == null) {
if (dataCase_ == 37) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 37) {
dataCase_ = 0;
data_ = null;
}
tokenMintBuilder_.clear();
}
return this;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
*/
public com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.Builder getTokenMintBuilder() {
return getTokenMintFieldBuilder().getBuilder();
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 37;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenMintTransactionBodyOrBuilder getTokenMintOrBuilder() {
if ((dataCase_ == 37) && (tokenMintBuilder_ != null)) {
return tokenMintBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody, com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenMintTransactionBodyOrBuilder>
getTokenMintFieldBuilder() {
if (tokenMintBuilder_ == null) {
if (!(dataCase_ == 37)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.getDefaultInstance();
}
tokenMintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody, com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenMintTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 37;
onChanged();
return tokenMintBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody, com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBodyOrBuilder> tokenBurnBuilder_;
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
* @return Whether the tokenBurn field is set.
*/
@java.lang.Override
public boolean hasTokenBurn() {
return dataCase_ == 38;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
* @return The tokenBurn.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody getTokenBurn() {
if (tokenBurnBuilder_ == null) {
if (dataCase_ == 38) {
return (com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 38) {
return tokenBurnBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
*/
public Builder setTokenBurn(com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody value) {
if (tokenBurnBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenBurnBuilder_.setMessage(value);
}
dataCase_ = 38;
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) {
if (tokenBurnBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenBurnBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 38;
return this;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
*/
public Builder mergeTokenBurn(com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody value) {
if (tokenBurnBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 38) {
tokenBurnBuilder_.mergeFrom(value);
} else {
tokenBurnBuilder_.setMessage(value);
}
}
dataCase_ = 38;
return this;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
*/
public Builder clearTokenBurn() {
if (tokenBurnBuilder_ == null) {
if (dataCase_ == 38) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 38) {
dataCase_ = 0;
data_ = null;
}
tokenBurnBuilder_.clear();
}
return this;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
*/
public com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.Builder getTokenBurnBuilder() {
return getTokenBurnFieldBuilder().getBuilder();
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 38;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBodyOrBuilder getTokenBurnOrBuilder() {
if ((dataCase_ == 38) && (tokenBurnBuilder_ != null)) {
return tokenBurnBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody, com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBodyOrBuilder>
getTokenBurnFieldBuilder() {
if (tokenBurnBuilder_ == null) {
if (!(dataCase_ == 38)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.getDefaultInstance();
}
tokenBurnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody, com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 38;
onChanged();
return tokenBurnBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody, com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBodyOrBuilder> tokenWipeBuilder_;
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
* @return Whether the tokenWipe field is set.
*/
@java.lang.Override
public boolean hasTokenWipe() {
return dataCase_ == 39;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
* @return The tokenWipe.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody getTokenWipe() {
if (tokenWipeBuilder_ == null) {
if (dataCase_ == 39) {
return (com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 39) {
return tokenWipeBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
public Builder setTokenWipe(com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody value) {
if (tokenWipeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenWipeBuilder_.setMessage(value);
}
dataCase_ = 39;
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
public Builder setTokenWipe(
com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.Builder builderForValue) {
if (tokenWipeBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenWipeBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 39;
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
public Builder mergeTokenWipe(com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody value) {
if (tokenWipeBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 39) {
tokenWipeBuilder_.mergeFrom(value);
} else {
tokenWipeBuilder_.setMessage(value);
}
}
dataCase_ = 39;
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
public Builder clearTokenWipe() {
if (tokenWipeBuilder_ == null) {
if (dataCase_ == 39) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 39) {
dataCase_ = 0;
data_ = null;
}
tokenWipeBuilder_.clear();
}
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.Builder getTokenWipeBuilder() {
return getTokenWipeFieldBuilder().getBuilder();
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 39;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBodyOrBuilder getTokenWipeOrBuilder() {
if ((dataCase_ == 39) && (tokenWipeBuilder_ != null)) {
return tokenWipeBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody, com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBodyOrBuilder>
getTokenWipeFieldBuilder() {
if (tokenWipeBuilder_ == null) {
if (!(dataCase_ == 39)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.getDefaultInstance();
}
tokenWipeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody, com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 39;
onChanged();
return tokenWipeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBodyOrBuilder> tokenAssociateBuilder_;
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
* @return Whether the tokenAssociate field is set.
*/
@java.lang.Override
public boolean hasTokenAssociate() {
return dataCase_ == 40;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
* @return The tokenAssociate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody getTokenAssociate() {
if (tokenAssociateBuilder_ == null) {
if (dataCase_ == 40) {
return (com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 40) {
return tokenAssociateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
public Builder setTokenAssociate(com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody value) {
if (tokenAssociateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenAssociateBuilder_.setMessage(value);
}
dataCase_ = 40;
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
public Builder setTokenAssociate(
com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.Builder builderForValue) {
if (tokenAssociateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenAssociateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 40;
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
public Builder mergeTokenAssociate(com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody value) {
if (tokenAssociateBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 40) {
tokenAssociateBuilder_.mergeFrom(value);
} else {
tokenAssociateBuilder_.setMessage(value);
}
}
dataCase_ = 40;
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
public Builder clearTokenAssociate() {
if (tokenAssociateBuilder_ == null) {
if (dataCase_ == 40) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 40) {
dataCase_ = 0;
data_ = null;
}
tokenAssociateBuilder_.clear();
}
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.Builder getTokenAssociateBuilder() {
return getTokenAssociateFieldBuilder().getBuilder();
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 40;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBodyOrBuilder getTokenAssociateOrBuilder() {
if ((dataCase_ == 40) && (tokenAssociateBuilder_ != null)) {
return tokenAssociateBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBodyOrBuilder>
getTokenAssociateFieldBuilder() {
if (tokenAssociateBuilder_ == null) {
if (!(dataCase_ == 40)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance();
}
tokenAssociateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 40;
onChanged();
return tokenAssociateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBodyOrBuilder> tokenDissociateBuilder_;
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
* @return Whether the tokenDissociate field is set.
*/
@java.lang.Override
public boolean hasTokenDissociate() {
return dataCase_ == 41;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
* @return The tokenDissociate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody getTokenDissociate() {
if (tokenDissociateBuilder_ == null) {
if (dataCase_ == 41) {
return (com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 41) {
return tokenDissociateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
public Builder setTokenDissociate(com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody value) {
if (tokenDissociateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenDissociateBuilder_.setMessage(value);
}
dataCase_ = 41;
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
public Builder setTokenDissociate(
com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.Builder builderForValue) {
if (tokenDissociateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenDissociateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 41;
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
public Builder mergeTokenDissociate(com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody value) {
if (tokenDissociateBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 41) {
tokenDissociateBuilder_.mergeFrom(value);
} else {
tokenDissociateBuilder_.setMessage(value);
}
}
dataCase_ = 41;
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
public Builder clearTokenDissociate() {
if (tokenDissociateBuilder_ == null) {
if (dataCase_ == 41) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 41) {
dataCase_ = 0;
data_ = null;
}
tokenDissociateBuilder_.clear();
}
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.Builder getTokenDissociateBuilder() {
return getTokenDissociateFieldBuilder().getBuilder();
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 41;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBodyOrBuilder getTokenDissociateOrBuilder() {
if ((dataCase_ == 41) && (tokenDissociateBuilder_ != null)) {
return tokenDissociateBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBodyOrBuilder>
getTokenDissociateFieldBuilder() {
if (tokenDissociateBuilder_ == null) {
if (!(dataCase_ == 41)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance();
}
tokenDissociateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 41;
onChanged();
return tokenDissociateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody, com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBodyOrBuilder> scheduleCreateBuilder_;
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
* @return Whether the scheduleCreate field is set.
*/
@java.lang.Override
public boolean hasScheduleCreate() {
return dataCase_ == 42;
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
* @return The scheduleCreate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody getScheduleCreate() {
if (scheduleCreateBuilder_ == null) {
if (dataCase_ == 42) {
return (com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 42) {
return scheduleCreateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
public Builder setScheduleCreate(com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody value) {
if (scheduleCreateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
scheduleCreateBuilder_.setMessage(value);
}
dataCase_ = 42;
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) {
if (scheduleCreateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
scheduleCreateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 42;
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) {
if (scheduleCreateBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 42) {
scheduleCreateBuilder_.mergeFrom(value);
} else {
scheduleCreateBuilder_.setMessage(value);
}
}
dataCase_ = 42;
return this;
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
public Builder clearScheduleCreate() {
if (scheduleCreateBuilder_ == null) {
if (dataCase_ == 42) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 42) {
dataCase_ = 0;
data_ = null;
}
scheduleCreateBuilder_.clear();
}
return this;
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
public com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody.Builder getScheduleCreateBuilder() {
return getScheduleCreateFieldBuilder().getBuilder();
}
/**
*
**
* Creates a schedule in the network's action queue
*
*
* .proto.ScheduleCreateTransactionBody scheduleCreate = 42;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBodyOrBuilder getScheduleCreateOrBuilder() {
if ((dataCase_ == 42) && (scheduleCreateBuilder_ != null)) {
return scheduleCreateBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody, com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBodyOrBuilder>
getScheduleCreateFieldBuilder() {
if (scheduleCreateBuilder_ == null) {
if (!(dataCase_ == 42)) {
data_ = com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody.getDefaultInstance();
}
scheduleCreateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody, com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ScheduleCreateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 42;
onChanged();
return scheduleCreateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBodyOrBuilder> scheduleDeleteBuilder_;
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
* @return Whether the scheduleDelete field is set.
*/
@java.lang.Override
public boolean hasScheduleDelete() {
return dataCase_ == 43;
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
* @return The scheduleDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody getScheduleDelete() {
if (scheduleDeleteBuilder_ == null) {
if (dataCase_ == 43) {
return (com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 43) {
return scheduleDeleteBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
public Builder setScheduleDelete(com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody value) {
if (scheduleDeleteBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
scheduleDeleteBuilder_.setMessage(value);
}
dataCase_ = 43;
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) {
if (scheduleDeleteBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
scheduleDeleteBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 43;
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) {
if (scheduleDeleteBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 43) {
scheduleDeleteBuilder_.mergeFrom(value);
} else {
scheduleDeleteBuilder_.setMessage(value);
}
}
dataCase_ = 43;
return this;
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
public Builder clearScheduleDelete() {
if (scheduleDeleteBuilder_ == null) {
if (dataCase_ == 43) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 43) {
dataCase_ = 0;
data_ = null;
}
scheduleDeleteBuilder_.clear();
}
return this;
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.Builder getScheduleDeleteBuilder() {
return getScheduleDeleteFieldBuilder().getBuilder();
}
/**
*
**
* Deletes a schedule from the network's action queue
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 43;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBodyOrBuilder getScheduleDeleteOrBuilder() {
if ((dataCase_ == 43) && (scheduleDeleteBuilder_ != null)) {
return scheduleDeleteBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBodyOrBuilder>
getScheduleDeleteFieldBuilder() {
if (scheduleDeleteBuilder_ == null) {
if (!(dataCase_ == 43)) {
data_ = com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance();
}
scheduleDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 43;
onChanged();
return scheduleDeleteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody, com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBodyOrBuilder> scheduleSignBuilder_;
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
* @return Whether the scheduleSign field is set.
*/
@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;
* @return The scheduleSign.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody getScheduleSign() {
if (scheduleSignBuilder_ == null) {
if (dataCase_ == 44) {
return (com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 44) {
return scheduleSignBuilder_.getMessage();
}
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;
*/
public Builder setScheduleSign(com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody value) {
if (scheduleSignBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
scheduleSignBuilder_.setMessage(value);
}
dataCase_ = 44;
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) {
if (scheduleSignBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
scheduleSignBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 44;
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) {
if (scheduleSignBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 44) {
scheduleSignBuilder_.mergeFrom(value);
} else {
scheduleSignBuilder_.setMessage(value);
}
}
dataCase_ = 44;
return this;
}
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
public Builder clearScheduleSign() {
if (scheduleSignBuilder_ == null) {
if (dataCase_ == 44) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 44) {
dataCase_ = 0;
data_ = null;
}
scheduleSignBuilder_.clear();
}
return this;
}
/**
*
**
* Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
*
*
* .proto.ScheduleSignTransactionBody scheduleSign = 44;
*/
public com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody.Builder getScheduleSignBuilder() {
return getScheduleSignFieldBuilder().getBuilder();
}
/**
*
**
* 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.ScheduleSignTransactionBodyOrBuilder getScheduleSignOrBuilder() {
if ((dataCase_ == 44) && (scheduleSignBuilder_ != null)) {
return scheduleSignBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody, com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBodyOrBuilder>
getScheduleSignFieldBuilder() {
if (scheduleSignBuilder_ == null) {
if (!(dataCase_ == 44)) {
data_ = com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody.getDefaultInstance();
}
scheduleSignBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody, com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ScheduleSignTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 44;
onChanged();
return scheduleSignBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBodyOrBuilder> tokenFeeScheduleUpdateBuilder_;
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
* @return Whether the tokenFeeScheduleUpdate field is set.
*/
@java.lang.Override
public boolean hasTokenFeeScheduleUpdate() {
return dataCase_ == 45;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
* @return The tokenFeeScheduleUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody getTokenFeeScheduleUpdate() {
if (tokenFeeScheduleUpdateBuilder_ == null) {
if (dataCase_ == 45) {
return (com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 45) {
return tokenFeeScheduleUpdateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
*/
public Builder setTokenFeeScheduleUpdate(com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody value) {
if (tokenFeeScheduleUpdateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenFeeScheduleUpdateBuilder_.setMessage(value);
}
dataCase_ = 45;
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) {
if (tokenFeeScheduleUpdateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenFeeScheduleUpdateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 45;
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) {
if (tokenFeeScheduleUpdateBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 45) {
tokenFeeScheduleUpdateBuilder_.mergeFrom(value);
} else {
tokenFeeScheduleUpdateBuilder_.setMessage(value);
}
}
dataCase_ = 45;
return this;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
*/
public Builder clearTokenFeeScheduleUpdate() {
if (tokenFeeScheduleUpdateBuilder_ == null) {
if (dataCase_ == 45) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 45) {
dataCase_ = 0;
data_ = null;
}
tokenFeeScheduleUpdateBuilder_.clear();
}
return this;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
*/
public com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.Builder getTokenFeeScheduleUpdateBuilder() {
return getTokenFeeScheduleUpdateFieldBuilder().getBuilder();
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 45;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBodyOrBuilder getTokenFeeScheduleUpdateOrBuilder() {
if ((dataCase_ == 45) && (tokenFeeScheduleUpdateBuilder_ != null)) {
return tokenFeeScheduleUpdateBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBodyOrBuilder>
getTokenFeeScheduleUpdateFieldBuilder() {
if (tokenFeeScheduleUpdateBuilder_ == null) {
if (!(dataCase_ == 45)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
}
tokenFeeScheduleUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 45;
onChanged();
return tokenFeeScheduleUpdateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody, com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBodyOrBuilder> tokenPauseBuilder_;
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
* @return Whether the tokenPause field is set.
*/
@java.lang.Override
public boolean hasTokenPause() {
return dataCase_ == 46;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
* @return The tokenPause.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody getTokenPause() {
if (tokenPauseBuilder_ == null) {
if (dataCase_ == 46) {
return (com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 46) {
return tokenPauseBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
public Builder setTokenPause(com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody value) {
if (tokenPauseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenPauseBuilder_.setMessage(value);
}
dataCase_ = 46;
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
public Builder setTokenPause(
com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.Builder builderForValue) {
if (tokenPauseBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenPauseBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 46;
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
public Builder mergeTokenPause(com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody value) {
if (tokenPauseBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 46) {
tokenPauseBuilder_.mergeFrom(value);
} else {
tokenPauseBuilder_.setMessage(value);
}
}
dataCase_ = 46;
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
public Builder clearTokenPause() {
if (tokenPauseBuilder_ == null) {
if (dataCase_ == 46) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 46) {
dataCase_ = 0;
data_ = null;
}
tokenPauseBuilder_.clear();
}
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.Builder getTokenPauseBuilder() {
return getTokenPauseFieldBuilder().getBuilder();
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 46;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBodyOrBuilder getTokenPauseOrBuilder() {
if ((dataCase_ == 46) && (tokenPauseBuilder_ != null)) {
return tokenPauseBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody, com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBodyOrBuilder>
getTokenPauseFieldBuilder() {
if (tokenPauseBuilder_ == null) {
if (!(dataCase_ == 46)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance();
}
tokenPauseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody, com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 46;
onChanged();
return tokenPauseBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody, com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBodyOrBuilder> tokenUnpauseBuilder_;
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
* @return Whether the tokenUnpause field is set.
*/
@java.lang.Override
public boolean hasTokenUnpause() {
return dataCase_ == 47;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
* @return The tokenUnpause.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody getTokenUnpause() {
if (tokenUnpauseBuilder_ == null) {
if (dataCase_ == 47) {
return (com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 47) {
return tokenUnpauseBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
public Builder setTokenUnpause(com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody value) {
if (tokenUnpauseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenUnpauseBuilder_.setMessage(value);
}
dataCase_ = 47;
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
public Builder setTokenUnpause(
com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.Builder builderForValue) {
if (tokenUnpauseBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenUnpauseBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 47;
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
public Builder mergeTokenUnpause(com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody value) {
if (tokenUnpauseBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 47) {
tokenUnpauseBuilder_.mergeFrom(value);
} else {
tokenUnpauseBuilder_.setMessage(value);
}
}
dataCase_ = 47;
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
public Builder clearTokenUnpause() {
if (tokenUnpauseBuilder_ == null) {
if (dataCase_ == 47) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 47) {
dataCase_ = 0;
data_ = null;
}
tokenUnpauseBuilder_.clear();
}
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.Builder getTokenUnpauseBuilder() {
return getTokenUnpauseFieldBuilder().getBuilder();
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 47;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBodyOrBuilder getTokenUnpauseOrBuilder() {
if ((dataCase_ == 47) && (tokenUnpauseBuilder_ != null)) {
return tokenUnpauseBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody, com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBodyOrBuilder>
getTokenUnpauseFieldBuilder() {
if (tokenUnpauseBuilder_ == null) {
if (!(dataCase_ == 47)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance();
}
tokenUnpauseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody, com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 47;
onChanged();
return tokenUnpauseBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBodyOrBuilder> cryptoApproveAllowanceBuilder_;
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 48;
* @return Whether the cryptoApproveAllowance field is set.
*/
@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;
* @return The cryptoApproveAllowance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody getCryptoApproveAllowance() {
if (cryptoApproveAllowanceBuilder_ == null) {
if (dataCase_ == 48) {
return (com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 48) {
return cryptoApproveAllowanceBuilder_.getMessage();
}
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;
*/
public Builder setCryptoApproveAllowance(com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody value) {
if (cryptoApproveAllowanceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
cryptoApproveAllowanceBuilder_.setMessage(value);
}
dataCase_ = 48;
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) {
if (cryptoApproveAllowanceBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoApproveAllowanceBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 48;
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) {
if (cryptoApproveAllowanceBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 48) {
cryptoApproveAllowanceBuilder_.mergeFrom(value);
} else {
cryptoApproveAllowanceBuilder_.setMessage(value);
}
}
dataCase_ = 48;
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() {
if (cryptoApproveAllowanceBuilder_ == null) {
if (dataCase_ == 48) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 48) {
dataCase_ = 0;
data_ = null;
}
cryptoApproveAllowanceBuilder_.clear();
}
return this;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 48;
*/
public com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.Builder getCryptoApproveAllowanceBuilder() {
return getCryptoApproveAllowanceFieldBuilder().getBuilder();
}
/**
*
**
* 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.CryptoApproveAllowanceTransactionBodyOrBuilder getCryptoApproveAllowanceOrBuilder() {
if ((dataCase_ == 48) && (cryptoApproveAllowanceBuilder_ != null)) {
return cryptoApproveAllowanceBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBodyOrBuilder>
getCryptoApproveAllowanceFieldBuilder() {
if (cryptoApproveAllowanceBuilder_ == null) {
if (!(dataCase_ == 48)) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.getDefaultInstance();
}
cryptoApproveAllowanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 48;
onChanged();
return cryptoApproveAllowanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBodyOrBuilder> cryptoDeleteAllowanceBuilder_;
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 49;
* @return Whether the cryptoDeleteAllowance field is set.
*/
@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;
* @return The cryptoDeleteAllowance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody getCryptoDeleteAllowance() {
if (cryptoDeleteAllowanceBuilder_ == null) {
if (dataCase_ == 49) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 49) {
return cryptoDeleteAllowanceBuilder_.getMessage();
}
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;
*/
public Builder setCryptoDeleteAllowance(com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody value) {
if (cryptoDeleteAllowanceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
cryptoDeleteAllowanceBuilder_.setMessage(value);
}
dataCase_ = 49;
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) {
if (cryptoDeleteAllowanceBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoDeleteAllowanceBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 49;
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) {
if (cryptoDeleteAllowanceBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 49) {
cryptoDeleteAllowanceBuilder_.mergeFrom(value);
} else {
cryptoDeleteAllowanceBuilder_.setMessage(value);
}
}
dataCase_ = 49;
return this;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 49;
*/
public Builder clearCryptoDeleteAllowance() {
if (cryptoDeleteAllowanceBuilder_ == null) {
if (dataCase_ == 49) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 49) {
dataCase_ = 0;
data_ = null;
}
cryptoDeleteAllowanceBuilder_.clear();
}
return this;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 49;
*/
public com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.Builder getCryptoDeleteAllowanceBuilder() {
return getCryptoDeleteAllowanceFieldBuilder().getBuilder();
}
/**
*
**
* 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.CryptoDeleteAllowanceTransactionBodyOrBuilder getCryptoDeleteAllowanceOrBuilder() {
if ((dataCase_ == 49) && (cryptoDeleteAllowanceBuilder_ != null)) {
return cryptoDeleteAllowanceBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBodyOrBuilder>
getCryptoDeleteAllowanceFieldBuilder() {
if (cryptoDeleteAllowanceBuilder_ == null) {
if (!(dataCase_ == 49)) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.getDefaultInstance();
}
cryptoDeleteAllowanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody, com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 49;
onChanged();
return cryptoDeleteAllowanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.EthereumTransactionBody, com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.EthereumTransactionBodyOrBuilder> ethereumTransactionBuilder_;
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
* @return Whether the ethereumTransaction field is set.
*/
@java.lang.Override
public boolean hasEthereumTransaction() {
return dataCase_ == 50;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
* @return The ethereumTransaction.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.EthereumTransactionBody getEthereumTransaction() {
if (ethereumTransactionBuilder_ == null) {
if (dataCase_ == 50) {
return (com.hedera.hashgraph.sdk.proto.EthereumTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 50) {
return ethereumTransactionBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.getDefaultInstance();
}
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
public Builder setEthereumTransaction(com.hedera.hashgraph.sdk.proto.EthereumTransactionBody value) {
if (ethereumTransactionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
ethereumTransactionBuilder_.setMessage(value);
}
dataCase_ = 50;
return this;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
public Builder setEthereumTransaction(
com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.Builder builderForValue) {
if (ethereumTransactionBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
ethereumTransactionBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 50;
return this;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
public Builder mergeEthereumTransaction(com.hedera.hashgraph.sdk.proto.EthereumTransactionBody value) {
if (ethereumTransactionBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 50) {
ethereumTransactionBuilder_.mergeFrom(value);
} else {
ethereumTransactionBuilder_.setMessage(value);
}
}
dataCase_ = 50;
return this;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
public Builder clearEthereumTransaction() {
if (ethereumTransactionBuilder_ == null) {
if (dataCase_ == 50) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 50) {
dataCase_ = 0;
data_ = null;
}
ethereumTransactionBuilder_.clear();
}
return this;
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
public com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.Builder getEthereumTransactionBuilder() {
return getEthereumTransactionFieldBuilder().getBuilder();
}
/**
*
**
* An Ethereum encoded transaction.
*
*
* .proto.EthereumTransactionBody ethereumTransaction = 50;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.EthereumTransactionBodyOrBuilder getEthereumTransactionOrBuilder() {
if ((dataCase_ == 50) && (ethereumTransactionBuilder_ != null)) {
return ethereumTransactionBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.EthereumTransactionBody, com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.EthereumTransactionBodyOrBuilder>
getEthereumTransactionFieldBuilder() {
if (ethereumTransactionBuilder_ == null) {
if (!(dataCase_ == 50)) {
data_ = com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.getDefaultInstance();
}
ethereumTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.EthereumTransactionBody, com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.EthereumTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.EthereumTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 50;
onChanged();
return ethereumTransactionBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBodyOrBuilder> nodeStakeUpdateBuilder_;
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* .proto.NodeStakeUpdateTransactionBody node_stake_update = 51;
* @return Whether the nodeStakeUpdate field is set.
*/
@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;
* @return The nodeStakeUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody getNodeStakeUpdate() {
if (nodeStakeUpdateBuilder_ == null) {
if (dataCase_ == 51) {
return (com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 51) {
return nodeStakeUpdateBuilder_.getMessage();
}
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;
*/
public Builder setNodeStakeUpdate(com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody value) {
if (nodeStakeUpdateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
nodeStakeUpdateBuilder_.setMessage(value);
}
dataCase_ = 51;
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) {
if (nodeStakeUpdateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
nodeStakeUpdateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 51;
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) {
if (nodeStakeUpdateBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 51) {
nodeStakeUpdateBuilder_.mergeFrom(value);
} else {
nodeStakeUpdateBuilder_.setMessage(value);
}
}
dataCase_ = 51;
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() {
if (nodeStakeUpdateBuilder_ == null) {
if (dataCase_ == 51) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 51) {
dataCase_ = 0;
data_ = null;
}
nodeStakeUpdateBuilder_.clear();
}
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 com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody.Builder getNodeStakeUpdateBuilder() {
return getNodeStakeUpdateFieldBuilder().getBuilder();
}
/**
*
**
* 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.NodeStakeUpdateTransactionBodyOrBuilder getNodeStakeUpdateOrBuilder() {
if ((dataCase_ == 51) && (nodeStakeUpdateBuilder_ != null)) {
return nodeStakeUpdateBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBodyOrBuilder>
getNodeStakeUpdateFieldBuilder() {
if (nodeStakeUpdateBuilder_ == null) {
if (!(dataCase_ == 51)) {
data_ = com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody.getDefaultInstance();
}
nodeStakeUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.NodeStakeUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 51;
onChanged();
return nodeStakeUpdateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody, com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBodyOrBuilder> utilPrngBuilder_;
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
* @return Whether the utilPrng field is set.
*/
@java.lang.Override
public boolean hasUtilPrng() {
return dataCase_ == 52;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
* @return The utilPrng.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody getUtilPrng() {
if (utilPrngBuilder_ == null) {
if (dataCase_ == 52) {
return (com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 52) {
return utilPrngBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
public Builder setUtilPrng(com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody value) {
if (utilPrngBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
utilPrngBuilder_.setMessage(value);
}
dataCase_ = 52;
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
public Builder setUtilPrng(
com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.Builder builderForValue) {
if (utilPrngBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
utilPrngBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 52;
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
public Builder mergeUtilPrng(com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody value) {
if (utilPrngBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 52) {
utilPrngBuilder_.mergeFrom(value);
} else {
utilPrngBuilder_.setMessage(value);
}
}
dataCase_ = 52;
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
public Builder clearUtilPrng() {
if (utilPrngBuilder_ == null) {
if (dataCase_ == 52) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 52) {
dataCase_ = 0;
data_ = null;
}
utilPrngBuilder_.clear();
}
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.Builder getUtilPrngBuilder() {
return getUtilPrngFieldBuilder().getBuilder();
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 52;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBodyOrBuilder getUtilPrngOrBuilder() {
if ((dataCase_ == 52) && (utilPrngBuilder_ != null)) {
return utilPrngBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody, com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBodyOrBuilder>
getUtilPrngFieldBuilder() {
if (utilPrngBuilder_ == null) {
if (!(dataCase_ == 52)) {
data_ = com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.getDefaultInstance();
}
utilPrngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody, com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 52;
onChanged();
return utilPrngBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody, com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBodyOrBuilder> tokenUpdateNftsBuilder_;
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 53;
* @return Whether the tokenUpdateNfts field is set.
*/
@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;
* @return The tokenUpdateNfts.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody getTokenUpdateNfts() {
if (tokenUpdateNftsBuilder_ == null) {
if (dataCase_ == 53) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 53) {
return tokenUpdateNftsBuilder_.getMessage();
}
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;
*/
public Builder setTokenUpdateNfts(com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody value) {
if (tokenUpdateNftsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenUpdateNftsBuilder_.setMessage(value);
}
dataCase_ = 53;
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) {
if (tokenUpdateNftsBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenUpdateNftsBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 53;
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) {
if (tokenUpdateNftsBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 53) {
tokenUpdateNftsBuilder_.mergeFrom(value);
} else {
tokenUpdateNftsBuilder_.setMessage(value);
}
}
dataCase_ = 53;
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() {
if (tokenUpdateNftsBuilder_ == null) {
if (dataCase_ == 53) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 53) {
dataCase_ = 0;
data_ = null;
}
tokenUpdateNftsBuilder_.clear();
}
return this;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 53;
*/
public com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.Builder getTokenUpdateNftsBuilder() {
return getTokenUpdateNftsFieldBuilder().getBuilder();
}
/**
*
**
* 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.TokenUpdateNftsTransactionBodyOrBuilder getTokenUpdateNftsOrBuilder() {
if ((dataCase_ == 53) && (tokenUpdateNftsBuilder_ != null)) {
return tokenUpdateNftsBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody, com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBodyOrBuilder>
getTokenUpdateNftsFieldBuilder() {
if (tokenUpdateNftsBuilder_ == null) {
if (!(dataCase_ == 53)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.getDefaultInstance();
}
tokenUpdateNftsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody, com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 53;
onChanged();
return tokenUpdateNftsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody, com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBodyOrBuilder> nodeCreateBuilder_;
/**
*
**
* 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;
* @return Whether the nodeCreate field is set.
*/
@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;
* @return The nodeCreate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody getNodeCreate() {
if (nodeCreateBuilder_ == null) {
if (dataCase_ == 54) {
return (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 54) {
return nodeCreateBuilder_.getMessage();
}
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;
*/
public Builder setNodeCreate(com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody value) {
if (nodeCreateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
nodeCreateBuilder_.setMessage(value);
}
dataCase_ = 54;
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) {
if (nodeCreateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
nodeCreateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 54;
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) {
if (nodeCreateBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 54) {
nodeCreateBuilder_.mergeFrom(value);
} else {
nodeCreateBuilder_.setMessage(value);
}
}
dataCase_ = 54;
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() {
if (nodeCreateBuilder_ == null) {
if (dataCase_ == 54) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 54) {
dataCase_ = 0;
data_ = null;
}
nodeCreateBuilder_.clear();
}
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 com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.Builder getNodeCreateBuilder() {
return getNodeCreateFieldBuilder().getBuilder();
}
/**
*
**
* 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.NodeCreateTransactionBodyOrBuilder getNodeCreateOrBuilder() {
if ((dataCase_ == 54) && (nodeCreateBuilder_ != null)) {
return nodeCreateBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody, com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBodyOrBuilder>
getNodeCreateFieldBuilder() {
if (nodeCreateBuilder_ == null) {
if (!(dataCase_ == 54)) {
data_ = com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.getDefaultInstance();
}
nodeCreateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody, com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 54;
onChanged();
return nodeCreateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBodyOrBuilder> nodeUpdateBuilder_;
/**
*
**
* 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;
* @return Whether the nodeUpdate field is set.
*/
@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;
* @return The nodeUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody getNodeUpdate() {
if (nodeUpdateBuilder_ == null) {
if (dataCase_ == 55) {
return (com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 55) {
return nodeUpdateBuilder_.getMessage();
}
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;
*/
public Builder setNodeUpdate(com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody value) {
if (nodeUpdateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
nodeUpdateBuilder_.setMessage(value);
}
dataCase_ = 55;
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) {
if (nodeUpdateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
nodeUpdateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 55;
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) {
if (nodeUpdateBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 55) {
nodeUpdateBuilder_.mergeFrom(value);
} else {
nodeUpdateBuilder_.setMessage(value);
}
}
dataCase_ = 55;
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() {
if (nodeUpdateBuilder_ == null) {
if (dataCase_ == 55) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 55) {
dataCase_ = 0;
data_ = null;
}
nodeUpdateBuilder_.clear();
}
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 com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.Builder getNodeUpdateBuilder() {
return getNodeUpdateFieldBuilder().getBuilder();
}
/**
*
**
* 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.NodeUpdateTransactionBodyOrBuilder getNodeUpdateOrBuilder() {
if ((dataCase_ == 55) && (nodeUpdateBuilder_ != null)) {
return nodeUpdateBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBodyOrBuilder>
getNodeUpdateFieldBuilder() {
if (nodeUpdateBuilder_ == null) {
if (!(dataCase_ == 55)) {
data_ = com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.getDefaultInstance();
}
nodeUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody, com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 55;
onChanged();
return nodeUpdateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBodyOrBuilder> nodeDeleteBuilder_;
/**
*
**
* 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;
* @return Whether the nodeDelete field is set.
*/
@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;
* @return The nodeDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody getNodeDelete() {
if (nodeDeleteBuilder_ == null) {
if (dataCase_ == 56) {
return (com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 56) {
return nodeDeleteBuilder_.getMessage();
}
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;
*/
public Builder setNodeDelete(com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody value) {
if (nodeDeleteBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
nodeDeleteBuilder_.setMessage(value);
}
dataCase_ = 56;
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) {
if (nodeDeleteBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
nodeDeleteBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 56;
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) {
if (nodeDeleteBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 56) {
nodeDeleteBuilder_.mergeFrom(value);
} else {
nodeDeleteBuilder_.setMessage(value);
}
}
dataCase_ = 56;
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() {
if (nodeDeleteBuilder_ == null) {
if (dataCase_ == 56) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 56) {
dataCase_ = 0;
data_ = null;
}
nodeDeleteBuilder_.clear();
}
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 com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.Builder getNodeDeleteBuilder() {
return getNodeDeleteFieldBuilder().getBuilder();
}
/**
*
**
* 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.NodeDeleteTransactionBodyOrBuilder getNodeDeleteOrBuilder() {
if ((dataCase_ == 56) && (nodeDeleteBuilder_ != null)) {
return nodeDeleteBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBodyOrBuilder>
getNodeDeleteFieldBuilder() {
if (nodeDeleteBuilder_ == null) {
if (!(dataCase_ == 56)) {
data_ = com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.getDefaultInstance();
}
nodeDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody, com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 56;
onChanged();
return nodeDeleteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody, com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBodyOrBuilder> tokenRejectBuilder_;
/**
*
**
* 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;
* @return Whether the tokenReject field is set.
*/
@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;
* @return The tokenReject.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody getTokenReject() {
if (tokenRejectBuilder_ == null) {
if (dataCase_ == 57) {
return (com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 57) {
return tokenRejectBuilder_.getMessage();
}
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;
*/
public Builder setTokenReject(com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody value) {
if (tokenRejectBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenRejectBuilder_.setMessage(value);
}
dataCase_ = 57;
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) {
if (tokenRejectBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenRejectBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 57;
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) {
if (tokenRejectBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 57) {
tokenRejectBuilder_.mergeFrom(value);
} else {
tokenRejectBuilder_.setMessage(value);
}
}
dataCase_ = 57;
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() {
if (tokenRejectBuilder_ == null) {
if (dataCase_ == 57) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 57) {
dataCase_ = 0;
data_ = null;
}
tokenRejectBuilder_.clear();
}
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 com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.Builder getTokenRejectBuilder() {
return getTokenRejectFieldBuilder().getBuilder();
}
/**
*
**
* 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.TokenRejectTransactionBodyOrBuilder getTokenRejectOrBuilder() {
if ((dataCase_ == 57) && (tokenRejectBuilder_ != null)) {
return tokenRejectBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody, com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBodyOrBuilder>
getTokenRejectFieldBuilder() {
if (tokenRejectBuilder_ == null) {
if (!(dataCase_ == 57)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.getDefaultInstance();
}
tokenRejectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody, com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 57;
onChanged();
return tokenRejectBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody, com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBodyOrBuilder> tokenAirdropBuilder_;
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
* @return Whether the tokenAirdrop field is set.
*/
@java.lang.Override
public boolean hasTokenAirdrop() {
return dataCase_ == 58;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
* @return The tokenAirdrop.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody getTokenAirdrop() {
if (tokenAirdropBuilder_ == null) {
if (dataCase_ == 58) {
return (com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 58) {
return tokenAirdropBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
public Builder setTokenAirdrop(com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody value) {
if (tokenAirdropBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenAirdropBuilder_.setMessage(value);
}
dataCase_ = 58;
return this;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
public Builder setTokenAirdrop(
com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.Builder builderForValue) {
if (tokenAirdropBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenAirdropBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 58;
return this;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
public Builder mergeTokenAirdrop(com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody value) {
if (tokenAirdropBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 58) {
tokenAirdropBuilder_.mergeFrom(value);
} else {
tokenAirdropBuilder_.setMessage(value);
}
}
dataCase_ = 58;
return this;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
public Builder clearTokenAirdrop() {
if (tokenAirdropBuilder_ == null) {
if (dataCase_ == 58) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 58) {
dataCase_ = 0;
data_ = null;
}
tokenAirdropBuilder_.clear();
}
return this;
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.Builder getTokenAirdropBuilder() {
return getTokenAirdropFieldBuilder().getBuilder();
}
/**
*
**
* A transaction body for a `tokenAirdrop` request.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 58;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBodyOrBuilder getTokenAirdropOrBuilder() {
if ((dataCase_ == 58) && (tokenAirdropBuilder_ != null)) {
return tokenAirdropBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody, com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBodyOrBuilder>
getTokenAirdropFieldBuilder() {
if (tokenAirdropBuilder_ == null) {
if (!(dataCase_ == 58)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.getDefaultInstance();
}
tokenAirdropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody, com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 58;
onChanged();
return tokenAirdropBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody, com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBodyOrBuilder> tokenCancelAirdropBuilder_;
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
* @return Whether the tokenCancelAirdrop field is set.
*/
@java.lang.Override
public boolean hasTokenCancelAirdrop() {
return dataCase_ == 59;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
* @return The tokenCancelAirdrop.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody getTokenCancelAirdrop() {
if (tokenCancelAirdropBuilder_ == null) {
if (dataCase_ == 59) {
return (com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 59) {
return tokenCancelAirdropBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
public Builder setTokenCancelAirdrop(com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody value) {
if (tokenCancelAirdropBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenCancelAirdropBuilder_.setMessage(value);
}
dataCase_ = 59;
return this;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
public Builder setTokenCancelAirdrop(
com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.Builder builderForValue) {
if (tokenCancelAirdropBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenCancelAirdropBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 59;
return this;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
public Builder mergeTokenCancelAirdrop(com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody value) {
if (tokenCancelAirdropBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 59) {
tokenCancelAirdropBuilder_.mergeFrom(value);
} else {
tokenCancelAirdropBuilder_.setMessage(value);
}
}
dataCase_ = 59;
return this;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
public Builder clearTokenCancelAirdrop() {
if (tokenCancelAirdropBuilder_ == null) {
if (dataCase_ == 59) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 59) {
dataCase_ = 0;
data_ = null;
}
tokenCancelAirdropBuilder_.clear();
}
return this;
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.Builder getTokenCancelAirdropBuilder() {
return getTokenCancelAirdropFieldBuilder().getBuilder();
}
/**
*
**
* A transaction body for a `cancelAirdrop` request.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 59;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBodyOrBuilder getTokenCancelAirdropOrBuilder() {
if ((dataCase_ == 59) && (tokenCancelAirdropBuilder_ != null)) {
return tokenCancelAirdropBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody, com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBodyOrBuilder>
getTokenCancelAirdropFieldBuilder() {
if (tokenCancelAirdropBuilder_ == null) {
if (!(dataCase_ == 59)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
tokenCancelAirdropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody, com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 59;
onChanged();
return tokenCancelAirdropBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody, com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBodyOrBuilder> tokenClaimAirdropBuilder_;
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
* @return Whether the tokenClaimAirdrop field is set.
*/
@java.lang.Override
public boolean hasTokenClaimAirdrop() {
return dataCase_ == 60;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
* @return The tokenClaimAirdrop.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody getTokenClaimAirdrop() {
if (tokenClaimAirdropBuilder_ == null) {
if (dataCase_ == 60) {
return (com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 60) {
return tokenClaimAirdropBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
public Builder setTokenClaimAirdrop(com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody value) {
if (tokenClaimAirdropBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
tokenClaimAirdropBuilder_.setMessage(value);
}
dataCase_ = 60;
return this;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
public Builder setTokenClaimAirdrop(
com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.Builder builderForValue) {
if (tokenClaimAirdropBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenClaimAirdropBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 60;
return this;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
public Builder mergeTokenClaimAirdrop(com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody value) {
if (tokenClaimAirdropBuilder_ == null) {
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;
}
onChanged();
} else {
if (dataCase_ == 60) {
tokenClaimAirdropBuilder_.mergeFrom(value);
} else {
tokenClaimAirdropBuilder_.setMessage(value);
}
}
dataCase_ = 60;
return this;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
public Builder clearTokenClaimAirdrop() {
if (tokenClaimAirdropBuilder_ == null) {
if (dataCase_ == 60) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 60) {
dataCase_ = 0;
data_ = null;
}
tokenClaimAirdropBuilder_.clear();
}
return this;
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.Builder getTokenClaimAirdropBuilder() {
return getTokenClaimAirdropFieldBuilder().getBuilder();
}
/**
*
**
* A transaction body for a `claimAirdrop` request.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 60;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBodyOrBuilder getTokenClaimAirdropOrBuilder() {
if ((dataCase_ == 60) && (tokenClaimAirdropBuilder_ != null)) {
return tokenClaimAirdropBuilder_.getMessageOrBuilder();
} else {
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 com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody, com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBodyOrBuilder>
getTokenClaimAirdropFieldBuilder() {
if (tokenClaimAirdropBuilder_ == null) {
if (!(dataCase_ == 60)) {
data_ = com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
tokenClaimAirdropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody, com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBodyOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 60;
onChanged();
return tokenClaimAirdropBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:proto.TransactionBody)
}
// @@protoc_insertion_point(class_scope:proto.TransactionBody)
private static final com.hedera.hashgraph.sdk.proto.TransactionBody DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.hedera.hashgraph.sdk.proto.TransactionBody();
}
public static com.hedera.hashgraph.sdk.proto.TransactionBody getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TransactionBody parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionBody getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}