com.hederahashgraph.api.proto.java.SchedulableTransactionBody Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: schedulable_transaction_body.proto
package com.hederahashgraph.api.proto.java;
/**
*
**
* 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();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SchedulableTransactionBody(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
transactionFee_ = input.readUInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
memo_ = s;
break;
}
case 26: {
com.hederahashgraph.api.proto.java.ContractCallTransactionBody.Builder subBuilder = null;
if (dataCase_ == 3) {
subBuilder = ((com.hederahashgraph.api.proto.java.ContractCallTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.ContractCallTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractCallTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 3;
break;
}
case 34: {
com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 4) {
subBuilder = ((com.hederahashgraph.api.proto.java.ContractCreateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractCreateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 4;
break;
}
case 42: {
com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 5) {
subBuilder = ((com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 5;
break;
}
case 50: {
com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.Builder subBuilder = null;
if (dataCase_ == 6) {
subBuilder = ((com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 6;
break;
}
case 58: {
com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 7) {
subBuilder = ((com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 7;
break;
}
case 66: {
com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody.Builder subBuilder = null;
if (dataCase_ == 8) {
subBuilder = ((com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 8;
break;
}
case 74: {
com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.Builder subBuilder = null;
if (dataCase_ == 9) {
subBuilder = ((com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 9;
break;
}
case 82: {
com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 10) {
subBuilder = ((com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 10;
break;
}
case 90: {
com.hederahashgraph.api.proto.java.FileAppendTransactionBody.Builder subBuilder = null;
if (dataCase_ == 11) {
subBuilder = ((com.hederahashgraph.api.proto.java.FileAppendTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.FileAppendTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.FileAppendTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 11;
break;
}
case 98: {
com.hederahashgraph.api.proto.java.FileCreateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 12) {
subBuilder = ((com.hederahashgraph.api.proto.java.FileCreateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.FileCreateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.FileCreateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 12;
break;
}
case 106: {
com.hederahashgraph.api.proto.java.FileDeleteTransactionBody.Builder subBuilder = null;
if (dataCase_ == 13) {
subBuilder = ((com.hederahashgraph.api.proto.java.FileDeleteTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.FileDeleteTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.FileDeleteTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 13;
break;
}
case 114: {
com.hederahashgraph.api.proto.java.FileUpdateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 14) {
subBuilder = ((com.hederahashgraph.api.proto.java.FileUpdateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.FileUpdateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.FileUpdateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 14;
break;
}
case 122: {
com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.Builder subBuilder = null;
if (dataCase_ == 15) {
subBuilder = ((com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 15;
break;
}
case 130: {
com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.Builder subBuilder = null;
if (dataCase_ == 16) {
subBuilder = ((com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 16;
break;
}
case 138: {
com.hederahashgraph.api.proto.java.FreezeTransactionBody.Builder subBuilder = null;
if (dataCase_ == 17) {
subBuilder = ((com.hederahashgraph.api.proto.java.FreezeTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.FreezeTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.FreezeTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 17;
break;
}
case 146: {
com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.Builder subBuilder = null;
if (dataCase_ == 18) {
subBuilder = ((com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 18;
break;
}
case 154: {
com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.Builder subBuilder = null;
if (dataCase_ == 19) {
subBuilder = ((com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 19;
break;
}
case 162: {
com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.Builder subBuilder = null;
if (dataCase_ == 20) {
subBuilder = ((com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 20;
break;
}
case 170: {
com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.Builder subBuilder = null;
if (dataCase_ == 21) {
subBuilder = ((com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 21;
break;
}
case 178: {
com.hederahashgraph.api.proto.java.TokenCreateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 22) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenCreateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenCreateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenCreateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 22;
break;
}
case 186: {
com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody.Builder subBuilder = null;
if (dataCase_ == 23) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 23;
break;
}
case 194: {
com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.Builder subBuilder = null;
if (dataCase_ == 24) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 24;
break;
}
case 202: {
com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.Builder subBuilder = null;
if (dataCase_ == 25) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 25;
break;
}
case 210: {
com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.Builder subBuilder = null;
if (dataCase_ == 26) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 26;
break;
}
case 218: {
com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.Builder subBuilder = null;
if (dataCase_ == 27) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 27;
break;
}
case 226: {
com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 28) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 28;
break;
}
case 234: {
com.hederahashgraph.api.proto.java.TokenMintTransactionBody.Builder subBuilder = null;
if (dataCase_ == 29) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenMintTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenMintTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenMintTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 29;
break;
}
case 242: {
com.hederahashgraph.api.proto.java.TokenBurnTransactionBody.Builder subBuilder = null;
if (dataCase_ == 30) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenBurnTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenBurnTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenBurnTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 30;
break;
}
case 250: {
com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.Builder subBuilder = null;
if (dataCase_ == 31) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 31;
break;
}
case 258: {
com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 32) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 32;
break;
}
case 266: {
com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 33) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 33;
break;
}
case 274: {
com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody.Builder subBuilder = null;
if (dataCase_ == 34) {
subBuilder = ((com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 34;
break;
}
case 282: {
com.hederahashgraph.api.proto.java.TokenPauseTransactionBody.Builder subBuilder = null;
if (dataCase_ == 35) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenPauseTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenPauseTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenPauseTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 35;
break;
}
case 290: {
com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.Builder subBuilder = null;
if (dataCase_ == 36) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 36;
break;
}
case 298: {
com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody.Builder subBuilder = null;
if (dataCase_ == 37) {
subBuilder = ((com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 37;
break;
}
case 306: {
com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody.Builder subBuilder = null;
if (dataCase_ == 38) {
subBuilder = ((com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 38;
break;
}
case 314: {
com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 39) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 39;
break;
}
case 322: {
com.hederahashgraph.api.proto.java.UtilPrngTransactionBody.Builder subBuilder = null;
if (dataCase_ == 40) {
subBuilder = ((com.hederahashgraph.api.proto.java.UtilPrngTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.UtilPrngTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.UtilPrngTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 40;
break;
}
case 330: {
com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody.Builder subBuilder = null;
if (dataCase_ == 41) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 41;
break;
}
case 338: {
com.hederahashgraph.api.proto.java.NodeCreateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 42) {
subBuilder = ((com.hederahashgraph.api.proto.java.NodeCreateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.NodeCreateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.NodeCreateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 42;
break;
}
case 346: {
com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody.Builder subBuilder = null;
if (dataCase_ == 43) {
subBuilder = ((com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 43;
break;
}
case 354: {
com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody.Builder subBuilder = null;
if (dataCase_ == 44) {
subBuilder = ((com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 44;
break;
}
case 362: {
com.hederahashgraph.api.proto.java.TokenRejectTransactionBody.Builder subBuilder = null;
if (dataCase_ == 45) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenRejectTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenRejectTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenRejectTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 45;
break;
}
case 370: {
com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody.Builder subBuilder = null;
if (dataCase_ == 46) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 46;
break;
}
case 378: {
com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody.Builder subBuilder = null;
if (dataCase_ == 47) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 47;
break;
}
case 386: {
com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.Builder subBuilder = null;
if (dataCase_ == 48) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 48;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hederahashgraph.api.proto.java.SchedulableTransactionBodyOuterClass.internal_static_proto_SchedulableTransactionBody_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hederahashgraph.api.proto.java.SchedulableTransactionBodyOuterClass.internal_static_proto_SchedulableTransactionBody_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hederahashgraph.api.proto.java.SchedulableTransactionBody.class, com.hederahashgraph.api.proto.java.SchedulableTransactionBody.Builder.class);
}
private int dataCase_ = 0;
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_;
/**
*
**
* 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;
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.hederahashgraph.api.proto.java.ContractCallTransactionBody getContractCall() {
if (dataCase_ == 3) {
return (com.hederahashgraph.api.proto.java.ContractCallTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ContractCallTransactionBody.getDefaultInstance();
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ContractCallTransactionBodyOrBuilder getContractCallOrBuilder() {
if (dataCase_ == 3) {
return (com.hederahashgraph.api.proto.java.ContractCallTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractCreateTransactionBody getContractCreateInstance() {
if (dataCase_ == 4) {
return (com.hederahashgraph.api.proto.java.ContractCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ContractCreateTransactionBodyOrBuilder getContractCreateInstanceOrBuilder() {
if (dataCase_ == 4) {
return (com.hederahashgraph.api.proto.java.ContractCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractUpdateTransactionBody getContractUpdateInstance() {
if (dataCase_ == 5) {
return (com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ContractUpdateTransactionBodyOrBuilder getContractUpdateInstanceOrBuilder() {
if (dataCase_ == 5) {
return (com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractDeleteTransactionBody getContractDeleteInstance() {
if (dataCase_ == 6) {
return (com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ContractDeleteTransactionBodyOrBuilder getContractDeleteInstanceOrBuilder() {
if (dataCase_ == 6) {
return (com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody getCryptoApproveAllowance() {
if (dataCase_ == 37) {
return (com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBodyOrBuilder getCryptoApproveAllowanceOrBuilder() {
if (dataCase_ == 37) {
return (com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody getCryptoDeleteAllowance() {
if (dataCase_ == 38) {
return (com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBodyOrBuilder getCryptoDeleteAllowanceOrBuilder() {
if (dataCase_ == 38) {
return (com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoCreateTransactionBody getCryptoCreateAccount() {
if (dataCase_ == 7) {
return (com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.CryptoCreateTransactionBodyOrBuilder getCryptoCreateAccountOrBuilder() {
if (dataCase_ == 7) {
return (com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody getCryptoDelete() {
if (dataCase_ == 8) {
return (com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBodyOrBuilder getCryptoDeleteOrBuilder() {
if (dataCase_ == 8) {
return (com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoTransferTransactionBody getCryptoTransfer() {
if (dataCase_ == 9) {
return (com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.getDefaultInstance();
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.CryptoTransferTransactionBodyOrBuilder getCryptoTransferOrBuilder() {
if (dataCase_ == 9) {
return (com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody getCryptoUpdateAccount() {
if (dataCase_ == 10) {
return (com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBodyOrBuilder getCryptoUpdateAccountOrBuilder() {
if (dataCase_ == 10) {
return (com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileAppendTransactionBody getFileAppend() {
if (dataCase_ == 11) {
return (com.hederahashgraph.api.proto.java.FileAppendTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FileAppendTransactionBody.getDefaultInstance();
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.FileAppendTransactionBodyOrBuilder getFileAppendOrBuilder() {
if (dataCase_ == 11) {
return (com.hederahashgraph.api.proto.java.FileAppendTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileCreateTransactionBody getFileCreate() {
if (dataCase_ == 12) {
return (com.hederahashgraph.api.proto.java.FileCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FileCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.FileCreateTransactionBodyOrBuilder getFileCreateOrBuilder() {
if (dataCase_ == 12) {
return (com.hederahashgraph.api.proto.java.FileCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileDeleteTransactionBody getFileDelete() {
if (dataCase_ == 13) {
return (com.hederahashgraph.api.proto.java.FileDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FileDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.FileDeleteTransactionBodyOrBuilder getFileDeleteOrBuilder() {
if (dataCase_ == 13) {
return (com.hederahashgraph.api.proto.java.FileDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileUpdateTransactionBody getFileUpdate() {
if (dataCase_ == 14) {
return (com.hederahashgraph.api.proto.java.FileUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FileUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.FileUpdateTransactionBodyOrBuilder getFileUpdateOrBuilder() {
if (dataCase_ == 14) {
return (com.hederahashgraph.api.proto.java.FileUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.SystemDeleteTransactionBody getSystemDelete() {
if (dataCase_ == 15) {
return (com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.SystemDeleteTransactionBodyOrBuilder getSystemDeleteOrBuilder() {
if (dataCase_ == 15) {
return (com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody getSystemUndelete() {
if (dataCase_ == 16) {
return (com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBodyOrBuilder getSystemUndeleteOrBuilder() {
if (dataCase_ == 16) {
return (com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FreezeTransactionBody getFreeze() {
if (dataCase_ == 17) {
return (com.hederahashgraph.api.proto.java.FreezeTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FreezeTransactionBody.getDefaultInstance();
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.FreezeTransactionBodyOrBuilder getFreezeOrBuilder() {
if (dataCase_ == 17) {
return (com.hederahashgraph.api.proto.java.FreezeTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody getConsensusCreateTopic() {
if (dataCase_ == 18) {
return (com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBodyOrBuilder getConsensusCreateTopicOrBuilder() {
if (dataCase_ == 18) {
return (com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody getConsensusUpdateTopic() {
if (dataCase_ == 19) {
return (com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBodyOrBuilder getConsensusUpdateTopicOrBuilder() {
if (dataCase_ == 19) {
return (com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody getConsensusDeleteTopic() {
if (dataCase_ == 20) {
return (com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBodyOrBuilder getConsensusDeleteTopicOrBuilder() {
if (dataCase_ == 20) {
return (com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody getConsensusSubmitMessage() {
if (dataCase_ == 21) {
return (com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBodyOrBuilder getConsensusSubmitMessageOrBuilder() {
if (dataCase_ == 21) {
return (com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenCreateTransactionBody getTokenCreation() {
if (dataCase_ == 22) {
return (com.hederahashgraph.api.proto.java.TokenCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenCreateTransactionBody.getDefaultInstance();
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenCreateTransactionBodyOrBuilder getTokenCreationOrBuilder() {
if (dataCase_ == 22) {
return (com.hederahashgraph.api.proto.java.TokenCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody getTokenFreeze() {
if (dataCase_ == 23) {
return (com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody.getDefaultInstance();
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBodyOrBuilder getTokenFreezeOrBuilder() {
if (dataCase_ == 23) {
return (com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody getTokenUnfreeze() {
if (dataCase_ == 24) {
return (com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBodyOrBuilder getTokenUnfreezeOrBuilder() {
if (dataCase_ == 24) {
return (com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody getTokenGrantKyc() {
if (dataCase_ == 25) {
return (com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.getDefaultInstance();
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBodyOrBuilder getTokenGrantKycOrBuilder() {
if (dataCase_ == 25) {
return (com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody getTokenRevokeKyc() {
if (dataCase_ == 26) {
return (com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.getDefaultInstance();
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBodyOrBuilder getTokenRevokeKycOrBuilder() {
if (dataCase_ == 26) {
return (com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenDeleteTransactionBody getTokenDeletion() {
if (dataCase_ == 27) {
return (com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.getDefaultInstance();
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenDeleteTransactionBodyOrBuilder getTokenDeletionOrBuilder() {
if (dataCase_ == 27) {
return (com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUpdateTransactionBody getTokenUpdate() {
if (dataCase_ == 28) {
return (com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenUpdateTransactionBodyOrBuilder getTokenUpdateOrBuilder() {
if (dataCase_ == 28) {
return (com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenMintTransactionBody getTokenMint() {
if (dataCase_ == 29) {
return (com.hederahashgraph.api.proto.java.TokenMintTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenMintTransactionBody.getDefaultInstance();
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenMintTransactionBodyOrBuilder getTokenMintOrBuilder() {
if (dataCase_ == 29) {
return (com.hederahashgraph.api.proto.java.TokenMintTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenBurnTransactionBody getTokenBurn() {
if (dataCase_ == 30) {
return (com.hederahashgraph.api.proto.java.TokenBurnTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenBurnTransactionBody.getDefaultInstance();
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenBurnTransactionBodyOrBuilder getTokenBurnOrBuilder() {
if (dataCase_ == 30) {
return (com.hederahashgraph.api.proto.java.TokenBurnTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody getTokenWipe() {
if (dataCase_ == 31) {
return (com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.getDefaultInstance();
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBodyOrBuilder getTokenWipeOrBuilder() {
if (dataCase_ == 31) {
return (com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenAssociateTransactionBody getTokenAssociate() {
if (dataCase_ == 32) {
return (com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.getDefaultInstance();
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenAssociateTransactionBodyOrBuilder getTokenAssociateOrBuilder() {
if (dataCase_ == 32) {
return (com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenDissociateTransactionBody getTokenDissociate() {
if (dataCase_ == 33) {
return (com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.getDefaultInstance();
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenDissociateTransactionBodyOrBuilder getTokenDissociateOrBuilder() {
if (dataCase_ == 33) {
return (com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody getTokenFeeScheduleUpdate() {
if (dataCase_ == 39) {
return (com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBodyOrBuilder getTokenFeeScheduleUpdateOrBuilder() {
if (dataCase_ == 39) {
return (com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenPauseTransactionBody getTokenPause() {
if (dataCase_ == 35) {
return (com.hederahashgraph.api.proto.java.TokenPauseTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenPauseTransactionBody.getDefaultInstance();
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenPauseTransactionBodyOrBuilder getTokenPauseOrBuilder() {
if (dataCase_ == 35) {
return (com.hederahashgraph.api.proto.java.TokenPauseTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody getTokenUnpause() {
if (dataCase_ == 36) {
return (com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.getDefaultInstance();
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBodyOrBuilder getTokenUnpauseOrBuilder() {
if (dataCase_ == 36) {
return (com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody getScheduleDelete() {
if (dataCase_ == 34) {
return (com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBodyOrBuilder getScheduleDeleteOrBuilder() {
if (dataCase_ == 34) {
return (com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.UtilPrngTransactionBody getUtilPrng() {
if (dataCase_ == 40) {
return (com.hederahashgraph.api.proto.java.UtilPrngTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.UtilPrngTransactionBody.getDefaultInstance();
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.UtilPrngTransactionBodyOrBuilder getUtilPrngOrBuilder() {
if (dataCase_ == 40) {
return (com.hederahashgraph.api.proto.java.UtilPrngTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody getTokenUpdateNfts() {
if (dataCase_ == 41) {
return (com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBodyOrBuilder getTokenUpdateNftsOrBuilder() {
if (dataCase_ == 41) {
return (com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeCreateTransactionBody getNodeCreate() {
if (dataCase_ == 42) {
return (com.hederahashgraph.api.proto.java.NodeCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeCreateTransactionBodyOrBuilder getNodeCreateOrBuilder() {
if (dataCase_ == 42) {
return (com.hederahashgraph.api.proto.java.NodeCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeUpdateTransactionBody getNodeUpdate() {
if (dataCase_ == 43) {
return (com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeUpdateTransactionBodyOrBuilder getNodeUpdateOrBuilder() {
if (dataCase_ == 43) {
return (com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeDeleteTransactionBody getNodeDelete() {
if (dataCase_ == 44) {
return (com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeDeleteTransactionBodyOrBuilder getNodeDeleteOrBuilder() {
if (dataCase_ == 44) {
return (com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenRejectTransactionBody getTokenReject() {
if (dataCase_ == 45) {
return (com.hederahashgraph.api.proto.java.TokenRejectTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenRejectTransactionBodyOrBuilder getTokenRejectOrBuilder() {
if (dataCase_ == 45) {
return (com.hederahashgraph.api.proto.java.TokenRejectTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody getTokenCancelAirdrop() {
if (dataCase_ == 46) {
return (com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBodyOrBuilder getTokenCancelAirdropOrBuilder() {
if (dataCase_ == 46) {
return (com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody getTokenClaimAirdrop() {
if (dataCase_ == 47) {
return (com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBodyOrBuilder getTokenClaimAirdropOrBuilder() {
if (dataCase_ == 47) {
return (com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenAirdropTransactionBody getTokenAirdrop() {
if (dataCase_ == 48) {
return (com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.getDefaultInstance();
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenAirdropTransactionBodyOrBuilder getTokenAirdropOrBuilder() {
if (dataCase_ == 48) {
return (com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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 (!getMemoBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, memo_);
}
if (dataCase_ == 3) {
output.writeMessage(3, (com.hederahashgraph.api.proto.java.ContractCallTransactionBody) data_);
}
if (dataCase_ == 4) {
output.writeMessage(4, (com.hederahashgraph.api.proto.java.ContractCreateTransactionBody) data_);
}
if (dataCase_ == 5) {
output.writeMessage(5, (com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody) data_);
}
if (dataCase_ == 6) {
output.writeMessage(6, (com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody) data_);
}
if (dataCase_ == 7) {
output.writeMessage(7, (com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody) data_);
}
if (dataCase_ == 8) {
output.writeMessage(8, (com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody) data_);
}
if (dataCase_ == 9) {
output.writeMessage(9, (com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody) data_);
}
if (dataCase_ == 10) {
output.writeMessage(10, (com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody) data_);
}
if (dataCase_ == 11) {
output.writeMessage(11, (com.hederahashgraph.api.proto.java.FileAppendTransactionBody) data_);
}
if (dataCase_ == 12) {
output.writeMessage(12, (com.hederahashgraph.api.proto.java.FileCreateTransactionBody) data_);
}
if (dataCase_ == 13) {
output.writeMessage(13, (com.hederahashgraph.api.proto.java.FileDeleteTransactionBody) data_);
}
if (dataCase_ == 14) {
output.writeMessage(14, (com.hederahashgraph.api.proto.java.FileUpdateTransactionBody) data_);
}
if (dataCase_ == 15) {
output.writeMessage(15, (com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody) data_);
}
if (dataCase_ == 16) {
output.writeMessage(16, (com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody) data_);
}
if (dataCase_ == 17) {
output.writeMessage(17, (com.hederahashgraph.api.proto.java.FreezeTransactionBody) data_);
}
if (dataCase_ == 18) {
output.writeMessage(18, (com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody) data_);
}
if (dataCase_ == 19) {
output.writeMessage(19, (com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody) data_);
}
if (dataCase_ == 20) {
output.writeMessage(20, (com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody) data_);
}
if (dataCase_ == 21) {
output.writeMessage(21, (com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody) data_);
}
if (dataCase_ == 22) {
output.writeMessage(22, (com.hederahashgraph.api.proto.java.TokenCreateTransactionBody) data_);
}
if (dataCase_ == 23) {
output.writeMessage(23, (com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody) data_);
}
if (dataCase_ == 24) {
output.writeMessage(24, (com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody) data_);
}
if (dataCase_ == 25) {
output.writeMessage(25, (com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody) data_);
}
if (dataCase_ == 26) {
output.writeMessage(26, (com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody) data_);
}
if (dataCase_ == 27) {
output.writeMessage(27, (com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody) data_);
}
if (dataCase_ == 28) {
output.writeMessage(28, (com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody) data_);
}
if (dataCase_ == 29) {
output.writeMessage(29, (com.hederahashgraph.api.proto.java.TokenMintTransactionBody) data_);
}
if (dataCase_ == 30) {
output.writeMessage(30, (com.hederahashgraph.api.proto.java.TokenBurnTransactionBody) data_);
}
if (dataCase_ == 31) {
output.writeMessage(31, (com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody) data_);
}
if (dataCase_ == 32) {
output.writeMessage(32, (com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody) data_);
}
if (dataCase_ == 33) {
output.writeMessage(33, (com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody) data_);
}
if (dataCase_ == 34) {
output.writeMessage(34, (com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody) data_);
}
if (dataCase_ == 35) {
output.writeMessage(35, (com.hederahashgraph.api.proto.java.TokenPauseTransactionBody) data_);
}
if (dataCase_ == 36) {
output.writeMessage(36, (com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody) data_);
}
if (dataCase_ == 37) {
output.writeMessage(37, (com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody) data_);
}
if (dataCase_ == 38) {
output.writeMessage(38, (com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody) data_);
}
if (dataCase_ == 39) {
output.writeMessage(39, (com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody) data_);
}
if (dataCase_ == 40) {
output.writeMessage(40, (com.hederahashgraph.api.proto.java.UtilPrngTransactionBody) data_);
}
if (dataCase_ == 41) {
output.writeMessage(41, (com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody) data_);
}
if (dataCase_ == 42) {
output.writeMessage(42, (com.hederahashgraph.api.proto.java.NodeCreateTransactionBody) data_);
}
if (dataCase_ == 43) {
output.writeMessage(43, (com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody) data_);
}
if (dataCase_ == 44) {
output.writeMessage(44, (com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody) data_);
}
if (dataCase_ == 45) {
output.writeMessage(45, (com.hederahashgraph.api.proto.java.TokenRejectTransactionBody) data_);
}
if (dataCase_ == 46) {
output.writeMessage(46, (com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody) data_);
}
if (dataCase_ == 47) {
output.writeMessage(47, (com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody) data_);
}
if (dataCase_ == 48) {
output.writeMessage(48, (com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody) data_);
}
unknownFields.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 (!getMemoBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, memo_);
}
if (dataCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.hederahashgraph.api.proto.java.ContractCallTransactionBody) data_);
}
if (dataCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.hederahashgraph.api.proto.java.ContractCreateTransactionBody) data_);
}
if (dataCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody) data_);
}
if (dataCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody) data_);
}
if (dataCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody) data_);
}
if (dataCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody) data_);
}
if (dataCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody) data_);
}
if (dataCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody) data_);
}
if (dataCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (com.hederahashgraph.api.proto.java.FileAppendTransactionBody) data_);
}
if (dataCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (com.hederahashgraph.api.proto.java.FileCreateTransactionBody) data_);
}
if (dataCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (com.hederahashgraph.api.proto.java.FileDeleteTransactionBody) data_);
}
if (dataCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (com.hederahashgraph.api.proto.java.FileUpdateTransactionBody) data_);
}
if (dataCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody) data_);
}
if (dataCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody) data_);
}
if (dataCase_ == 17) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, (com.hederahashgraph.api.proto.java.FreezeTransactionBody) data_);
}
if (dataCase_ == 18) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, (com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody) data_);
}
if (dataCase_ == 19) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, (com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody) data_);
}
if (dataCase_ == 20) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, (com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody) data_);
}
if (dataCase_ == 21) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, (com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody) data_);
}
if (dataCase_ == 22) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, (com.hederahashgraph.api.proto.java.TokenCreateTransactionBody) data_);
}
if (dataCase_ == 23) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, (com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody) data_);
}
if (dataCase_ == 24) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(24, (com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody) data_);
}
if (dataCase_ == 25) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(25, (com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody) data_);
}
if (dataCase_ == 26) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(26, (com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody) data_);
}
if (dataCase_ == 27) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(27, (com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody) data_);
}
if (dataCase_ == 28) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(28, (com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody) data_);
}
if (dataCase_ == 29) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(29, (com.hederahashgraph.api.proto.java.TokenMintTransactionBody) data_);
}
if (dataCase_ == 30) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(30, (com.hederahashgraph.api.proto.java.TokenBurnTransactionBody) data_);
}
if (dataCase_ == 31) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(31, (com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody) data_);
}
if (dataCase_ == 32) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(32, (com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody) data_);
}
if (dataCase_ == 33) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(33, (com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody) data_);
}
if (dataCase_ == 34) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(34, (com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody) data_);
}
if (dataCase_ == 35) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(35, (com.hederahashgraph.api.proto.java.TokenPauseTransactionBody) data_);
}
if (dataCase_ == 36) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(36, (com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody) data_);
}
if (dataCase_ == 37) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(37, (com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody) data_);
}
if (dataCase_ == 38) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(38, (com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody) data_);
}
if (dataCase_ == 39) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(39, (com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody) data_);
}
if (dataCase_ == 40) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(40, (com.hederahashgraph.api.proto.java.UtilPrngTransactionBody) data_);
}
if (dataCase_ == 41) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(41, (com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody) data_);
}
if (dataCase_ == 42) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(42, (com.hederahashgraph.api.proto.java.NodeCreateTransactionBody) data_);
}
if (dataCase_ == 43) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(43, (com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody) data_);
}
if (dataCase_ == 44) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(44, (com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody) data_);
}
if (dataCase_ == 45) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(45, (com.hederahashgraph.api.proto.java.TokenRejectTransactionBody) data_);
}
if (dataCase_ == 46) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(46, (com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody) data_);
}
if (dataCase_ == 47) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(47, (com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody) data_);
}
if (dataCase_ == 48) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(48, (com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody) data_);
}
size += unknownFields.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.hederahashgraph.api.proto.java.SchedulableTransactionBody)) {
return super.equals(obj);
}
com.hederahashgraph.api.proto.java.SchedulableTransactionBody other = (com.hederahashgraph.api.proto.java.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.hederahashgraph.api.proto.java.SchedulableTransactionBody parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.SchedulableTransactionBody parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.SchedulableTransactionBody parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.SchedulableTransactionBody parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.SchedulableTransactionBody parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.SchedulableTransactionBody parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.SchedulableTransactionBody parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.SchedulableTransactionBody parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.SchedulableTransactionBodyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hederahashgraph.api.proto.java.SchedulableTransactionBodyOuterClass.internal_static_proto_SchedulableTransactionBody_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hederahashgraph.api.proto.java.SchedulableTransactionBodyOuterClass.internal_static_proto_SchedulableTransactionBody_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hederahashgraph.api.proto.java.SchedulableTransactionBody.class, com.hederahashgraph.api.proto.java.SchedulableTransactionBody.Builder.class);
}
// Construct using com.hederahashgraph.api.proto.java.SchedulableTransactionBody.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
transactionFee_ = 0L;
memo_ = "";
dataCase_ = 0;
data_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.hederahashgraph.api.proto.java.SchedulableTransactionBodyOuterClass.internal_static_proto_SchedulableTransactionBody_descriptor;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.SchedulableTransactionBody getDefaultInstanceForType() {
return com.hederahashgraph.api.proto.java.SchedulableTransactionBody.getDefaultInstance();
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.SchedulableTransactionBody build() {
com.hederahashgraph.api.proto.java.SchedulableTransactionBody result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.SchedulableTransactionBody buildPartial() {
com.hederahashgraph.api.proto.java.SchedulableTransactionBody result = new com.hederahashgraph.api.proto.java.SchedulableTransactionBody(this);
result.transactionFee_ = transactionFee_;
result.memo_ = memo_;
if (dataCase_ == 3) {
if (contractCallBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = contractCallBuilder_.build();
}
}
if (dataCase_ == 4) {
if (contractCreateInstanceBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = contractCreateInstanceBuilder_.build();
}
}
if (dataCase_ == 5) {
if (contractUpdateInstanceBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = contractUpdateInstanceBuilder_.build();
}
}
if (dataCase_ == 6) {
if (contractDeleteInstanceBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = contractDeleteInstanceBuilder_.build();
}
}
if (dataCase_ == 37) {
if (cryptoApproveAllowanceBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = cryptoApproveAllowanceBuilder_.build();
}
}
if (dataCase_ == 38) {
if (cryptoDeleteAllowanceBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = cryptoDeleteAllowanceBuilder_.build();
}
}
if (dataCase_ == 7) {
if (cryptoCreateAccountBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = cryptoCreateAccountBuilder_.build();
}
}
if (dataCase_ == 8) {
if (cryptoDeleteBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = cryptoDeleteBuilder_.build();
}
}
if (dataCase_ == 9) {
if (cryptoTransferBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = cryptoTransferBuilder_.build();
}
}
if (dataCase_ == 10) {
if (cryptoUpdateAccountBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = cryptoUpdateAccountBuilder_.build();
}
}
if (dataCase_ == 11) {
if (fileAppendBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = fileAppendBuilder_.build();
}
}
if (dataCase_ == 12) {
if (fileCreateBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = fileCreateBuilder_.build();
}
}
if (dataCase_ == 13) {
if (fileDeleteBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = fileDeleteBuilder_.build();
}
}
if (dataCase_ == 14) {
if (fileUpdateBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = fileUpdateBuilder_.build();
}
}
if (dataCase_ == 15) {
if (systemDeleteBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = systemDeleteBuilder_.build();
}
}
if (dataCase_ == 16) {
if (systemUndeleteBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = systemUndeleteBuilder_.build();
}
}
if (dataCase_ == 17) {
if (freezeBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = freezeBuilder_.build();
}
}
if (dataCase_ == 18) {
if (consensusCreateTopicBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = consensusCreateTopicBuilder_.build();
}
}
if (dataCase_ == 19) {
if (consensusUpdateTopicBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = consensusUpdateTopicBuilder_.build();
}
}
if (dataCase_ == 20) {
if (consensusDeleteTopicBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = consensusDeleteTopicBuilder_.build();
}
}
if (dataCase_ == 21) {
if (consensusSubmitMessageBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = consensusSubmitMessageBuilder_.build();
}
}
if (dataCase_ == 22) {
if (tokenCreationBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenCreationBuilder_.build();
}
}
if (dataCase_ == 23) {
if (tokenFreezeBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenFreezeBuilder_.build();
}
}
if (dataCase_ == 24) {
if (tokenUnfreezeBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenUnfreezeBuilder_.build();
}
}
if (dataCase_ == 25) {
if (tokenGrantKycBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenGrantKycBuilder_.build();
}
}
if (dataCase_ == 26) {
if (tokenRevokeKycBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenRevokeKycBuilder_.build();
}
}
if (dataCase_ == 27) {
if (tokenDeletionBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenDeletionBuilder_.build();
}
}
if (dataCase_ == 28) {
if (tokenUpdateBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenUpdateBuilder_.build();
}
}
if (dataCase_ == 29) {
if (tokenMintBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenMintBuilder_.build();
}
}
if (dataCase_ == 30) {
if (tokenBurnBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenBurnBuilder_.build();
}
}
if (dataCase_ == 31) {
if (tokenWipeBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenWipeBuilder_.build();
}
}
if (dataCase_ == 32) {
if (tokenAssociateBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenAssociateBuilder_.build();
}
}
if (dataCase_ == 33) {
if (tokenDissociateBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenDissociateBuilder_.build();
}
}
if (dataCase_ == 39) {
if (tokenFeeScheduleUpdateBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenFeeScheduleUpdateBuilder_.build();
}
}
if (dataCase_ == 35) {
if (tokenPauseBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenPauseBuilder_.build();
}
}
if (dataCase_ == 36) {
if (tokenUnpauseBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenUnpauseBuilder_.build();
}
}
if (dataCase_ == 34) {
if (scheduleDeleteBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = scheduleDeleteBuilder_.build();
}
}
if (dataCase_ == 40) {
if (utilPrngBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = utilPrngBuilder_.build();
}
}
if (dataCase_ == 41) {
if (tokenUpdateNftsBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenUpdateNftsBuilder_.build();
}
}
if (dataCase_ == 42) {
if (nodeCreateBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = nodeCreateBuilder_.build();
}
}
if (dataCase_ == 43) {
if (nodeUpdateBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = nodeUpdateBuilder_.build();
}
}
if (dataCase_ == 44) {
if (nodeDeleteBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = nodeDeleteBuilder_.build();
}
}
if (dataCase_ == 45) {
if (tokenRejectBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenRejectBuilder_.build();
}
}
if (dataCase_ == 46) {
if (tokenCancelAirdropBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenCancelAirdropBuilder_.build();
}
}
if (dataCase_ == 47) {
if (tokenClaimAirdropBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenClaimAirdropBuilder_.build();
}
}
if (dataCase_ == 48) {
if (tokenAirdropBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = tokenAirdropBuilder_.build();
}
}
result.dataCase_ = dataCase_;
onBuilt();
return result;
}
@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.hederahashgraph.api.proto.java.SchedulableTransactionBody) {
return mergeFrom((com.hederahashgraph.api.proto.java.SchedulableTransactionBody)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.hederahashgraph.api.proto.java.SchedulableTransactionBody other) {
if (other == com.hederahashgraph.api.proto.java.SchedulableTransactionBody.getDefaultInstance()) return this;
if (other.getTransactionFee() != 0L) {
setTransactionFee(other.getTransactionFee());
}
if (!other.getMemo().isEmpty()) {
memo_ = other.memo_;
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.unknownFields);
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 {
com.hederahashgraph.api.proto.java.SchedulableTransactionBody parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.hederahashgraph.api.proto.java.SchedulableTransactionBody) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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 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;
onChanged();
return this;
}
/**
*
**
* The maximum transaction fee the client is willing to pay
*
*
* uint64 transactionFee = 1;
* @return This builder for chaining.
*/
public Builder clearTransactionFee() {
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;
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();
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;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractCallTransactionBody, com.hederahashgraph.api.proto.java.ContractCallTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractCallTransactionBody getContractCall() {
if (contractCallBuilder_ == null) {
if (dataCase_ == 3) {
return (com.hederahashgraph.api.proto.java.ContractCallTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ContractCallTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 3) {
return contractCallBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ContractCallTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
public Builder setContractCall(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractCallTransactionBody value) {
if (contractCallBuilder_ == null) {
if (dataCase_ == 3 &&
data_ != com.hederahashgraph.api.proto.java.ContractCallTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.ContractCallTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.ContractCallTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 3) {
contractCallBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.ContractCallTransactionBody.Builder getContractCallBuilder() {
return getContractCallFieldBuilder().getBuilder();
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ContractCallTransactionBodyOrBuilder getContractCallOrBuilder() {
if ((dataCase_ == 3) && (contractCallBuilder_ != null)) {
return contractCallBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 3) {
return (com.hederahashgraph.api.proto.java.ContractCallTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ContractCallTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Calls a function of a contract instance
*
*
* .proto.ContractCallTransactionBody contractCall = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractCallTransactionBody, com.hederahashgraph.api.proto.java.ContractCallTransactionBody.Builder, com.hederahashgraph.api.proto.java.ContractCallTransactionBodyOrBuilder>
getContractCallFieldBuilder() {
if (contractCallBuilder_ == null) {
if (!(dataCase_ == 3)) {
data_ = com.hederahashgraph.api.proto.java.ContractCallTransactionBody.getDefaultInstance();
}
contractCallBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractCallTransactionBody, com.hederahashgraph.api.proto.java.ContractCallTransactionBody.Builder, com.hederahashgraph.api.proto.java.ContractCallTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.ContractCallTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 3;
onChanged();;
return contractCallBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractCreateTransactionBody, com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractCreateTransactionBody getContractCreateInstance() {
if (contractCreateInstanceBuilder_ == null) {
if (dataCase_ == 4) {
return (com.hederahashgraph.api.proto.java.ContractCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 4) {
return contractCreateInstanceBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
public Builder setContractCreateInstance(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractCreateTransactionBody value) {
if (contractCreateInstanceBuilder_ == null) {
if (dataCase_ == 4 &&
data_ != com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.ContractCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 4) {
contractCreateInstanceBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.ContractCreateTransactionBody.Builder getContractCreateInstanceBuilder() {
return getContractCreateInstanceFieldBuilder().getBuilder();
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ContractCreateTransactionBodyOrBuilder getContractCreateInstanceOrBuilder() {
if ((dataCase_ == 4) && (contractCreateInstanceBuilder_ != null)) {
return contractCreateInstanceBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 4) {
return (com.hederahashgraph.api.proto.java.ContractCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a contract instance
*
*
* .proto.ContractCreateTransactionBody contractCreateInstance = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractCreateTransactionBody, com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.ContractCreateTransactionBodyOrBuilder>
getContractCreateInstanceFieldBuilder() {
if (contractCreateInstanceBuilder_ == null) {
if (!(dataCase_ == 4)) {
data_ = com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.getDefaultInstance();
}
contractCreateInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractCreateTransactionBody, com.hederahashgraph.api.proto.java.ContractCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.ContractCreateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.ContractCreateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 4;
onChanged();;
return contractCreateInstanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody, com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractUpdateTransactionBody getContractUpdateInstance() {
if (contractUpdateInstanceBuilder_ == null) {
if (dataCase_ == 5) {
return (com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 5) {
return contractUpdateInstanceBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
public Builder setContractUpdateInstance(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractUpdateTransactionBody value) {
if (contractUpdateInstanceBuilder_ == null) {
if (dataCase_ == 5 &&
data_ != com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 5) {
contractUpdateInstanceBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.Builder getContractUpdateInstanceBuilder() {
return getContractUpdateInstanceFieldBuilder().getBuilder();
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ContractUpdateTransactionBodyOrBuilder getContractUpdateInstanceOrBuilder() {
if ((dataCase_ == 5) && (contractUpdateInstanceBuilder_ != null)) {
return contractUpdateInstanceBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 5) {
return (com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a contract
*
*
* .proto.ContractUpdateTransactionBody contractUpdateInstance = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody, com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.ContractUpdateTransactionBodyOrBuilder>
getContractUpdateInstanceFieldBuilder() {
if (contractUpdateInstanceBuilder_ == null) {
if (!(dataCase_ == 5)) {
data_ = com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.getDefaultInstance();
}
contractUpdateInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody, com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.ContractUpdateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.ContractUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 5;
onChanged();;
return contractUpdateInstanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody, com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractDeleteTransactionBody getContractDeleteInstance() {
if (contractDeleteInstanceBuilder_ == null) {
if (dataCase_ == 6) {
return (com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 6) {
return contractDeleteInstanceBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
public Builder setContractDeleteInstance(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractDeleteTransactionBody value) {
if (contractDeleteInstanceBuilder_ == null) {
if (dataCase_ == 6 &&
data_ != com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 6) {
contractDeleteInstanceBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.Builder getContractDeleteInstanceBuilder() {
return getContractDeleteInstanceFieldBuilder().getBuilder();
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ContractDeleteTransactionBodyOrBuilder getContractDeleteInstanceOrBuilder() {
if ((dataCase_ == 6) && (contractDeleteInstanceBuilder_ != null)) {
return contractDeleteInstanceBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 6) {
return (com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Delete contract and transfer remaining balance into specified account
*
*
* .proto.ContractDeleteTransactionBody contractDeleteInstance = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody, com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.ContractDeleteTransactionBodyOrBuilder>
getContractDeleteInstanceFieldBuilder() {
if (contractDeleteInstanceBuilder_ == null) {
if (!(dataCase_ == 6)) {
data_ = com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.getDefaultInstance();
}
contractDeleteInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody, com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.ContractDeleteTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.ContractDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 6;
onChanged();;
return contractDeleteInstanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody, com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody getCryptoApproveAllowance() {
if (cryptoApproveAllowanceBuilder_ == null) {
if (dataCase_ == 37) {
return (com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 37) {
return cryptoApproveAllowanceBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody value) {
if (cryptoApproveAllowanceBuilder_ == null) {
if (dataCase_ == 37 &&
data_ != com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 37) {
cryptoApproveAllowanceBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBodyOrBuilder getCryptoApproveAllowanceOrBuilder() {
if ((dataCase_ == 37) && (cryptoApproveAllowanceBuilder_ != null)) {
return cryptoApproveAllowanceBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 37) {
return (com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody, com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody.Builder, com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBodyOrBuilder>
getCryptoApproveAllowanceFieldBuilder() {
if (cryptoApproveAllowanceBuilder_ == null) {
if (!(dataCase_ == 37)) {
data_ = com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody.getDefaultInstance();
}
cryptoApproveAllowanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody, com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody.Builder, com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.CryptoApproveAllowanceTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 37;
onChanged();;
return cryptoApproveAllowanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody, com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody getCryptoDeleteAllowance() {
if (cryptoDeleteAllowanceBuilder_ == null) {
if (dataCase_ == 38) {
return (com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 38) {
return cryptoDeleteAllowanceBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody value) {
if (cryptoDeleteAllowanceBuilder_ == null) {
if (dataCase_ == 38 &&
data_ != com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 38) {
cryptoDeleteAllowanceBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBodyOrBuilder getCryptoDeleteAllowanceOrBuilder() {
if ((dataCase_ == 38) && (cryptoDeleteAllowanceBuilder_ != null)) {
return cryptoDeleteAllowanceBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 38) {
return (com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody, com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody.Builder, com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBodyOrBuilder>
getCryptoDeleteAllowanceFieldBuilder() {
if (cryptoDeleteAllowanceBuilder_ == null) {
if (!(dataCase_ == 38)) {
data_ = com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody.getDefaultInstance();
}
cryptoDeleteAllowanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody, com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody.Builder, com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.CryptoDeleteAllowanceTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 38;
onChanged();;
return cryptoDeleteAllowanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody, com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoCreateTransactionBody getCryptoCreateAccount() {
if (cryptoCreateAccountBuilder_ == null) {
if (dataCase_ == 7) {
return (com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 7) {
return cryptoCreateAccountBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
public Builder setCryptoCreateAccount(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoCreateTransactionBody value) {
if (cryptoCreateAccountBuilder_ == null) {
if (dataCase_ == 7 &&
data_ != com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 7) {
cryptoCreateAccountBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.Builder getCryptoCreateAccountBuilder() {
return getCryptoCreateAccountFieldBuilder().getBuilder();
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.CryptoCreateTransactionBodyOrBuilder getCryptoCreateAccountOrBuilder() {
if ((dataCase_ == 7) && (cryptoCreateAccountBuilder_ != null)) {
return cryptoCreateAccountBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 7) {
return (com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Create a new cryptocurrency account
*
*
* .proto.CryptoCreateTransactionBody cryptoCreateAccount = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody, com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.CryptoCreateTransactionBodyOrBuilder>
getCryptoCreateAccountFieldBuilder() {
if (cryptoCreateAccountBuilder_ == null) {
if (!(dataCase_ == 7)) {
data_ = com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.getDefaultInstance();
}
cryptoCreateAccountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody, com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.CryptoCreateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.CryptoCreateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 7;
onChanged();;
return cryptoCreateAccountBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody, com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody getCryptoDelete() {
if (cryptoDeleteBuilder_ == null) {
if (dataCase_ == 8) {
return (com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 8) {
return cryptoDeleteBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
public Builder setCryptoDelete(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody value) {
if (cryptoDeleteBuilder_ == null) {
if (dataCase_ == 8 &&
data_ != com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 8) {
cryptoDeleteBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoDeleteTransactionBodyOrBuilder getCryptoDeleteOrBuilder() {
if ((dataCase_ == 8) && (cryptoDeleteBuilder_ != null)) {
return cryptoDeleteBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 8) {
return (com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
*
*
* .proto.CryptoDeleteTransactionBody cryptoDelete = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody, com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBodyOrBuilder>
getCryptoDeleteFieldBuilder() {
if (cryptoDeleteBuilder_ == null) {
if (!(dataCase_ == 8)) {
data_ = com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody.getDefaultInstance();
}
cryptoDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody, com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.CryptoDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 8;
onChanged();;
return cryptoDeleteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody, com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoTransferTransactionBody getCryptoTransfer() {
if (cryptoTransferBuilder_ == null) {
if (dataCase_ == 9) {
return (com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 9) {
return cryptoTransferBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
public Builder setCryptoTransfer(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoTransferTransactionBody value) {
if (cryptoTransferBuilder_ == null) {
if (dataCase_ == 9 &&
data_ != com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 9) {
cryptoTransferBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.Builder getCryptoTransferBuilder() {
return getCryptoTransferFieldBuilder().getBuilder();
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.CryptoTransferTransactionBodyOrBuilder getCryptoTransferOrBuilder() {
if ((dataCase_ == 9) && (cryptoTransferBuilder_ != null)) {
return cryptoTransferBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 9) {
return (com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transfer amount between accounts
*
*
* .proto.CryptoTransferTransactionBody cryptoTransfer = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody, com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.Builder, com.hederahashgraph.api.proto.java.CryptoTransferTransactionBodyOrBuilder>
getCryptoTransferFieldBuilder() {
if (cryptoTransferBuilder_ == null) {
if (!(dataCase_ == 9)) {
data_ = com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.getDefaultInstance();
}
cryptoTransferBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody, com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody.Builder, com.hederahashgraph.api.proto.java.CryptoTransferTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.CryptoTransferTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 9;
onChanged();;
return cryptoTransferBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody, com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody getCryptoUpdateAccount() {
if (cryptoUpdateAccountBuilder_ == null) {
if (dataCase_ == 10) {
return (com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 10) {
return cryptoUpdateAccountBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
public Builder setCryptoUpdateAccount(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody value) {
if (cryptoUpdateAccountBuilder_ == null) {
if (dataCase_ == 10 &&
data_ != com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 10) {
cryptoUpdateAccountBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoUpdateTransactionBodyOrBuilder getCryptoUpdateAccountOrBuilder() {
if ((dataCase_ == 10) && (cryptoUpdateAccountBuilder_ != null)) {
return cryptoUpdateAccountBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 10) {
return (com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Modify information such as the expiration date for an account
*
*
* .proto.CryptoUpdateTransactionBody cryptoUpdateAccount = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody, com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBodyOrBuilder>
getCryptoUpdateAccountFieldBuilder() {
if (cryptoUpdateAccountBuilder_ == null) {
if (!(dataCase_ == 10)) {
data_ = com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody.getDefaultInstance();
}
cryptoUpdateAccountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody, com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.CryptoUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 10;
onChanged();;
return cryptoUpdateAccountBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileAppendTransactionBody, com.hederahashgraph.api.proto.java.FileAppendTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileAppendTransactionBody getFileAppend() {
if (fileAppendBuilder_ == null) {
if (dataCase_ == 11) {
return (com.hederahashgraph.api.proto.java.FileAppendTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FileAppendTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 11) {
return fileAppendBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.FileAppendTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
public Builder setFileAppend(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileAppendTransactionBody value) {
if (fileAppendBuilder_ == null) {
if (dataCase_ == 11 &&
data_ != com.hederahashgraph.api.proto.java.FileAppendTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.FileAppendTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.FileAppendTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 11) {
fileAppendBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileAppendTransactionBodyOrBuilder getFileAppendOrBuilder() {
if ((dataCase_ == 11) && (fileAppendBuilder_ != null)) {
return fileAppendBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 11) {
return (com.hederahashgraph.api.proto.java.FileAppendTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FileAppendTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Add bytes to the end of the contents of a file
*
*
* .proto.FileAppendTransactionBody fileAppend = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileAppendTransactionBody, com.hederahashgraph.api.proto.java.FileAppendTransactionBody.Builder, com.hederahashgraph.api.proto.java.FileAppendTransactionBodyOrBuilder>
getFileAppendFieldBuilder() {
if (fileAppendBuilder_ == null) {
if (!(dataCase_ == 11)) {
data_ = com.hederahashgraph.api.proto.java.FileAppendTransactionBody.getDefaultInstance();
}
fileAppendBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileAppendTransactionBody, com.hederahashgraph.api.proto.java.FileAppendTransactionBody.Builder, com.hederahashgraph.api.proto.java.FileAppendTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.FileAppendTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 11;
onChanged();;
return fileAppendBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileCreateTransactionBody, com.hederahashgraph.api.proto.java.FileCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileCreateTransactionBody getFileCreate() {
if (fileCreateBuilder_ == null) {
if (dataCase_ == 12) {
return (com.hederahashgraph.api.proto.java.FileCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FileCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 12) {
return fileCreateBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.FileCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
public Builder setFileCreate(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileCreateTransactionBody value) {
if (fileCreateBuilder_ == null) {
if (dataCase_ == 12 &&
data_ != com.hederahashgraph.api.proto.java.FileCreateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.FileCreateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.FileCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 12) {
fileCreateBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.FileCreateTransactionBody.Builder getFileCreateBuilder() {
return getFileCreateFieldBuilder().getBuilder();
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.FileCreateTransactionBodyOrBuilder getFileCreateOrBuilder() {
if ((dataCase_ == 12) && (fileCreateBuilder_ != null)) {
return fileCreateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 12) {
return (com.hederahashgraph.api.proto.java.FileCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FileCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Create a new file
*
*
* .proto.FileCreateTransactionBody fileCreate = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileCreateTransactionBody, com.hederahashgraph.api.proto.java.FileCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.FileCreateTransactionBodyOrBuilder>
getFileCreateFieldBuilder() {
if (fileCreateBuilder_ == null) {
if (!(dataCase_ == 12)) {
data_ = com.hederahashgraph.api.proto.java.FileCreateTransactionBody.getDefaultInstance();
}
fileCreateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileCreateTransactionBody, com.hederahashgraph.api.proto.java.FileCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.FileCreateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.FileCreateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 12;
onChanged();;
return fileCreateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileDeleteTransactionBody, com.hederahashgraph.api.proto.java.FileDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileDeleteTransactionBody getFileDelete() {
if (fileDeleteBuilder_ == null) {
if (dataCase_ == 13) {
return (com.hederahashgraph.api.proto.java.FileDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FileDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 13) {
return fileDeleteBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.FileDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
public Builder setFileDelete(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileDeleteTransactionBody value) {
if (fileDeleteBuilder_ == null) {
if (dataCase_ == 13 &&
data_ != com.hederahashgraph.api.proto.java.FileDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.FileDeleteTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.FileDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 13) {
fileDeleteBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileDeleteTransactionBodyOrBuilder getFileDeleteOrBuilder() {
if ((dataCase_ == 13) && (fileDeleteBuilder_ != null)) {
return fileDeleteBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 13) {
return (com.hederahashgraph.api.proto.java.FileDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FileDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Delete a file (remove contents and mark as deleted until it expires)
*
*
* .proto.FileDeleteTransactionBody fileDelete = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileDeleteTransactionBody, com.hederahashgraph.api.proto.java.FileDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.FileDeleteTransactionBodyOrBuilder>
getFileDeleteFieldBuilder() {
if (fileDeleteBuilder_ == null) {
if (!(dataCase_ == 13)) {
data_ = com.hederahashgraph.api.proto.java.FileDeleteTransactionBody.getDefaultInstance();
}
fileDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileDeleteTransactionBody, com.hederahashgraph.api.proto.java.FileDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.FileDeleteTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.FileDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 13;
onChanged();;
return fileDeleteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileUpdateTransactionBody, com.hederahashgraph.api.proto.java.FileUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileUpdateTransactionBody getFileUpdate() {
if (fileUpdateBuilder_ == null) {
if (dataCase_ == 14) {
return (com.hederahashgraph.api.proto.java.FileUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FileUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 14) {
return fileUpdateBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.FileUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
public Builder setFileUpdate(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileUpdateTransactionBody value) {
if (fileUpdateBuilder_ == null) {
if (dataCase_ == 14 &&
data_ != com.hederahashgraph.api.proto.java.FileUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.FileUpdateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.FileUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 14) {
fileUpdateBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileUpdateTransactionBodyOrBuilder getFileUpdateOrBuilder() {
if ((dataCase_ == 14) && (fileUpdateBuilder_ != null)) {
return fileUpdateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 14) {
return (com.hederahashgraph.api.proto.java.FileUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FileUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Modify information such as the expiration date for a file
*
*
* .proto.FileUpdateTransactionBody fileUpdate = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileUpdateTransactionBody, com.hederahashgraph.api.proto.java.FileUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.FileUpdateTransactionBodyOrBuilder>
getFileUpdateFieldBuilder() {
if (fileUpdateBuilder_ == null) {
if (!(dataCase_ == 14)) {
data_ = com.hederahashgraph.api.proto.java.FileUpdateTransactionBody.getDefaultInstance();
}
fileUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileUpdateTransactionBody, com.hederahashgraph.api.proto.java.FileUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.FileUpdateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.FileUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 14;
onChanged();;
return fileUpdateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody, com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.SystemDeleteTransactionBody getSystemDelete() {
if (systemDeleteBuilder_ == null) {
if (dataCase_ == 15) {
return (com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 15) {
return systemDeleteBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
public Builder setSystemDelete(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.SystemDeleteTransactionBody value) {
if (systemDeleteBuilder_ == null) {
if (dataCase_ == 15 &&
data_ != com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 15) {
systemDeleteBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.Builder getSystemDeleteBuilder() {
return getSystemDeleteFieldBuilder().getBuilder();
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.SystemDeleteTransactionBodyOrBuilder getSystemDeleteOrBuilder() {
if ((dataCase_ == 15) && (systemDeleteBuilder_ != null)) {
return systemDeleteBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 15) {
return (com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Hedera administrative deletion of a file or smart contract
*
*
* .proto.SystemDeleteTransactionBody systemDelete = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody, com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.SystemDeleteTransactionBodyOrBuilder>
getSystemDeleteFieldBuilder() {
if (systemDeleteBuilder_ == null) {
if (!(dataCase_ == 15)) {
data_ = com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.getDefaultInstance();
}
systemDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody, com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.SystemDeleteTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.SystemDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 15;
onChanged();;
return systemDeleteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody, com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody getSystemUndelete() {
if (systemUndeleteBuilder_ == null) {
if (dataCase_ == 16) {
return (com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 16) {
return systemUndeleteBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
public Builder setSystemUndelete(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody value) {
if (systemUndeleteBuilder_ == null) {
if (dataCase_ == 16 &&
data_ != com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 16) {
systemUndeleteBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.Builder getSystemUndeleteBuilder() {
return getSystemUndeleteFieldBuilder().getBuilder();
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBodyOrBuilder getSystemUndeleteOrBuilder() {
if ((dataCase_ == 16) && (systemUndeleteBuilder_ != null)) {
return systemUndeleteBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 16) {
return (com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* To undelete an entity deleted by SystemDelete
*
*
* .proto.SystemUndeleteTransactionBody systemUndelete = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody, com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBodyOrBuilder>
getSystemUndeleteFieldBuilder() {
if (systemUndeleteBuilder_ == null) {
if (!(dataCase_ == 16)) {
data_ = com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.getDefaultInstance();
}
systemUndeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody, com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.SystemUndeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 16;
onChanged();;
return systemUndeleteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FreezeTransactionBody, com.hederahashgraph.api.proto.java.FreezeTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FreezeTransactionBody getFreeze() {
if (freezeBuilder_ == null) {
if (dataCase_ == 17) {
return (com.hederahashgraph.api.proto.java.FreezeTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FreezeTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 17) {
return freezeBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.FreezeTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
public Builder setFreeze(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FreezeTransactionBody value) {
if (freezeBuilder_ == null) {
if (dataCase_ == 17 &&
data_ != com.hederahashgraph.api.proto.java.FreezeTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.FreezeTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.FreezeTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 17) {
freezeBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.FreezeTransactionBody.Builder getFreezeBuilder() {
return getFreezeFieldBuilder().getBuilder();
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.FreezeTransactionBodyOrBuilder getFreezeOrBuilder() {
if ((dataCase_ == 17) && (freezeBuilder_ != null)) {
return freezeBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 17) {
return (com.hederahashgraph.api.proto.java.FreezeTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.FreezeTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Freeze the nodes
*
*
* .proto.FreezeTransactionBody freeze = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FreezeTransactionBody, com.hederahashgraph.api.proto.java.FreezeTransactionBody.Builder, com.hederahashgraph.api.proto.java.FreezeTransactionBodyOrBuilder>
getFreezeFieldBuilder() {
if (freezeBuilder_ == null) {
if (!(dataCase_ == 17)) {
data_ = com.hederahashgraph.api.proto.java.FreezeTransactionBody.getDefaultInstance();
}
freezeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FreezeTransactionBody, com.hederahashgraph.api.proto.java.FreezeTransactionBody.Builder, com.hederahashgraph.api.proto.java.FreezeTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.FreezeTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 17;
onChanged();;
return freezeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody, com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody getConsensusCreateTopic() {
if (consensusCreateTopicBuilder_ == null) {
if (dataCase_ == 18) {
return (com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 18) {
return consensusCreateTopicBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
public Builder setConsensusCreateTopic(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody value) {
if (consensusCreateTopicBuilder_ == null) {
if (dataCase_ == 18 &&
data_ != com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 18) {
consensusCreateTopicBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.Builder getConsensusCreateTopicBuilder() {
return getConsensusCreateTopicFieldBuilder().getBuilder();
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBodyOrBuilder getConsensusCreateTopicOrBuilder() {
if ((dataCase_ == 18) && (consensusCreateTopicBuilder_ != null)) {
return consensusCreateTopicBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 18) {
return (com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a topic
*
*
* .proto.ConsensusCreateTopicTransactionBody consensusCreateTopic = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody, com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.Builder, com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBodyOrBuilder>
getConsensusCreateTopicFieldBuilder() {
if (consensusCreateTopicBuilder_ == null) {
if (!(dataCase_ == 18)) {
data_ = com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.getDefaultInstance();
}
consensusCreateTopicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody, com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody.Builder, com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 18;
onChanged();;
return consensusCreateTopicBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody, com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody getConsensusUpdateTopic() {
if (consensusUpdateTopicBuilder_ == null) {
if (dataCase_ == 19) {
return (com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 19) {
return consensusUpdateTopicBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
public Builder setConsensusUpdateTopic(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody value) {
if (consensusUpdateTopicBuilder_ == null) {
if (dataCase_ == 19 &&
data_ != com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 19) {
consensusUpdateTopicBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.Builder getConsensusUpdateTopicBuilder() {
return getConsensusUpdateTopicFieldBuilder().getBuilder();
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBodyOrBuilder getConsensusUpdateTopicOrBuilder() {
if ((dataCase_ == 19) && (consensusUpdateTopicBuilder_ != null)) {
return consensusUpdateTopicBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 19) {
return (com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a topic
*
*
* .proto.ConsensusUpdateTopicTransactionBody consensusUpdateTopic = 19;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody, com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.Builder, com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBodyOrBuilder>
getConsensusUpdateTopicFieldBuilder() {
if (consensusUpdateTopicBuilder_ == null) {
if (!(dataCase_ == 19)) {
data_ = com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.getDefaultInstance();
}
consensusUpdateTopicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody, com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody.Builder, com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.ConsensusUpdateTopicTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 19;
onChanged();;
return consensusUpdateTopicBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody, com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody getConsensusDeleteTopic() {
if (consensusDeleteTopicBuilder_ == null) {
if (dataCase_ == 20) {
return (com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 20) {
return consensusDeleteTopicBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
public Builder setConsensusDeleteTopic(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody value) {
if (consensusDeleteTopicBuilder_ == null) {
if (dataCase_ == 20 &&
data_ != com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 20) {
consensusDeleteTopicBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.Builder getConsensusDeleteTopicBuilder() {
return getConsensusDeleteTopicFieldBuilder().getBuilder();
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBodyOrBuilder getConsensusDeleteTopicOrBuilder() {
if ((dataCase_ == 20) && (consensusDeleteTopicBuilder_ != null)) {
return consensusDeleteTopicBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 20) {
return (com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Deletes a topic
*
*
* .proto.ConsensusDeleteTopicTransactionBody consensusDeleteTopic = 20;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody, com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.Builder, com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBodyOrBuilder>
getConsensusDeleteTopicFieldBuilder() {
if (consensusDeleteTopicBuilder_ == null) {
if (!(dataCase_ == 20)) {
data_ = com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.getDefaultInstance();
}
consensusDeleteTopicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody, com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody.Builder, com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.ConsensusDeleteTopicTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 20;
onChanged();;
return consensusDeleteTopicBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody, com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody getConsensusSubmitMessage() {
if (consensusSubmitMessageBuilder_ == null) {
if (dataCase_ == 21) {
return (com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 21) {
return consensusSubmitMessageBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
public Builder setConsensusSubmitMessage(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody value) {
if (consensusSubmitMessageBuilder_ == null) {
if (dataCase_ == 21 &&
data_ != com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 21) {
consensusSubmitMessageBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.Builder getConsensusSubmitMessageBuilder() {
return getConsensusSubmitMessageFieldBuilder().getBuilder();
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBodyOrBuilder getConsensusSubmitMessageOrBuilder() {
if ((dataCase_ == 21) && (consensusSubmitMessageBuilder_ != null)) {
return consensusSubmitMessageBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 21) {
return (com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Submits message to a topic
*
*
* .proto.ConsensusSubmitMessageTransactionBody consensusSubmitMessage = 21;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody, com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.Builder, com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBodyOrBuilder>
getConsensusSubmitMessageFieldBuilder() {
if (consensusSubmitMessageBuilder_ == null) {
if (!(dataCase_ == 21)) {
data_ = com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.getDefaultInstance();
}
consensusSubmitMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody, com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody.Builder, com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.ConsensusSubmitMessageTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 21;
onChanged();;
return consensusSubmitMessageBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenCreateTransactionBody, com.hederahashgraph.api.proto.java.TokenCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenCreateTransactionBody getTokenCreation() {
if (tokenCreationBuilder_ == null) {
if (dataCase_ == 22) {
return (com.hederahashgraph.api.proto.java.TokenCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 22) {
return tokenCreationBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
public Builder setTokenCreation(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenCreateTransactionBody value) {
if (tokenCreationBuilder_ == null) {
if (dataCase_ == 22 &&
data_ != com.hederahashgraph.api.proto.java.TokenCreateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenCreateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 22) {
tokenCreationBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenCreateTransactionBody.Builder getTokenCreationBuilder() {
return getTokenCreationFieldBuilder().getBuilder();
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenCreateTransactionBodyOrBuilder getTokenCreationOrBuilder() {
if ((dataCase_ == 22) && (tokenCreationBuilder_ != null)) {
return tokenCreationBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 22) {
return (com.hederahashgraph.api.proto.java.TokenCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenCreateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Creates a token instance
*
*
* .proto.TokenCreateTransactionBody tokenCreation = 22;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenCreateTransactionBody, com.hederahashgraph.api.proto.java.TokenCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenCreateTransactionBodyOrBuilder>
getTokenCreationFieldBuilder() {
if (tokenCreationBuilder_ == null) {
if (!(dataCase_ == 22)) {
data_ = com.hederahashgraph.api.proto.java.TokenCreateTransactionBody.getDefaultInstance();
}
tokenCreationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenCreateTransactionBody, com.hederahashgraph.api.proto.java.TokenCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenCreateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenCreateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 22;
onChanged();;
return tokenCreationBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody, com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody getTokenFreeze() {
if (tokenFreezeBuilder_ == null) {
if (dataCase_ == 23) {
return (com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 23) {
return tokenFreezeBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
public Builder setTokenFreeze(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody value) {
if (tokenFreezeBuilder_ == null) {
if (dataCase_ == 23 &&
data_ != com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 23) {
tokenFreezeBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBodyOrBuilder getTokenFreezeOrBuilder() {
if ((dataCase_ == 23) && (tokenFreezeBuilder_ != null)) {
return tokenFreezeBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 23) {
return (com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Freezes account not to be able to transact with a token
*
*
* .proto.TokenFreezeAccountTransactionBody tokenFreeze = 23;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody, com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBodyOrBuilder>
getTokenFreezeFieldBuilder() {
if (tokenFreezeBuilder_ == null) {
if (!(dataCase_ == 23)) {
data_ = com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody.getDefaultInstance();
}
tokenFreezeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody, com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenFreezeAccountTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 23;
onChanged();;
return tokenFreezeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody, com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody getTokenUnfreeze() {
if (tokenUnfreezeBuilder_ == null) {
if (dataCase_ == 24) {
return (com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 24) {
return tokenUnfreezeBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
public Builder setTokenUnfreeze(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody value) {
if (tokenUnfreezeBuilder_ == null) {
if (dataCase_ == 24 &&
data_ != com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 24) {
tokenUnfreezeBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.Builder getTokenUnfreezeBuilder() {
return getTokenUnfreezeFieldBuilder().getBuilder();
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBodyOrBuilder getTokenUnfreezeOrBuilder() {
if ((dataCase_ == 24) && (tokenUnfreezeBuilder_ != null)) {
return tokenUnfreezeBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 24) {
return (com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Unfreezes account for a token
*
*
* .proto.TokenUnfreezeAccountTransactionBody tokenUnfreeze = 24;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody, com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBodyOrBuilder>
getTokenUnfreezeFieldBuilder() {
if (tokenUnfreezeBuilder_ == null) {
if (!(dataCase_ == 24)) {
data_ = com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.getDefaultInstance();
}
tokenUnfreezeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody, com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenUnfreezeAccountTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 24;
onChanged();;
return tokenUnfreezeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody, com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody getTokenGrantKyc() {
if (tokenGrantKycBuilder_ == null) {
if (dataCase_ == 25) {
return (com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 25) {
return tokenGrantKycBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
public Builder setTokenGrantKyc(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody value) {
if (tokenGrantKycBuilder_ == null) {
if (dataCase_ == 25 &&
data_ != com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 25) {
tokenGrantKycBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.Builder getTokenGrantKycBuilder() {
return getTokenGrantKycFieldBuilder().getBuilder();
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBodyOrBuilder getTokenGrantKycOrBuilder() {
if ((dataCase_ == 25) && (tokenGrantKycBuilder_ != null)) {
return tokenGrantKycBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 25) {
return (com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Grants KYC to an account for a token
*
*
* .proto.TokenGrantKycTransactionBody tokenGrantKyc = 25;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody, com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBodyOrBuilder>
getTokenGrantKycFieldBuilder() {
if (tokenGrantKycBuilder_ == null) {
if (!(dataCase_ == 25)) {
data_ = com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.getDefaultInstance();
}
tokenGrantKycBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody, com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenGrantKycTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 25;
onChanged();;
return tokenGrantKycBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody, com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody getTokenRevokeKyc() {
if (tokenRevokeKycBuilder_ == null) {
if (dataCase_ == 26) {
return (com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 26) {
return tokenRevokeKycBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
public Builder setTokenRevokeKyc(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody value) {
if (tokenRevokeKycBuilder_ == null) {
if (dataCase_ == 26 &&
data_ != com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 26) {
tokenRevokeKycBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.Builder getTokenRevokeKycBuilder() {
return getTokenRevokeKycFieldBuilder().getBuilder();
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBodyOrBuilder getTokenRevokeKycOrBuilder() {
if ((dataCase_ == 26) && (tokenRevokeKycBuilder_ != null)) {
return tokenRevokeKycBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 26) {
return (com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Revokes KYC of an account for a token
*
*
* .proto.TokenRevokeKycTransactionBody tokenRevokeKyc = 26;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody, com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBodyOrBuilder>
getTokenRevokeKycFieldBuilder() {
if (tokenRevokeKycBuilder_ == null) {
if (!(dataCase_ == 26)) {
data_ = com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.getDefaultInstance();
}
tokenRevokeKycBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody, com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenRevokeKycTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 26;
onChanged();;
return tokenRevokeKycBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody, com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenDeleteTransactionBody getTokenDeletion() {
if (tokenDeletionBuilder_ == null) {
if (dataCase_ == 27) {
return (com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 27) {
return tokenDeletionBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
public Builder setTokenDeletion(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenDeleteTransactionBody value) {
if (tokenDeletionBuilder_ == null) {
if (dataCase_ == 27 &&
data_ != com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 27) {
tokenDeletionBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.Builder getTokenDeletionBuilder() {
return getTokenDeletionFieldBuilder().getBuilder();
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenDeleteTransactionBodyOrBuilder getTokenDeletionOrBuilder() {
if ((dataCase_ == 27) && (tokenDeletionBuilder_ != null)) {
return tokenDeletionBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 27) {
return (com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Deletes a token instance
*
*
* .proto.TokenDeleteTransactionBody tokenDeletion = 27;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody, com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenDeleteTransactionBodyOrBuilder>
getTokenDeletionFieldBuilder() {
if (tokenDeletionBuilder_ == null) {
if (!(dataCase_ == 27)) {
data_ = com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.getDefaultInstance();
}
tokenDeletionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody, com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenDeleteTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 27;
onChanged();;
return tokenDeletionBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody, com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUpdateTransactionBody getTokenUpdate() {
if (tokenUpdateBuilder_ == null) {
if (dataCase_ == 28) {
return (com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 28) {
return tokenUpdateBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
public Builder setTokenUpdate(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUpdateTransactionBody value) {
if (tokenUpdateBuilder_ == null) {
if (dataCase_ == 28 &&
data_ != com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 28) {
tokenUpdateBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.Builder getTokenUpdateBuilder() {
return getTokenUpdateFieldBuilder().getBuilder();
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenUpdateTransactionBodyOrBuilder getTokenUpdateOrBuilder() {
if ((dataCase_ == 28) && (tokenUpdateBuilder_ != null)) {
return tokenUpdateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 28) {
return (com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a token instance
*
*
* .proto.TokenUpdateTransactionBody tokenUpdate = 28;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody, com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenUpdateTransactionBodyOrBuilder>
getTokenUpdateFieldBuilder() {
if (tokenUpdateBuilder_ == null) {
if (!(dataCase_ == 28)) {
data_ = com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.getDefaultInstance();
}
tokenUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody, com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenUpdateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 28;
onChanged();;
return tokenUpdateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenMintTransactionBody, com.hederahashgraph.api.proto.java.TokenMintTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenMintTransactionBody getTokenMint() {
if (tokenMintBuilder_ == null) {
if (dataCase_ == 29) {
return (com.hederahashgraph.api.proto.java.TokenMintTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenMintTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 29) {
return tokenMintBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenMintTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
public Builder setTokenMint(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenMintTransactionBody value) {
if (tokenMintBuilder_ == null) {
if (dataCase_ == 29 &&
data_ != com.hederahashgraph.api.proto.java.TokenMintTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenMintTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenMintTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 29) {
tokenMintBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenMintTransactionBody.Builder getTokenMintBuilder() {
return getTokenMintFieldBuilder().getBuilder();
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenMintTransactionBodyOrBuilder getTokenMintOrBuilder() {
if ((dataCase_ == 29) && (tokenMintBuilder_ != null)) {
return tokenMintBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 29) {
return (com.hederahashgraph.api.proto.java.TokenMintTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenMintTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Mints new tokens to a token's treasury account
*
*
* .proto.TokenMintTransactionBody tokenMint = 29;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenMintTransactionBody, com.hederahashgraph.api.proto.java.TokenMintTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenMintTransactionBodyOrBuilder>
getTokenMintFieldBuilder() {
if (tokenMintBuilder_ == null) {
if (!(dataCase_ == 29)) {
data_ = com.hederahashgraph.api.proto.java.TokenMintTransactionBody.getDefaultInstance();
}
tokenMintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenMintTransactionBody, com.hederahashgraph.api.proto.java.TokenMintTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenMintTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenMintTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 29;
onChanged();;
return tokenMintBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenBurnTransactionBody, com.hederahashgraph.api.proto.java.TokenBurnTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenBurnTransactionBody getTokenBurn() {
if (tokenBurnBuilder_ == null) {
if (dataCase_ == 30) {
return (com.hederahashgraph.api.proto.java.TokenBurnTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenBurnTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 30) {
return tokenBurnBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenBurnTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
public Builder setTokenBurn(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenBurnTransactionBody value) {
if (tokenBurnBuilder_ == null) {
if (dataCase_ == 30 &&
data_ != com.hederahashgraph.api.proto.java.TokenBurnTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenBurnTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenBurnTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 30) {
tokenBurnBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenBurnTransactionBody.Builder getTokenBurnBuilder() {
return getTokenBurnFieldBuilder().getBuilder();
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenBurnTransactionBodyOrBuilder getTokenBurnOrBuilder() {
if ((dataCase_ == 30) && (tokenBurnBuilder_ != null)) {
return tokenBurnBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 30) {
return (com.hederahashgraph.api.proto.java.TokenBurnTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenBurnTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Burns tokens from a token's treasury account
*
*
* .proto.TokenBurnTransactionBody tokenBurn = 30;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenBurnTransactionBody, com.hederahashgraph.api.proto.java.TokenBurnTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenBurnTransactionBodyOrBuilder>
getTokenBurnFieldBuilder() {
if (tokenBurnBuilder_ == null) {
if (!(dataCase_ == 30)) {
data_ = com.hederahashgraph.api.proto.java.TokenBurnTransactionBody.getDefaultInstance();
}
tokenBurnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenBurnTransactionBody, com.hederahashgraph.api.proto.java.TokenBurnTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenBurnTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenBurnTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 30;
onChanged();;
return tokenBurnBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody, com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody getTokenWipe() {
if (tokenWipeBuilder_ == null) {
if (dataCase_ == 31) {
return (com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 31) {
return tokenWipeBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
public Builder setTokenWipe(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody value) {
if (tokenWipeBuilder_ == null) {
if (dataCase_ == 31 &&
data_ != com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 31) {
tokenWipeBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.Builder getTokenWipeBuilder() {
return getTokenWipeFieldBuilder().getBuilder();
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBodyOrBuilder getTokenWipeOrBuilder() {
if ((dataCase_ == 31) && (tokenWipeBuilder_ != null)) {
return tokenWipeBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 31) {
return (com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Wipes amount of tokens from an account
*
*
* .proto.TokenWipeAccountTransactionBody tokenWipe = 31;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody, com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBodyOrBuilder>
getTokenWipeFieldBuilder() {
if (tokenWipeBuilder_ == null) {
if (!(dataCase_ == 31)) {
data_ = com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.getDefaultInstance();
}
tokenWipeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody, com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenWipeAccountTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 31;
onChanged();;
return tokenWipeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody, com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenAssociateTransactionBody getTokenAssociate() {
if (tokenAssociateBuilder_ == null) {
if (dataCase_ == 32) {
return (com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 32) {
return tokenAssociateBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
public Builder setTokenAssociate(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenAssociateTransactionBody value) {
if (tokenAssociateBuilder_ == null) {
if (dataCase_ == 32 &&
data_ != com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 32) {
tokenAssociateBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.Builder getTokenAssociateBuilder() {
return getTokenAssociateFieldBuilder().getBuilder();
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenAssociateTransactionBodyOrBuilder getTokenAssociateOrBuilder() {
if ((dataCase_ == 32) && (tokenAssociateBuilder_ != null)) {
return tokenAssociateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 32) {
return (com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Associate tokens to an account
*
*
* .proto.TokenAssociateTransactionBody tokenAssociate = 32;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody, com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenAssociateTransactionBodyOrBuilder>
getTokenAssociateFieldBuilder() {
if (tokenAssociateBuilder_ == null) {
if (!(dataCase_ == 32)) {
data_ = com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.getDefaultInstance();
}
tokenAssociateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody, com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenAssociateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenAssociateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 32;
onChanged();;
return tokenAssociateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody, com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenDissociateTransactionBody getTokenDissociate() {
if (tokenDissociateBuilder_ == null) {
if (dataCase_ == 33) {
return (com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 33) {
return tokenDissociateBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
public Builder setTokenDissociate(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenDissociateTransactionBody value) {
if (tokenDissociateBuilder_ == null) {
if (dataCase_ == 33 &&
data_ != com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 33) {
tokenDissociateBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.Builder getTokenDissociateBuilder() {
return getTokenDissociateFieldBuilder().getBuilder();
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenDissociateTransactionBodyOrBuilder getTokenDissociateOrBuilder() {
if ((dataCase_ == 33) && (tokenDissociateBuilder_ != null)) {
return tokenDissociateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 33) {
return (com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Dissociate tokens from an account
*
*
* .proto.TokenDissociateTransactionBody tokenDissociate = 33;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody, com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenDissociateTransactionBodyOrBuilder>
getTokenDissociateFieldBuilder() {
if (tokenDissociateBuilder_ == null) {
if (!(dataCase_ == 33)) {
data_ = com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.getDefaultInstance();
}
tokenDissociateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody, com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenDissociateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenDissociateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 33;
onChanged();;
return tokenDissociateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody, com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody getTokenFeeScheduleUpdate() {
if (tokenFeeScheduleUpdateBuilder_ == null) {
if (dataCase_ == 39) {
return (com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 39) {
return tokenFeeScheduleUpdateBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
public Builder setTokenFeeScheduleUpdate(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody value) {
if (tokenFeeScheduleUpdateBuilder_ == null) {
if (dataCase_ == 39 &&
data_ != com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 39) {
tokenFeeScheduleUpdateBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBodyOrBuilder getTokenFeeScheduleUpdateOrBuilder() {
if ((dataCase_ == 39) && (tokenFeeScheduleUpdateBuilder_ != null)) {
return tokenFeeScheduleUpdateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 39) {
return (com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Updates a token's custom fee schedule
*
*
* .proto.TokenFeeScheduleUpdateTransactionBody token_fee_schedule_update = 39;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody, com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBodyOrBuilder>
getTokenFeeScheduleUpdateFieldBuilder() {
if (tokenFeeScheduleUpdateBuilder_ == null) {
if (!(dataCase_ == 39)) {
data_ = com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody.getDefaultInstance();
}
tokenFeeScheduleUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody, com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenFeeScheduleUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 39;
onChanged();;
return tokenFeeScheduleUpdateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenPauseTransactionBody, com.hederahashgraph.api.proto.java.TokenPauseTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenPauseTransactionBody getTokenPause() {
if (tokenPauseBuilder_ == null) {
if (dataCase_ == 35) {
return (com.hederahashgraph.api.proto.java.TokenPauseTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenPauseTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 35) {
return tokenPauseBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenPauseTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
public Builder setTokenPause(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenPauseTransactionBody value) {
if (tokenPauseBuilder_ == null) {
if (dataCase_ == 35 &&
data_ != com.hederahashgraph.api.proto.java.TokenPauseTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenPauseTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenPauseTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 35) {
tokenPauseBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenPauseTransactionBody.Builder getTokenPauseBuilder() {
return getTokenPauseFieldBuilder().getBuilder();
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenPauseTransactionBodyOrBuilder getTokenPauseOrBuilder() {
if ((dataCase_ == 35) && (tokenPauseBuilder_ != null)) {
return tokenPauseBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 35) {
return (com.hederahashgraph.api.proto.java.TokenPauseTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenPauseTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Pauses the Token
*
*
* .proto.TokenPauseTransactionBody token_pause = 35;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenPauseTransactionBody, com.hederahashgraph.api.proto.java.TokenPauseTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenPauseTransactionBodyOrBuilder>
getTokenPauseFieldBuilder() {
if (tokenPauseBuilder_ == null) {
if (!(dataCase_ == 35)) {
data_ = com.hederahashgraph.api.proto.java.TokenPauseTransactionBody.getDefaultInstance();
}
tokenPauseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenPauseTransactionBody, com.hederahashgraph.api.proto.java.TokenPauseTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenPauseTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenPauseTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 35;
onChanged();;
return tokenPauseBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody, com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody getTokenUnpause() {
if (tokenUnpauseBuilder_ == null) {
if (dataCase_ == 36) {
return (com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 36) {
return tokenUnpauseBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
public Builder setTokenUnpause(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody value) {
if (tokenUnpauseBuilder_ == null) {
if (dataCase_ == 36 &&
data_ != com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 36) {
tokenUnpauseBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.Builder getTokenUnpauseBuilder() {
return getTokenUnpauseFieldBuilder().getBuilder();
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBodyOrBuilder getTokenUnpauseOrBuilder() {
if ((dataCase_ == 36) && (tokenUnpauseBuilder_ != null)) {
return tokenUnpauseBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 36) {
return (com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Unpauses the Token
*
*
* .proto.TokenUnpauseTransactionBody token_unpause = 36;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody, com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBodyOrBuilder>
getTokenUnpauseFieldBuilder() {
if (tokenUnpauseBuilder_ == null) {
if (!(dataCase_ == 36)) {
data_ = com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.getDefaultInstance();
}
tokenUnpauseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody, com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenUnpauseTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 36;
onChanged();;
return tokenUnpauseBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody, com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody getScheduleDelete() {
if (scheduleDeleteBuilder_ == null) {
if (dataCase_ == 34) {
return (com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 34) {
return scheduleDeleteBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody value) {
if (scheduleDeleteBuilder_ == null) {
if (dataCase_ == 34 &&
data_ != com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 34) {
scheduleDeleteBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBodyOrBuilder getScheduleDeleteOrBuilder() {
if ((dataCase_ == 34) && (scheduleDeleteBuilder_ != null)) {
return scheduleDeleteBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 34) {
return (com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody, com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBodyOrBuilder>
getScheduleDeleteFieldBuilder() {
if (scheduleDeleteBuilder_ == null) {
if (!(dataCase_ == 34)) {
data_ = com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody.getDefaultInstance();
}
scheduleDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody, com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.ScheduleDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 34;
onChanged();;
return scheduleDeleteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.UtilPrngTransactionBody, com.hederahashgraph.api.proto.java.UtilPrngTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.UtilPrngTransactionBody getUtilPrng() {
if (utilPrngBuilder_ == null) {
if (dataCase_ == 40) {
return (com.hederahashgraph.api.proto.java.UtilPrngTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.UtilPrngTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 40) {
return utilPrngBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.UtilPrngTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
public Builder setUtilPrng(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.UtilPrngTransactionBody value) {
if (utilPrngBuilder_ == null) {
if (dataCase_ == 40 &&
data_ != com.hederahashgraph.api.proto.java.UtilPrngTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.UtilPrngTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.UtilPrngTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 40) {
utilPrngBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.UtilPrngTransactionBody.Builder getUtilPrngBuilder() {
return getUtilPrngFieldBuilder().getBuilder();
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.UtilPrngTransactionBodyOrBuilder getUtilPrngOrBuilder() {
if ((dataCase_ == 40) && (utilPrngBuilder_ != null)) {
return utilPrngBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 40) {
return (com.hederahashgraph.api.proto.java.UtilPrngTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.UtilPrngTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Generates a pseudorandom number.
*
*
* .proto.UtilPrngTransactionBody util_prng = 40;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.UtilPrngTransactionBody, com.hederahashgraph.api.proto.java.UtilPrngTransactionBody.Builder, com.hederahashgraph.api.proto.java.UtilPrngTransactionBodyOrBuilder>
getUtilPrngFieldBuilder() {
if (utilPrngBuilder_ == null) {
if (!(dataCase_ == 40)) {
data_ = com.hederahashgraph.api.proto.java.UtilPrngTransactionBody.getDefaultInstance();
}
utilPrngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.UtilPrngTransactionBody, com.hederahashgraph.api.proto.java.UtilPrngTransactionBody.Builder, com.hederahashgraph.api.proto.java.UtilPrngTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.UtilPrngTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 40;
onChanged();;
return utilPrngBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody, com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody getTokenUpdateNfts() {
if (tokenUpdateNftsBuilder_ == null) {
if (dataCase_ == 41) {
return (com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 41) {
return tokenUpdateNftsBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody value) {
if (tokenUpdateNftsBuilder_ == null) {
if (dataCase_ == 41 &&
data_ != com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 41) {
tokenUpdateNftsBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBodyOrBuilder getTokenUpdateNftsOrBuilder() {
if ((dataCase_ == 41) && (tokenUpdateNftsBuilder_ != null)) {
return tokenUpdateNftsBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 41) {
return (com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody, com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBodyOrBuilder>
getTokenUpdateNftsFieldBuilder() {
if (tokenUpdateNftsBuilder_ == null) {
if (!(dataCase_ == 41)) {
data_ = com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody.getDefaultInstance();
}
tokenUpdateNftsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody, com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenUpdateNftsTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 41;
onChanged();;
return tokenUpdateNftsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.NodeCreateTransactionBody, com.hederahashgraph.api.proto.java.NodeCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeCreateTransactionBody getNodeCreate() {
if (nodeCreateBuilder_ == null) {
if (dataCase_ == 42) {
return (com.hederahashgraph.api.proto.java.NodeCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.NodeCreateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 42) {
return nodeCreateBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeCreateTransactionBody value) {
if (nodeCreateBuilder_ == null) {
if (dataCase_ == 42 &&
data_ != com.hederahashgraph.api.proto.java.NodeCreateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.NodeCreateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.NodeCreateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 42) {
nodeCreateBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeCreateTransactionBodyOrBuilder getNodeCreateOrBuilder() {
if ((dataCase_ == 42) && (nodeCreateBuilder_ != null)) {
return nodeCreateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 42) {
return (com.hederahashgraph.api.proto.java.NodeCreateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeCreateTransactionBody, com.hederahashgraph.api.proto.java.NodeCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.NodeCreateTransactionBodyOrBuilder>
getNodeCreateFieldBuilder() {
if (nodeCreateBuilder_ == null) {
if (!(dataCase_ == 42)) {
data_ = com.hederahashgraph.api.proto.java.NodeCreateTransactionBody.getDefaultInstance();
}
nodeCreateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.NodeCreateTransactionBody, com.hederahashgraph.api.proto.java.NodeCreateTransactionBody.Builder, com.hederahashgraph.api.proto.java.NodeCreateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.NodeCreateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 42;
onChanged();;
return nodeCreateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody, com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeUpdateTransactionBody getNodeUpdate() {
if (nodeUpdateBuilder_ == null) {
if (dataCase_ == 43) {
return (com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 43) {
return nodeUpdateBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeUpdateTransactionBody value) {
if (nodeUpdateBuilder_ == null) {
if (dataCase_ == 43 &&
data_ != com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 43) {
nodeUpdateBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeUpdateTransactionBodyOrBuilder getNodeUpdateOrBuilder() {
if ((dataCase_ == 43) && (nodeUpdateBuilder_ != null)) {
return nodeUpdateBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 43) {
return (com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeUpdateTransactionBody, com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.NodeUpdateTransactionBodyOrBuilder>
getNodeUpdateFieldBuilder() {
if (nodeUpdateBuilder_ == null) {
if (!(dataCase_ == 43)) {
data_ = com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody.getDefaultInstance();
}
nodeUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody, com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody.Builder, com.hederahashgraph.api.proto.java.NodeUpdateTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.NodeUpdateTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 43;
onChanged();;
return nodeUpdateBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody, com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeDeleteTransactionBody getNodeDelete() {
if (nodeDeleteBuilder_ == null) {
if (dataCase_ == 44) {
return (com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 44) {
return nodeDeleteBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to remove a node.
*
*
* .com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody nodeDelete = 44;
*/
public Builder setNodeDelete(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeDeleteTransactionBody value) {
if (nodeDeleteBuilder_ == null) {
if (dataCase_ == 44 &&
data_ != com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 44) {
nodeDeleteBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeDeleteTransactionBodyOrBuilder getNodeDeleteOrBuilder() {
if ((dataCase_ == 44) && (nodeDeleteBuilder_ != null)) {
return nodeDeleteBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 44) {
return (com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NodeDeleteTransactionBody, com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.NodeDeleteTransactionBodyOrBuilder>
getNodeDeleteFieldBuilder() {
if (nodeDeleteBuilder_ == null) {
if (!(dataCase_ == 44)) {
data_ = com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody.getDefaultInstance();
}
nodeDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody, com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody.Builder, com.hederahashgraph.api.proto.java.NodeDeleteTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.NodeDeleteTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 44;
onChanged();;
return nodeDeleteBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenRejectTransactionBody, com.hederahashgraph.api.proto.java.TokenRejectTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenRejectTransactionBody getTokenReject() {
if (tokenRejectBuilder_ == null) {
if (dataCase_ == 45) {
return (com.hederahashgraph.api.proto.java.TokenRejectTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenRejectTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 45) {
return tokenRejectBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenRejectTransactionBody value) {
if (tokenRejectBuilder_ == null) {
if (dataCase_ == 45 &&
data_ != com.hederahashgraph.api.proto.java.TokenRejectTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenRejectTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenRejectTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 45) {
tokenRejectBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenRejectTransactionBodyOrBuilder getTokenRejectOrBuilder() {
if ((dataCase_ == 45) && (tokenRejectBuilder_ != null)) {
return tokenRejectBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 45) {
return (com.hederahashgraph.api.proto.java.TokenRejectTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenRejectTransactionBody, com.hederahashgraph.api.proto.java.TokenRejectTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenRejectTransactionBodyOrBuilder>
getTokenRejectFieldBuilder() {
if (tokenRejectBuilder_ == null) {
if (!(dataCase_ == 45)) {
data_ = com.hederahashgraph.api.proto.java.TokenRejectTransactionBody.getDefaultInstance();
}
tokenRejectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenRejectTransactionBody, com.hederahashgraph.api.proto.java.TokenRejectTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenRejectTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenRejectTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 45;
onChanged();;
return tokenRejectBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody, com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody getTokenCancelAirdrop() {
if (tokenCancelAirdropBuilder_ == null) {
if (dataCase_ == 46) {
return (com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 46) {
return tokenCancelAirdropBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
public Builder setTokenCancelAirdrop(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody value) {
if (tokenCancelAirdropBuilder_ == null) {
if (dataCase_ == 46 &&
data_ != com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 46) {
tokenCancelAirdropBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBodyOrBuilder getTokenCancelAirdropOrBuilder() {
if ((dataCase_ == 46) && (tokenCancelAirdropBuilder_ != null)) {
return tokenCancelAirdropBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 46) {
return (com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to cancel an airdrop.
*
*
* .proto.TokenCancelAirdropTransactionBody tokenCancelAirdrop = 46;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody, com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBodyOrBuilder>
getTokenCancelAirdropFieldBuilder() {
if (tokenCancelAirdropBuilder_ == null) {
if (!(dataCase_ == 46)) {
data_ = com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody.getDefaultInstance();
}
tokenCancelAirdropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody, com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenCancelAirdropTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 46;
onChanged();;
return tokenCancelAirdropBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody, com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody getTokenClaimAirdrop() {
if (tokenClaimAirdropBuilder_ == null) {
if (dataCase_ == 47) {
return (com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 47) {
return tokenClaimAirdropBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
public Builder setTokenClaimAirdrop(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody value) {
if (tokenClaimAirdropBuilder_ == null) {
if (dataCase_ == 47 &&
data_ != com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 47) {
tokenClaimAirdropBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBodyOrBuilder getTokenClaimAirdropOrBuilder() {
if ((dataCase_ == 47) && (tokenClaimAirdropBuilder_ != null)) {
return tokenClaimAirdropBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 47) {
return (com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to claim an airdrop.
*
*
* .proto.TokenClaimAirdropTransactionBody tokenClaimAirdrop = 47;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody, com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBodyOrBuilder>
getTokenClaimAirdropFieldBuilder() {
if (tokenClaimAirdropBuilder_ == null) {
if (!(dataCase_ == 47)) {
data_ = com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody.getDefaultInstance();
}
tokenClaimAirdropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody, com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenClaimAirdropTransactionBody) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 47;
onChanged();;
return tokenClaimAirdropBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody, com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenAirdropTransactionBody getTokenAirdrop() {
if (tokenAirdropBuilder_ == null) {
if (dataCase_ == 48) {
return (com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.getDefaultInstance();
} else {
if (dataCase_ == 48) {
return tokenAirdropBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
public Builder setTokenAirdrop(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenAirdropTransactionBody value) {
if (tokenAirdropBuilder_ == null) {
if (dataCase_ == 48 &&
data_ != com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.newBuilder((com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 48) {
tokenAirdropBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.Builder getTokenAirdropBuilder() {
return getTokenAirdropFieldBuilder().getBuilder();
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenAirdropTransactionBodyOrBuilder getTokenAirdropOrBuilder() {
if ((dataCase_ == 48) && (tokenAirdropBuilder_ != null)) {
return tokenAirdropBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 48) {
return (com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody) data_;
}
return com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.getDefaultInstance();
}
}
/**
*
**
* Transaction body for a scheduled transaction to airdrop tokens.
*
*
* .proto.TokenAirdropTransactionBody tokenAirdrop = 48;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody, com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenAirdropTransactionBodyOrBuilder>
getTokenAirdropFieldBuilder() {
if (tokenAirdropBuilder_ == null) {
if (!(dataCase_ == 48)) {
data_ = com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.getDefaultInstance();
}
tokenAirdropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody, com.hederahashgraph.api.proto.java.TokenAirdropTransactionBody.Builder, com.hederahashgraph.api.proto.java.TokenAirdropTransactionBodyOrBuilder>(
(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.SchedulableTransactionBody DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.SchedulableTransactionBody();
}
public static com.hederahashgraph.api.proto.java.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 {
return new SchedulableTransactionBody(input, extensionRegistry);
}
};
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.hederahashgraph.api.proto.java.SchedulableTransactionBody getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy