com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody 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: schedulable_transaction_body.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
/**
*
**
* A schedulable transaction. Note that the global/dynamic system property
* <tt>scheduling.whitelist</tt> controls which transaction types may be scheduled. As of Hedera
* Services 0.24.0 this list includes <tt>ConsensusSubmitMessage</tt>, <tt>CryptoTransfer</tt>, <tt>TokenMint</tt>, and <tt>TokenBurn</tt>
* functions.
*
*
* Protobuf type {@code proto.SchedulableTransactionBody}
*/
public final class SchedulableTransactionBody extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.SchedulableTransactionBody)
SchedulableTransactionBodyOrBuilder {
private static final long serialVersionUID = 0L;
// Use SchedulableTransactionBody.newBuilder() to construct.
private SchedulableTransactionBody(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SchedulableTransactionBody() {
memo_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SchedulableTransactionBody();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOuterClass.internal_static_proto_SchedulableTransactionBody_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOuterClass.internal_static_proto_SchedulableTransactionBody_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.class, com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.Builder.class);
}
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(3),
CONTRACTCREATEINSTANCE(4),
CONTRACTUPDATEINSTANCE(5),
CONTRACTDELETEINSTANCE(6),
CRYPTOAPPROVEALLOWANCE(37),
CRYPTODELETEALLOWANCE(38),
CRYPTOCREATEACCOUNT(7),
CRYPTODELETE(8),
CRYPTOTRANSFER(9),
CRYPTOUPDATEACCOUNT(10),
FILEAPPEND(11),
FILECREATE(12),
FILEDELETE(13),
FILEUPDATE(14),
SYSTEMDELETE(15),
SYSTEMUNDELETE(16),
FREEZE(17),
CONSENSUSCREATETOPIC(18),
CONSENSUSUPDATETOPIC(19),
CONSENSUSDELETETOPIC(20),
CONSENSUSSUBMITMESSAGE(21),
TOKENCREATION(22),
TOKENFREEZE(23),
TOKENUNFREEZE(24),
TOKENGRANTKYC(25),
TOKENREVOKEKYC(26),
TOKENDELETION(27),
TOKENUPDATE(28),
TOKENMINT(29),
TOKENBURN(30),
TOKENWIPE(31),
TOKENASSOCIATE(32),
TOKENDISSOCIATE(33),
TOKEN_FEE_SCHEDULE_UPDATE(39),
TOKEN_PAUSE(35),
TOKEN_UNPAUSE(36),
SCHEDULEDELETE(34),
UTIL_PRNG(40),
TOKEN_UPDATE_NFTS(41),
NODECREATE(42),
NODEUPDATE(43),
NODEDELETE(44),
TOKENREJECT(45),
TOKENCANCELAIRDROP(46),
TOKENCLAIMAIRDROP(47),
TOKENAIRDROP(48),
DATA_NOT_SET(0);
private final int value;
private DataCase(int value) {
this.value = value;
}
/**
* @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 3: return CONTRACTCALL;
case 4: return CONTRACTCREATEINSTANCE;
case 5: return CONTRACTUPDATEINSTANCE;
case 6: return CONTRACTDELETEINSTANCE;
case 37: return CRYPTOAPPROVEALLOWANCE;
case 38: return CRYPTODELETEALLOWANCE;
case 7: return CRYPTOCREATEACCOUNT;
case 8: return CRYPTODELETE;
case 9: return CRYPTOTRANSFER;
case 10: return CRYPTOUPDATEACCOUNT;
case 11: return FILEAPPEND;
case 12: return FILECREATE;
case 13: return FILEDELETE;
case 14: return FILEUPDATE;
case 15: return SYSTEMDELETE;
case 16: return SYSTEMUNDELETE;
case 17: return FREEZE;
case 18: return CONSENSUSCREATETOPIC;
case 19: return CONSENSUSUPDATETOPIC;
case 20: return CONSENSUSDELETETOPIC;
case 21: return CONSENSUSSUBMITMESSAGE;
case 22: return TOKENCREATION;
case 23: return TOKENFREEZE;
case 24: return TOKENUNFREEZE;
case 25: return TOKENGRANTKYC;
case 26: return TOKENREVOKEKYC;
case 27: return TOKENDELETION;
case 28: return TOKENUPDATE;
case 29: return TOKENMINT;
case 30: return TOKENBURN;
case 31: return TOKENWIPE;
case 32: return TOKENASSOCIATE;
case 33: return TOKENDISSOCIATE;
case 39: return TOKEN_FEE_SCHEDULE_UPDATE;
case 35: return TOKEN_PAUSE;
case 36: return TOKEN_UNPAUSE;
case 34: return SCHEDULEDELETE;
case 40: return UTIL_PRNG;
case 41: return TOKEN_UPDATE_NFTS;
case 42: return NODECREATE;
case 43: return NODEUPDATE;
case 44: return NODEDELETE;
case 45: return TOKENREJECT;
case 46: return TOKENCANCELAIRDROP;
case 47: return TOKENCLAIMAIRDROP;
case 48: return TOKENAIRDROP;
case 0: return DATA_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DataCase
getDataCase() {
return DataCase.forNumber(
dataCase_);
}
public static final int TRANSACTIONFEE_FIELD_NUMBER = 1;
private long transactionFee_ = 0L;
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 1;
* @return The transactionFee.
*/
@java.lang.Override
public long getTransactionFee() {
return transactionFee_;
}
public static final int MEMO_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object memo_ = "";
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @return The memo.
*/
@java.lang.Override
public java.lang.String getMemo() {
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;
}
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @return The bytes for memo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMemoBytes() {
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 = 3;
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
* @return Whether the contractCall field is set.
*/
@java.lang.Override
public boolean hasContractCall() {
return dataCase_ == 3;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
* @return The contractCall.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody getContractCall() {
if (dataCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.getDefaultInstance();
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBodyOrBuilder getContractCallOrBuilder() {
if (dataCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.getDefaultInstance();
}
public static final int CONTRACTCREATEINSTANCE_FIELD_NUMBER = 4;
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
* @return Whether the contractCreateInstance field is set.
*/
@java.lang.Override
public boolean hasContractCreateInstance() {
return dataCase_ == 4;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
* @return The contractCreateInstance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody getContractCreateInstance() {
if (dataCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBodyOrBuilder getContractCreateInstanceOrBuilder() {
if (dataCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance();
}
public static final int CONTRACTUPDATEINSTANCE_FIELD_NUMBER = 5;
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
* @return Whether the contractUpdateInstance field is set.
*/
@java.lang.Override
public boolean hasContractUpdateInstance() {
return dataCase_ == 5;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
* @return The contractUpdateInstance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody getContractUpdateInstance() {
if (dataCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBodyOrBuilder getContractUpdateInstanceOrBuilder() {
if (dataCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance();
}
public static final int CONTRACTDELETEINSTANCE_FIELD_NUMBER = 6;
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
* @return Whether the contractDeleteInstance field is set.
*/
@java.lang.Override
public boolean hasContractDeleteInstance() {
return dataCase_ == 6;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
* @return The contractDeleteInstance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody getContractDeleteInstance() {
if (dataCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBodyOrBuilder getContractDeleteInstanceOrBuilder() {
if (dataCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.getDefaultInstance();
}
public static final int CRYPTOAPPROVEALLOWANCE_FIELD_NUMBER = 37;
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
* @return Whether the cryptoApproveAllowance field is set.
*/
@java.lang.Override
public boolean hasCryptoApproveAllowance() {
return dataCase_ == 37;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
* @return The cryptoApproveAllowance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody getCryptoApproveAllowance() {
if (dataCase_ == 37) {
return (com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.getDefaultInstance();
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBodyOrBuilder getCryptoApproveAllowanceOrBuilder() {
if (dataCase_ == 37) {
return (com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.getDefaultInstance();
}
public static final int CRYPTODELETEALLOWANCE_FIELD_NUMBER = 38;
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
* @return Whether the cryptoDeleteAllowance field is set.
*/
@java.lang.Override
public boolean hasCryptoDeleteAllowance() {
return dataCase_ == 38;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
* @return The cryptoDeleteAllowance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody getCryptoDeleteAllowance() {
if (dataCase_ == 38) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.getDefaultInstance();
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBodyOrBuilder getCryptoDeleteAllowanceOrBuilder() {
if (dataCase_ == 38) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.getDefaultInstance();
}
public static final int CRYPTOCREATEACCOUNT_FIELD_NUMBER = 7;
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
* @return Whether the cryptoCreateAccount field is set.
*/
@java.lang.Override
public boolean hasCryptoCreateAccount() {
return dataCase_ == 7;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
* @return The cryptoCreateAccount.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody getCryptoCreateAccount() {
if (dataCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBodyOrBuilder getCryptoCreateAccountOrBuilder() {
if (dataCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance();
}
public static final int CRYPTODELETE_FIELD_NUMBER = 8;
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
* @return Whether the cryptoDelete field is set.
*/
@java.lang.Override
public boolean hasCryptoDelete() {
return dataCase_ == 8;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
* @return The cryptoDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody getCryptoDelete() {
if (dataCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBodyOrBuilder getCryptoDeleteOrBuilder() {
if (dataCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.getDefaultInstance();
}
public static final int CRYPTOTRANSFER_FIELD_NUMBER = 9;
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
* @return Whether the cryptoTransfer field is set.
*/
@java.lang.Override
public boolean hasCryptoTransfer() {
return dataCase_ == 9;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
* @return The cryptoTransfer.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody getCryptoTransfer() {
if (dataCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance();
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBodyOrBuilder getCryptoTransferOrBuilder() {
if (dataCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance();
}
public static final int CRYPTOUPDATEACCOUNT_FIELD_NUMBER = 10;
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
* @return Whether the cryptoUpdateAccount field is set.
*/
@java.lang.Override
public boolean hasCryptoUpdateAccount() {
return dataCase_ == 10;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
* @return The cryptoUpdateAccount.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody getCryptoUpdateAccount() {
if (dataCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBodyOrBuilder getCryptoUpdateAccountOrBuilder() {
if (dataCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.getDefaultInstance();
}
public static final int FILEAPPEND_FIELD_NUMBER = 11;
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
* @return Whether the fileAppend field is set.
*/
@java.lang.Override
public boolean hasFileAppend() {
return dataCase_ == 11;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
* @return The fileAppend.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody getFileAppend() {
if (dataCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.getDefaultInstance();
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileAppendTransactionBodyOrBuilder getFileAppendOrBuilder() {
if (dataCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.getDefaultInstance();
}
public static final int FILECREATE_FIELD_NUMBER = 12;
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
* @return Whether the fileCreate field is set.
*/
@java.lang.Override
public boolean hasFileCreate() {
return dataCase_ == 12;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
* @return The fileCreate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody getFileCreate() {
if (dataCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBodyOrBuilder getFileCreateOrBuilder() {
if (dataCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance();
}
public static final int FILEDELETE_FIELD_NUMBER = 13;
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
* @return Whether the fileDelete field is set.
*/
@java.lang.Override
public boolean hasFileDelete() {
return dataCase_ == 13;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
* @return The fileDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody getFileDelete() {
if (dataCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBodyOrBuilder getFileDeleteOrBuilder() {
if (dataCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.getDefaultInstance();
}
public static final int FILEUPDATE_FIELD_NUMBER = 14;
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
* @return Whether the fileUpdate field is set.
*/
@java.lang.Override
public boolean hasFileUpdate() {
return dataCase_ == 14;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
* @return The fileUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody getFileUpdate() {
if (dataCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBodyOrBuilder getFileUpdateOrBuilder() {
if (dataCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.getDefaultInstance();
}
public static final int SYSTEMDELETE_FIELD_NUMBER = 15;
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
* @return Whether the systemDelete field is set.
*/
@java.lang.Override
public boolean hasSystemDelete() {
return dataCase_ == 15;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
* @return The systemDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody getSystemDelete() {
if (dataCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBodyOrBuilder getSystemDeleteOrBuilder() {
if (dataCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.getDefaultInstance();
}
public static final int SYSTEMUNDELETE_FIELD_NUMBER = 16;
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
* @return Whether the systemUndelete field is set.
*/
@java.lang.Override
public boolean hasSystemUndelete() {
return dataCase_ == 16;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
* @return The systemUndelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody getSystemUndelete() {
if (dataCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBodyOrBuilder getSystemUndeleteOrBuilder() {
if (dataCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.getDefaultInstance();
}
public static final int FREEZE_FIELD_NUMBER = 17;
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
* @return Whether the freeze field is set.
*/
@java.lang.Override
public boolean hasFreeze() {
return dataCase_ == 17;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
* @return The freeze.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBody getFreeze() {
if (dataCase_ == 17) {
return (com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance();
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBodyOrBuilder getFreezeOrBuilder() {
if (dataCase_ == 17) {
return (com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance();
}
public static final int CONSENSUSCREATETOPIC_FIELD_NUMBER = 18;
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
* @return Whether the consensusCreateTopic field is set.
*/
@java.lang.Override
public boolean hasConsensusCreateTopic() {
return dataCase_ == 18;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
* @return The consensusCreateTopic.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody getConsensusCreateTopic() {
if (dataCase_ == 18) {
return (com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBodyOrBuilder getConsensusCreateTopicOrBuilder() {
if (dataCase_ == 18) {
return (com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
public static final int CONSENSUSUPDATETOPIC_FIELD_NUMBER = 19;
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
* @return Whether the consensusUpdateTopic field is set.
*/
@java.lang.Override
public boolean hasConsensusUpdateTopic() {
return dataCase_ == 19;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
* @return The consensusUpdateTopic.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody getConsensusUpdateTopic() {
if (dataCase_ == 19) {
return (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBodyOrBuilder getConsensusUpdateTopicOrBuilder() {
if (dataCase_ == 19) {
return (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
public static final int CONSENSUSDELETETOPIC_FIELD_NUMBER = 20;
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
* @return Whether the consensusDeleteTopic field is set.
*/
@java.lang.Override
public boolean hasConsensusDeleteTopic() {
return dataCase_ == 20;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
* @return The consensusDeleteTopic.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody getConsensusDeleteTopic() {
if (dataCase_ == 20) {
return (com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBodyOrBuilder getConsensusDeleteTopicOrBuilder() {
if (dataCase_ == 20) {
return (com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
public static final int CONSENSUSSUBMITMESSAGE_FIELD_NUMBER = 21;
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
* @return Whether the consensusSubmitMessage field is set.
*/
@java.lang.Override
public boolean hasConsensusSubmitMessage() {
return dataCase_ == 21;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
* @return The consensusSubmitMessage.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody getConsensusSubmitMessage() {
if (dataCase_ == 21) {
return (com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBodyOrBuilder getConsensusSubmitMessageOrBuilder() {
if (dataCase_ == 21) {
return (com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
public static final int TOKENCREATION_FIELD_NUMBER = 22;
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
* @return Whether the tokenCreation field is set.
*/
@java.lang.Override
public boolean hasTokenCreation() {
return dataCase_ == 22;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
* @return The tokenCreation.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody getTokenCreation() {
if (dataCase_ == 22) {
return (com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBodyOrBuilder getTokenCreationOrBuilder() {
if (dataCase_ == 22) {
return (com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance();
}
public static final int TOKENFREEZE_FIELD_NUMBER = 23;
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
* @return Whether the tokenFreeze field is set.
*/
@java.lang.Override
public boolean hasTokenFreeze() {
return dataCase_ == 23;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
* @return The tokenFreeze.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody getTokenFreeze() {
if (dataCase_ == 23) {
return (com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.getDefaultInstance();
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBodyOrBuilder getTokenFreezeOrBuilder() {
if (dataCase_ == 23) {
return (com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.getDefaultInstance();
}
public static final int TOKENUNFREEZE_FIELD_NUMBER = 24;
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
* @return Whether the tokenUnfreeze field is set.
*/
@java.lang.Override
public boolean hasTokenUnfreeze() {
return dataCase_ == 24;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
* @return The tokenUnfreeze.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody getTokenUnfreeze() {
if (dataCase_ == 24) {
return (com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBodyOrBuilder getTokenUnfreezeOrBuilder() {
if (dataCase_ == 24) {
return (com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
public static final int TOKENGRANTKYC_FIELD_NUMBER = 25;
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
* @return Whether the tokenGrantKyc field is set.
*/
@java.lang.Override
public boolean hasTokenGrantKyc() {
return dataCase_ == 25;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
* @return The tokenGrantKyc.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody getTokenGrantKyc() {
if (dataCase_ == 25) {
return (com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.getDefaultInstance();
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBodyOrBuilder getTokenGrantKycOrBuilder() {
if (dataCase_ == 25) {
return (com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.getDefaultInstance();
}
public static final int TOKENREVOKEKYC_FIELD_NUMBER = 26;
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
* @return Whether the tokenRevokeKyc field is set.
*/
@java.lang.Override
public boolean hasTokenRevokeKyc() {
return dataCase_ == 26;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
* @return The tokenRevokeKyc.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody getTokenRevokeKyc() {
if (dataCase_ == 26) {
return (com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.getDefaultInstance();
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBodyOrBuilder getTokenRevokeKycOrBuilder() {
if (dataCase_ == 26) {
return (com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.getDefaultInstance();
}
public static final int TOKENDELETION_FIELD_NUMBER = 27;
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
* @return Whether the tokenDeletion field is set.
*/
@java.lang.Override
public boolean hasTokenDeletion() {
return dataCase_ == 27;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
* @return The tokenDeletion.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody getTokenDeletion() {
if (dataCase_ == 27) {
return (com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBodyOrBuilder getTokenDeletionOrBuilder() {
if (dataCase_ == 27) {
return (com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance();
}
public static final int TOKENUPDATE_FIELD_NUMBER = 28;
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
* @return Whether the tokenUpdate field is set.
*/
@java.lang.Override
public boolean hasTokenUpdate() {
return dataCase_ == 28;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
* @return The tokenUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody getTokenUpdate() {
if (dataCase_ == 28) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBodyOrBuilder getTokenUpdateOrBuilder() {
if (dataCase_ == 28) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance();
}
public static final int TOKENMINT_FIELD_NUMBER = 29;
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
* @return Whether the tokenMint field is set.
*/
@java.lang.Override
public boolean hasTokenMint() {
return dataCase_ == 29;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
* @return The tokenMint.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody getTokenMint() {
if (dataCase_ == 29) {
return (com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.getDefaultInstance();
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenMintTransactionBodyOrBuilder getTokenMintOrBuilder() {
if (dataCase_ == 29) {
return (com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.getDefaultInstance();
}
public static final int TOKENBURN_FIELD_NUMBER = 30;
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
* @return Whether the tokenBurn field is set.
*/
@java.lang.Override
public boolean hasTokenBurn() {
return dataCase_ == 30;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
* @return The tokenBurn.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody getTokenBurn() {
if (dataCase_ == 30) {
return (com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.getDefaultInstance();
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBodyOrBuilder getTokenBurnOrBuilder() {
if (dataCase_ == 30) {
return (com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.getDefaultInstance();
}
public static final int TOKENWIPE_FIELD_NUMBER = 31;
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
* @return Whether the tokenWipe field is set.
*/
@java.lang.Override
public boolean hasTokenWipe() {
return dataCase_ == 31;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
* @return The tokenWipe.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody getTokenWipe() {
if (dataCase_ == 31) {
return (com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.getDefaultInstance();
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBodyOrBuilder getTokenWipeOrBuilder() {
if (dataCase_ == 31) {
return (com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.getDefaultInstance();
}
public static final int TOKENASSOCIATE_FIELD_NUMBER = 32;
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
* @return Whether the tokenAssociate field is set.
*/
@java.lang.Override
public boolean hasTokenAssociate() {
return dataCase_ == 32;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
* @return The tokenAssociate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody getTokenAssociate() {
if (dataCase_ == 32) {
return (com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance();
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBodyOrBuilder getTokenAssociateOrBuilder() {
if (dataCase_ == 32) {
return (com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance();
}
public static final int TOKENDISSOCIATE_FIELD_NUMBER = 33;
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
* @return Whether the tokenDissociate field is set.
*/
@java.lang.Override
public boolean hasTokenDissociate() {
return dataCase_ == 33;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
* @return The tokenDissociate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody getTokenDissociate() {
if (dataCase_ == 33) {
return (com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance();
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBodyOrBuilder getTokenDissociateOrBuilder() {
if (dataCase_ == 33) {
return (com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance();
}
public static final int TOKEN_FEE_SCHEDULE_UPDATE_FIELD_NUMBER = 39;
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
* @return Whether the tokenFeeScheduleUpdate field is set.
*/
@java.lang.Override
public boolean hasTokenFeeScheduleUpdate() {
return dataCase_ == 39;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
* @return The tokenFeeScheduleUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody getTokenFeeScheduleUpdate() {
if (dataCase_ == 39) {
return (com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBodyOrBuilder getTokenFeeScheduleUpdateOrBuilder() {
if (dataCase_ == 39) {
return (com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
}
public static final int TOKEN_PAUSE_FIELD_NUMBER = 35;
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
* @return Whether the tokenPause field is set.
*/
@java.lang.Override
public boolean hasTokenPause() {
return dataCase_ == 35;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
* @return The tokenPause.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody getTokenPause() {
if (dataCase_ == 35) {
return (com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance();
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBodyOrBuilder getTokenPauseOrBuilder() {
if (dataCase_ == 35) {
return (com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance();
}
public static final int TOKEN_UNPAUSE_FIELD_NUMBER = 36;
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
* @return Whether the tokenUnpause field is set.
*/
@java.lang.Override
public boolean hasTokenUnpause() {
return dataCase_ == 36;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
* @return The tokenUnpause.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody getTokenUnpause() {
if (dataCase_ == 36) {
return (com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance();
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBodyOrBuilder getTokenUnpauseOrBuilder() {
if (dataCase_ == 36) {
return (com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance();
}
public static final int SCHEDULEDELETE_FIELD_NUMBER = 34;
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
* @return Whether the scheduleDelete field is set.
*/
@java.lang.Override
public boolean hasScheduleDelete() {
return dataCase_ == 34;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
* @return The scheduleDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody getScheduleDelete() {
if (dataCase_ == 34) {
return (com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBodyOrBuilder getScheduleDeleteOrBuilder() {
if (dataCase_ == 34) {
return (com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance();
}
public static final int UTIL_PRNG_FIELD_NUMBER = 40;
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
* @return Whether the utilPrng field is set.
*/
@java.lang.Override
public boolean hasUtilPrng() {
return dataCase_ == 40;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
* @return The utilPrng.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody getUtilPrng() {
if (dataCase_ == 40) {
return (com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.getDefaultInstance();
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBodyOrBuilder getUtilPrngOrBuilder() {
if (dataCase_ == 40) {
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 = 41;
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
* @return Whether the tokenUpdateNfts field is set.
*/
@java.lang.Override
public boolean hasTokenUpdateNfts() {
return dataCase_ == 41;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
* @return The tokenUpdateNfts.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody getTokenUpdateNfts() {
if (dataCase_ == 41) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.getDefaultInstance();
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBodyOrBuilder getTokenUpdateNftsOrBuilder() {
if (dataCase_ == 41) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.getDefaultInstance();
}
public static final int NODECREATE_FIELD_NUMBER = 42;
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
* @return Whether the nodeCreate field is set.
*/
@java.lang.Override
public boolean hasNodeCreate() {
return dataCase_ == 42;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
* @return The nodeCreate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody getNodeCreate() {
if (dataCase_ == 42) {
return (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBodyOrBuilder getNodeCreateOrBuilder() {
if (dataCase_ == 42) {
return (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.getDefaultInstance();
}
public static final int NODEUPDATE_FIELD_NUMBER = 43;
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
* @return Whether the nodeUpdate field is set.
*/
@java.lang.Override
public boolean hasNodeUpdate() {
return dataCase_ == 43;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
* @return The nodeUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody getNodeUpdate() {
if (dataCase_ == 43) {
return (com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBodyOrBuilder getNodeUpdateOrBuilder() {
if (dataCase_ == 43) {
return (com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.getDefaultInstance();
}
public static final int NODEDELETE_FIELD_NUMBER = 44;
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
* @return Whether the nodeDelete field is set.
*/
@java.lang.Override
public boolean hasNodeDelete() {
return dataCase_ == 44;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
* @return The nodeDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody getNodeDelete() {
if (dataCase_ == 44) {
return (com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBodyOrBuilder getNodeDeleteOrBuilder() {
if (dataCase_ == 44) {
return (com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.getDefaultInstance();
}
public static final int TOKENREJECT_FIELD_NUMBER = 45;
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
* @return Whether the tokenReject field is set.
*/
@java.lang.Override
public boolean hasTokenReject() {
return dataCase_ == 45;
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
* @return The tokenReject.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody getTokenReject() {
if (dataCase_ == 45) {
return (com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.getDefaultInstance();
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBodyOrBuilder getTokenRejectOrBuilder() {
if (dataCase_ == 45) {
return (com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.getDefaultInstance();
}
public static final int TOKENCANCELAIRDROP_FIELD_NUMBER = 46;
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
* @return Whether the tokenCancelAirdrop field is set.
*/
@java.lang.Override
public boolean hasTokenCancelAirdrop() {
return dataCase_ == 46;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
* @return The tokenCancelAirdrop.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody getTokenCancelAirdrop() {
if (dataCase_ == 46) {
return (com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBodyOrBuilder getTokenCancelAirdropOrBuilder() {
if (dataCase_ == 46) {
return (com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
public static final int TOKENCLAIMAIRDROP_FIELD_NUMBER = 47;
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
* @return Whether the tokenClaimAirdrop field is set.
*/
@java.lang.Override
public boolean hasTokenClaimAirdrop() {
return dataCase_ == 47;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
* @return The tokenClaimAirdrop.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody getTokenClaimAirdrop() {
if (dataCase_ == 47) {
return (com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBodyOrBuilder getTokenClaimAirdropOrBuilder() {
if (dataCase_ == 47) {
return (com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
public static final int TOKENAIRDROP_FIELD_NUMBER = 48;
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
* @return Whether the tokenAirdrop field is set.
*/
@java.lang.Override
public boolean hasTokenAirdrop() {
return dataCase_ == 48;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
* @return The tokenAirdrop.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody getTokenAirdrop() {
if (dataCase_ == 48) {
return (com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBodyOrBuilder getTokenAirdropOrBuilder() {
if (dataCase_ == 48) {
return (com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.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 (transactionFee_ != 0L) {
output.writeUInt64(1, transactionFee_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memo_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, memo_);
}
if (dataCase_ == 3) {
output.writeMessage(3, (com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_);
}
if (dataCase_ == 4) {
output.writeMessage(4, (com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_);
}
if (dataCase_ == 5) {
output.writeMessage(5, (com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_);
}
if (dataCase_ == 6) {
output.writeMessage(6, (com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_);
}
if (dataCase_ == 7) {
output.writeMessage(7, (com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_);
}
if (dataCase_ == 8) {
output.writeMessage(8, (com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_);
}
if (dataCase_ == 9) {
output.writeMessage(9, (com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_);
}
if (dataCase_ == 10) {
output.writeMessage(10, (com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_);
}
if (dataCase_ == 11) {
output.writeMessage(11, (com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_);
}
if (dataCase_ == 12) {
output.writeMessage(12, (com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_);
}
if (dataCase_ == 13) {
output.writeMessage(13, (com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_);
}
if (dataCase_ == 14) {
output.writeMessage(14, (com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_);
}
if (dataCase_ == 15) {
output.writeMessage(15, (com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_);
}
if (dataCase_ == 16) {
output.writeMessage(16, (com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_);
}
if (dataCase_ == 17) {
output.writeMessage(17, (com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_);
}
if (dataCase_ == 18) {
output.writeMessage(18, (com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_);
}
if (dataCase_ == 19) {
output.writeMessage(19, (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_);
}
if (dataCase_ == 20) {
output.writeMessage(20, (com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_);
}
if (dataCase_ == 21) {
output.writeMessage(21, (com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_);
}
if (dataCase_ == 22) {
output.writeMessage(22, (com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_);
}
if (dataCase_ == 23) {
output.writeMessage(23, (com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_);
}
if (dataCase_ == 24) {
output.writeMessage(24, (com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_);
}
if (dataCase_ == 25) {
output.writeMessage(25, (com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_);
}
if (dataCase_ == 26) {
output.writeMessage(26, (com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_);
}
if (dataCase_ == 27) {
output.writeMessage(27, (com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_);
}
if (dataCase_ == 28) {
output.writeMessage(28, (com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_);
}
if (dataCase_ == 29) {
output.writeMessage(29, (com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_);
}
if (dataCase_ == 30) {
output.writeMessage(30, (com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_);
}
if (dataCase_ == 31) {
output.writeMessage(31, (com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_);
}
if (dataCase_ == 32) {
output.writeMessage(32, (com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_);
}
if (dataCase_ == 33) {
output.writeMessage(33, (com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_);
}
if (dataCase_ == 34) {
output.writeMessage(34, (com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_);
}
if (dataCase_ == 35) {
output.writeMessage(35, (com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_);
}
if (dataCase_ == 36) {
output.writeMessage(36, (com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_);
}
if (dataCase_ == 37) {
output.writeMessage(37, (com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_);
}
if (dataCase_ == 38) {
output.writeMessage(38, (com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_);
}
if (dataCase_ == 39) {
output.writeMessage(39, (com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_);
}
if (dataCase_ == 40) {
output.writeMessage(40, (com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_);
}
if (dataCase_ == 41) {
output.writeMessage(41, (com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_);
}
if (dataCase_ == 42) {
output.writeMessage(42, (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_);
}
if (dataCase_ == 43) {
output.writeMessage(43, (com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_);
}
if (dataCase_ == 44) {
output.writeMessage(44, (com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_);
}
if (dataCase_ == 45) {
output.writeMessage(45, (com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_);
}
if (dataCase_ == 46) {
output.writeMessage(46, (com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_);
}
if (dataCase_ == 47) {
output.writeMessage(47, (com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_);
}
if (dataCase_ == 48) {
output.writeMessage(48, (com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (transactionFee_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, transactionFee_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memo_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, memo_);
}
if (dataCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_);
}
if (dataCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_);
}
if (dataCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_);
}
if (dataCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_);
}
if (dataCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_);
}
if (dataCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_);
}
if (dataCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_);
}
if (dataCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_);
}
if (dataCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_);
}
if (dataCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_);
}
if (dataCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_);
}
if (dataCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_);
}
if (dataCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_);
}
if (dataCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_);
}
if (dataCase_ == 17) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, (com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_);
}
if (dataCase_ == 18) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, (com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_);
}
if (dataCase_ == 19) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_);
}
if (dataCase_ == 20) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, (com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_);
}
if (dataCase_ == 21) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, (com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_);
}
if (dataCase_ == 22) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, (com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_);
}
if (dataCase_ == 23) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, (com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_);
}
if (dataCase_ == 24) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(24, (com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_);
}
if (dataCase_ == 25) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(25, (com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_);
}
if (dataCase_ == 26) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(26, (com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_);
}
if (dataCase_ == 27) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(27, (com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_);
}
if (dataCase_ == 28) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(28, (com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_);
}
if (dataCase_ == 29) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(29, (com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_);
}
if (dataCase_ == 30) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(30, (com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_);
}
if (dataCase_ == 31) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(31, (com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_);
}
if (dataCase_ == 32) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(32, (com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_);
}
if (dataCase_ == 33) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(33, (com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_);
}
if (dataCase_ == 34) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(34, (com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_);
}
if (dataCase_ == 35) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(35, (com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_);
}
if (dataCase_ == 36) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(36, (com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_);
}
if (dataCase_ == 37) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(37, (com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_);
}
if (dataCase_ == 38) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(38, (com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_);
}
if (dataCase_ == 39) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(39, (com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_);
}
if (dataCase_ == 40) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(40, (com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_);
}
if (dataCase_ == 41) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(41, (com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_);
}
if (dataCase_ == 42) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(42, (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_);
}
if (dataCase_ == 43) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(43, (com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_);
}
if (dataCase_ == 44) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(44, (com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_);
}
if (dataCase_ == 45) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(45, (com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_);
}
if (dataCase_ == 46) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(46, (com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_);
}
if (dataCase_ == 47) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(47, (com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_);
}
if (dataCase_ == 48) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(48, (com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) 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.SchedulableTransactionBody)) {
return super.equals(obj);
}
com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody other = (com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody) obj;
if (getTransactionFee()
!= other.getTransactionFee()) return false;
if (!getMemo()
.equals(other.getMemo())) return false;
if (!getDataCase().equals(other.getDataCase())) return false;
switch (dataCase_) {
case 3:
if (!getContractCall()
.equals(other.getContractCall())) return false;
break;
case 4:
if (!getContractCreateInstance()
.equals(other.getContractCreateInstance())) return false;
break;
case 5:
if (!getContractUpdateInstance()
.equals(other.getContractUpdateInstance())) return false;
break;
case 6:
if (!getContractDeleteInstance()
.equals(other.getContractDeleteInstance())) return false;
break;
case 37:
if (!getCryptoApproveAllowance()
.equals(other.getCryptoApproveAllowance())) return false;
break;
case 38:
if (!getCryptoDeleteAllowance()
.equals(other.getCryptoDeleteAllowance())) return false;
break;
case 7:
if (!getCryptoCreateAccount()
.equals(other.getCryptoCreateAccount())) return false;
break;
case 8:
if (!getCryptoDelete()
.equals(other.getCryptoDelete())) return false;
break;
case 9:
if (!getCryptoTransfer()
.equals(other.getCryptoTransfer())) return false;
break;
case 10:
if (!getCryptoUpdateAccount()
.equals(other.getCryptoUpdateAccount())) return false;
break;
case 11:
if (!getFileAppend()
.equals(other.getFileAppend())) return false;
break;
case 12:
if (!getFileCreate()
.equals(other.getFileCreate())) return false;
break;
case 13:
if (!getFileDelete()
.equals(other.getFileDelete())) return false;
break;
case 14:
if (!getFileUpdate()
.equals(other.getFileUpdate())) return false;
break;
case 15:
if (!getSystemDelete()
.equals(other.getSystemDelete())) return false;
break;
case 16:
if (!getSystemUndelete()
.equals(other.getSystemUndelete())) return false;
break;
case 17:
if (!getFreeze()
.equals(other.getFreeze())) return false;
break;
case 18:
if (!getConsensusCreateTopic()
.equals(other.getConsensusCreateTopic())) return false;
break;
case 19:
if (!getConsensusUpdateTopic()
.equals(other.getConsensusUpdateTopic())) return false;
break;
case 20:
if (!getConsensusDeleteTopic()
.equals(other.getConsensusDeleteTopic())) return false;
break;
case 21:
if (!getConsensusSubmitMessage()
.equals(other.getConsensusSubmitMessage())) return false;
break;
case 22:
if (!getTokenCreation()
.equals(other.getTokenCreation())) return false;
break;
case 23:
if (!getTokenFreeze()
.equals(other.getTokenFreeze())) return false;
break;
case 24:
if (!getTokenUnfreeze()
.equals(other.getTokenUnfreeze())) return false;
break;
case 25:
if (!getTokenGrantKyc()
.equals(other.getTokenGrantKyc())) return false;
break;
case 26:
if (!getTokenRevokeKyc()
.equals(other.getTokenRevokeKyc())) return false;
break;
case 27:
if (!getTokenDeletion()
.equals(other.getTokenDeletion())) return false;
break;
case 28:
if (!getTokenUpdate()
.equals(other.getTokenUpdate())) return false;
break;
case 29:
if (!getTokenMint()
.equals(other.getTokenMint())) return false;
break;
case 30:
if (!getTokenBurn()
.equals(other.getTokenBurn())) return false;
break;
case 31:
if (!getTokenWipe()
.equals(other.getTokenWipe())) return false;
break;
case 32:
if (!getTokenAssociate()
.equals(other.getTokenAssociate())) return false;
break;
case 33:
if (!getTokenDissociate()
.equals(other.getTokenDissociate())) return false;
break;
case 39:
if (!getTokenFeeScheduleUpdate()
.equals(other.getTokenFeeScheduleUpdate())) return false;
break;
case 35:
if (!getTokenPause()
.equals(other.getTokenPause())) return false;
break;
case 36:
if (!getTokenUnpause()
.equals(other.getTokenUnpause())) return false;
break;
case 34:
if (!getScheduleDelete()
.equals(other.getScheduleDelete())) return false;
break;
case 40:
if (!getUtilPrng()
.equals(other.getUtilPrng())) return false;
break;
case 41:
if (!getTokenUpdateNfts()
.equals(other.getTokenUpdateNfts())) return false;
break;
case 42:
if (!getNodeCreate()
.equals(other.getNodeCreate())) return false;
break;
case 43:
if (!getNodeUpdate()
.equals(other.getNodeUpdate())) return false;
break;
case 44:
if (!getNodeDelete()
.equals(other.getNodeDelete())) return false;
break;
case 45:
if (!getTokenReject()
.equals(other.getTokenReject())) return false;
break;
case 46:
if (!getTokenCancelAirdrop()
.equals(other.getTokenCancelAirdrop())) return false;
break;
case 47:
if (!getTokenClaimAirdrop()
.equals(other.getTokenClaimAirdrop())) return false;
break;
case 48:
if (!getTokenAirdrop()
.equals(other.getTokenAirdrop())) 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();
hash = (37 * hash) + TRANSACTIONFEE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTransactionFee());
hash = (37 * hash) + MEMO_FIELD_NUMBER;
hash = (53 * hash) + getMemo().hashCode();
switch (dataCase_) {
case 3:
hash = (37 * hash) + CONTRACTCALL_FIELD_NUMBER;
hash = (53 * hash) + getContractCall().hashCode();
break;
case 4:
hash = (37 * hash) + CONTRACTCREATEINSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getContractCreateInstance().hashCode();
break;
case 5:
hash = (37 * hash) + CONTRACTUPDATEINSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getContractUpdateInstance().hashCode();
break;
case 6:
hash = (37 * hash) + CONTRACTDELETEINSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getContractDeleteInstance().hashCode();
break;
case 37:
hash = (37 * hash) + CRYPTOAPPROVEALLOWANCE_FIELD_NUMBER;
hash = (53 * hash) + getCryptoApproveAllowance().hashCode();
break;
case 38:
hash = (37 * hash) + CRYPTODELETEALLOWANCE_FIELD_NUMBER;
hash = (53 * hash) + getCryptoDeleteAllowance().hashCode();
break;
case 7:
hash = (37 * hash) + CRYPTOCREATEACCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getCryptoCreateAccount().hashCode();
break;
case 8:
hash = (37 * hash) + CRYPTODELETE_FIELD_NUMBER;
hash = (53 * hash) + getCryptoDelete().hashCode();
break;
case 9:
hash = (37 * hash) + CRYPTOTRANSFER_FIELD_NUMBER;
hash = (53 * hash) + getCryptoTransfer().hashCode();
break;
case 10:
hash = (37 * hash) + CRYPTOUPDATEACCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getCryptoUpdateAccount().hashCode();
break;
case 11:
hash = (37 * hash) + FILEAPPEND_FIELD_NUMBER;
hash = (53 * hash) + getFileAppend().hashCode();
break;
case 12:
hash = (37 * hash) + FILECREATE_FIELD_NUMBER;
hash = (53 * hash) + getFileCreate().hashCode();
break;
case 13:
hash = (37 * hash) + FILEDELETE_FIELD_NUMBER;
hash = (53 * hash) + getFileDelete().hashCode();
break;
case 14:
hash = (37 * hash) + FILEUPDATE_FIELD_NUMBER;
hash = (53 * hash) + getFileUpdate().hashCode();
break;
case 15:
hash = (37 * hash) + SYSTEMDELETE_FIELD_NUMBER;
hash = (53 * hash) + getSystemDelete().hashCode();
break;
case 16:
hash = (37 * hash) + SYSTEMUNDELETE_FIELD_NUMBER;
hash = (53 * hash) + getSystemUndelete().hashCode();
break;
case 17:
hash = (37 * hash) + FREEZE_FIELD_NUMBER;
hash = (53 * hash) + getFreeze().hashCode();
break;
case 18:
hash = (37 * hash) + CONSENSUSCREATETOPIC_FIELD_NUMBER;
hash = (53 * hash) + getConsensusCreateTopic().hashCode();
break;
case 19:
hash = (37 * hash) + CONSENSUSUPDATETOPIC_FIELD_NUMBER;
hash = (53 * hash) + getConsensusUpdateTopic().hashCode();
break;
case 20:
hash = (37 * hash) + CONSENSUSDELETETOPIC_FIELD_NUMBER;
hash = (53 * hash) + getConsensusDeleteTopic().hashCode();
break;
case 21:
hash = (37 * hash) + CONSENSUSSUBMITMESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getConsensusSubmitMessage().hashCode();
break;
case 22:
hash = (37 * hash) + TOKENCREATION_FIELD_NUMBER;
hash = (53 * hash) + getTokenCreation().hashCode();
break;
case 23:
hash = (37 * hash) + TOKENFREEZE_FIELD_NUMBER;
hash = (53 * hash) + getTokenFreeze().hashCode();
break;
case 24:
hash = (37 * hash) + TOKENUNFREEZE_FIELD_NUMBER;
hash = (53 * hash) + getTokenUnfreeze().hashCode();
break;
case 25:
hash = (37 * hash) + TOKENGRANTKYC_FIELD_NUMBER;
hash = (53 * hash) + getTokenGrantKyc().hashCode();
break;
case 26:
hash = (37 * hash) + TOKENREVOKEKYC_FIELD_NUMBER;
hash = (53 * hash) + getTokenRevokeKyc().hashCode();
break;
case 27:
hash = (37 * hash) + TOKENDELETION_FIELD_NUMBER;
hash = (53 * hash) + getTokenDeletion().hashCode();
break;
case 28:
hash = (37 * hash) + TOKENUPDATE_FIELD_NUMBER;
hash = (53 * hash) + getTokenUpdate().hashCode();
break;
case 29:
hash = (37 * hash) + TOKENMINT_FIELD_NUMBER;
hash = (53 * hash) + getTokenMint().hashCode();
break;
case 30:
hash = (37 * hash) + TOKENBURN_FIELD_NUMBER;
hash = (53 * hash) + getTokenBurn().hashCode();
break;
case 31:
hash = (37 * hash) + TOKENWIPE_FIELD_NUMBER;
hash = (53 * hash) + getTokenWipe().hashCode();
break;
case 32:
hash = (37 * hash) + TOKENASSOCIATE_FIELD_NUMBER;
hash = (53 * hash) + getTokenAssociate().hashCode();
break;
case 33:
hash = (37 * hash) + TOKENDISSOCIATE_FIELD_NUMBER;
hash = (53 * hash) + getTokenDissociate().hashCode();
break;
case 39:
hash = (37 * hash) + TOKEN_FEE_SCHEDULE_UPDATE_FIELD_NUMBER;
hash = (53 * hash) + getTokenFeeScheduleUpdate().hashCode();
break;
case 35:
hash = (37 * hash) + TOKEN_PAUSE_FIELD_NUMBER;
hash = (53 * hash) + getTokenPause().hashCode();
break;
case 36:
hash = (37 * hash) + TOKEN_UNPAUSE_FIELD_NUMBER;
hash = (53 * hash) + getTokenUnpause().hashCode();
break;
case 34:
hash = (37 * hash) + SCHEDULEDELETE_FIELD_NUMBER;
hash = (53 * hash) + getScheduleDelete().hashCode();
break;
case 40:
hash = (37 * hash) + UTIL_PRNG_FIELD_NUMBER;
hash = (53 * hash) + getUtilPrng().hashCode();
break;
case 41:
hash = (37 * hash) + TOKEN_UPDATE_NFTS_FIELD_NUMBER;
hash = (53 * hash) + getTokenUpdateNfts().hashCode();
break;
case 42:
hash = (37 * hash) + NODECREATE_FIELD_NUMBER;
hash = (53 * hash) + getNodeCreate().hashCode();
break;
case 43:
hash = (37 * hash) + NODEUPDATE_FIELD_NUMBER;
hash = (53 * hash) + getNodeUpdate().hashCode();
break;
case 44:
hash = (37 * hash) + NODEDELETE_FIELD_NUMBER;
hash = (53 * hash) + getNodeDelete().hashCode();
break;
case 45:
hash = (37 * hash) + TOKENREJECT_FIELD_NUMBER;
hash = (53 * hash) + getTokenReject().hashCode();
break;
case 46:
hash = (37 * hash) + TOKENCANCELAIRDROP_FIELD_NUMBER;
hash = (53 * hash) + getTokenCancelAirdrop().hashCode();
break;
case 47:
hash = (37 * hash) + TOKENCLAIMAIRDROP_FIELD_NUMBER;
hash = (53 * hash) + getTokenClaimAirdrop().hashCode();
break;
case 48:
hash = (37 * hash) + TOKENAIRDROP_FIELD_NUMBER;
hash = (53 * hash) + getTokenAirdrop().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody 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.SchedulableTransactionBody parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody 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.SchedulableTransactionBody 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.SchedulableTransactionBody 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.SchedulableTransactionBody 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 schedulable transaction. Note that the global/dynamic system property
* <tt>scheduling.whitelist</tt> controls which transaction types may be scheduled. As of Hedera
* Services 0.24.0 this list includes <tt>ConsensusSubmitMessage</tt>, <tt>CryptoTransfer</tt>, <tt>TokenMint</tt>, and <tt>TokenBurn</tt>
* functions.
*
*
* Protobuf type {@code proto.SchedulableTransactionBody}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:proto.SchedulableTransactionBody)
com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOuterClass.internal_static_proto_SchedulableTransactionBody_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOuterClass.internal_static_proto_SchedulableTransactionBody_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.class, com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.Builder.class);
}
// Construct using com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
bitField1_ = 0;
transactionFee_ = 0L;
memo_ = "";
if (contractCallBuilder_ != null) {
contractCallBuilder_.clear();
}
if (contractCreateInstanceBuilder_ != null) {
contractCreateInstanceBuilder_.clear();
}
if (contractUpdateInstanceBuilder_ != null) {
contractUpdateInstanceBuilder_.clear();
}
if (contractDeleteInstanceBuilder_ != null) {
contractDeleteInstanceBuilder_.clear();
}
if (cryptoApproveAllowanceBuilder_ != null) {
cryptoApproveAllowanceBuilder_.clear();
}
if (cryptoDeleteAllowanceBuilder_ != null) {
cryptoDeleteAllowanceBuilder_.clear();
}
if (cryptoCreateAccountBuilder_ != null) {
cryptoCreateAccountBuilder_.clear();
}
if (cryptoDeleteBuilder_ != null) {
cryptoDeleteBuilder_.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 (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 (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 (tokenFeeScheduleUpdateBuilder_ != null) {
tokenFeeScheduleUpdateBuilder_.clear();
}
if (tokenPauseBuilder_ != null) {
tokenPauseBuilder_.clear();
}
if (tokenUnpauseBuilder_ != null) {
tokenUnpauseBuilder_.clear();
}
if (scheduleDeleteBuilder_ != null) {
scheduleDeleteBuilder_.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 (tokenCancelAirdropBuilder_ != null) {
tokenCancelAirdropBuilder_.clear();
}
if (tokenClaimAirdropBuilder_ != null) {
tokenClaimAirdropBuilder_.clear();
}
if (tokenAirdropBuilder_ != null) {
tokenAirdropBuilder_.clear();
}
dataCase_ = 0;
data_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOuterClass.internal_static_proto_SchedulableTransactionBody_descriptor;
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody getDefaultInstanceForType() {
return com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.getDefaultInstance();
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody build() {
com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody buildPartial() {
com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody result = new com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody(this);
if (bitField0_ != 0) { buildPartial0(result); }
if (bitField1_ != 0) { buildPartial1(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.transactionFee_ = transactionFee_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.memo_ = memo_;
}
}
private void buildPartial1(com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody result) {
int from_bitField1_ = bitField1_;
}
private void buildPartialOneofs(com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody result) {
result.dataCase_ = dataCase_;
result.data_ = this.data_;
if (dataCase_ == 3 &&
contractCallBuilder_ != null) {
result.data_ = contractCallBuilder_.build();
}
if (dataCase_ == 4 &&
contractCreateInstanceBuilder_ != null) {
result.data_ = contractCreateInstanceBuilder_.build();
}
if (dataCase_ == 5 &&
contractUpdateInstanceBuilder_ != null) {
result.data_ = contractUpdateInstanceBuilder_.build();
}
if (dataCase_ == 6 &&
contractDeleteInstanceBuilder_ != null) {
result.data_ = contractDeleteInstanceBuilder_.build();
}
if (dataCase_ == 37 &&
cryptoApproveAllowanceBuilder_ != null) {
result.data_ = cryptoApproveAllowanceBuilder_.build();
}
if (dataCase_ == 38 &&
cryptoDeleteAllowanceBuilder_ != null) {
result.data_ = cryptoDeleteAllowanceBuilder_.build();
}
if (dataCase_ == 7 &&
cryptoCreateAccountBuilder_ != null) {
result.data_ = cryptoCreateAccountBuilder_.build();
}
if (dataCase_ == 8 &&
cryptoDeleteBuilder_ != null) {
result.data_ = cryptoDeleteBuilder_.build();
}
if (dataCase_ == 9 &&
cryptoTransferBuilder_ != null) {
result.data_ = cryptoTransferBuilder_.build();
}
if (dataCase_ == 10 &&
cryptoUpdateAccountBuilder_ != null) {
result.data_ = cryptoUpdateAccountBuilder_.build();
}
if (dataCase_ == 11 &&
fileAppendBuilder_ != null) {
result.data_ = fileAppendBuilder_.build();
}
if (dataCase_ == 12 &&
fileCreateBuilder_ != null) {
result.data_ = fileCreateBuilder_.build();
}
if (dataCase_ == 13 &&
fileDeleteBuilder_ != null) {
result.data_ = fileDeleteBuilder_.build();
}
if (dataCase_ == 14 &&
fileUpdateBuilder_ != null) {
result.data_ = fileUpdateBuilder_.build();
}
if (dataCase_ == 15 &&
systemDeleteBuilder_ != null) {
result.data_ = systemDeleteBuilder_.build();
}
if (dataCase_ == 16 &&
systemUndeleteBuilder_ != null) {
result.data_ = systemUndeleteBuilder_.build();
}
if (dataCase_ == 17 &&
freezeBuilder_ != null) {
result.data_ = freezeBuilder_.build();
}
if (dataCase_ == 18 &&
consensusCreateTopicBuilder_ != null) {
result.data_ = consensusCreateTopicBuilder_.build();
}
if (dataCase_ == 19 &&
consensusUpdateTopicBuilder_ != null) {
result.data_ = consensusUpdateTopicBuilder_.build();
}
if (dataCase_ == 20 &&
consensusDeleteTopicBuilder_ != null) {
result.data_ = consensusDeleteTopicBuilder_.build();
}
if (dataCase_ == 21 &&
consensusSubmitMessageBuilder_ != null) {
result.data_ = consensusSubmitMessageBuilder_.build();
}
if (dataCase_ == 22 &&
tokenCreationBuilder_ != null) {
result.data_ = tokenCreationBuilder_.build();
}
if (dataCase_ == 23 &&
tokenFreezeBuilder_ != null) {
result.data_ = tokenFreezeBuilder_.build();
}
if (dataCase_ == 24 &&
tokenUnfreezeBuilder_ != null) {
result.data_ = tokenUnfreezeBuilder_.build();
}
if (dataCase_ == 25 &&
tokenGrantKycBuilder_ != null) {
result.data_ = tokenGrantKycBuilder_.build();
}
if (dataCase_ == 26 &&
tokenRevokeKycBuilder_ != null) {
result.data_ = tokenRevokeKycBuilder_.build();
}
if (dataCase_ == 27 &&
tokenDeletionBuilder_ != null) {
result.data_ = tokenDeletionBuilder_.build();
}
if (dataCase_ == 28 &&
tokenUpdateBuilder_ != null) {
result.data_ = tokenUpdateBuilder_.build();
}
if (dataCase_ == 29 &&
tokenMintBuilder_ != null) {
result.data_ = tokenMintBuilder_.build();
}
if (dataCase_ == 30 &&
tokenBurnBuilder_ != null) {
result.data_ = tokenBurnBuilder_.build();
}
if (dataCase_ == 31 &&
tokenWipeBuilder_ != null) {
result.data_ = tokenWipeBuilder_.build();
}
if (dataCase_ == 32 &&
tokenAssociateBuilder_ != null) {
result.data_ = tokenAssociateBuilder_.build();
}
if (dataCase_ == 33 &&
tokenDissociateBuilder_ != null) {
result.data_ = tokenDissociateBuilder_.build();
}
if (dataCase_ == 39 &&
tokenFeeScheduleUpdateBuilder_ != null) {
result.data_ = tokenFeeScheduleUpdateBuilder_.build();
}
if (dataCase_ == 35 &&
tokenPauseBuilder_ != null) {
result.data_ = tokenPauseBuilder_.build();
}
if (dataCase_ == 36 &&
tokenUnpauseBuilder_ != null) {
result.data_ = tokenUnpauseBuilder_.build();
}
if (dataCase_ == 34 &&
scheduleDeleteBuilder_ != null) {
result.data_ = scheduleDeleteBuilder_.build();
}
if (dataCase_ == 40 &&
utilPrngBuilder_ != null) {
result.data_ = utilPrngBuilder_.build();
}
if (dataCase_ == 41 &&
tokenUpdateNftsBuilder_ != null) {
result.data_ = tokenUpdateNftsBuilder_.build();
}
if (dataCase_ == 42 &&
nodeCreateBuilder_ != null) {
result.data_ = nodeCreateBuilder_.build();
}
if (dataCase_ == 43 &&
nodeUpdateBuilder_ != null) {
result.data_ = nodeUpdateBuilder_.build();
}
if (dataCase_ == 44 &&
nodeDeleteBuilder_ != null) {
result.data_ = nodeDeleteBuilder_.build();
}
if (dataCase_ == 45 &&
tokenRejectBuilder_ != null) {
result.data_ = tokenRejectBuilder_.build();
}
if (dataCase_ == 46 &&
tokenCancelAirdropBuilder_ != null) {
result.data_ = tokenCancelAirdropBuilder_.build();
}
if (dataCase_ == 47 &&
tokenClaimAirdropBuilder_ != null) {
result.data_ = tokenClaimAirdropBuilder_.build();
}
if (dataCase_ == 48 &&
tokenAirdropBuilder_ != null) {
result.data_ = tokenAirdropBuilder_.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.SchedulableTransactionBody) {
return mergeFrom((com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody other) {
if (other == com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.getDefaultInstance()) return this;
if (other.getTransactionFee() != 0L) {
setTransactionFee(other.getTransactionFee());
}
if (!other.getMemo().isEmpty()) {
memo_ = other.memo_;
bitField0_ |= 0x00000002;
onChanged();
}
switch (other.getDataCase()) {
case CONTRACTCALL: {
mergeContractCall(other.getContractCall());
break;
}
case CONTRACTCREATEINSTANCE: {
mergeContractCreateInstance(other.getContractCreateInstance());
break;
}
case CONTRACTUPDATEINSTANCE: {
mergeContractUpdateInstance(other.getContractUpdateInstance());
break;
}
case CONTRACTDELETEINSTANCE: {
mergeContractDeleteInstance(other.getContractDeleteInstance());
break;
}
case CRYPTOAPPROVEALLOWANCE: {
mergeCryptoApproveAllowance(other.getCryptoApproveAllowance());
break;
}
case CRYPTODELETEALLOWANCE: {
mergeCryptoDeleteAllowance(other.getCryptoDeleteAllowance());
break;
}
case CRYPTOCREATEACCOUNT: {
mergeCryptoCreateAccount(other.getCryptoCreateAccount());
break;
}
case CRYPTODELETE: {
mergeCryptoDelete(other.getCryptoDelete());
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 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 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 TOKEN_FEE_SCHEDULE_UPDATE: {
mergeTokenFeeScheduleUpdate(other.getTokenFeeScheduleUpdate());
break;
}
case TOKEN_PAUSE: {
mergeTokenPause(other.getTokenPause());
break;
}
case TOKEN_UNPAUSE: {
mergeTokenUnpause(other.getTokenUnpause());
break;
}
case SCHEDULEDELETE: {
mergeScheduleDelete(other.getScheduleDelete());
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 TOKENCANCELAIRDROP: {
mergeTokenCancelAirdrop(other.getTokenCancelAirdrop());
break;
}
case TOKENCLAIMAIRDROP: {
mergeTokenClaimAirdrop(other.getTokenClaimAirdrop());
break;
}
case TOKENAIRDROP: {
mergeTokenAirdrop(other.getTokenAirdrop());
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 8: {
transactionFee_ = input.readUInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
memo_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getContractCallFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getContractCreateInstanceFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 4;
break;
} // case 34
case 42: {
input.readMessage(
getContractUpdateInstanceFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 5;
break;
} // case 42
case 50: {
input.readMessage(
getContractDeleteInstanceFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 6;
break;
} // case 50
case 58: {
input.readMessage(
getCryptoCreateAccountFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 7;
break;
} // case 58
case 66: {
input.readMessage(
getCryptoDeleteFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 8;
break;
} // case 66
case 74: {
input.readMessage(
getCryptoTransferFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 9;
break;
} // case 74
case 82: {
input.readMessage(
getCryptoUpdateAccountFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 10;
break;
} // case 82
case 90: {
input.readMessage(
getFileAppendFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 11;
break;
} // case 90
case 98: {
input.readMessage(
getFileCreateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 12;
break;
} // case 98
case 106: {
input.readMessage(
getFileDeleteFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 13;
break;
} // case 106
case 114: {
input.readMessage(
getFileUpdateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 14;
break;
} // case 114
case 122: {
input.readMessage(
getSystemDeleteFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 15;
break;
} // case 122
case 130: {
input.readMessage(
getSystemUndeleteFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 16;
break;
} // case 130
case 138: {
input.readMessage(
getFreezeFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 17;
break;
} // case 138
case 146: {
input.readMessage(
getConsensusCreateTopicFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 18;
break;
} // case 146
case 154: {
input.readMessage(
getConsensusUpdateTopicFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 19;
break;
} // case 154
case 162: {
input.readMessage(
getConsensusDeleteTopicFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 20;
break;
} // case 162
case 170: {
input.readMessage(
getConsensusSubmitMessageFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 21;
break;
} // case 170
case 178: {
input.readMessage(
getTokenCreationFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 22;
break;
} // case 178
case 186: {
input.readMessage(
getTokenFreezeFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 23;
break;
} // case 186
case 194: {
input.readMessage(
getTokenUnfreezeFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 24;
break;
} // case 194
case 202: {
input.readMessage(
getTokenGrantKycFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 25;
break;
} // case 202
case 210: {
input.readMessage(
getTokenRevokeKycFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 26;
break;
} // case 210
case 218: {
input.readMessage(
getTokenDeletionFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 27;
break;
} // case 218
case 226: {
input.readMessage(
getTokenUpdateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 28;
break;
} // case 226
case 234: {
input.readMessage(
getTokenMintFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 29;
break;
} // case 234
case 242: {
input.readMessage(
getTokenBurnFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 30;
break;
} // case 242
case 250: {
input.readMessage(
getTokenWipeFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 31;
break;
} // case 250
case 258: {
input.readMessage(
getTokenAssociateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 32;
break;
} // case 258
case 266: {
input.readMessage(
getTokenDissociateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 33;
break;
} // case 266
case 274: {
input.readMessage(
getScheduleDeleteFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 34;
break;
} // case 274
case 282: {
input.readMessage(
getTokenPauseFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 35;
break;
} // case 282
case 290: {
input.readMessage(
getTokenUnpauseFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 36;
break;
} // case 290
case 298: {
input.readMessage(
getCryptoApproveAllowanceFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 37;
break;
} // case 298
case 306: {
input.readMessage(
getCryptoDeleteAllowanceFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 38;
break;
} // case 306
case 314: {
input.readMessage(
getTokenFeeScheduleUpdateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 39;
break;
} // case 314
case 322: {
input.readMessage(
getUtilPrngFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 40;
break;
} // case 322
case 330: {
input.readMessage(
getTokenUpdateNftsFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 41;
break;
} // case 330
case 338: {
input.readMessage(
getNodeCreateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 42;
break;
} // case 338
case 346: {
input.readMessage(
getNodeUpdateFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 43;
break;
} // case 346
case 354: {
input.readMessage(
getNodeDeleteFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 44;
break;
} // case 354
case 362: {
input.readMessage(
getTokenRejectFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 45;
break;
} // case 362
case 370: {
input.readMessage(
getTokenCancelAirdropFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 46;
break;
} // case 370
case 378: {
input.readMessage(
getTokenClaimAirdropFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 47;
break;
} // case 378
case 386: {
input.readMessage(
getTokenAirdropFieldBuilder().getBuilder(),
extensionRegistry);
dataCase_ = 48;
break;
} // case 386
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 long transactionFee_ ;
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 1;
* @return The transactionFee.
*/
@java.lang.Override
public long getTransactionFee() {
return transactionFee_;
}
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 1;
* @param value The transactionFee to set.
* @return This builder for chaining.
*/
public Builder setTransactionFee(long value) {
transactionFee_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 1;
* @return This builder for chaining.
*/
public Builder clearTransactionFee() {
bitField0_ = (bitField0_ & ~0x00000001);
transactionFee_ = 0L;
onChanged();
return this;
}
private java.lang.Object memo_ = "";
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @return The memo.
*/
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;
}
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @return The bytes for memo.
*/
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;
}
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @param value The memo to set.
* @return This builder for chaining.
*/
public Builder setMemo(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
memo_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @return This builder for chaining.
*/
public Builder clearMemo() {
memo_ = getDefaultInstance().getMemo();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
**
* A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not
* include the zero byte
*
*
* string memo = 2;
* @param value The bytes for memo to set.
* @return This builder for chaining.
*/
public Builder setMemoBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
memo_ = value;
bitField0_ |= 0x00000002;
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 = 3;
* @return Whether the contractCall field is set.
*/
@java.lang.Override
public boolean hasContractCall() {
return dataCase_ == 3;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
* @return The contractCall.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody getContractCall() {
if (contractCallBuilder_ == null) {
if (dataCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 3) {
return contractCallBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
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_ = 3;
return this;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
public Builder setContractCall(
com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.Builder builderForValue) {
if (contractCallBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
contractCallBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 3;
return this;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
public Builder mergeContractCall(com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody value) {
if (contractCallBuilder_ == null) {
if (dataCase_ == 3 &&
data_ != com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 3) {
contractCallBuilder_.mergeFrom(value);
} else {
contractCallBuilder_.setMessage(value);
}
}
dataCase_ = 3;
return this;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
public Builder clearContractCall() {
if (contractCallBuilder_ == null) {
if (dataCase_ == 3) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 3) {
dataCase_ = 0;
data_ = null;
}
contractCallBuilder_.clear();
}
return this;
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.Builder getContractCallBuilder() {
return getContractCallFieldBuilder().getBuilder();
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallTransactionBodyOrBuilder getContractCallOrBuilder() {
if ((dataCase_ == 3) && (contractCallBuilder_ != null)) {
return contractCallBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
private 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_ == 3)) {
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_ = 3;
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 = 4;
* @return Whether the contractCreateInstance field is set.
*/
@java.lang.Override
public boolean hasContractCreateInstance() {
return dataCase_ == 4;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
* @return The contractCreateInstance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody getContractCreateInstance() {
if (contractCreateInstanceBuilder_ == null) {
if (dataCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 4) {
return contractCreateInstanceBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
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_ = 4;
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
public Builder setContractCreateInstance(
com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.Builder builderForValue) {
if (contractCreateInstanceBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
contractCreateInstanceBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 4;
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
public Builder mergeContractCreateInstance(com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody value) {
if (contractCreateInstanceBuilder_ == null) {
if (dataCase_ == 4 &&
data_ != com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 4) {
contractCreateInstanceBuilder_.mergeFrom(value);
} else {
contractCreateInstanceBuilder_.setMessage(value);
}
}
dataCase_ = 4;
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
public Builder clearContractCreateInstance() {
if (contractCreateInstanceBuilder_ == null) {
if (dataCase_ == 4) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 4) {
dataCase_ = 0;
data_ = null;
}
contractCreateInstanceBuilder_.clear();
}
return this;
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.Builder getContractCreateInstanceBuilder() {
return getContractCreateInstanceFieldBuilder().getBuilder();
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBodyOrBuilder getContractCreateInstanceOrBuilder() {
if ((dataCase_ == 4) && (contractCreateInstanceBuilder_ != null)) {
return contractCreateInstanceBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
private 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_ == 4)) {
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_ = 4;
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 = 5;
* @return Whether the contractUpdateInstance field is set.
*/
@java.lang.Override
public boolean hasContractUpdateInstance() {
return dataCase_ == 5;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
* @return The contractUpdateInstance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody getContractUpdateInstance() {
if (contractUpdateInstanceBuilder_ == null) {
if (dataCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 5) {
return contractUpdateInstanceBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
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_ = 5;
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
public Builder setContractUpdateInstance(
com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.Builder builderForValue) {
if (contractUpdateInstanceBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
contractUpdateInstanceBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 5;
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
public Builder mergeContractUpdateInstance(com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody value) {
if (contractUpdateInstanceBuilder_ == null) {
if (dataCase_ == 5 &&
data_ != com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 5) {
contractUpdateInstanceBuilder_.mergeFrom(value);
} else {
contractUpdateInstanceBuilder_.setMessage(value);
}
}
dataCase_ = 5;
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
public Builder clearContractUpdateInstance() {
if (contractUpdateInstanceBuilder_ == null) {
if (dataCase_ == 5) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 5) {
dataCase_ = 0;
data_ = null;
}
contractUpdateInstanceBuilder_.clear();
}
return this;
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.Builder getContractUpdateInstanceBuilder() {
return getContractUpdateInstanceFieldBuilder().getBuilder();
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBodyOrBuilder getContractUpdateInstanceOrBuilder() {
if ((dataCase_ == 5) && (contractUpdateInstanceBuilder_ != null)) {
return contractUpdateInstanceBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
private 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_ == 5)) {
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_ = 5;
onChanged();
return contractUpdateInstanceBuilder_;
}
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 = 6;
* @return Whether the contractDeleteInstance field is set.
*/
@java.lang.Override
public boolean hasContractDeleteInstance() {
return dataCase_ == 6;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
* @return The contractDeleteInstance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody getContractDeleteInstance() {
if (contractDeleteInstanceBuilder_ == null) {
if (dataCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 6) {
return contractDeleteInstanceBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
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_ = 6;
return this;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
public Builder setContractDeleteInstance(
com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.Builder builderForValue) {
if (contractDeleteInstanceBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
contractDeleteInstanceBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 6;
return this;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
public Builder mergeContractDeleteInstance(com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody value) {
if (contractDeleteInstanceBuilder_ == null) {
if (dataCase_ == 6 &&
data_ != com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 6) {
contractDeleteInstanceBuilder_.mergeFrom(value);
} else {
contractDeleteInstanceBuilder_.setMessage(value);
}
}
dataCase_ = 6;
return this;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
public Builder clearContractDeleteInstance() {
if (contractDeleteInstanceBuilder_ == null) {
if (dataCase_ == 6) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 6) {
dataCase_ = 0;
data_ = null;
}
contractDeleteInstanceBuilder_.clear();
}
return this;
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
public com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.Builder getContractDeleteInstanceBuilder() {
return getContractDeleteInstanceFieldBuilder().getBuilder();
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBodyOrBuilder getContractDeleteInstanceOrBuilder() {
if ((dataCase_ == 6) && (contractDeleteInstanceBuilder_ != null)) {
return contractDeleteInstanceBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ContractDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
private 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_ == 6)) {
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_ = 6;
onChanged();
return contractDeleteInstanceBuilder_;
}
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 = 37;
* @return Whether the cryptoApproveAllowance field is set.
*/
@java.lang.Override
public boolean hasCryptoApproveAllowance() {
return dataCase_ == 37;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
* @return The cryptoApproveAllowance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody getCryptoApproveAllowance() {
if (cryptoApproveAllowanceBuilder_ == null) {
if (dataCase_ == 37) {
return (com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 37) {
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 = 37;
*/
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_ = 37;
return this;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
public Builder setCryptoApproveAllowance(
com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.Builder builderForValue) {
if (cryptoApproveAllowanceBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoApproveAllowanceBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 37;
return this;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
public Builder mergeCryptoApproveAllowance(com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody value) {
if (cryptoApproveAllowanceBuilder_ == null) {
if (dataCase_ == 37 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 37) {
cryptoApproveAllowanceBuilder_.mergeFrom(value);
} else {
cryptoApproveAllowanceBuilder_.setMessage(value);
}
}
dataCase_ = 37;
return this;
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
public Builder clearCryptoApproveAllowance() {
if (cryptoApproveAllowanceBuilder_ == null) {
if (dataCase_ == 37) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 37) {
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 = 37;
*/
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 = 37;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBodyOrBuilder getCryptoApproveAllowanceOrBuilder() {
if ((dataCase_ == 37) && (cryptoApproveAllowanceBuilder_ != null)) {
return cryptoApproveAllowanceBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 37) {
return (com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoApproveAllowanceTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
*
*
* .proto.CryptoApproveAllowanceTransactionBody cryptoApproveAllowance = 37;
*/
private 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_ == 37)) {
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_ = 37;
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 = 38;
* @return Whether the cryptoDeleteAllowance field is set.
*/
@java.lang.Override
public boolean hasCryptoDeleteAllowance() {
return dataCase_ == 38;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
* @return The cryptoDeleteAllowance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody getCryptoDeleteAllowance() {
if (cryptoDeleteAllowanceBuilder_ == null) {
if (dataCase_ == 38) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 38) {
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 = 38;
*/
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_ = 38;
return this;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
public Builder setCryptoDeleteAllowance(
com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.Builder builderForValue) {
if (cryptoDeleteAllowanceBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoDeleteAllowanceBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 38;
return this;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
public Builder mergeCryptoDeleteAllowance(com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody value) {
if (cryptoDeleteAllowanceBuilder_ == null) {
if (dataCase_ == 38 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 38) {
cryptoDeleteAllowanceBuilder_.mergeFrom(value);
} else {
cryptoDeleteAllowanceBuilder_.setMessage(value);
}
}
dataCase_ = 38;
return this;
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
public Builder clearCryptoDeleteAllowance() {
if (cryptoDeleteAllowanceBuilder_ == null) {
if (dataCase_ == 38) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 38) {
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 = 38;
*/
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 = 38;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBodyOrBuilder getCryptoDeleteAllowanceOrBuilder() {
if ((dataCase_ == 38) && (cryptoDeleteAllowanceBuilder_ != null)) {
return cryptoDeleteAllowanceBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 38) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteAllowanceTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Deletes one or more of the specific approved NFT serial numbers on an owner account.
*
*
* .proto.CryptoDeleteAllowanceTransactionBody cryptoDeleteAllowance = 38;
*/
private 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_ == 38)) {
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_ = 38;
onChanged();
return cryptoDeleteAllowanceBuilder_;
}
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 = 7;
* @return Whether the cryptoCreateAccount field is set.
*/
@java.lang.Override
public boolean hasCryptoCreateAccount() {
return dataCase_ == 7;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
* @return The cryptoCreateAccount.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody getCryptoCreateAccount() {
if (cryptoCreateAccountBuilder_ == null) {
if (dataCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 7) {
return cryptoCreateAccountBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
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_ = 7;
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
public Builder setCryptoCreateAccount(
com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.Builder builderForValue) {
if (cryptoCreateAccountBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoCreateAccountBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 7;
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
public Builder mergeCryptoCreateAccount(com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody value) {
if (cryptoCreateAccountBuilder_ == null) {
if (dataCase_ == 7 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 7) {
cryptoCreateAccountBuilder_.mergeFrom(value);
} else {
cryptoCreateAccountBuilder_.setMessage(value);
}
}
dataCase_ = 7;
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
public Builder clearCryptoCreateAccount() {
if (cryptoCreateAccountBuilder_ == null) {
if (dataCase_ == 7) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 7) {
dataCase_ = 0;
data_ = null;
}
cryptoCreateAccountBuilder_.clear();
}
return this;
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.Builder getCryptoCreateAccountBuilder() {
return getCryptoCreateAccountFieldBuilder().getBuilder();
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBodyOrBuilder getCryptoCreateAccountOrBuilder() {
if ((dataCase_ == 7) && (cryptoCreateAccountBuilder_ != null)) {
return cryptoCreateAccountBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
private 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_ == 7)) {
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_ = 7;
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 = 8;
* @return Whether the cryptoDelete field is set.
*/
@java.lang.Override
public boolean hasCryptoDelete() {
return dataCase_ == 8;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
* @return The cryptoDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody getCryptoDelete() {
if (cryptoDeleteBuilder_ == null) {
if (dataCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 8) {
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 = 8;
*/
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_ = 8;
return this;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
public Builder setCryptoDelete(
com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.Builder builderForValue) {
if (cryptoDeleteBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoDeleteBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 8;
return this;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
public Builder mergeCryptoDelete(com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody value) {
if (cryptoDeleteBuilder_ == null) {
if (dataCase_ == 8 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 8) {
cryptoDeleteBuilder_.mergeFrom(value);
} else {
cryptoDeleteBuilder_.setMessage(value);
}
}
dataCase_ = 8;
return this;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
public Builder clearCryptoDelete() {
if (cryptoDeleteBuilder_ == null) {
if (dataCase_ == 8) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 8) {
dataCase_ = 0;
data_ = null;
}
cryptoDeleteBuilder_.clear();
}
return this;
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
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 = 8;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBodyOrBuilder getCryptoDeleteOrBuilder() {
if ((dataCase_ == 8) && (cryptoDeleteBuilder_ != null)) {
return cryptoDeleteBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
private 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_ == 8)) {
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_ = 8;
onChanged();
return cryptoDeleteBuilder_;
}
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 = 9;
* @return Whether the cryptoTransfer field is set.
*/
@java.lang.Override
public boolean hasCryptoTransfer() {
return dataCase_ == 9;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
* @return The cryptoTransfer.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody getCryptoTransfer() {
if (cryptoTransferBuilder_ == null) {
if (dataCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 9) {
return cryptoTransferBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
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_ = 9;
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
public Builder setCryptoTransfer(
com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.Builder builderForValue) {
if (cryptoTransferBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoTransferBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 9;
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
public Builder mergeCryptoTransfer(com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody value) {
if (cryptoTransferBuilder_ == null) {
if (dataCase_ == 9 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 9) {
cryptoTransferBuilder_.mergeFrom(value);
} else {
cryptoTransferBuilder_.setMessage(value);
}
}
dataCase_ = 9;
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
public Builder clearCryptoTransfer() {
if (cryptoTransferBuilder_ == null) {
if (dataCase_ == 9) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 9) {
dataCase_ = 0;
data_ = null;
}
cryptoTransferBuilder_.clear();
}
return this;
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.Builder getCryptoTransferBuilder() {
return getCryptoTransferFieldBuilder().getBuilder();
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBodyOrBuilder getCryptoTransferOrBuilder() {
if ((dataCase_ == 9) && (cryptoTransferBuilder_ != null)) {
return cryptoTransferBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoTransferTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
private 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_ == 9)) {
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_ = 9;
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 = 10;
* @return Whether the cryptoUpdateAccount field is set.
*/
@java.lang.Override
public boolean hasCryptoUpdateAccount() {
return dataCase_ == 10;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
* @return The cryptoUpdateAccount.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody getCryptoUpdateAccount() {
if (cryptoUpdateAccountBuilder_ == null) {
if (dataCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 10) {
return cryptoUpdateAccountBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
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_ = 10;
return this;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
public Builder setCryptoUpdateAccount(
com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.Builder builderForValue) {
if (cryptoUpdateAccountBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
cryptoUpdateAccountBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 10;
return this;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
public Builder mergeCryptoUpdateAccount(com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody value) {
if (cryptoUpdateAccountBuilder_ == null) {
if (dataCase_ == 10 &&
data_ != com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 10) {
cryptoUpdateAccountBuilder_.mergeFrom(value);
} else {
cryptoUpdateAccountBuilder_.setMessage(value);
}
}
dataCase_ = 10;
return this;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
public Builder clearCryptoUpdateAccount() {
if (cryptoUpdateAccountBuilder_ == null) {
if (dataCase_ == 10) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 10) {
dataCase_ = 0;
data_ = null;
}
cryptoUpdateAccountBuilder_.clear();
}
return this;
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
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 = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBodyOrBuilder getCryptoUpdateAccountOrBuilder() {
if ((dataCase_ == 10) && (cryptoUpdateAccountBuilder_ != null)) {
return cryptoUpdateAccountBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.CryptoUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
private 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_ == 10)) {
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_ = 10;
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 = 11;
* @return Whether the fileAppend field is set.
*/
@java.lang.Override
public boolean hasFileAppend() {
return dataCase_ == 11;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
* @return The fileAppend.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody getFileAppend() {
if (fileAppendBuilder_ == null) {
if (dataCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 11) {
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 = 11;
*/
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_ = 11;
return this;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
public Builder setFileAppend(
com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.Builder builderForValue) {
if (fileAppendBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
fileAppendBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 11;
return this;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
public Builder mergeFileAppend(com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody value) {
if (fileAppendBuilder_ == null) {
if (dataCase_ == 11 &&
data_ != com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 11) {
fileAppendBuilder_.mergeFrom(value);
} else {
fileAppendBuilder_.setMessage(value);
}
}
dataCase_ = 11;
return this;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
public Builder clearFileAppend() {
if (fileAppendBuilder_ == null) {
if (dataCase_ == 11) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 11) {
dataCase_ = 0;
data_ = null;
}
fileAppendBuilder_.clear();
}
return this;
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
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 = 11;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileAppendTransactionBodyOrBuilder getFileAppendOrBuilder() {
if ((dataCase_ == 11) && (fileAppendBuilder_ != null)) {
return fileAppendBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileAppendTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
private 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_ == 11)) {
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_ = 11;
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 = 12;
* @return Whether the fileCreate field is set.
*/
@java.lang.Override
public boolean hasFileCreate() {
return dataCase_ == 12;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
* @return The fileCreate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody getFileCreate() {
if (fileCreateBuilder_ == null) {
if (dataCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 12) {
return fileCreateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
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_ = 12;
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
public Builder setFileCreate(
com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.Builder builderForValue) {
if (fileCreateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
fileCreateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 12;
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
public Builder mergeFileCreate(com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody value) {
if (fileCreateBuilder_ == null) {
if (dataCase_ == 12 &&
data_ != com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 12) {
fileCreateBuilder_.mergeFrom(value);
} else {
fileCreateBuilder_.setMessage(value);
}
}
dataCase_ = 12;
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
public Builder clearFileCreate() {
if (fileCreateBuilder_ == null) {
if (dataCase_ == 12) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 12) {
dataCase_ = 0;
data_ = null;
}
fileCreateBuilder_.clear();
}
return this;
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.Builder getFileCreateBuilder() {
return getFileCreateFieldBuilder().getBuilder();
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileCreateTransactionBodyOrBuilder getFileCreateOrBuilder() {
if ((dataCase_ == 12) && (fileCreateBuilder_ != null)) {
return fileCreateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
private 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_ == 12)) {
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_ = 12;
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 = 13;
* @return Whether the fileDelete field is set.
*/
@java.lang.Override
public boolean hasFileDelete() {
return dataCase_ == 13;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
* @return The fileDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody getFileDelete() {
if (fileDeleteBuilder_ == null) {
if (dataCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 13) {
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 = 13;
*/
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_ = 13;
return this;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
public Builder setFileDelete(
com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.Builder builderForValue) {
if (fileDeleteBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
fileDeleteBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 13;
return this;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
public Builder mergeFileDelete(com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody value) {
if (fileDeleteBuilder_ == null) {
if (dataCase_ == 13 &&
data_ != com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 13) {
fileDeleteBuilder_.mergeFrom(value);
} else {
fileDeleteBuilder_.setMessage(value);
}
}
dataCase_ = 13;
return this;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
public Builder clearFileDelete() {
if (fileDeleteBuilder_ == null) {
if (dataCase_ == 13) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 13) {
dataCase_ = 0;
data_ = null;
}
fileDeleteBuilder_.clear();
}
return this;
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
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 = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBodyOrBuilder getFileDeleteOrBuilder() {
if ((dataCase_ == 13) && (fileDeleteBuilder_ != null)) {
return fileDeleteBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
private 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_ == 13)) {
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_ = 13;
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 = 14;
* @return Whether the fileUpdate field is set.
*/
@java.lang.Override
public boolean hasFileUpdate() {
return dataCase_ == 14;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
* @return The fileUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody getFileUpdate() {
if (fileUpdateBuilder_ == null) {
if (dataCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 14) {
return fileUpdateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
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_ = 14;
return this;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
public Builder setFileUpdate(
com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.Builder builderForValue) {
if (fileUpdateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
fileUpdateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 14;
return this;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
public Builder mergeFileUpdate(com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody value) {
if (fileUpdateBuilder_ == null) {
if (dataCase_ == 14 &&
data_ != com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 14) {
fileUpdateBuilder_.mergeFrom(value);
} else {
fileUpdateBuilder_.setMessage(value);
}
}
dataCase_ = 14;
return this;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
public Builder clearFileUpdate() {
if (fileUpdateBuilder_ == null) {
if (dataCase_ == 14) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 14) {
dataCase_ = 0;
data_ = null;
}
fileUpdateBuilder_.clear();
}
return this;
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
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 = 14;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBodyOrBuilder getFileUpdateOrBuilder() {
if ((dataCase_ == 14) && (fileUpdateBuilder_ != null)) {
return fileUpdateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FileUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
private 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_ == 14)) {
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_ = 14;
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 = 15;
* @return Whether the systemDelete field is set.
*/
@java.lang.Override
public boolean hasSystemDelete() {
return dataCase_ == 15;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
* @return The systemDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody getSystemDelete() {
if (systemDeleteBuilder_ == null) {
if (dataCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 15) {
return systemDeleteBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
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_ = 15;
return this;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
public Builder setSystemDelete(
com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.Builder builderForValue) {
if (systemDeleteBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
systemDeleteBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 15;
return this;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
public Builder mergeSystemDelete(com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody value) {
if (systemDeleteBuilder_ == null) {
if (dataCase_ == 15 &&
data_ != com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 15) {
systemDeleteBuilder_.mergeFrom(value);
} else {
systemDeleteBuilder_.setMessage(value);
}
}
dataCase_ = 15;
return this;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
public Builder clearSystemDelete() {
if (systemDeleteBuilder_ == null) {
if (dataCase_ == 15) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 15) {
dataCase_ = 0;
data_ = null;
}
systemDeleteBuilder_.clear();
}
return this;
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
public com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.Builder getSystemDeleteBuilder() {
return getSystemDeleteFieldBuilder().getBuilder();
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBodyOrBuilder getSystemDeleteOrBuilder() {
if ((dataCase_ == 15) && (systemDeleteBuilder_ != null)) {
return systemDeleteBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
private 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_ == 15)) {
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_ = 15;
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 = 16;
* @return Whether the systemUndelete field is set.
*/
@java.lang.Override
public boolean hasSystemUndelete() {
return dataCase_ == 16;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
* @return The systemUndelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody getSystemUndelete() {
if (systemUndeleteBuilder_ == null) {
if (dataCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 16) {
return systemUndeleteBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
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_ = 16;
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
public Builder setSystemUndelete(
com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.Builder builderForValue) {
if (systemUndeleteBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
systemUndeleteBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 16;
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
public Builder mergeSystemUndelete(com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody value) {
if (systemUndeleteBuilder_ == null) {
if (dataCase_ == 16 &&
data_ != com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 16) {
systemUndeleteBuilder_.mergeFrom(value);
} else {
systemUndeleteBuilder_.setMessage(value);
}
}
dataCase_ = 16;
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
public Builder clearSystemUndelete() {
if (systemUndeleteBuilder_ == null) {
if (dataCase_ == 16) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 16) {
dataCase_ = 0;
data_ = null;
}
systemUndeleteBuilder_.clear();
}
return this;
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.Builder getSystemUndeleteBuilder() {
return getSystemUndeleteFieldBuilder().getBuilder();
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBodyOrBuilder getSystemUndeleteOrBuilder() {
if ((dataCase_ == 16) && (systemUndeleteBuilder_ != null)) {
return systemUndeleteBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.SystemUndeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
private 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_ == 16)) {
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_ = 16;
onChanged();
return systemUndeleteBuilder_;
}
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 = 17;
* @return Whether the freeze field is set.
*/
@java.lang.Override
public boolean hasFreeze() {
return dataCase_ == 17;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
* @return The freeze.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBody getFreeze() {
if (freezeBuilder_ == null) {
if (dataCase_ == 17) {
return (com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 17) {
return freezeBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
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_ = 17;
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
public Builder setFreeze(
com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.Builder builderForValue) {
if (freezeBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
freezeBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 17;
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
public Builder mergeFreeze(com.hedera.hashgraph.sdk.proto.FreezeTransactionBody value) {
if (freezeBuilder_ == null) {
if (dataCase_ == 17 &&
data_ != com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 17) {
freezeBuilder_.mergeFrom(value);
} else {
freezeBuilder_.setMessage(value);
}
}
dataCase_ = 17;
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
public Builder clearFreeze() {
if (freezeBuilder_ == null) {
if (dataCase_ == 17) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 17) {
dataCase_ = 0;
data_ = null;
}
freezeBuilder_.clear();
}
return this;
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.Builder getFreezeBuilder() {
return getFreezeFieldBuilder().getBuilder();
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FreezeTransactionBodyOrBuilder getFreezeOrBuilder() {
if ((dataCase_ == 17) && (freezeBuilder_ != null)) {
return freezeBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 17) {
return (com.hedera.hashgraph.sdk.proto.FreezeTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.FreezeTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
private 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_ == 17)) {
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_ = 17;
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 = 18;
* @return Whether the consensusCreateTopic field is set.
*/
@java.lang.Override
public boolean hasConsensusCreateTopic() {
return dataCase_ == 18;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
* @return The consensusCreateTopic.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody getConsensusCreateTopic() {
if (consensusCreateTopicBuilder_ == null) {
if (dataCase_ == 18) {
return (com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 18) {
return consensusCreateTopicBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
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_ = 18;
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
public Builder setConsensusCreateTopic(
com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.Builder builderForValue) {
if (consensusCreateTopicBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
consensusCreateTopicBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 18;
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
public Builder mergeConsensusCreateTopic(com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody value) {
if (consensusCreateTopicBuilder_ == null) {
if (dataCase_ == 18 &&
data_ != com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 18) {
consensusCreateTopicBuilder_.mergeFrom(value);
} else {
consensusCreateTopicBuilder_.setMessage(value);
}
}
dataCase_ = 18;
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
public Builder clearConsensusCreateTopic() {
if (consensusCreateTopicBuilder_ == null) {
if (dataCase_ == 18) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 18) {
dataCase_ = 0;
data_ = null;
}
consensusCreateTopicBuilder_.clear();
}
return this;
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.Builder getConsensusCreateTopicBuilder() {
return getConsensusCreateTopicFieldBuilder().getBuilder();
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBodyOrBuilder getConsensusCreateTopicOrBuilder() {
if ((dataCase_ == 18) && (consensusCreateTopicBuilder_ != null)) {
return consensusCreateTopicBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 18) {
return (com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
private 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_ == 18)) {
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_ = 18;
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 = 19;
* @return Whether the consensusUpdateTopic field is set.
*/
@java.lang.Override
public boolean hasConsensusUpdateTopic() {
return dataCase_ == 19;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
* @return The consensusUpdateTopic.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody getConsensusUpdateTopic() {
if (consensusUpdateTopicBuilder_ == null) {
if (dataCase_ == 19) {
return (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 19) {
return consensusUpdateTopicBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
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_ = 19;
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
public Builder setConsensusUpdateTopic(
com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.Builder builderForValue) {
if (consensusUpdateTopicBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
consensusUpdateTopicBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 19;
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
public Builder mergeConsensusUpdateTopic(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody value) {
if (consensusUpdateTopicBuilder_ == null) {
if (dataCase_ == 19 &&
data_ != com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 19) {
consensusUpdateTopicBuilder_.mergeFrom(value);
} else {
consensusUpdateTopicBuilder_.setMessage(value);
}
}
dataCase_ = 19;
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
public Builder clearConsensusUpdateTopic() {
if (consensusUpdateTopicBuilder_ == null) {
if (dataCase_ == 19) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 19) {
dataCase_ = 0;
data_ = null;
}
consensusUpdateTopicBuilder_.clear();
}
return this;
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.Builder getConsensusUpdateTopicBuilder() {
return getConsensusUpdateTopicFieldBuilder().getBuilder();
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBodyOrBuilder getConsensusUpdateTopicOrBuilder() {
if ((dataCase_ == 19) && (consensusUpdateTopicBuilder_ != null)) {
return consensusUpdateTopicBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 19) {
return (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
private 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_ == 19)) {
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_ = 19;
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 = 20;
* @return Whether the consensusDeleteTopic field is set.
*/
@java.lang.Override
public boolean hasConsensusDeleteTopic() {
return dataCase_ == 20;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
* @return The consensusDeleteTopic.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody getConsensusDeleteTopic() {
if (consensusDeleteTopicBuilder_ == null) {
if (dataCase_ == 20) {
return (com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 20) {
return consensusDeleteTopicBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
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_ = 20;
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
public Builder setConsensusDeleteTopic(
com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.Builder builderForValue) {
if (consensusDeleteTopicBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
consensusDeleteTopicBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 20;
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
public Builder mergeConsensusDeleteTopic(com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody value) {
if (consensusDeleteTopicBuilder_ == null) {
if (dataCase_ == 20 &&
data_ != com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 20) {
consensusDeleteTopicBuilder_.mergeFrom(value);
} else {
consensusDeleteTopicBuilder_.setMessage(value);
}
}
dataCase_ = 20;
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
public Builder clearConsensusDeleteTopic() {
if (consensusDeleteTopicBuilder_ == null) {
if (dataCase_ == 20) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 20) {
dataCase_ = 0;
data_ = null;
}
consensusDeleteTopicBuilder_.clear();
}
return this;
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.Builder getConsensusDeleteTopicBuilder() {
return getConsensusDeleteTopicFieldBuilder().getBuilder();
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBodyOrBuilder getConsensusDeleteTopicOrBuilder() {
if ((dataCase_ == 20) && (consensusDeleteTopicBuilder_ != null)) {
return consensusDeleteTopicBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 20) {
return (com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
private 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_ == 20)) {
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_ = 20;
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 = 21;
* @return Whether the consensusSubmitMessage field is set.
*/
@java.lang.Override
public boolean hasConsensusSubmitMessage() {
return dataCase_ == 21;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
* @return The consensusSubmitMessage.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody getConsensusSubmitMessage() {
if (consensusSubmitMessageBuilder_ == null) {
if (dataCase_ == 21) {
return (com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 21) {
return consensusSubmitMessageBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
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_ = 21;
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
public Builder setConsensusSubmitMessage(
com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.Builder builderForValue) {
if (consensusSubmitMessageBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
consensusSubmitMessageBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 21;
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
public Builder mergeConsensusSubmitMessage(com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody value) {
if (consensusSubmitMessageBuilder_ == null) {
if (dataCase_ == 21 &&
data_ != com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 21) {
consensusSubmitMessageBuilder_.mergeFrom(value);
} else {
consensusSubmitMessageBuilder_.setMessage(value);
}
}
dataCase_ = 21;
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
public Builder clearConsensusSubmitMessage() {
if (consensusSubmitMessageBuilder_ == null) {
if (dataCase_ == 21) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 21) {
dataCase_ = 0;
data_ = null;
}
consensusSubmitMessageBuilder_.clear();
}
return this;
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.Builder getConsensusSubmitMessageBuilder() {
return getConsensusSubmitMessageFieldBuilder().getBuilder();
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBodyOrBuilder getConsensusSubmitMessageOrBuilder() {
if ((dataCase_ == 21) && (consensusSubmitMessageBuilder_ != null)) {
return consensusSubmitMessageBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 21) {
return (com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
private 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_ == 21)) {
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_ = 21;
onChanged();
return consensusSubmitMessageBuilder_;
}
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 = 22;
* @return Whether the tokenCreation field is set.
*/
@java.lang.Override
public boolean hasTokenCreation() {
return dataCase_ == 22;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
* @return The tokenCreation.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody getTokenCreation() {
if (tokenCreationBuilder_ == null) {
if (dataCase_ == 22) {
return (com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 22) {
return tokenCreationBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
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_ = 22;
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
public Builder setTokenCreation(
com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.Builder builderForValue) {
if (tokenCreationBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenCreationBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 22;
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
public Builder mergeTokenCreation(com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody value) {
if (tokenCreationBuilder_ == null) {
if (dataCase_ == 22 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 22) {
tokenCreationBuilder_.mergeFrom(value);
} else {
tokenCreationBuilder_.setMessage(value);
}
}
dataCase_ = 22;
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
public Builder clearTokenCreation() {
if (tokenCreationBuilder_ == null) {
if (dataCase_ == 22) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 22) {
dataCase_ = 0;
data_ = null;
}
tokenCreationBuilder_.clear();
}
return this;
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.Builder getTokenCreationBuilder() {
return getTokenCreationFieldBuilder().getBuilder();
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBodyOrBuilder getTokenCreationOrBuilder() {
if ((dataCase_ == 22) && (tokenCreationBuilder_ != null)) {
return tokenCreationBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 22) {
return (com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
private 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_ == 22)) {
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_ = 22;
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 = 23;
* @return Whether the tokenFreeze field is set.
*/
@java.lang.Override
public boolean hasTokenFreeze() {
return dataCase_ == 23;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
* @return The tokenFreeze.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody getTokenFreeze() {
if (tokenFreezeBuilder_ == null) {
if (dataCase_ == 23) {
return (com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 23) {
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 = 23;
*/
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_ = 23;
return this;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
public Builder setTokenFreeze(
com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.Builder builderForValue) {
if (tokenFreezeBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenFreezeBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 23;
return this;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
public Builder mergeTokenFreeze(com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody value) {
if (tokenFreezeBuilder_ == null) {
if (dataCase_ == 23 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 23) {
tokenFreezeBuilder_.mergeFrom(value);
} else {
tokenFreezeBuilder_.setMessage(value);
}
}
dataCase_ = 23;
return this;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
public Builder clearTokenFreeze() {
if (tokenFreezeBuilder_ == null) {
if (dataCase_ == 23) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 23) {
dataCase_ = 0;
data_ = null;
}
tokenFreezeBuilder_.clear();
}
return this;
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
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 = 23;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBodyOrBuilder getTokenFreezeOrBuilder() {
if ((dataCase_ == 23) && (tokenFreezeBuilder_ != null)) {
return tokenFreezeBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 23) {
return (com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFreezeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
private 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_ == 23)) {
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_ = 23;
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 = 24;
* @return Whether the tokenUnfreeze field is set.
*/
@java.lang.Override
public boolean hasTokenUnfreeze() {
return dataCase_ == 24;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
* @return The tokenUnfreeze.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody getTokenUnfreeze() {
if (tokenUnfreezeBuilder_ == null) {
if (dataCase_ == 24) {
return (com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 24) {
return tokenUnfreezeBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
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_ = 24;
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
public Builder setTokenUnfreeze(
com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.Builder builderForValue) {
if (tokenUnfreezeBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenUnfreezeBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 24;
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
public Builder mergeTokenUnfreeze(com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody value) {
if (tokenUnfreezeBuilder_ == null) {
if (dataCase_ == 24 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 24) {
tokenUnfreezeBuilder_.mergeFrom(value);
} else {
tokenUnfreezeBuilder_.setMessage(value);
}
}
dataCase_ = 24;
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
public Builder clearTokenUnfreeze() {
if (tokenUnfreezeBuilder_ == null) {
if (dataCase_ == 24) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 24) {
dataCase_ = 0;
data_ = null;
}
tokenUnfreezeBuilder_.clear();
}
return this;
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.Builder getTokenUnfreezeBuilder() {
return getTokenUnfreezeFieldBuilder().getBuilder();
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBodyOrBuilder getTokenUnfreezeOrBuilder() {
if ((dataCase_ == 24) && (tokenUnfreezeBuilder_ != null)) {
return tokenUnfreezeBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 24) {
return (com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
private 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_ == 24)) {
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_ = 24;
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 = 25;
* @return Whether the tokenGrantKyc field is set.
*/
@java.lang.Override
public boolean hasTokenGrantKyc() {
return dataCase_ == 25;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
* @return The tokenGrantKyc.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody getTokenGrantKyc() {
if (tokenGrantKycBuilder_ == null) {
if (dataCase_ == 25) {
return (com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 25) {
return tokenGrantKycBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
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_ = 25;
return this;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
public Builder setTokenGrantKyc(
com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.Builder builderForValue) {
if (tokenGrantKycBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenGrantKycBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 25;
return this;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
public Builder mergeTokenGrantKyc(com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody value) {
if (tokenGrantKycBuilder_ == null) {
if (dataCase_ == 25 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 25) {
tokenGrantKycBuilder_.mergeFrom(value);
} else {
tokenGrantKycBuilder_.setMessage(value);
}
}
dataCase_ = 25;
return this;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
public Builder clearTokenGrantKyc() {
if (tokenGrantKycBuilder_ == null) {
if (dataCase_ == 25) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 25) {
dataCase_ = 0;
data_ = null;
}
tokenGrantKycBuilder_.clear();
}
return this;
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
public com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.Builder getTokenGrantKycBuilder() {
return getTokenGrantKycFieldBuilder().getBuilder();
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBodyOrBuilder getTokenGrantKycOrBuilder() {
if ((dataCase_ == 25) && (tokenGrantKycBuilder_ != null)) {
return tokenGrantKycBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 25) {
return (com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenGrantKycTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
private 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_ == 25)) {
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_ = 25;
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 = 26;
* @return Whether the tokenRevokeKyc field is set.
*/
@java.lang.Override
public boolean hasTokenRevokeKyc() {
return dataCase_ == 26;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
* @return The tokenRevokeKyc.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody getTokenRevokeKyc() {
if (tokenRevokeKycBuilder_ == null) {
if (dataCase_ == 26) {
return (com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 26) {
return tokenRevokeKycBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
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_ = 26;
return this;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
public Builder setTokenRevokeKyc(
com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.Builder builderForValue) {
if (tokenRevokeKycBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenRevokeKycBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 26;
return this;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
public Builder mergeTokenRevokeKyc(com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody value) {
if (tokenRevokeKycBuilder_ == null) {
if (dataCase_ == 26 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 26) {
tokenRevokeKycBuilder_.mergeFrom(value);
} else {
tokenRevokeKycBuilder_.setMessage(value);
}
}
dataCase_ = 26;
return this;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
public Builder clearTokenRevokeKyc() {
if (tokenRevokeKycBuilder_ == null) {
if (dataCase_ == 26) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 26) {
dataCase_ = 0;
data_ = null;
}
tokenRevokeKycBuilder_.clear();
}
return this;
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
public com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.Builder getTokenRevokeKycBuilder() {
return getTokenRevokeKycFieldBuilder().getBuilder();
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBodyOrBuilder getTokenRevokeKycOrBuilder() {
if ((dataCase_ == 26) && (tokenRevokeKycBuilder_ != null)) {
return tokenRevokeKycBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 26) {
return (com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
private 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_ == 26)) {
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_ = 26;
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 = 27;
* @return Whether the tokenDeletion field is set.
*/
@java.lang.Override
public boolean hasTokenDeletion() {
return dataCase_ == 27;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
* @return The tokenDeletion.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody getTokenDeletion() {
if (tokenDeletionBuilder_ == null) {
if (dataCase_ == 27) {
return (com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 27) {
return tokenDeletionBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
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_ = 27;
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
public Builder setTokenDeletion(
com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.Builder builderForValue) {
if (tokenDeletionBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenDeletionBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 27;
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
public Builder mergeTokenDeletion(com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody value) {
if (tokenDeletionBuilder_ == null) {
if (dataCase_ == 27 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 27) {
tokenDeletionBuilder_.mergeFrom(value);
} else {
tokenDeletionBuilder_.setMessage(value);
}
}
dataCase_ = 27;
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
public Builder clearTokenDeletion() {
if (tokenDeletionBuilder_ == null) {
if (dataCase_ == 27) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 27) {
dataCase_ = 0;
data_ = null;
}
tokenDeletionBuilder_.clear();
}
return this;
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.Builder getTokenDeletionBuilder() {
return getTokenDeletionFieldBuilder().getBuilder();
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBodyOrBuilder getTokenDeletionOrBuilder() {
if ((dataCase_ == 27) && (tokenDeletionBuilder_ != null)) {
return tokenDeletionBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 27) {
return (com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
private 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_ == 27)) {
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_ = 27;
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 = 28;
* @return Whether the tokenUpdate field is set.
*/
@java.lang.Override
public boolean hasTokenUpdate() {
return dataCase_ == 28;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
* @return The tokenUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody getTokenUpdate() {
if (tokenUpdateBuilder_ == null) {
if (dataCase_ == 28) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 28) {
return tokenUpdateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
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_ = 28;
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
public Builder setTokenUpdate(
com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.Builder builderForValue) {
if (tokenUpdateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenUpdateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 28;
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
public Builder mergeTokenUpdate(com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody value) {
if (tokenUpdateBuilder_ == null) {
if (dataCase_ == 28 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 28) {
tokenUpdateBuilder_.mergeFrom(value);
} else {
tokenUpdateBuilder_.setMessage(value);
}
}
dataCase_ = 28;
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
public Builder clearTokenUpdate() {
if (tokenUpdateBuilder_ == null) {
if (dataCase_ == 28) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 28) {
dataCase_ = 0;
data_ = null;
}
tokenUpdateBuilder_.clear();
}
return this;
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.Builder getTokenUpdateBuilder() {
return getTokenUpdateFieldBuilder().getBuilder();
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBodyOrBuilder getTokenUpdateOrBuilder() {
if ((dataCase_ == 28) && (tokenUpdateBuilder_ != null)) {
return tokenUpdateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 28) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
private 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_ == 28)) {
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_ = 28;
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 = 29;
* @return Whether the tokenMint field is set.
*/
@java.lang.Override
public boolean hasTokenMint() {
return dataCase_ == 29;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
* @return The tokenMint.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody getTokenMint() {
if (tokenMintBuilder_ == null) {
if (dataCase_ == 29) {
return (com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 29) {
return tokenMintBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
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_ = 29;
return this;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
public Builder setTokenMint(
com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.Builder builderForValue) {
if (tokenMintBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenMintBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 29;
return this;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
public Builder mergeTokenMint(com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody value) {
if (tokenMintBuilder_ == null) {
if (dataCase_ == 29 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 29) {
tokenMintBuilder_.mergeFrom(value);
} else {
tokenMintBuilder_.setMessage(value);
}
}
dataCase_ = 29;
return this;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
public Builder clearTokenMint() {
if (tokenMintBuilder_ == null) {
if (dataCase_ == 29) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 29) {
dataCase_ = 0;
data_ = null;
}
tokenMintBuilder_.clear();
}
return this;
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
public com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.Builder getTokenMintBuilder() {
return getTokenMintFieldBuilder().getBuilder();
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenMintTransactionBodyOrBuilder getTokenMintOrBuilder() {
if ((dataCase_ == 29) && (tokenMintBuilder_ != null)) {
return tokenMintBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 29) {
return (com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenMintTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
private 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_ == 29)) {
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_ = 29;
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 = 30;
* @return Whether the tokenBurn field is set.
*/
@java.lang.Override
public boolean hasTokenBurn() {
return dataCase_ == 30;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
* @return The tokenBurn.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody getTokenBurn() {
if (tokenBurnBuilder_ == null) {
if (dataCase_ == 30) {
return (com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 30) {
return tokenBurnBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
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_ = 30;
return this;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
public Builder setTokenBurn(
com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.Builder builderForValue) {
if (tokenBurnBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenBurnBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 30;
return this;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
public Builder mergeTokenBurn(com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody value) {
if (tokenBurnBuilder_ == null) {
if (dataCase_ == 30 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 30) {
tokenBurnBuilder_.mergeFrom(value);
} else {
tokenBurnBuilder_.setMessage(value);
}
}
dataCase_ = 30;
return this;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
public Builder clearTokenBurn() {
if (tokenBurnBuilder_ == null) {
if (dataCase_ == 30) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 30) {
dataCase_ = 0;
data_ = null;
}
tokenBurnBuilder_.clear();
}
return this;
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
public com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.Builder getTokenBurnBuilder() {
return getTokenBurnFieldBuilder().getBuilder();
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBodyOrBuilder getTokenBurnOrBuilder() {
if ((dataCase_ == 30) && (tokenBurnBuilder_ != null)) {
return tokenBurnBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 30) {
return (com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
private 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_ == 30)) {
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_ = 30;
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 = 31;
* @return Whether the tokenWipe field is set.
*/
@java.lang.Override
public boolean hasTokenWipe() {
return dataCase_ == 31;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
* @return The tokenWipe.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody getTokenWipe() {
if (tokenWipeBuilder_ == null) {
if (dataCase_ == 31) {
return (com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 31) {
return tokenWipeBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
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_ = 31;
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
public Builder setTokenWipe(
com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.Builder builderForValue) {
if (tokenWipeBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenWipeBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 31;
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
public Builder mergeTokenWipe(com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody value) {
if (tokenWipeBuilder_ == null) {
if (dataCase_ == 31 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 31) {
tokenWipeBuilder_.mergeFrom(value);
} else {
tokenWipeBuilder_.setMessage(value);
}
}
dataCase_ = 31;
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
public Builder clearTokenWipe() {
if (tokenWipeBuilder_ == null) {
if (dataCase_ == 31) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 31) {
dataCase_ = 0;
data_ = null;
}
tokenWipeBuilder_.clear();
}
return this;
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.Builder getTokenWipeBuilder() {
return getTokenWipeFieldBuilder().getBuilder();
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBodyOrBuilder getTokenWipeOrBuilder() {
if ((dataCase_ == 31) && (tokenWipeBuilder_ != null)) {
return tokenWipeBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 31) {
return (com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
private 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_ == 31)) {
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_ = 31;
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 = 32;
* @return Whether the tokenAssociate field is set.
*/
@java.lang.Override
public boolean hasTokenAssociate() {
return dataCase_ == 32;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
* @return The tokenAssociate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody getTokenAssociate() {
if (tokenAssociateBuilder_ == null) {
if (dataCase_ == 32) {
return (com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 32) {
return tokenAssociateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
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_ = 32;
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
public Builder setTokenAssociate(
com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.Builder builderForValue) {
if (tokenAssociateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenAssociateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 32;
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
public Builder mergeTokenAssociate(com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody value) {
if (tokenAssociateBuilder_ == null) {
if (dataCase_ == 32 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 32) {
tokenAssociateBuilder_.mergeFrom(value);
} else {
tokenAssociateBuilder_.setMessage(value);
}
}
dataCase_ = 32;
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
public Builder clearTokenAssociate() {
if (tokenAssociateBuilder_ == null) {
if (dataCase_ == 32) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 32) {
dataCase_ = 0;
data_ = null;
}
tokenAssociateBuilder_.clear();
}
return this;
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.Builder getTokenAssociateBuilder() {
return getTokenAssociateFieldBuilder().getBuilder();
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBodyOrBuilder getTokenAssociateOrBuilder() {
if ((dataCase_ == 32) && (tokenAssociateBuilder_ != null)) {
return tokenAssociateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 32) {
return (com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAssociateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
private 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_ == 32)) {
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_ = 32;
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 = 33;
* @return Whether the tokenDissociate field is set.
*/
@java.lang.Override
public boolean hasTokenDissociate() {
return dataCase_ == 33;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
* @return The tokenDissociate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody getTokenDissociate() {
if (tokenDissociateBuilder_ == null) {
if (dataCase_ == 33) {
return (com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 33) {
return tokenDissociateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
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_ = 33;
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
public Builder setTokenDissociate(
com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.Builder builderForValue) {
if (tokenDissociateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenDissociateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 33;
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
public Builder mergeTokenDissociate(com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody value) {
if (tokenDissociateBuilder_ == null) {
if (dataCase_ == 33 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 33) {
tokenDissociateBuilder_.mergeFrom(value);
} else {
tokenDissociateBuilder_.setMessage(value);
}
}
dataCase_ = 33;
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
public Builder clearTokenDissociate() {
if (tokenDissociateBuilder_ == null) {
if (dataCase_ == 33) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 33) {
dataCase_ = 0;
data_ = null;
}
tokenDissociateBuilder_.clear();
}
return this;
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.Builder getTokenDissociateBuilder() {
return getTokenDissociateFieldBuilder().getBuilder();
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBodyOrBuilder getTokenDissociateOrBuilder() {
if ((dataCase_ == 33) && (tokenDissociateBuilder_ != null)) {
return tokenDissociateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 33) {
return (com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenDissociateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
private 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_ == 33)) {
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_ = 33;
onChanged();
return tokenDissociateBuilder_;
}
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 = 39;
* @return Whether the tokenFeeScheduleUpdate field is set.
*/
@java.lang.Override
public boolean hasTokenFeeScheduleUpdate() {
return dataCase_ == 39;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
* @return The tokenFeeScheduleUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody getTokenFeeScheduleUpdate() {
if (tokenFeeScheduleUpdateBuilder_ == null) {
if (dataCase_ == 39) {
return (com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 39) {
return tokenFeeScheduleUpdateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
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_ = 39;
return this;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
public Builder setTokenFeeScheduleUpdate(
com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.Builder builderForValue) {
if (tokenFeeScheduleUpdateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenFeeScheduleUpdateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 39;
return this;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
public Builder mergeTokenFeeScheduleUpdate(com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody value) {
if (tokenFeeScheduleUpdateBuilder_ == null) {
if (dataCase_ == 39 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 39) {
tokenFeeScheduleUpdateBuilder_.mergeFrom(value);
} else {
tokenFeeScheduleUpdateBuilder_.setMessage(value);
}
}
dataCase_ = 39;
return this;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
public Builder clearTokenFeeScheduleUpdate() {
if (tokenFeeScheduleUpdateBuilder_ == null) {
if (dataCase_ == 39) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 39) {
dataCase_ = 0;
data_ = null;
}
tokenFeeScheduleUpdateBuilder_.clear();
}
return this;
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
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 = 39;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBodyOrBuilder getTokenFeeScheduleUpdateOrBuilder() {
if ((dataCase_ == 39) && (tokenFeeScheduleUpdateBuilder_ != null)) {
return tokenFeeScheduleUpdateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 39) {
return (com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
private 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_ == 39)) {
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_ = 39;
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 = 35;
* @return Whether the tokenPause field is set.
*/
@java.lang.Override
public boolean hasTokenPause() {
return dataCase_ == 35;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
* @return The tokenPause.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody getTokenPause() {
if (tokenPauseBuilder_ == null) {
if (dataCase_ == 35) {
return (com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 35) {
return tokenPauseBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
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_ = 35;
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
public Builder setTokenPause(
com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.Builder builderForValue) {
if (tokenPauseBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenPauseBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 35;
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
public Builder mergeTokenPause(com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody value) {
if (tokenPauseBuilder_ == null) {
if (dataCase_ == 35 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 35) {
tokenPauseBuilder_.mergeFrom(value);
} else {
tokenPauseBuilder_.setMessage(value);
}
}
dataCase_ = 35;
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
public Builder clearTokenPause() {
if (tokenPauseBuilder_ == null) {
if (dataCase_ == 35) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 35) {
dataCase_ = 0;
data_ = null;
}
tokenPauseBuilder_.clear();
}
return this;
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.Builder getTokenPauseBuilder() {
return getTokenPauseFieldBuilder().getBuilder();
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBodyOrBuilder getTokenPauseOrBuilder() {
if ((dataCase_ == 35) && (tokenPauseBuilder_ != null)) {
return tokenPauseBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 35) {
return (com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenPauseTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
private 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_ == 35)) {
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_ = 35;
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 = 36;
* @return Whether the tokenUnpause field is set.
*/
@java.lang.Override
public boolean hasTokenUnpause() {
return dataCase_ == 36;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
* @return The tokenUnpause.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody getTokenUnpause() {
if (tokenUnpauseBuilder_ == null) {
if (dataCase_ == 36) {
return (com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 36) {
return tokenUnpauseBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
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_ = 36;
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
public Builder setTokenUnpause(
com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.Builder builderForValue) {
if (tokenUnpauseBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenUnpauseBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 36;
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
public Builder mergeTokenUnpause(com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody value) {
if (tokenUnpauseBuilder_ == null) {
if (dataCase_ == 36 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 36) {
tokenUnpauseBuilder_.mergeFrom(value);
} else {
tokenUnpauseBuilder_.setMessage(value);
}
}
dataCase_ = 36;
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
public Builder clearTokenUnpause() {
if (tokenUnpauseBuilder_ == null) {
if (dataCase_ == 36) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 36) {
dataCase_ = 0;
data_ = null;
}
tokenUnpauseBuilder_.clear();
}
return this;
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.Builder getTokenUnpauseBuilder() {
return getTokenUnpauseFieldBuilder().getBuilder();
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBodyOrBuilder getTokenUnpauseOrBuilder() {
if ((dataCase_ == 36) && (tokenUnpauseBuilder_ != null)) {
return tokenUnpauseBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 36) {
return (com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUnpauseTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
private 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_ == 36)) {
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_ = 36;
onChanged();
return tokenUnpauseBuilder_;
}
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_;
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
* @return Whether the scheduleDelete field is set.
*/
@java.lang.Override
public boolean hasScheduleDelete() {
return dataCase_ == 34;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
* @return The scheduleDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody getScheduleDelete() {
if (scheduleDeleteBuilder_ == null) {
if (dataCase_ == 34) {
return (com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 34) {
return scheduleDeleteBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
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_ = 34;
return this;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
public Builder setScheduleDelete(
com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.Builder builderForValue) {
if (scheduleDeleteBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
scheduleDeleteBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 34;
return this;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
public Builder mergeScheduleDelete(com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody value) {
if (scheduleDeleteBuilder_ == null) {
if (dataCase_ == 34 &&
data_ != com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 34) {
scheduleDeleteBuilder_.mergeFrom(value);
} else {
scheduleDeleteBuilder_.setMessage(value);
}
}
dataCase_ = 34;
return this;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
public Builder clearScheduleDelete() {
if (scheduleDeleteBuilder_ == null) {
if (dataCase_ == 34) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 34) {
dataCase_ = 0;
data_ = null;
}
scheduleDeleteBuilder_.clear();
}
return this;
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.Builder getScheduleDeleteBuilder() {
return getScheduleDeleteFieldBuilder().getBuilder();
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBodyOrBuilder getScheduleDeleteOrBuilder() {
if ((dataCase_ == 34) && (scheduleDeleteBuilder_ != null)) {
return scheduleDeleteBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 34) {
return (com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Marks a schedule in the network's action queue as deleted, preventing it from executing
*
*
* .proto.ScheduleDeleteTransactionBody scheduleDelete = 34;
*/
private 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_ == 34)) {
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_ = 34;
onChanged();
return scheduleDeleteBuilder_;
}
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 = 40;
* @return Whether the utilPrng field is set.
*/
@java.lang.Override
public boolean hasUtilPrng() {
return dataCase_ == 40;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
* @return The utilPrng.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody getUtilPrng() {
if (utilPrngBuilder_ == null) {
if (dataCase_ == 40) {
return (com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 40) {
return utilPrngBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
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_ = 40;
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
public Builder setUtilPrng(
com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.Builder builderForValue) {
if (utilPrngBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
utilPrngBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 40;
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
public Builder mergeUtilPrng(com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody value) {
if (utilPrngBuilder_ == null) {
if (dataCase_ == 40 &&
data_ != com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 40) {
utilPrngBuilder_.mergeFrom(value);
} else {
utilPrngBuilder_.setMessage(value);
}
}
dataCase_ = 40;
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
public Builder clearUtilPrng() {
if (utilPrngBuilder_ == null) {
if (dataCase_ == 40) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 40) {
dataCase_ = 0;
data_ = null;
}
utilPrngBuilder_.clear();
}
return this;
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.Builder getUtilPrngBuilder() {
return getUtilPrngFieldBuilder().getBuilder();
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBodyOrBuilder getUtilPrngOrBuilder() {
if ((dataCase_ == 40) && (utilPrngBuilder_ != null)) {
return utilPrngBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 40) {
return (com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.UtilPrngTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
private 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_ == 40)) {
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_ = 40;
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 = 41;
* @return Whether the tokenUpdateNfts field is set.
*/
@java.lang.Override
public boolean hasTokenUpdateNfts() {
return dataCase_ == 41;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
* @return The tokenUpdateNfts.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody getTokenUpdateNfts() {
if (tokenUpdateNftsBuilder_ == null) {
if (dataCase_ == 41) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 41) {
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 = 41;
*/
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_ = 41;
return this;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
public Builder setTokenUpdateNfts(
com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.Builder builderForValue) {
if (tokenUpdateNftsBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenUpdateNftsBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 41;
return this;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
public Builder mergeTokenUpdateNfts(com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody value) {
if (tokenUpdateNftsBuilder_ == null) {
if (dataCase_ == 41 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 41) {
tokenUpdateNftsBuilder_.mergeFrom(value);
} else {
tokenUpdateNftsBuilder_.setMessage(value);
}
}
dataCase_ = 41;
return this;
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
public Builder clearTokenUpdateNfts() {
if (tokenUpdateNftsBuilder_ == null) {
if (dataCase_ == 41) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 41) {
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 = 41;
*/
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 = 41;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBodyOrBuilder getTokenUpdateNftsOrBuilder() {
if ((dataCase_ == 41) && (tokenUpdateNftsBuilder_ != null)) {
return tokenUpdateNftsBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 41) {
return (com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenUpdateNftsTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* .proto.TokenUpdateNftsTransactionBody token_update_nfts = 41;
*/
private 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_ == 41)) {
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_ = 41;
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_;
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
* @return Whether the nodeCreate field is set.
*/
@java.lang.Override
public boolean hasNodeCreate() {
return dataCase_ == 42;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
* @return The nodeCreate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody getNodeCreate() {
if (nodeCreateBuilder_ == null) {
if (dataCase_ == 42) {
return (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 42) {
return nodeCreateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
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_ = 42;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
public Builder setNodeCreate(
com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.Builder builderForValue) {
if (nodeCreateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
nodeCreateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 42;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
public Builder mergeNodeCreate(com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody value) {
if (nodeCreateBuilder_ == null) {
if (dataCase_ == 42 &&
data_ != com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 42) {
nodeCreateBuilder_.mergeFrom(value);
} else {
nodeCreateBuilder_.setMessage(value);
}
}
dataCase_ = 42;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
public Builder clearNodeCreate() {
if (nodeCreateBuilder_ == null) {
if (dataCase_ == 42) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 42) {
dataCase_ = 0;
data_ = null;
}
nodeCreateBuilder_.clear();
}
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
public com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.Builder getNodeCreateBuilder() {
return getNodeCreateFieldBuilder().getBuilder();
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBodyOrBuilder getNodeCreateOrBuilder() {
if ((dataCase_ == 42) && (nodeCreateBuilder_ != null)) {
return nodeCreateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 42) {
return (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to create a new node.
*
*
* .com.hedera.hapi.node.addressbook.NodeCreateTransactionBody nodeCreate = 42;
*/
private 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_ == 42)) {
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_ = 42;
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_;
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
* @return Whether the nodeUpdate field is set.
*/
@java.lang.Override
public boolean hasNodeUpdate() {
return dataCase_ == 43;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
* @return The nodeUpdate.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody getNodeUpdate() {
if (nodeUpdateBuilder_ == null) {
if (dataCase_ == 43) {
return (com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 43) {
return nodeUpdateBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
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_ = 43;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
public Builder setNodeUpdate(
com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.Builder builderForValue) {
if (nodeUpdateBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
nodeUpdateBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 43;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
public Builder mergeNodeUpdate(com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody value) {
if (nodeUpdateBuilder_ == null) {
if (dataCase_ == 43 &&
data_ != com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 43) {
nodeUpdateBuilder_.mergeFrom(value);
} else {
nodeUpdateBuilder_.setMessage(value);
}
}
dataCase_ = 43;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
public Builder clearNodeUpdate() {
if (nodeUpdateBuilder_ == null) {
if (dataCase_ == 43) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 43) {
dataCase_ = 0;
data_ = null;
}
nodeUpdateBuilder_.clear();
}
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
public com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.Builder getNodeUpdateBuilder() {
return getNodeUpdateFieldBuilder().getBuilder();
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBodyOrBuilder getNodeUpdateOrBuilder() {
if ((dataCase_ == 43) && (nodeUpdateBuilder_ != null)) {
return nodeUpdateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 43) {
return (com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to modify an existing node.
*
*
* .com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody nodeUpdate = 43;
*/
private 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_ == 43)) {
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_ = 43;
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_;
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
* @return Whether the nodeDelete field is set.
*/
@java.lang.Override
public boolean hasNodeDelete() {
return dataCase_ == 44;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
* @return The nodeDelete.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody getNodeDelete() {
if (nodeDeleteBuilder_ == null) {
if (dataCase_ == 44) {
return (com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 44) {
return nodeDeleteBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
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_ = 44;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
public Builder setNodeDelete(
com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.Builder builderForValue) {
if (nodeDeleteBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
nodeDeleteBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 44;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
public Builder mergeNodeDelete(com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody value) {
if (nodeDeleteBuilder_ == null) {
if (dataCase_ == 44 &&
data_ != com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 44) {
nodeDeleteBuilder_.mergeFrom(value);
} else {
nodeDeleteBuilder_.setMessage(value);
}
}
dataCase_ = 44;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
public Builder clearNodeDelete() {
if (nodeDeleteBuilder_ == null) {
if (dataCase_ == 44) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 44) {
dataCase_ = 0;
data_ = null;
}
nodeDeleteBuilder_.clear();
}
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
public com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.Builder getNodeDeleteBuilder() {
return getNodeDeleteFieldBuilder().getBuilder();
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBodyOrBuilder getNodeDeleteOrBuilder() {
if ((dataCase_ == 44) && (nodeDeleteBuilder_ != null)) {
return nodeDeleteBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 44) {
return (com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.NodeDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
private 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_ == 44)) {
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_ = 44;
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 = 45;
* @return Whether the tokenReject field is set.
*/
@java.lang.Override
public boolean hasTokenReject() {
return dataCase_ == 45;
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
* @return The tokenReject.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody getTokenReject() {
if (tokenRejectBuilder_ == null) {
if (dataCase_ == 45) {
return (com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 45) {
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 = 45;
*/
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_ = 45;
return this;
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
public Builder setTokenReject(
com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.Builder builderForValue) {
if (tokenRejectBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenRejectBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 45;
return this;
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
public Builder mergeTokenReject(com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody value) {
if (tokenRejectBuilder_ == null) {
if (dataCase_ == 45 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 45) {
tokenRejectBuilder_.mergeFrom(value);
} else {
tokenRejectBuilder_.setMessage(value);
}
}
dataCase_ = 45;
return this;
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
public Builder clearTokenReject() {
if (tokenRejectBuilder_ == null) {
if (dataCase_ == 45) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 45) {
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 = 45;
*/
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 = 45;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBodyOrBuilder getTokenRejectOrBuilder() {
if ((dataCase_ == 45) && (tokenRejectBuilder_ != null)) {
return tokenRejectBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 45) {
return (com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBody.getDefaultInstance();
}
}
/**
*
**
* A transaction body to "reject" undesired tokens.<br/>
* This transaction will transfer one or more tokens or token
* balances held by the requesting account to the treasury
* for each token type.
* <p>
* Each transfer MUST be one of the following:
* <ul>
* <li>A single non-fungible/unique token.</li>
* <li>The full balance held for a fungible/common
* token type.</li>
* </ul>
* When complete, the requesting account SHALL NOT hold the
* rejected tokens.<br/>
* Custom fees and royalties defined for the tokens rejected
* SHALL NOT be charged for this transaction.
*
*
* .proto.TokenRejectTransactionBody tokenReject = 45;
*/
private 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_ == 45)) {
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_ = 45;
onChanged();
return tokenRejectBuilder_;
}
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_;
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
* @return Whether the tokenCancelAirdrop field is set.
*/
@java.lang.Override
public boolean hasTokenCancelAirdrop() {
return dataCase_ == 46;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
* @return The tokenCancelAirdrop.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody getTokenCancelAirdrop() {
if (tokenCancelAirdropBuilder_ == null) {
if (dataCase_ == 46) {
return (com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 46) {
return tokenCancelAirdropBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
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_ = 46;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
public Builder setTokenCancelAirdrop(
com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.Builder builderForValue) {
if (tokenCancelAirdropBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenCancelAirdropBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 46;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
public Builder mergeTokenCancelAirdrop(com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody value) {
if (tokenCancelAirdropBuilder_ == null) {
if (dataCase_ == 46 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 46) {
tokenCancelAirdropBuilder_.mergeFrom(value);
} else {
tokenCancelAirdropBuilder_.setMessage(value);
}
}
dataCase_ = 46;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
public Builder clearTokenCancelAirdrop() {
if (tokenCancelAirdropBuilder_ == null) {
if (dataCase_ == 46) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 46) {
dataCase_ = 0;
data_ = null;
}
tokenCancelAirdropBuilder_.clear();
}
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.Builder getTokenCancelAirdropBuilder() {
return getTokenCancelAirdropFieldBuilder().getBuilder();
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBodyOrBuilder getTokenCancelAirdropOrBuilder() {
if ((dataCase_ == 46) && (tokenCancelAirdropBuilder_ != null)) {
return tokenCancelAirdropBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 46) {
return (com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
private 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_ == 46)) {
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_ = 46;
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_;
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
* @return Whether the tokenClaimAirdrop field is set.
*/
@java.lang.Override
public boolean hasTokenClaimAirdrop() {
return dataCase_ == 47;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
* @return The tokenClaimAirdrop.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody getTokenClaimAirdrop() {
if (tokenClaimAirdropBuilder_ == null) {
if (dataCase_ == 47) {
return (com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 47) {
return tokenClaimAirdropBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
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_ = 47;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
public Builder setTokenClaimAirdrop(
com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.Builder builderForValue) {
if (tokenClaimAirdropBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenClaimAirdropBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 47;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
public Builder mergeTokenClaimAirdrop(com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody value) {
if (tokenClaimAirdropBuilder_ == null) {
if (dataCase_ == 47 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 47) {
tokenClaimAirdropBuilder_.mergeFrom(value);
} else {
tokenClaimAirdropBuilder_.setMessage(value);
}
}
dataCase_ = 47;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
public Builder clearTokenClaimAirdrop() {
if (tokenClaimAirdropBuilder_ == null) {
if (dataCase_ == 47) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 47) {
dataCase_ = 0;
data_ = null;
}
tokenClaimAirdropBuilder_.clear();
}
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.Builder getTokenClaimAirdropBuilder() {
return getTokenClaimAirdropFieldBuilder().getBuilder();
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBodyOrBuilder getTokenClaimAirdropOrBuilder() {
if ((dataCase_ == 47) && (tokenClaimAirdropBuilder_ != null)) {
return tokenClaimAirdropBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 47) {
return (com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
private 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_ == 47)) {
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_ = 47;
onChanged();
return tokenClaimAirdropBuilder_;
}
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_;
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
* @return Whether the tokenAirdrop field is set.
*/
@java.lang.Override
public boolean hasTokenAirdrop() {
return dataCase_ == 48;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
* @return The tokenAirdrop.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody getTokenAirdrop() {
if (tokenAirdropBuilder_ == null) {
if (dataCase_ == 48) {
return (com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 48) {
return tokenAirdropBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
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_ = 48;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
public Builder setTokenAirdrop(
com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.Builder builderForValue) {
if (tokenAirdropBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
tokenAirdropBuilder_.setMessage(builderForValue.build());
}
dataCase_ = 48;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
public Builder mergeTokenAirdrop(com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody value) {
if (tokenAirdropBuilder_ == null) {
if (dataCase_ == 48 &&
data_ != com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.getDefaultInstance()) {
data_ = com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.newBuilder((com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 48) {
tokenAirdropBuilder_.mergeFrom(value);
} else {
tokenAirdropBuilder_.setMessage(value);
}
}
dataCase_ = 48;
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
public Builder clearTokenAirdrop() {
if (tokenAirdropBuilder_ == null) {
if (dataCase_ == 48) {
dataCase_ = 0;
data_ = null;
onChanged();
}
} else {
if (dataCase_ == 48) {
dataCase_ = 0;
data_ = null;
}
tokenAirdropBuilder_.clear();
}
return this;
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.Builder getTokenAirdropBuilder() {
return getTokenAirdropFieldBuilder().getBuilder();
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBodyOrBuilder getTokenAirdropOrBuilder() {
if ((dataCase_ == 48) && (tokenAirdropBuilder_ != null)) {
return tokenAirdropBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 48) {
return (com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody) data_;
}
return com.hedera.hashgraph.sdk.proto.TokenAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
private 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_ == 48)) {
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_ = 48;
onChanged();
return tokenAirdropBuilder_;
}
@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.SchedulableTransactionBody)
}
// @@protoc_insertion_point(class_scope:proto.SchedulableTransactionBody)
private static final com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody();
}
public static com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SchedulableTransactionBody 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.SchedulableTransactionBody getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}