com.hedera.hashgraph.sdk.proto.Query Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: query.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
/**
*
**
* A single query, which is sent from the client to a node. This includes all possible queries. Each
* Query should not have more than 50 levels.
*
*
* Protobuf type {@code proto.Query}
*/
public final class Query extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.Query)
QueryOrBuilder {
private static final long serialVersionUID = 0L;
// Use Query.newBuilder() to construct.
private Query(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Query() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Query();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hedera.hashgraph.sdk.proto.QueryOuterClass.internal_static_proto_Query_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hedera.hashgraph.sdk.proto.QueryOuterClass.internal_static_proto_Query_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hedera.hashgraph.sdk.proto.Query.class, com.hedera.hashgraph.sdk.proto.Query.Builder.class);
}
private int queryCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object query_;
public enum QueryCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
GETBYKEY(1),
GETBYSOLIDITYID(2),
CONTRACTCALLLOCAL(3),
CONTRACTGETINFO(4),
CONTRACTGETBYTECODE(5),
CONTRACTGETRECORDS(6),
CRYPTOGETACCOUNTBALANCE(7),
CRYPTOGETACCOUNTRECORDS(8),
CRYPTOGETINFO(9),
CRYPTOGETLIVEHASH(10),
CRYPTOGETPROXYSTAKERS(11),
FILEGETCONTENTS(12),
FILEGETINFO(13),
TRANSACTIONGETRECEIPT(14),
TRANSACTIONGETRECORD(15),
TRANSACTIONGETFASTRECORD(16),
CONSENSUSGETTOPICINFO(50),
NETWORKGETVERSIONINFO(51),
TOKENGETINFO(52),
SCHEDULEGETINFO(53),
TOKENGETACCOUNTNFTINFOS(54),
TOKENGETNFTINFO(55),
TOKENGETNFTINFOS(56),
NETWORKGETEXECUTIONTIME(57),
ACCOUNTDETAILS(58),
QUERY_NOT_SET(0);
private final int value;
private QueryCase(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 QueryCase valueOf(int value) {
return forNumber(value);
}
public static QueryCase forNumber(int value) {
switch (value) {
case 1: return GETBYKEY;
case 2: return GETBYSOLIDITYID;
case 3: return CONTRACTCALLLOCAL;
case 4: return CONTRACTGETINFO;
case 5: return CONTRACTGETBYTECODE;
case 6: return CONTRACTGETRECORDS;
case 7: return CRYPTOGETACCOUNTBALANCE;
case 8: return CRYPTOGETACCOUNTRECORDS;
case 9: return CRYPTOGETINFO;
case 10: return CRYPTOGETLIVEHASH;
case 11: return CRYPTOGETPROXYSTAKERS;
case 12: return FILEGETCONTENTS;
case 13: return FILEGETINFO;
case 14: return TRANSACTIONGETRECEIPT;
case 15: return TRANSACTIONGETRECORD;
case 16: return TRANSACTIONGETFASTRECORD;
case 50: return CONSENSUSGETTOPICINFO;
case 51: return NETWORKGETVERSIONINFO;
case 52: return TOKENGETINFO;
case 53: return SCHEDULEGETINFO;
case 54: return TOKENGETACCOUNTNFTINFOS;
case 55: return TOKENGETNFTINFO;
case 56: return TOKENGETNFTINFOS;
case 57: return NETWORKGETEXECUTIONTIME;
case 58: return ACCOUNTDETAILS;
case 0: return QUERY_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public QueryCase
getQueryCase() {
return QueryCase.forNumber(
queryCase_);
}
public static final int GETBYKEY_FIELD_NUMBER = 1;
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
* @return Whether the getByKey field is set.
*/
@java.lang.Override
public boolean hasGetByKey() {
return queryCase_ == 1;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
* @return The getByKey.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetByKeyQuery getGetByKey() {
if (queryCase_ == 1) {
return (com.hedera.hashgraph.sdk.proto.GetByKeyQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.GetByKeyQuery.getDefaultInstance();
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetByKeyQueryOrBuilder getGetByKeyOrBuilder() {
if (queryCase_ == 1) {
return (com.hedera.hashgraph.sdk.proto.GetByKeyQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.GetByKeyQuery.getDefaultInstance();
}
public static final int GETBYSOLIDITYID_FIELD_NUMBER = 2;
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
* @return Whether the getBySolidityID field is set.
*/
@java.lang.Override
public boolean hasGetBySolidityID() {
return queryCase_ == 2;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
* @return The getBySolidityID.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery getGetBySolidityID() {
if (queryCase_ == 2) {
return (com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.getDefaultInstance();
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetBySolidityIDQueryOrBuilder getGetBySolidityIDOrBuilder() {
if (queryCase_ == 2) {
return (com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.getDefaultInstance();
}
public static final int CONTRACTCALLLOCAL_FIELD_NUMBER = 3;
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
* @return Whether the contractCallLocal field is set.
*/
@java.lang.Override
public boolean hasContractCallLocal() {
return queryCase_ == 3;
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
* @return The contractCallLocal.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery getContractCallLocal() {
if (queryCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.getDefaultInstance();
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallLocalQueryOrBuilder getContractCallLocalOrBuilder() {
if (queryCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.getDefaultInstance();
}
public static final int CONTRACTGETINFO_FIELD_NUMBER = 4;
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
* @return Whether the contractGetInfo field is set.
*/
@java.lang.Override
public boolean hasContractGetInfo() {
return queryCase_ == 4;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
* @return The contractGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery getContractGetInfo() {
if (queryCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.getDefaultInstance();
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetInfoQueryOrBuilder getContractGetInfoOrBuilder() {
if (queryCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.getDefaultInstance();
}
public static final int CONTRACTGETBYTECODE_FIELD_NUMBER = 5;
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
* @return Whether the contractGetBytecode field is set.
*/
@java.lang.Override
public boolean hasContractGetBytecode() {
return queryCase_ == 5;
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
* @return The contractGetBytecode.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery getContractGetBytecode() {
if (queryCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.getDefaultInstance();
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQueryOrBuilder getContractGetBytecodeOrBuilder() {
if (queryCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.getDefaultInstance();
}
public static final int CONTRACTGETRECORDS_FIELD_NUMBER = 6;
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
* @return Whether the contractGetRecords field is set.
*/
@java.lang.Override
public boolean hasContractGetRecords() {
return queryCase_ == 6;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
* @return The contractGetRecords.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery getContractGetRecords() {
if (queryCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.getDefaultInstance();
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetRecordsQueryOrBuilder getContractGetRecordsOrBuilder() {
if (queryCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.getDefaultInstance();
}
public static final int CRYPTOGETACCOUNTBALANCE_FIELD_NUMBER = 7;
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
* @return Whether the cryptogetAccountBalance field is set.
*/
@java.lang.Override
public boolean hasCryptogetAccountBalance() {
return queryCase_ == 7;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
* @return The cryptogetAccountBalance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery getCryptogetAccountBalance() {
if (queryCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.getDefaultInstance();
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQueryOrBuilder getCryptogetAccountBalanceOrBuilder() {
if (queryCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.getDefaultInstance();
}
public static final int CRYPTOGETACCOUNTRECORDS_FIELD_NUMBER = 8;
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
* @return Whether the cryptoGetAccountRecords field is set.
*/
@java.lang.Override
public boolean hasCryptoGetAccountRecords() {
return queryCase_ == 8;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
* @return The cryptoGetAccountRecords.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery getCryptoGetAccountRecords() {
if (queryCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.getDefaultInstance();
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQueryOrBuilder getCryptoGetAccountRecordsOrBuilder() {
if (queryCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.getDefaultInstance();
}
public static final int CRYPTOGETINFO_FIELD_NUMBER = 9;
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
* @return Whether the cryptoGetInfo field is set.
*/
@java.lang.Override
public boolean hasCryptoGetInfo() {
return queryCase_ == 9;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
* @return The cryptoGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery getCryptoGetInfo() {
if (queryCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.getDefaultInstance();
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetInfoQueryOrBuilder getCryptoGetInfoOrBuilder() {
if (queryCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.getDefaultInstance();
}
public static final int CRYPTOGETLIVEHASH_FIELD_NUMBER = 10;
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
* @return Whether the cryptoGetLiveHash field is set.
*/
@java.lang.Override
public boolean hasCryptoGetLiveHash() {
return queryCase_ == 10;
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
* @return The cryptoGetLiveHash.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery getCryptoGetLiveHash() {
if (queryCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.getDefaultInstance();
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQueryOrBuilder getCryptoGetLiveHashOrBuilder() {
if (queryCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.getDefaultInstance();
}
public static final int CRYPTOGETPROXYSTAKERS_FIELD_NUMBER = 11;
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
* (not yet implemented in the current API)
*
*
* .proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11;
* @return Whether the cryptoGetProxyStakers field is set.
*/
@java.lang.Override
public boolean hasCryptoGetProxyStakers() {
return queryCase_ == 11;
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
* (not yet implemented in the current API)
*
*
* .proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11;
* @return The cryptoGetProxyStakers.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery getCryptoGetProxyStakers() {
if (queryCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.getDefaultInstance();
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
* (not yet implemented in the current API)
*
*
* .proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetStakersQueryOrBuilder getCryptoGetProxyStakersOrBuilder() {
if (queryCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.getDefaultInstance();
}
public static final int FILEGETCONTENTS_FIELD_NUMBER = 12;
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
* @return Whether the fileGetContents field is set.
*/
@java.lang.Override
public boolean hasFileGetContents() {
return queryCase_ == 12;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
* @return The fileGetContents.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetContentsQuery getFileGetContents() {
if (queryCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileGetContentsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.getDefaultInstance();
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetContentsQueryOrBuilder getFileGetContentsOrBuilder() {
if (queryCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileGetContentsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.getDefaultInstance();
}
public static final int FILEGETINFO_FIELD_NUMBER = 13;
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
* @return Whether the fileGetInfo field is set.
*/
@java.lang.Override
public boolean hasFileGetInfo() {
return queryCase_ == 13;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
* @return The fileGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetInfoQuery getFileGetInfo() {
if (queryCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.getDefaultInstance();
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetInfoQueryOrBuilder getFileGetInfoOrBuilder() {
if (queryCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.getDefaultInstance();
}
public static final int TRANSACTIONGETRECEIPT_FIELD_NUMBER = 14;
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
* @return Whether the transactionGetReceipt field is set.
*/
@java.lang.Override
public boolean hasTransactionGetReceipt() {
return queryCase_ == 14;
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
* @return The transactionGetReceipt.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery getTransactionGetReceipt() {
if (queryCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.getDefaultInstance();
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQueryOrBuilder getTransactionGetReceiptOrBuilder() {
if (queryCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.getDefaultInstance();
}
public static final int TRANSACTIONGETRECORD_FIELD_NUMBER = 15;
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
* @return Whether the transactionGetRecord field is set.
*/
@java.lang.Override
public boolean hasTransactionGetRecord() {
return queryCase_ == 15;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
* @return The transactionGetRecord.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery getTransactionGetRecord() {
if (queryCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.getDefaultInstance();
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetRecordQueryOrBuilder getTransactionGetRecordOrBuilder() {
if (queryCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.getDefaultInstance();
}
public static final int TRANSACTIONGETFASTRECORD_FIELD_NUMBER = 16;
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
* @return Whether the transactionGetFastRecord field is set.
*/
@java.lang.Override
public boolean hasTransactionGetFastRecord() {
return queryCase_ == 16;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
* @return The transactionGetFastRecord.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery getTransactionGetFastRecord() {
if (queryCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.getDefaultInstance();
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQueryOrBuilder getTransactionGetFastRecordOrBuilder() {
if (queryCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.getDefaultInstance();
}
public static final int CONSENSUSGETTOPICINFO_FIELD_NUMBER = 50;
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
* @return Whether the consensusGetTopicInfo field is set.
*/
@java.lang.Override
public boolean hasConsensusGetTopicInfo() {
return queryCase_ == 50;
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
* @return The consensusGetTopicInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery getConsensusGetTopicInfo() {
if (queryCase_ == 50) {
return (com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.getDefaultInstance();
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQueryOrBuilder getConsensusGetTopicInfoOrBuilder() {
if (queryCase_ == 50) {
return (com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.getDefaultInstance();
}
public static final int NETWORKGETVERSIONINFO_FIELD_NUMBER = 51;
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
* @return Whether the networkGetVersionInfo field is set.
*/
@java.lang.Override
public boolean hasNetworkGetVersionInfo() {
return queryCase_ == 51;
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
* @return The networkGetVersionInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery getNetworkGetVersionInfo() {
if (queryCase_ == 51) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.getDefaultInstance();
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQueryOrBuilder getNetworkGetVersionInfoOrBuilder() {
if (queryCase_ == 51) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.getDefaultInstance();
}
public static final int TOKENGETINFO_FIELD_NUMBER = 52;
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
* @return Whether the tokenGetInfo field is set.
*/
@java.lang.Override
public boolean hasTokenGetInfo() {
return queryCase_ == 52;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
* @return The tokenGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery getTokenGetInfo() {
if (queryCase_ == 52) {
return (com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.getDefaultInstance();
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetInfoQueryOrBuilder getTokenGetInfoOrBuilder() {
if (queryCase_ == 52) {
return (com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.getDefaultInstance();
}
public static final int SCHEDULEGETINFO_FIELD_NUMBER = 53;
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
* @return Whether the scheduleGetInfo field is set.
*/
@java.lang.Override
public boolean hasScheduleGetInfo() {
return queryCase_ == 53;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
* @return The scheduleGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery getScheduleGetInfo() {
if (queryCase_ == 53) {
return (com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.getDefaultInstance();
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQueryOrBuilder getScheduleGetInfoOrBuilder() {
if (queryCase_ == 53) {
return (com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.getDefaultInstance();
}
public static final int TOKENGETACCOUNTNFTINFOS_FIELD_NUMBER = 54;
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
* @return Whether the tokenGetAccountNftInfos field is set.
*/
@java.lang.Override
public boolean hasTokenGetAccountNftInfos() {
return queryCase_ == 54;
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
* @return The tokenGetAccountNftInfos.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery getTokenGetAccountNftInfos() {
if (queryCase_ == 54) {
return (com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.getDefaultInstance();
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQueryOrBuilder getTokenGetAccountNftInfosOrBuilder() {
if (queryCase_ == 54) {
return (com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.getDefaultInstance();
}
public static final int TOKENGETNFTINFO_FIELD_NUMBER = 55;
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
* @return Whether the tokenGetNftInfo field is set.
*/
@java.lang.Override
public boolean hasTokenGetNftInfo() {
return queryCase_ == 55;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
* @return The tokenGetNftInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery getTokenGetNftInfo() {
if (queryCase_ == 55) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.getDefaultInstance();
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQueryOrBuilder getTokenGetNftInfoOrBuilder() {
if (queryCase_ == 55) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.getDefaultInstance();
}
public static final int TOKENGETNFTINFOS_FIELD_NUMBER = 56;
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
* @return Whether the tokenGetNftInfos field is set.
*/
@java.lang.Override
public boolean hasTokenGetNftInfos() {
return queryCase_ == 56;
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
* @return The tokenGetNftInfos.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery getTokenGetNftInfos() {
if (queryCase_ == 56) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.getDefaultInstance();
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQueryOrBuilder getTokenGetNftInfosOrBuilder() {
if (queryCase_ == 56) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.getDefaultInstance();
}
public static final int NETWORKGETEXECUTIONTIME_FIELD_NUMBER = 57;
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
* @return Whether the networkGetExecutionTime field is set.
*/
@java.lang.Override
public boolean hasNetworkGetExecutionTime() {
return queryCase_ == 57;
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
* @return The networkGetExecutionTime.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery getNetworkGetExecutionTime() {
if (queryCase_ == 57) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.getDefaultInstance();
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQueryOrBuilder getNetworkGetExecutionTimeOrBuilder() {
if (queryCase_ == 57) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.getDefaultInstance();
}
public static final int ACCOUNTDETAILS_FIELD_NUMBER = 58;
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
* @return Whether the accountDetails field is set.
*/
@java.lang.Override
public boolean hasAccountDetails() {
return queryCase_ == 58;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
* @return The accountDetails.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery getAccountDetails() {
if (queryCase_ == 58) {
return (com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.getDefaultInstance();
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetAccountDetailsQueryOrBuilder getAccountDetailsOrBuilder() {
if (queryCase_ == 58) {
return (com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.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 (queryCase_ == 1) {
output.writeMessage(1, (com.hedera.hashgraph.sdk.proto.GetByKeyQuery) query_);
}
if (queryCase_ == 2) {
output.writeMessage(2, (com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery) query_);
}
if (queryCase_ == 3) {
output.writeMessage(3, (com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery) query_);
}
if (queryCase_ == 4) {
output.writeMessage(4, (com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery) query_);
}
if (queryCase_ == 5) {
output.writeMessage(5, (com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery) query_);
}
if (queryCase_ == 6) {
output.writeMessage(6, (com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery) query_);
}
if (queryCase_ == 7) {
output.writeMessage(7, (com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery) query_);
}
if (queryCase_ == 8) {
output.writeMessage(8, (com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery) query_);
}
if (queryCase_ == 9) {
output.writeMessage(9, (com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery) query_);
}
if (queryCase_ == 10) {
output.writeMessage(10, (com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery) query_);
}
if (queryCase_ == 11) {
output.writeMessage(11, (com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery) query_);
}
if (queryCase_ == 12) {
output.writeMessage(12, (com.hedera.hashgraph.sdk.proto.FileGetContentsQuery) query_);
}
if (queryCase_ == 13) {
output.writeMessage(13, (com.hedera.hashgraph.sdk.proto.FileGetInfoQuery) query_);
}
if (queryCase_ == 14) {
output.writeMessage(14, (com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery) query_);
}
if (queryCase_ == 15) {
output.writeMessage(15, (com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery) query_);
}
if (queryCase_ == 16) {
output.writeMessage(16, (com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery) query_);
}
if (queryCase_ == 50) {
output.writeMessage(50, (com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery) query_);
}
if (queryCase_ == 51) {
output.writeMessage(51, (com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery) query_);
}
if (queryCase_ == 52) {
output.writeMessage(52, (com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery) query_);
}
if (queryCase_ == 53) {
output.writeMessage(53, (com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery) query_);
}
if (queryCase_ == 54) {
output.writeMessage(54, (com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery) query_);
}
if (queryCase_ == 55) {
output.writeMessage(55, (com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery) query_);
}
if (queryCase_ == 56) {
output.writeMessage(56, (com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery) query_);
}
if (queryCase_ == 57) {
output.writeMessage(57, (com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery) query_);
}
if (queryCase_ == 58) {
output.writeMessage(58, (com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery) query_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (queryCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (com.hedera.hashgraph.sdk.proto.GetByKeyQuery) query_);
}
if (queryCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery) query_);
}
if (queryCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery) query_);
}
if (queryCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery) query_);
}
if (queryCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery) query_);
}
if (queryCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery) query_);
}
if (queryCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery) query_);
}
if (queryCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery) query_);
}
if (queryCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery) query_);
}
if (queryCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery) query_);
}
if (queryCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery) query_);
}
if (queryCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (com.hedera.hashgraph.sdk.proto.FileGetContentsQuery) query_);
}
if (queryCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (com.hedera.hashgraph.sdk.proto.FileGetInfoQuery) query_);
}
if (queryCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery) query_);
}
if (queryCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery) query_);
}
if (queryCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery) query_);
}
if (queryCase_ == 50) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(50, (com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery) query_);
}
if (queryCase_ == 51) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(51, (com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery) query_);
}
if (queryCase_ == 52) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(52, (com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery) query_);
}
if (queryCase_ == 53) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(53, (com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery) query_);
}
if (queryCase_ == 54) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(54, (com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery) query_);
}
if (queryCase_ == 55) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(55, (com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery) query_);
}
if (queryCase_ == 56) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(56, (com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery) query_);
}
if (queryCase_ == 57) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(57, (com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery) query_);
}
if (queryCase_ == 58) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(58, (com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery) query_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.hedera.hashgraph.sdk.proto.Query)) {
return super.equals(obj);
}
com.hedera.hashgraph.sdk.proto.Query other = (com.hedera.hashgraph.sdk.proto.Query) obj;
if (!getQueryCase().equals(other.getQueryCase())) return false;
switch (queryCase_) {
case 1:
if (!getGetByKey()
.equals(other.getGetByKey())) return false;
break;
case 2:
if (!getGetBySolidityID()
.equals(other.getGetBySolidityID())) return false;
break;
case 3:
if (!getContractCallLocal()
.equals(other.getContractCallLocal())) return false;
break;
case 4:
if (!getContractGetInfo()
.equals(other.getContractGetInfo())) return false;
break;
case 5:
if (!getContractGetBytecode()
.equals(other.getContractGetBytecode())) return false;
break;
case 6:
if (!getContractGetRecords()
.equals(other.getContractGetRecords())) return false;
break;
case 7:
if (!getCryptogetAccountBalance()
.equals(other.getCryptogetAccountBalance())) return false;
break;
case 8:
if (!getCryptoGetAccountRecords()
.equals(other.getCryptoGetAccountRecords())) return false;
break;
case 9:
if (!getCryptoGetInfo()
.equals(other.getCryptoGetInfo())) return false;
break;
case 10:
if (!getCryptoGetLiveHash()
.equals(other.getCryptoGetLiveHash())) return false;
break;
case 11:
if (!getCryptoGetProxyStakers()
.equals(other.getCryptoGetProxyStakers())) return false;
break;
case 12:
if (!getFileGetContents()
.equals(other.getFileGetContents())) return false;
break;
case 13:
if (!getFileGetInfo()
.equals(other.getFileGetInfo())) return false;
break;
case 14:
if (!getTransactionGetReceipt()
.equals(other.getTransactionGetReceipt())) return false;
break;
case 15:
if (!getTransactionGetRecord()
.equals(other.getTransactionGetRecord())) return false;
break;
case 16:
if (!getTransactionGetFastRecord()
.equals(other.getTransactionGetFastRecord())) return false;
break;
case 50:
if (!getConsensusGetTopicInfo()
.equals(other.getConsensusGetTopicInfo())) return false;
break;
case 51:
if (!getNetworkGetVersionInfo()
.equals(other.getNetworkGetVersionInfo())) return false;
break;
case 52:
if (!getTokenGetInfo()
.equals(other.getTokenGetInfo())) return false;
break;
case 53:
if (!getScheduleGetInfo()
.equals(other.getScheduleGetInfo())) return false;
break;
case 54:
if (!getTokenGetAccountNftInfos()
.equals(other.getTokenGetAccountNftInfos())) return false;
break;
case 55:
if (!getTokenGetNftInfo()
.equals(other.getTokenGetNftInfo())) return false;
break;
case 56:
if (!getTokenGetNftInfos()
.equals(other.getTokenGetNftInfos())) return false;
break;
case 57:
if (!getNetworkGetExecutionTime()
.equals(other.getNetworkGetExecutionTime())) return false;
break;
case 58:
if (!getAccountDetails()
.equals(other.getAccountDetails())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (queryCase_) {
case 1:
hash = (37 * hash) + GETBYKEY_FIELD_NUMBER;
hash = (53 * hash) + getGetByKey().hashCode();
break;
case 2:
hash = (37 * hash) + GETBYSOLIDITYID_FIELD_NUMBER;
hash = (53 * hash) + getGetBySolidityID().hashCode();
break;
case 3:
hash = (37 * hash) + CONTRACTCALLLOCAL_FIELD_NUMBER;
hash = (53 * hash) + getContractCallLocal().hashCode();
break;
case 4:
hash = (37 * hash) + CONTRACTGETINFO_FIELD_NUMBER;
hash = (53 * hash) + getContractGetInfo().hashCode();
break;
case 5:
hash = (37 * hash) + CONTRACTGETBYTECODE_FIELD_NUMBER;
hash = (53 * hash) + getContractGetBytecode().hashCode();
break;
case 6:
hash = (37 * hash) + CONTRACTGETRECORDS_FIELD_NUMBER;
hash = (53 * hash) + getContractGetRecords().hashCode();
break;
case 7:
hash = (37 * hash) + CRYPTOGETACCOUNTBALANCE_FIELD_NUMBER;
hash = (53 * hash) + getCryptogetAccountBalance().hashCode();
break;
case 8:
hash = (37 * hash) + CRYPTOGETACCOUNTRECORDS_FIELD_NUMBER;
hash = (53 * hash) + getCryptoGetAccountRecords().hashCode();
break;
case 9:
hash = (37 * hash) + CRYPTOGETINFO_FIELD_NUMBER;
hash = (53 * hash) + getCryptoGetInfo().hashCode();
break;
case 10:
hash = (37 * hash) + CRYPTOGETLIVEHASH_FIELD_NUMBER;
hash = (53 * hash) + getCryptoGetLiveHash().hashCode();
break;
case 11:
hash = (37 * hash) + CRYPTOGETPROXYSTAKERS_FIELD_NUMBER;
hash = (53 * hash) + getCryptoGetProxyStakers().hashCode();
break;
case 12:
hash = (37 * hash) + FILEGETCONTENTS_FIELD_NUMBER;
hash = (53 * hash) + getFileGetContents().hashCode();
break;
case 13:
hash = (37 * hash) + FILEGETINFO_FIELD_NUMBER;
hash = (53 * hash) + getFileGetInfo().hashCode();
break;
case 14:
hash = (37 * hash) + TRANSACTIONGETRECEIPT_FIELD_NUMBER;
hash = (53 * hash) + getTransactionGetReceipt().hashCode();
break;
case 15:
hash = (37 * hash) + TRANSACTIONGETRECORD_FIELD_NUMBER;
hash = (53 * hash) + getTransactionGetRecord().hashCode();
break;
case 16:
hash = (37 * hash) + TRANSACTIONGETFASTRECORD_FIELD_NUMBER;
hash = (53 * hash) + getTransactionGetFastRecord().hashCode();
break;
case 50:
hash = (37 * hash) + CONSENSUSGETTOPICINFO_FIELD_NUMBER;
hash = (53 * hash) + getConsensusGetTopicInfo().hashCode();
break;
case 51:
hash = (37 * hash) + NETWORKGETVERSIONINFO_FIELD_NUMBER;
hash = (53 * hash) + getNetworkGetVersionInfo().hashCode();
break;
case 52:
hash = (37 * hash) + TOKENGETINFO_FIELD_NUMBER;
hash = (53 * hash) + getTokenGetInfo().hashCode();
break;
case 53:
hash = (37 * hash) + SCHEDULEGETINFO_FIELD_NUMBER;
hash = (53 * hash) + getScheduleGetInfo().hashCode();
break;
case 54:
hash = (37 * hash) + TOKENGETACCOUNTNFTINFOS_FIELD_NUMBER;
hash = (53 * hash) + getTokenGetAccountNftInfos().hashCode();
break;
case 55:
hash = (37 * hash) + TOKENGETNFTINFO_FIELD_NUMBER;
hash = (53 * hash) + getTokenGetNftInfo().hashCode();
break;
case 56:
hash = (37 * hash) + TOKENGETNFTINFOS_FIELD_NUMBER;
hash = (53 * hash) + getTokenGetNftInfos().hashCode();
break;
case 57:
hash = (37 * hash) + NETWORKGETEXECUTIONTIME_FIELD_NUMBER;
hash = (53 * hash) + getNetworkGetExecutionTime().hashCode();
break;
case 58:
hash = (37 * hash) + ACCOUNTDETAILS_FIELD_NUMBER;
hash = (53 * hash) + getAccountDetails().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Query parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.hedera.hashgraph.sdk.proto.Query parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.Query prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* A single query, which is sent from the client to a node. This includes all possible queries. Each
* Query should not have more than 50 levels.
*
*
* Protobuf type {@code proto.Query}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:proto.Query)
com.hedera.hashgraph.sdk.proto.QueryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hedera.hashgraph.sdk.proto.QueryOuterClass.internal_static_proto_Query_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hedera.hashgraph.sdk.proto.QueryOuterClass.internal_static_proto_Query_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hedera.hashgraph.sdk.proto.Query.class, com.hedera.hashgraph.sdk.proto.Query.Builder.class);
}
// Construct using com.hedera.hashgraph.sdk.proto.Query.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (getByKeyBuilder_ != null) {
getByKeyBuilder_.clear();
}
if (getBySolidityIDBuilder_ != null) {
getBySolidityIDBuilder_.clear();
}
if (contractCallLocalBuilder_ != null) {
contractCallLocalBuilder_.clear();
}
if (contractGetInfoBuilder_ != null) {
contractGetInfoBuilder_.clear();
}
if (contractGetBytecodeBuilder_ != null) {
contractGetBytecodeBuilder_.clear();
}
if (contractGetRecordsBuilder_ != null) {
contractGetRecordsBuilder_.clear();
}
if (cryptogetAccountBalanceBuilder_ != null) {
cryptogetAccountBalanceBuilder_.clear();
}
if (cryptoGetAccountRecordsBuilder_ != null) {
cryptoGetAccountRecordsBuilder_.clear();
}
if (cryptoGetInfoBuilder_ != null) {
cryptoGetInfoBuilder_.clear();
}
if (cryptoGetLiveHashBuilder_ != null) {
cryptoGetLiveHashBuilder_.clear();
}
if (cryptoGetProxyStakersBuilder_ != null) {
cryptoGetProxyStakersBuilder_.clear();
}
if (fileGetContentsBuilder_ != null) {
fileGetContentsBuilder_.clear();
}
if (fileGetInfoBuilder_ != null) {
fileGetInfoBuilder_.clear();
}
if (transactionGetReceiptBuilder_ != null) {
transactionGetReceiptBuilder_.clear();
}
if (transactionGetRecordBuilder_ != null) {
transactionGetRecordBuilder_.clear();
}
if (transactionGetFastRecordBuilder_ != null) {
transactionGetFastRecordBuilder_.clear();
}
if (consensusGetTopicInfoBuilder_ != null) {
consensusGetTopicInfoBuilder_.clear();
}
if (networkGetVersionInfoBuilder_ != null) {
networkGetVersionInfoBuilder_.clear();
}
if (tokenGetInfoBuilder_ != null) {
tokenGetInfoBuilder_.clear();
}
if (scheduleGetInfoBuilder_ != null) {
scheduleGetInfoBuilder_.clear();
}
if (tokenGetAccountNftInfosBuilder_ != null) {
tokenGetAccountNftInfosBuilder_.clear();
}
if (tokenGetNftInfoBuilder_ != null) {
tokenGetNftInfoBuilder_.clear();
}
if (tokenGetNftInfosBuilder_ != null) {
tokenGetNftInfosBuilder_.clear();
}
if (networkGetExecutionTimeBuilder_ != null) {
networkGetExecutionTimeBuilder_.clear();
}
if (accountDetailsBuilder_ != null) {
accountDetailsBuilder_.clear();
}
queryCase_ = 0;
query_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.hedera.hashgraph.sdk.proto.QueryOuterClass.internal_static_proto_Query_descriptor;
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.Query getDefaultInstanceForType() {
return com.hedera.hashgraph.sdk.proto.Query.getDefaultInstance();
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.Query build() {
com.hedera.hashgraph.sdk.proto.Query result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.Query buildPartial() {
com.hedera.hashgraph.sdk.proto.Query result = new com.hedera.hashgraph.sdk.proto.Query(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(com.hedera.hashgraph.sdk.proto.Query result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(com.hedera.hashgraph.sdk.proto.Query result) {
result.queryCase_ = queryCase_;
result.query_ = this.query_;
if (queryCase_ == 1 &&
getByKeyBuilder_ != null) {
result.query_ = getByKeyBuilder_.build();
}
if (queryCase_ == 2 &&
getBySolidityIDBuilder_ != null) {
result.query_ = getBySolidityIDBuilder_.build();
}
if (queryCase_ == 3 &&
contractCallLocalBuilder_ != null) {
result.query_ = contractCallLocalBuilder_.build();
}
if (queryCase_ == 4 &&
contractGetInfoBuilder_ != null) {
result.query_ = contractGetInfoBuilder_.build();
}
if (queryCase_ == 5 &&
contractGetBytecodeBuilder_ != null) {
result.query_ = contractGetBytecodeBuilder_.build();
}
if (queryCase_ == 6 &&
contractGetRecordsBuilder_ != null) {
result.query_ = contractGetRecordsBuilder_.build();
}
if (queryCase_ == 7 &&
cryptogetAccountBalanceBuilder_ != null) {
result.query_ = cryptogetAccountBalanceBuilder_.build();
}
if (queryCase_ == 8 &&
cryptoGetAccountRecordsBuilder_ != null) {
result.query_ = cryptoGetAccountRecordsBuilder_.build();
}
if (queryCase_ == 9 &&
cryptoGetInfoBuilder_ != null) {
result.query_ = cryptoGetInfoBuilder_.build();
}
if (queryCase_ == 10 &&
cryptoGetLiveHashBuilder_ != null) {
result.query_ = cryptoGetLiveHashBuilder_.build();
}
if (queryCase_ == 11 &&
cryptoGetProxyStakersBuilder_ != null) {
result.query_ = cryptoGetProxyStakersBuilder_.build();
}
if (queryCase_ == 12 &&
fileGetContentsBuilder_ != null) {
result.query_ = fileGetContentsBuilder_.build();
}
if (queryCase_ == 13 &&
fileGetInfoBuilder_ != null) {
result.query_ = fileGetInfoBuilder_.build();
}
if (queryCase_ == 14 &&
transactionGetReceiptBuilder_ != null) {
result.query_ = transactionGetReceiptBuilder_.build();
}
if (queryCase_ == 15 &&
transactionGetRecordBuilder_ != null) {
result.query_ = transactionGetRecordBuilder_.build();
}
if (queryCase_ == 16 &&
transactionGetFastRecordBuilder_ != null) {
result.query_ = transactionGetFastRecordBuilder_.build();
}
if (queryCase_ == 50 &&
consensusGetTopicInfoBuilder_ != null) {
result.query_ = consensusGetTopicInfoBuilder_.build();
}
if (queryCase_ == 51 &&
networkGetVersionInfoBuilder_ != null) {
result.query_ = networkGetVersionInfoBuilder_.build();
}
if (queryCase_ == 52 &&
tokenGetInfoBuilder_ != null) {
result.query_ = tokenGetInfoBuilder_.build();
}
if (queryCase_ == 53 &&
scheduleGetInfoBuilder_ != null) {
result.query_ = scheduleGetInfoBuilder_.build();
}
if (queryCase_ == 54 &&
tokenGetAccountNftInfosBuilder_ != null) {
result.query_ = tokenGetAccountNftInfosBuilder_.build();
}
if (queryCase_ == 55 &&
tokenGetNftInfoBuilder_ != null) {
result.query_ = tokenGetNftInfoBuilder_.build();
}
if (queryCase_ == 56 &&
tokenGetNftInfosBuilder_ != null) {
result.query_ = tokenGetNftInfosBuilder_.build();
}
if (queryCase_ == 57 &&
networkGetExecutionTimeBuilder_ != null) {
result.query_ = networkGetExecutionTimeBuilder_.build();
}
if (queryCase_ == 58 &&
accountDetailsBuilder_ != null) {
result.query_ = accountDetailsBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.hedera.hashgraph.sdk.proto.Query) {
return mergeFrom((com.hedera.hashgraph.sdk.proto.Query)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.hedera.hashgraph.sdk.proto.Query other) {
if (other == com.hedera.hashgraph.sdk.proto.Query.getDefaultInstance()) return this;
switch (other.getQueryCase()) {
case GETBYKEY: {
mergeGetByKey(other.getGetByKey());
break;
}
case GETBYSOLIDITYID: {
mergeGetBySolidityID(other.getGetBySolidityID());
break;
}
case CONTRACTCALLLOCAL: {
mergeContractCallLocal(other.getContractCallLocal());
break;
}
case CONTRACTGETINFO: {
mergeContractGetInfo(other.getContractGetInfo());
break;
}
case CONTRACTGETBYTECODE: {
mergeContractGetBytecode(other.getContractGetBytecode());
break;
}
case CONTRACTGETRECORDS: {
mergeContractGetRecords(other.getContractGetRecords());
break;
}
case CRYPTOGETACCOUNTBALANCE: {
mergeCryptogetAccountBalance(other.getCryptogetAccountBalance());
break;
}
case CRYPTOGETACCOUNTRECORDS: {
mergeCryptoGetAccountRecords(other.getCryptoGetAccountRecords());
break;
}
case CRYPTOGETINFO: {
mergeCryptoGetInfo(other.getCryptoGetInfo());
break;
}
case CRYPTOGETLIVEHASH: {
mergeCryptoGetLiveHash(other.getCryptoGetLiveHash());
break;
}
case CRYPTOGETPROXYSTAKERS: {
mergeCryptoGetProxyStakers(other.getCryptoGetProxyStakers());
break;
}
case FILEGETCONTENTS: {
mergeFileGetContents(other.getFileGetContents());
break;
}
case FILEGETINFO: {
mergeFileGetInfo(other.getFileGetInfo());
break;
}
case TRANSACTIONGETRECEIPT: {
mergeTransactionGetReceipt(other.getTransactionGetReceipt());
break;
}
case TRANSACTIONGETRECORD: {
mergeTransactionGetRecord(other.getTransactionGetRecord());
break;
}
case TRANSACTIONGETFASTRECORD: {
mergeTransactionGetFastRecord(other.getTransactionGetFastRecord());
break;
}
case CONSENSUSGETTOPICINFO: {
mergeConsensusGetTopicInfo(other.getConsensusGetTopicInfo());
break;
}
case NETWORKGETVERSIONINFO: {
mergeNetworkGetVersionInfo(other.getNetworkGetVersionInfo());
break;
}
case TOKENGETINFO: {
mergeTokenGetInfo(other.getTokenGetInfo());
break;
}
case SCHEDULEGETINFO: {
mergeScheduleGetInfo(other.getScheduleGetInfo());
break;
}
case TOKENGETACCOUNTNFTINFOS: {
mergeTokenGetAccountNftInfos(other.getTokenGetAccountNftInfos());
break;
}
case TOKENGETNFTINFO: {
mergeTokenGetNftInfo(other.getTokenGetNftInfo());
break;
}
case TOKENGETNFTINFOS: {
mergeTokenGetNftInfos(other.getTokenGetNftInfos());
break;
}
case NETWORKGETEXECUTIONTIME: {
mergeNetworkGetExecutionTime(other.getNetworkGetExecutionTime());
break;
}
case ACCOUNTDETAILS: {
mergeAccountDetails(other.getAccountDetails());
break;
}
case QUERY_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getGetByKeyFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getGetBySolidityIDFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getContractCallLocalFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getContractGetInfoFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 4;
break;
} // case 34
case 42: {
input.readMessage(
getContractGetBytecodeFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 5;
break;
} // case 42
case 50: {
input.readMessage(
getContractGetRecordsFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 6;
break;
} // case 50
case 58: {
input.readMessage(
getCryptogetAccountBalanceFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 7;
break;
} // case 58
case 66: {
input.readMessage(
getCryptoGetAccountRecordsFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 8;
break;
} // case 66
case 74: {
input.readMessage(
getCryptoGetInfoFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 9;
break;
} // case 74
case 82: {
input.readMessage(
getCryptoGetLiveHashFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 10;
break;
} // case 82
case 90: {
input.readMessage(
getCryptoGetProxyStakersFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 11;
break;
} // case 90
case 98: {
input.readMessage(
getFileGetContentsFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 12;
break;
} // case 98
case 106: {
input.readMessage(
getFileGetInfoFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 13;
break;
} // case 106
case 114: {
input.readMessage(
getTransactionGetReceiptFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 14;
break;
} // case 114
case 122: {
input.readMessage(
getTransactionGetRecordFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 15;
break;
} // case 122
case 130: {
input.readMessage(
getTransactionGetFastRecordFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 16;
break;
} // case 130
case 402: {
input.readMessage(
getConsensusGetTopicInfoFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 50;
break;
} // case 402
case 410: {
input.readMessage(
getNetworkGetVersionInfoFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 51;
break;
} // case 410
case 418: {
input.readMessage(
getTokenGetInfoFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 52;
break;
} // case 418
case 426: {
input.readMessage(
getScheduleGetInfoFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 53;
break;
} // case 426
case 434: {
input.readMessage(
getTokenGetAccountNftInfosFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 54;
break;
} // case 434
case 442: {
input.readMessage(
getTokenGetNftInfoFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 55;
break;
} // case 442
case 450: {
input.readMessage(
getTokenGetNftInfosFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 56;
break;
} // case 450
case 458: {
input.readMessage(
getNetworkGetExecutionTimeFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 57;
break;
} // case 458
case 466: {
input.readMessage(
getAccountDetailsFieldBuilder().getBuilder(),
extensionRegistry);
queryCase_ = 58;
break;
} // case 466
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int queryCase_ = 0;
private java.lang.Object query_;
public QueryCase
getQueryCase() {
return QueryCase.forNumber(
queryCase_);
}
public Builder clearQuery() {
queryCase_ = 0;
query_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetByKeyQuery, com.hedera.hashgraph.sdk.proto.GetByKeyQuery.Builder, com.hedera.hashgraph.sdk.proto.GetByKeyQueryOrBuilder> getByKeyBuilder_;
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
* @return Whether the getByKey field is set.
*/
@java.lang.Override
public boolean hasGetByKey() {
return queryCase_ == 1;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
* @return The getByKey.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetByKeyQuery getGetByKey() {
if (getByKeyBuilder_ == null) {
if (queryCase_ == 1) {
return (com.hedera.hashgraph.sdk.proto.GetByKeyQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.GetByKeyQuery.getDefaultInstance();
} else {
if (queryCase_ == 1) {
return getByKeyBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.GetByKeyQuery.getDefaultInstance();
}
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
public Builder setGetByKey(com.hedera.hashgraph.sdk.proto.GetByKeyQuery value) {
if (getByKeyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
getByKeyBuilder_.setMessage(value);
}
queryCase_ = 1;
return this;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
public Builder setGetByKey(
com.hedera.hashgraph.sdk.proto.GetByKeyQuery.Builder builderForValue) {
if (getByKeyBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
getByKeyBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 1;
return this;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
public Builder mergeGetByKey(com.hedera.hashgraph.sdk.proto.GetByKeyQuery value) {
if (getByKeyBuilder_ == null) {
if (queryCase_ == 1 &&
query_ != com.hedera.hashgraph.sdk.proto.GetByKeyQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.GetByKeyQuery.newBuilder((com.hedera.hashgraph.sdk.proto.GetByKeyQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 1) {
getByKeyBuilder_.mergeFrom(value);
} else {
getByKeyBuilder_.setMessage(value);
}
}
queryCase_ = 1;
return this;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
public Builder clearGetByKey() {
if (getByKeyBuilder_ == null) {
if (queryCase_ == 1) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 1) {
queryCase_ = 0;
query_ = null;
}
getByKeyBuilder_.clear();
}
return this;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
public com.hedera.hashgraph.sdk.proto.GetByKeyQuery.Builder getGetByKeyBuilder() {
return getGetByKeyFieldBuilder().getBuilder();
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetByKeyQueryOrBuilder getGetByKeyOrBuilder() {
if ((queryCase_ == 1) && (getByKeyBuilder_ != null)) {
return getByKeyBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 1) {
return (com.hedera.hashgraph.sdk.proto.GetByKeyQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.GetByKeyQuery.getDefaultInstance();
}
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetByKeyQuery, com.hedera.hashgraph.sdk.proto.GetByKeyQuery.Builder, com.hedera.hashgraph.sdk.proto.GetByKeyQueryOrBuilder>
getGetByKeyFieldBuilder() {
if (getByKeyBuilder_ == null) {
if (!(queryCase_ == 1)) {
query_ = com.hedera.hashgraph.sdk.proto.GetByKeyQuery.getDefaultInstance();
}
getByKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetByKeyQuery, com.hedera.hashgraph.sdk.proto.GetByKeyQuery.Builder, com.hedera.hashgraph.sdk.proto.GetByKeyQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.GetByKeyQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 1;
onChanged();
return getByKeyBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery, com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.Builder, com.hedera.hashgraph.sdk.proto.GetBySolidityIDQueryOrBuilder> getBySolidityIDBuilder_;
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
* @return Whether the getBySolidityID field is set.
*/
@java.lang.Override
public boolean hasGetBySolidityID() {
return queryCase_ == 2;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
* @return The getBySolidityID.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery getGetBySolidityID() {
if (getBySolidityIDBuilder_ == null) {
if (queryCase_ == 2) {
return (com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.getDefaultInstance();
} else {
if (queryCase_ == 2) {
return getBySolidityIDBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.getDefaultInstance();
}
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
*/
public Builder setGetBySolidityID(com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery value) {
if (getBySolidityIDBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
getBySolidityIDBuilder_.setMessage(value);
}
queryCase_ = 2;
return this;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
*/
public Builder setGetBySolidityID(
com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.Builder builderForValue) {
if (getBySolidityIDBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
getBySolidityIDBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 2;
return this;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
*/
public Builder mergeGetBySolidityID(com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery value) {
if (getBySolidityIDBuilder_ == null) {
if (queryCase_ == 2 &&
query_ != com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.newBuilder((com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 2) {
getBySolidityIDBuilder_.mergeFrom(value);
} else {
getBySolidityIDBuilder_.setMessage(value);
}
}
queryCase_ = 2;
return this;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
*/
public Builder clearGetBySolidityID() {
if (getBySolidityIDBuilder_ == null) {
if (queryCase_ == 2) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 2) {
queryCase_ = 0;
query_ = null;
}
getBySolidityIDBuilder_.clear();
}
return this;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
*/
public com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.Builder getGetBySolidityIDBuilder() {
return getGetBySolidityIDFieldBuilder().getBuilder();
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetBySolidityIDQueryOrBuilder getGetBySolidityIDOrBuilder() {
if ((queryCase_ == 2) && (getBySolidityIDBuilder_ != null)) {
return getBySolidityIDBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 2) {
return (com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.getDefaultInstance();
}
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery, com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.Builder, com.hedera.hashgraph.sdk.proto.GetBySolidityIDQueryOrBuilder>
getGetBySolidityIDFieldBuilder() {
if (getBySolidityIDBuilder_ == null) {
if (!(queryCase_ == 2)) {
query_ = com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.getDefaultInstance();
}
getBySolidityIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery, com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.Builder, com.hedera.hashgraph.sdk.proto.GetBySolidityIDQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 2;
onChanged();
return getBySolidityIDBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery, com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.Builder, com.hedera.hashgraph.sdk.proto.ContractCallLocalQueryOrBuilder> contractCallLocalBuilder_;
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
* @return Whether the contractCallLocal field is set.
*/
@java.lang.Override
public boolean hasContractCallLocal() {
return queryCase_ == 3;
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
* @return The contractCallLocal.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery getContractCallLocal() {
if (contractCallLocalBuilder_ == null) {
if (queryCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.getDefaultInstance();
} else {
if (queryCase_ == 3) {
return contractCallLocalBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.getDefaultInstance();
}
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
public Builder setContractCallLocal(com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery value) {
if (contractCallLocalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
contractCallLocalBuilder_.setMessage(value);
}
queryCase_ = 3;
return this;
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
public Builder setContractCallLocal(
com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.Builder builderForValue) {
if (contractCallLocalBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
contractCallLocalBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 3;
return this;
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
public Builder mergeContractCallLocal(com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery value) {
if (contractCallLocalBuilder_ == null) {
if (queryCase_ == 3 &&
query_ != com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.newBuilder((com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 3) {
contractCallLocalBuilder_.mergeFrom(value);
} else {
contractCallLocalBuilder_.setMessage(value);
}
}
queryCase_ = 3;
return this;
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
public Builder clearContractCallLocal() {
if (contractCallLocalBuilder_ == null) {
if (queryCase_ == 3) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 3) {
queryCase_ = 0;
query_ = null;
}
contractCallLocalBuilder_.clear();
}
return this;
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
public com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.Builder getContractCallLocalBuilder() {
return getContractCallLocalFieldBuilder().getBuilder();
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallLocalQueryOrBuilder getContractCallLocalOrBuilder() {
if ((queryCase_ == 3) && (contractCallLocalBuilder_ != null)) {
return contractCallLocalBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.getDefaultInstance();
}
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery, com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.Builder, com.hedera.hashgraph.sdk.proto.ContractCallLocalQueryOrBuilder>
getContractCallLocalFieldBuilder() {
if (contractCallLocalBuilder_ == null) {
if (!(queryCase_ == 3)) {
query_ = com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.getDefaultInstance();
}
contractCallLocalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery, com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.Builder, com.hedera.hashgraph.sdk.proto.ContractCallLocalQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 3;
onChanged();
return contractCallLocalBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery, com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.ContractGetInfoQueryOrBuilder> contractGetInfoBuilder_;
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
* @return Whether the contractGetInfo field is set.
*/
@java.lang.Override
public boolean hasContractGetInfo() {
return queryCase_ == 4;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
* @return The contractGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery getContractGetInfo() {
if (contractGetInfoBuilder_ == null) {
if (queryCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.getDefaultInstance();
} else {
if (queryCase_ == 4) {
return contractGetInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
public Builder setContractGetInfo(com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery value) {
if (contractGetInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
contractGetInfoBuilder_.setMessage(value);
}
queryCase_ = 4;
return this;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
public Builder setContractGetInfo(
com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.Builder builderForValue) {
if (contractGetInfoBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
contractGetInfoBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 4;
return this;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
public Builder mergeContractGetInfo(com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery value) {
if (contractGetInfoBuilder_ == null) {
if (queryCase_ == 4 &&
query_ != com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.newBuilder((com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 4) {
contractGetInfoBuilder_.mergeFrom(value);
} else {
contractGetInfoBuilder_.setMessage(value);
}
}
queryCase_ = 4;
return this;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
public Builder clearContractGetInfo() {
if (contractGetInfoBuilder_ == null) {
if (queryCase_ == 4) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 4) {
queryCase_ = 0;
query_ = null;
}
contractGetInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
public com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.Builder getContractGetInfoBuilder() {
return getContractGetInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetInfoQueryOrBuilder getContractGetInfoOrBuilder() {
if ((queryCase_ == 4) && (contractGetInfoBuilder_ != null)) {
return contractGetInfoBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery, com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.ContractGetInfoQueryOrBuilder>
getContractGetInfoFieldBuilder() {
if (contractGetInfoBuilder_ == null) {
if (!(queryCase_ == 4)) {
query_ = com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.getDefaultInstance();
}
contractGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery, com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.ContractGetInfoQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 4;
onChanged();
return contractGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery, com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.Builder, com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQueryOrBuilder> contractGetBytecodeBuilder_;
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
* @return Whether the contractGetBytecode field is set.
*/
@java.lang.Override
public boolean hasContractGetBytecode() {
return queryCase_ == 5;
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
* @return The contractGetBytecode.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery getContractGetBytecode() {
if (contractGetBytecodeBuilder_ == null) {
if (queryCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.getDefaultInstance();
} else {
if (queryCase_ == 5) {
return contractGetBytecodeBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.getDefaultInstance();
}
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
public Builder setContractGetBytecode(com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery value) {
if (contractGetBytecodeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
contractGetBytecodeBuilder_.setMessage(value);
}
queryCase_ = 5;
return this;
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
public Builder setContractGetBytecode(
com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.Builder builderForValue) {
if (contractGetBytecodeBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
contractGetBytecodeBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 5;
return this;
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
public Builder mergeContractGetBytecode(com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery value) {
if (contractGetBytecodeBuilder_ == null) {
if (queryCase_ == 5 &&
query_ != com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.newBuilder((com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 5) {
contractGetBytecodeBuilder_.mergeFrom(value);
} else {
contractGetBytecodeBuilder_.setMessage(value);
}
}
queryCase_ = 5;
return this;
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
public Builder clearContractGetBytecode() {
if (contractGetBytecodeBuilder_ == null) {
if (queryCase_ == 5) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 5) {
queryCase_ = 0;
query_ = null;
}
contractGetBytecodeBuilder_.clear();
}
return this;
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
public com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.Builder getContractGetBytecodeBuilder() {
return getContractGetBytecodeFieldBuilder().getBuilder();
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQueryOrBuilder getContractGetBytecodeOrBuilder() {
if ((queryCase_ == 5) && (contractGetBytecodeBuilder_ != null)) {
return contractGetBytecodeBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.getDefaultInstance();
}
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery, com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.Builder, com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQueryOrBuilder>
getContractGetBytecodeFieldBuilder() {
if (contractGetBytecodeBuilder_ == null) {
if (!(queryCase_ == 5)) {
query_ = com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.getDefaultInstance();
}
contractGetBytecodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery, com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.Builder, com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 5;
onChanged();
return contractGetBytecodeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery, com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.Builder, com.hedera.hashgraph.sdk.proto.ContractGetRecordsQueryOrBuilder> contractGetRecordsBuilder_;
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
* @return Whether the contractGetRecords field is set.
*/
@java.lang.Override
public boolean hasContractGetRecords() {
return queryCase_ == 6;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
* @return The contractGetRecords.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery getContractGetRecords() {
if (contractGetRecordsBuilder_ == null) {
if (queryCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.getDefaultInstance();
} else {
if (queryCase_ == 6) {
return contractGetRecordsBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.getDefaultInstance();
}
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
public Builder setContractGetRecords(com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery value) {
if (contractGetRecordsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
contractGetRecordsBuilder_.setMessage(value);
}
queryCase_ = 6;
return this;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
public Builder setContractGetRecords(
com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.Builder builderForValue) {
if (contractGetRecordsBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
contractGetRecordsBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 6;
return this;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
public Builder mergeContractGetRecords(com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery value) {
if (contractGetRecordsBuilder_ == null) {
if (queryCase_ == 6 &&
query_ != com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.newBuilder((com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 6) {
contractGetRecordsBuilder_.mergeFrom(value);
} else {
contractGetRecordsBuilder_.setMessage(value);
}
}
queryCase_ = 6;
return this;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
public Builder clearContractGetRecords() {
if (contractGetRecordsBuilder_ == null) {
if (queryCase_ == 6) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 6) {
queryCase_ = 0;
query_ = null;
}
contractGetRecordsBuilder_.clear();
}
return this;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
public com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.Builder getContractGetRecordsBuilder() {
return getContractGetRecordsFieldBuilder().getBuilder();
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetRecordsQueryOrBuilder getContractGetRecordsOrBuilder() {
if ((queryCase_ == 6) && (contractGetRecordsBuilder_ != null)) {
return contractGetRecordsBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.getDefaultInstance();
}
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery, com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.Builder, com.hedera.hashgraph.sdk.proto.ContractGetRecordsQueryOrBuilder>
getContractGetRecordsFieldBuilder() {
if (contractGetRecordsBuilder_ == null) {
if (!(queryCase_ == 6)) {
query_ = com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.getDefaultInstance();
}
contractGetRecordsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery, com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.Builder, com.hedera.hashgraph.sdk.proto.ContractGetRecordsQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 6;
onChanged();
return contractGetRecordsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery, com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQueryOrBuilder> cryptogetAccountBalanceBuilder_;
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
* @return Whether the cryptogetAccountBalance field is set.
*/
@java.lang.Override
public boolean hasCryptogetAccountBalance() {
return queryCase_ == 7;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
* @return The cryptogetAccountBalance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery getCryptogetAccountBalance() {
if (cryptogetAccountBalanceBuilder_ == null) {
if (queryCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.getDefaultInstance();
} else {
if (queryCase_ == 7) {
return cryptogetAccountBalanceBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.getDefaultInstance();
}
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
public Builder setCryptogetAccountBalance(com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery value) {
if (cryptogetAccountBalanceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
cryptogetAccountBalanceBuilder_.setMessage(value);
}
queryCase_ = 7;
return this;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
public Builder setCryptogetAccountBalance(
com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.Builder builderForValue) {
if (cryptogetAccountBalanceBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
cryptogetAccountBalanceBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 7;
return this;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
public Builder mergeCryptogetAccountBalance(com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery value) {
if (cryptogetAccountBalanceBuilder_ == null) {
if (queryCase_ == 7 &&
query_ != com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 7) {
cryptogetAccountBalanceBuilder_.mergeFrom(value);
} else {
cryptogetAccountBalanceBuilder_.setMessage(value);
}
}
queryCase_ = 7;
return this;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
public Builder clearCryptogetAccountBalance() {
if (cryptogetAccountBalanceBuilder_ == null) {
if (queryCase_ == 7) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 7) {
queryCase_ = 0;
query_ = null;
}
cryptogetAccountBalanceBuilder_.clear();
}
return this;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.Builder getCryptogetAccountBalanceBuilder() {
return getCryptogetAccountBalanceFieldBuilder().getBuilder();
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQueryOrBuilder getCryptogetAccountBalanceOrBuilder() {
if ((queryCase_ == 7) && (cryptogetAccountBalanceBuilder_ != null)) {
return cryptogetAccountBalanceBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.getDefaultInstance();
}
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery, com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQueryOrBuilder>
getCryptogetAccountBalanceFieldBuilder() {
if (cryptogetAccountBalanceBuilder_ == null) {
if (!(queryCase_ == 7)) {
query_ = com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.getDefaultInstance();
}
cryptogetAccountBalanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery, com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 7;
onChanged();
return cryptogetAccountBalanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery, com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQueryOrBuilder> cryptoGetAccountRecordsBuilder_;
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
* @return Whether the cryptoGetAccountRecords field is set.
*/
@java.lang.Override
public boolean hasCryptoGetAccountRecords() {
return queryCase_ == 8;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
* @return The cryptoGetAccountRecords.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery getCryptoGetAccountRecords() {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (queryCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.getDefaultInstance();
} else {
if (queryCase_ == 8) {
return cryptoGetAccountRecordsBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.getDefaultInstance();
}
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
public Builder setCryptoGetAccountRecords(com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery value) {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
cryptoGetAccountRecordsBuilder_.setMessage(value);
}
queryCase_ = 8;
return this;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
public Builder setCryptoGetAccountRecords(
com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.Builder builderForValue) {
if (cryptoGetAccountRecordsBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
cryptoGetAccountRecordsBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 8;
return this;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
public Builder mergeCryptoGetAccountRecords(com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery value) {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (queryCase_ == 8 &&
query_ != com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 8) {
cryptoGetAccountRecordsBuilder_.mergeFrom(value);
} else {
cryptoGetAccountRecordsBuilder_.setMessage(value);
}
}
queryCase_ = 8;
return this;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
public Builder clearCryptoGetAccountRecords() {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (queryCase_ == 8) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 8) {
queryCase_ = 0;
query_ = null;
}
cryptoGetAccountRecordsBuilder_.clear();
}
return this;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.Builder getCryptoGetAccountRecordsBuilder() {
return getCryptoGetAccountRecordsFieldBuilder().getBuilder();
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQueryOrBuilder getCryptoGetAccountRecordsOrBuilder() {
if ((queryCase_ == 8) && (cryptoGetAccountRecordsBuilder_ != null)) {
return cryptoGetAccountRecordsBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.getDefaultInstance();
}
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery, com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQueryOrBuilder>
getCryptoGetAccountRecordsFieldBuilder() {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (!(queryCase_ == 8)) {
query_ = com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.getDefaultInstance();
}
cryptoGetAccountRecordsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery, com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 8;
onChanged();
return cryptoGetAccountRecordsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery, com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetInfoQueryOrBuilder> cryptoGetInfoBuilder_;
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
* @return Whether the cryptoGetInfo field is set.
*/
@java.lang.Override
public boolean hasCryptoGetInfo() {
return queryCase_ == 9;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
* @return The cryptoGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery getCryptoGetInfo() {
if (cryptoGetInfoBuilder_ == null) {
if (queryCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.getDefaultInstance();
} else {
if (queryCase_ == 9) {
return cryptoGetInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
public Builder setCryptoGetInfo(com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery value) {
if (cryptoGetInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
cryptoGetInfoBuilder_.setMessage(value);
}
queryCase_ = 9;
return this;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
public Builder setCryptoGetInfo(
com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.Builder builderForValue) {
if (cryptoGetInfoBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
cryptoGetInfoBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 9;
return this;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
public Builder mergeCryptoGetInfo(com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery value) {
if (cryptoGetInfoBuilder_ == null) {
if (queryCase_ == 9 &&
query_ != com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 9) {
cryptoGetInfoBuilder_.mergeFrom(value);
} else {
cryptoGetInfoBuilder_.setMessage(value);
}
}
queryCase_ = 9;
return this;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
public Builder clearCryptoGetInfo() {
if (cryptoGetInfoBuilder_ == null) {
if (queryCase_ == 9) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 9) {
queryCase_ = 0;
query_ = null;
}
cryptoGetInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
public com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.Builder getCryptoGetInfoBuilder() {
return getCryptoGetInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetInfoQueryOrBuilder getCryptoGetInfoOrBuilder() {
if ((queryCase_ == 9) && (cryptoGetInfoBuilder_ != null)) {
return cryptoGetInfoBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery, com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetInfoQueryOrBuilder>
getCryptoGetInfoFieldBuilder() {
if (cryptoGetInfoBuilder_ == null) {
if (!(queryCase_ == 9)) {
query_ = com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.getDefaultInstance();
}
cryptoGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery, com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetInfoQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 9;
onChanged();
return cryptoGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery, com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQueryOrBuilder> cryptoGetLiveHashBuilder_;
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
* @return Whether the cryptoGetLiveHash field is set.
*/
@java.lang.Override
public boolean hasCryptoGetLiveHash() {
return queryCase_ == 10;
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
* @return The cryptoGetLiveHash.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery getCryptoGetLiveHash() {
if (cryptoGetLiveHashBuilder_ == null) {
if (queryCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.getDefaultInstance();
} else {
if (queryCase_ == 10) {
return cryptoGetLiveHashBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.getDefaultInstance();
}
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
public Builder setCryptoGetLiveHash(com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery value) {
if (cryptoGetLiveHashBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
cryptoGetLiveHashBuilder_.setMessage(value);
}
queryCase_ = 10;
return this;
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
public Builder setCryptoGetLiveHash(
com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.Builder builderForValue) {
if (cryptoGetLiveHashBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
cryptoGetLiveHashBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 10;
return this;
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
public Builder mergeCryptoGetLiveHash(com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery value) {
if (cryptoGetLiveHashBuilder_ == null) {
if (queryCase_ == 10 &&
query_ != com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 10) {
cryptoGetLiveHashBuilder_.mergeFrom(value);
} else {
cryptoGetLiveHashBuilder_.setMessage(value);
}
}
queryCase_ = 10;
return this;
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
public Builder clearCryptoGetLiveHash() {
if (cryptoGetLiveHashBuilder_ == null) {
if (queryCase_ == 10) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 10) {
queryCase_ = 0;
query_ = null;
}
cryptoGetLiveHashBuilder_.clear();
}
return this;
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
public com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.Builder getCryptoGetLiveHashBuilder() {
return getCryptoGetLiveHashFieldBuilder().getBuilder();
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQueryOrBuilder getCryptoGetLiveHashOrBuilder() {
if ((queryCase_ == 10) && (cryptoGetLiveHashBuilder_ != null)) {
return cryptoGetLiveHashBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.getDefaultInstance();
}
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery, com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQueryOrBuilder>
getCryptoGetLiveHashFieldBuilder() {
if (cryptoGetLiveHashBuilder_ == null) {
if (!(queryCase_ == 10)) {
query_ = com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.getDefaultInstance();
}
cryptoGetLiveHashBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery, com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 10;
onChanged();
return cryptoGetLiveHashBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery, com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetStakersQueryOrBuilder> cryptoGetProxyStakersBuilder_;
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
* (not yet implemented in the current API)
*
*
* .proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11;
* @return Whether the cryptoGetProxyStakers field is set.
*/
@java.lang.Override
public boolean hasCryptoGetProxyStakers() {
return queryCase_ == 11;
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
* (not yet implemented in the current API)
*
*
* .proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11;
* @return The cryptoGetProxyStakers.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery getCryptoGetProxyStakers() {
if (cryptoGetProxyStakersBuilder_ == null) {
if (queryCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.getDefaultInstance();
} else {
if (queryCase_ == 11) {
return cryptoGetProxyStakersBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.getDefaultInstance();
}
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
* (not yet implemented in the current API)
*
*
* .proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11;
*/
public Builder setCryptoGetProxyStakers(com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery value) {
if (cryptoGetProxyStakersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
cryptoGetProxyStakersBuilder_.setMessage(value);
}
queryCase_ = 11;
return this;
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
* (not yet implemented in the current API)
*
*
* .proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11;
*/
public Builder setCryptoGetProxyStakers(
com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.Builder builderForValue) {
if (cryptoGetProxyStakersBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
cryptoGetProxyStakersBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 11;
return this;
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
* (not yet implemented in the current API)
*
*
* .proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11;
*/
public Builder mergeCryptoGetProxyStakers(com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery value) {
if (cryptoGetProxyStakersBuilder_ == null) {
if (queryCase_ == 11 &&
query_ != com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 11) {
cryptoGetProxyStakersBuilder_.mergeFrom(value);
} else {
cryptoGetProxyStakersBuilder_.setMessage(value);
}
}
queryCase_ = 11;
return this;
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
* (not yet implemented in the current API)
*
*
* .proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11;
*/
public Builder clearCryptoGetProxyStakers() {
if (cryptoGetProxyStakersBuilder_ == null) {
if (queryCase_ == 11) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 11) {
queryCase_ = 0;
query_ = null;
}
cryptoGetProxyStakersBuilder_.clear();
}
return this;
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
* (not yet implemented in the current API)
*
*
* .proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11;
*/
public com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.Builder getCryptoGetProxyStakersBuilder() {
return getCryptoGetProxyStakersFieldBuilder().getBuilder();
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
* (not yet implemented in the current API)
*
*
* .proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetStakersQueryOrBuilder getCryptoGetProxyStakersOrBuilder() {
if ((queryCase_ == 11) && (cryptoGetProxyStakersBuilder_ != null)) {
return cryptoGetProxyStakersBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.getDefaultInstance();
}
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
* (not yet implemented in the current API)
*
*
* .proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery, com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetStakersQueryOrBuilder>
getCryptoGetProxyStakersFieldBuilder() {
if (cryptoGetProxyStakersBuilder_ == null) {
if (!(queryCase_ == 11)) {
query_ = com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.getDefaultInstance();
}
cryptoGetProxyStakersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery, com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetStakersQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 11;
onChanged();
return cryptoGetProxyStakersBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileGetContentsQuery, com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.Builder, com.hedera.hashgraph.sdk.proto.FileGetContentsQueryOrBuilder> fileGetContentsBuilder_;
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
* @return Whether the fileGetContents field is set.
*/
@java.lang.Override
public boolean hasFileGetContents() {
return queryCase_ == 12;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
* @return The fileGetContents.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetContentsQuery getFileGetContents() {
if (fileGetContentsBuilder_ == null) {
if (queryCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileGetContentsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.getDefaultInstance();
} else {
if (queryCase_ == 12) {
return fileGetContentsBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.getDefaultInstance();
}
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
public Builder setFileGetContents(com.hedera.hashgraph.sdk.proto.FileGetContentsQuery value) {
if (fileGetContentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
fileGetContentsBuilder_.setMessage(value);
}
queryCase_ = 12;
return this;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
public Builder setFileGetContents(
com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.Builder builderForValue) {
if (fileGetContentsBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
fileGetContentsBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 12;
return this;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
public Builder mergeFileGetContents(com.hedera.hashgraph.sdk.proto.FileGetContentsQuery value) {
if (fileGetContentsBuilder_ == null) {
if (queryCase_ == 12 &&
query_ != com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.newBuilder((com.hedera.hashgraph.sdk.proto.FileGetContentsQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 12) {
fileGetContentsBuilder_.mergeFrom(value);
} else {
fileGetContentsBuilder_.setMessage(value);
}
}
queryCase_ = 12;
return this;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
public Builder clearFileGetContents() {
if (fileGetContentsBuilder_ == null) {
if (queryCase_ == 12) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 12) {
queryCase_ = 0;
query_ = null;
}
fileGetContentsBuilder_.clear();
}
return this;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
public com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.Builder getFileGetContentsBuilder() {
return getFileGetContentsFieldBuilder().getBuilder();
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetContentsQueryOrBuilder getFileGetContentsOrBuilder() {
if ((queryCase_ == 12) && (fileGetContentsBuilder_ != null)) {
return fileGetContentsBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileGetContentsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.getDefaultInstance();
}
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileGetContentsQuery, com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.Builder, com.hedera.hashgraph.sdk.proto.FileGetContentsQueryOrBuilder>
getFileGetContentsFieldBuilder() {
if (fileGetContentsBuilder_ == null) {
if (!(queryCase_ == 12)) {
query_ = com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.getDefaultInstance();
}
fileGetContentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileGetContentsQuery, com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.Builder, com.hedera.hashgraph.sdk.proto.FileGetContentsQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.FileGetContentsQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 12;
onChanged();
return fileGetContentsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileGetInfoQuery, com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.FileGetInfoQueryOrBuilder> fileGetInfoBuilder_;
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
* @return Whether the fileGetInfo field is set.
*/
@java.lang.Override
public boolean hasFileGetInfo() {
return queryCase_ == 13;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
* @return The fileGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetInfoQuery getFileGetInfo() {
if (fileGetInfoBuilder_ == null) {
if (queryCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.getDefaultInstance();
} else {
if (queryCase_ == 13) {
return fileGetInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
public Builder setFileGetInfo(com.hedera.hashgraph.sdk.proto.FileGetInfoQuery value) {
if (fileGetInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
fileGetInfoBuilder_.setMessage(value);
}
queryCase_ = 13;
return this;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
public Builder setFileGetInfo(
com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.Builder builderForValue) {
if (fileGetInfoBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
fileGetInfoBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 13;
return this;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
public Builder mergeFileGetInfo(com.hedera.hashgraph.sdk.proto.FileGetInfoQuery value) {
if (fileGetInfoBuilder_ == null) {
if (queryCase_ == 13 &&
query_ != com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.newBuilder((com.hedera.hashgraph.sdk.proto.FileGetInfoQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 13) {
fileGetInfoBuilder_.mergeFrom(value);
} else {
fileGetInfoBuilder_.setMessage(value);
}
}
queryCase_ = 13;
return this;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
public Builder clearFileGetInfo() {
if (fileGetInfoBuilder_ == null) {
if (queryCase_ == 13) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 13) {
queryCase_ = 0;
query_ = null;
}
fileGetInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
public com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.Builder getFileGetInfoBuilder() {
return getFileGetInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetInfoQueryOrBuilder getFileGetInfoOrBuilder() {
if ((queryCase_ == 13) && (fileGetInfoBuilder_ != null)) {
return fileGetInfoBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileGetInfoQuery, com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.FileGetInfoQueryOrBuilder>
getFileGetInfoFieldBuilder() {
if (fileGetInfoBuilder_ == null) {
if (!(queryCase_ == 13)) {
query_ = com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.getDefaultInstance();
}
fileGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileGetInfoQuery, com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.FileGetInfoQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.FileGetInfoQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 13;
onChanged();
return fileGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery, com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQueryOrBuilder> transactionGetReceiptBuilder_;
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
* @return Whether the transactionGetReceipt field is set.
*/
@java.lang.Override
public boolean hasTransactionGetReceipt() {
return queryCase_ == 14;
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
* @return The transactionGetReceipt.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery getTransactionGetReceipt() {
if (transactionGetReceiptBuilder_ == null) {
if (queryCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.getDefaultInstance();
} else {
if (queryCase_ == 14) {
return transactionGetReceiptBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.getDefaultInstance();
}
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
public Builder setTransactionGetReceipt(com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery value) {
if (transactionGetReceiptBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
transactionGetReceiptBuilder_.setMessage(value);
}
queryCase_ = 14;
return this;
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
public Builder setTransactionGetReceipt(
com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.Builder builderForValue) {
if (transactionGetReceiptBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
transactionGetReceiptBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 14;
return this;
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
public Builder mergeTransactionGetReceipt(com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery value) {
if (transactionGetReceiptBuilder_ == null) {
if (queryCase_ == 14 &&
query_ != com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.newBuilder((com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 14) {
transactionGetReceiptBuilder_.mergeFrom(value);
} else {
transactionGetReceiptBuilder_.setMessage(value);
}
}
queryCase_ = 14;
return this;
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
public Builder clearTransactionGetReceipt() {
if (transactionGetReceiptBuilder_ == null) {
if (queryCase_ == 14) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 14) {
queryCase_ = 0;
query_ = null;
}
transactionGetReceiptBuilder_.clear();
}
return this;
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
public com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.Builder getTransactionGetReceiptBuilder() {
return getTransactionGetReceiptFieldBuilder().getBuilder();
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQueryOrBuilder getTransactionGetReceiptOrBuilder() {
if ((queryCase_ == 14) && (transactionGetReceiptBuilder_ != null)) {
return transactionGetReceiptBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.getDefaultInstance();
}
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery, com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQueryOrBuilder>
getTransactionGetReceiptFieldBuilder() {
if (transactionGetReceiptBuilder_ == null) {
if (!(queryCase_ == 14)) {
query_ = com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.getDefaultInstance();
}
transactionGetReceiptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery, com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 14;
onChanged();
return transactionGetReceiptBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery, com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetRecordQueryOrBuilder> transactionGetRecordBuilder_;
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
* @return Whether the transactionGetRecord field is set.
*/
@java.lang.Override
public boolean hasTransactionGetRecord() {
return queryCase_ == 15;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
* @return The transactionGetRecord.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery getTransactionGetRecord() {
if (transactionGetRecordBuilder_ == null) {
if (queryCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.getDefaultInstance();
} else {
if (queryCase_ == 15) {
return transactionGetRecordBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.getDefaultInstance();
}
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
public Builder setTransactionGetRecord(com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery value) {
if (transactionGetRecordBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
transactionGetRecordBuilder_.setMessage(value);
}
queryCase_ = 15;
return this;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
public Builder setTransactionGetRecord(
com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.Builder builderForValue) {
if (transactionGetRecordBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
transactionGetRecordBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 15;
return this;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
public Builder mergeTransactionGetRecord(com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery value) {
if (transactionGetRecordBuilder_ == null) {
if (queryCase_ == 15 &&
query_ != com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.newBuilder((com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 15) {
transactionGetRecordBuilder_.mergeFrom(value);
} else {
transactionGetRecordBuilder_.setMessage(value);
}
}
queryCase_ = 15;
return this;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
public Builder clearTransactionGetRecord() {
if (transactionGetRecordBuilder_ == null) {
if (queryCase_ == 15) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 15) {
queryCase_ = 0;
query_ = null;
}
transactionGetRecordBuilder_.clear();
}
return this;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
public com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.Builder getTransactionGetRecordBuilder() {
return getTransactionGetRecordFieldBuilder().getBuilder();
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetRecordQueryOrBuilder getTransactionGetRecordOrBuilder() {
if ((queryCase_ == 15) && (transactionGetRecordBuilder_ != null)) {
return transactionGetRecordBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.getDefaultInstance();
}
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery, com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetRecordQueryOrBuilder>
getTransactionGetRecordFieldBuilder() {
if (transactionGetRecordBuilder_ == null) {
if (!(queryCase_ == 15)) {
query_ = com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.getDefaultInstance();
}
transactionGetRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery, com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetRecordQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 15;
onChanged();
return transactionGetRecordBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery, com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQueryOrBuilder> transactionGetFastRecordBuilder_;
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
* @return Whether the transactionGetFastRecord field is set.
*/
@java.lang.Override
public boolean hasTransactionGetFastRecord() {
return queryCase_ == 16;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
* @return The transactionGetFastRecord.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery getTransactionGetFastRecord() {
if (transactionGetFastRecordBuilder_ == null) {
if (queryCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.getDefaultInstance();
} else {
if (queryCase_ == 16) {
return transactionGetFastRecordBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.getDefaultInstance();
}
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
public Builder setTransactionGetFastRecord(com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery value) {
if (transactionGetFastRecordBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
transactionGetFastRecordBuilder_.setMessage(value);
}
queryCase_ = 16;
return this;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
public Builder setTransactionGetFastRecord(
com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.Builder builderForValue) {
if (transactionGetFastRecordBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
transactionGetFastRecordBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 16;
return this;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
public Builder mergeTransactionGetFastRecord(com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery value) {
if (transactionGetFastRecordBuilder_ == null) {
if (queryCase_ == 16 &&
query_ != com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.newBuilder((com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 16) {
transactionGetFastRecordBuilder_.mergeFrom(value);
} else {
transactionGetFastRecordBuilder_.setMessage(value);
}
}
queryCase_ = 16;
return this;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
public Builder clearTransactionGetFastRecord() {
if (transactionGetFastRecordBuilder_ == null) {
if (queryCase_ == 16) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 16) {
queryCase_ = 0;
query_ = null;
}
transactionGetFastRecordBuilder_.clear();
}
return this;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
public com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.Builder getTransactionGetFastRecordBuilder() {
return getTransactionGetFastRecordFieldBuilder().getBuilder();
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQueryOrBuilder getTransactionGetFastRecordOrBuilder() {
if ((queryCase_ == 16) && (transactionGetFastRecordBuilder_ != null)) {
return transactionGetFastRecordBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.getDefaultInstance();
}
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery, com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQueryOrBuilder>
getTransactionGetFastRecordFieldBuilder() {
if (transactionGetFastRecordBuilder_ == null) {
if (!(queryCase_ == 16)) {
query_ = com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.getDefaultInstance();
}
transactionGetFastRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery, com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 16;
onChanged();
return transactionGetFastRecordBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery, com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQueryOrBuilder> consensusGetTopicInfoBuilder_;
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
* @return Whether the consensusGetTopicInfo field is set.
*/
@java.lang.Override
public boolean hasConsensusGetTopicInfo() {
return queryCase_ == 50;
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
* @return The consensusGetTopicInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery getConsensusGetTopicInfo() {
if (consensusGetTopicInfoBuilder_ == null) {
if (queryCase_ == 50) {
return (com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.getDefaultInstance();
} else {
if (queryCase_ == 50) {
return consensusGetTopicInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
public Builder setConsensusGetTopicInfo(com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery value) {
if (consensusGetTopicInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
consensusGetTopicInfoBuilder_.setMessage(value);
}
queryCase_ = 50;
return this;
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
public Builder setConsensusGetTopicInfo(
com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.Builder builderForValue) {
if (consensusGetTopicInfoBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
consensusGetTopicInfoBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 50;
return this;
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
public Builder mergeConsensusGetTopicInfo(com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery value) {
if (consensusGetTopicInfoBuilder_ == null) {
if (queryCase_ == 50 &&
query_ != com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.newBuilder((com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 50) {
consensusGetTopicInfoBuilder_.mergeFrom(value);
} else {
consensusGetTopicInfoBuilder_.setMessage(value);
}
}
queryCase_ = 50;
return this;
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
public Builder clearConsensusGetTopicInfo() {
if (consensusGetTopicInfoBuilder_ == null) {
if (queryCase_ == 50) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 50) {
queryCase_ = 0;
query_ = null;
}
consensusGetTopicInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
public com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.Builder getConsensusGetTopicInfoBuilder() {
return getConsensusGetTopicInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQueryOrBuilder getConsensusGetTopicInfoOrBuilder() {
if ((queryCase_ == 50) && (consensusGetTopicInfoBuilder_ != null)) {
return consensusGetTopicInfoBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 50) {
return (com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery, com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQueryOrBuilder>
getConsensusGetTopicInfoFieldBuilder() {
if (consensusGetTopicInfoBuilder_ == null) {
if (!(queryCase_ == 50)) {
query_ = com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.getDefaultInstance();
}
consensusGetTopicInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery, com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 50;
onChanged();
return consensusGetTopicInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery, com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQueryOrBuilder> networkGetVersionInfoBuilder_;
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
* @return Whether the networkGetVersionInfo field is set.
*/
@java.lang.Override
public boolean hasNetworkGetVersionInfo() {
return queryCase_ == 51;
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
* @return The networkGetVersionInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery getNetworkGetVersionInfo() {
if (networkGetVersionInfoBuilder_ == null) {
if (queryCase_ == 51) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.getDefaultInstance();
} else {
if (queryCase_ == 51) {
return networkGetVersionInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
*/
public Builder setNetworkGetVersionInfo(com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery value) {
if (networkGetVersionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
networkGetVersionInfoBuilder_.setMessage(value);
}
queryCase_ = 51;
return this;
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
*/
public Builder setNetworkGetVersionInfo(
com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.Builder builderForValue) {
if (networkGetVersionInfoBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
networkGetVersionInfoBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 51;
return this;
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
*/
public Builder mergeNetworkGetVersionInfo(com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery value) {
if (networkGetVersionInfoBuilder_ == null) {
if (queryCase_ == 51 &&
query_ != com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.newBuilder((com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 51) {
networkGetVersionInfoBuilder_.mergeFrom(value);
} else {
networkGetVersionInfoBuilder_.setMessage(value);
}
}
queryCase_ = 51;
return this;
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
*/
public Builder clearNetworkGetVersionInfo() {
if (networkGetVersionInfoBuilder_ == null) {
if (queryCase_ == 51) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 51) {
queryCase_ = 0;
query_ = null;
}
networkGetVersionInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
*/
public com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.Builder getNetworkGetVersionInfoBuilder() {
return getNetworkGetVersionInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQueryOrBuilder getNetworkGetVersionInfoOrBuilder() {
if ((queryCase_ == 51) && (networkGetVersionInfoBuilder_ != null)) {
return networkGetVersionInfoBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 51) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery, com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQueryOrBuilder>
getNetworkGetVersionInfoFieldBuilder() {
if (networkGetVersionInfoBuilder_ == null) {
if (!(queryCase_ == 51)) {
query_ = com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.getDefaultInstance();
}
networkGetVersionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery, com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 51;
onChanged();
return networkGetVersionInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery, com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.TokenGetInfoQueryOrBuilder> tokenGetInfoBuilder_;
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
* @return Whether the tokenGetInfo field is set.
*/
@java.lang.Override
public boolean hasTokenGetInfo() {
return queryCase_ == 52;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
* @return The tokenGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery getTokenGetInfo() {
if (tokenGetInfoBuilder_ == null) {
if (queryCase_ == 52) {
return (com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.getDefaultInstance();
} else {
if (queryCase_ == 52) {
return tokenGetInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
public Builder setTokenGetInfo(com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery value) {
if (tokenGetInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
tokenGetInfoBuilder_.setMessage(value);
}
queryCase_ = 52;
return this;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
public Builder setTokenGetInfo(
com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.Builder builderForValue) {
if (tokenGetInfoBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
tokenGetInfoBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 52;
return this;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
public Builder mergeTokenGetInfo(com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery value) {
if (tokenGetInfoBuilder_ == null) {
if (queryCase_ == 52 &&
query_ != com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.newBuilder((com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 52) {
tokenGetInfoBuilder_.mergeFrom(value);
} else {
tokenGetInfoBuilder_.setMessage(value);
}
}
queryCase_ = 52;
return this;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
public Builder clearTokenGetInfo() {
if (tokenGetInfoBuilder_ == null) {
if (queryCase_ == 52) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 52) {
queryCase_ = 0;
query_ = null;
}
tokenGetInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
public com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.Builder getTokenGetInfoBuilder() {
return getTokenGetInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetInfoQueryOrBuilder getTokenGetInfoOrBuilder() {
if ((queryCase_ == 52) && (tokenGetInfoBuilder_ != null)) {
return tokenGetInfoBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 52) {
return (com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery, com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.TokenGetInfoQueryOrBuilder>
getTokenGetInfoFieldBuilder() {
if (tokenGetInfoBuilder_ == null) {
if (!(queryCase_ == 52)) {
query_ = com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.getDefaultInstance();
}
tokenGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery, com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.TokenGetInfoQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 52;
onChanged();
return tokenGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery, com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQueryOrBuilder> scheduleGetInfoBuilder_;
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
* @return Whether the scheduleGetInfo field is set.
*/
@java.lang.Override
public boolean hasScheduleGetInfo() {
return queryCase_ == 53;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
* @return The scheduleGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery getScheduleGetInfo() {
if (scheduleGetInfoBuilder_ == null) {
if (queryCase_ == 53) {
return (com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.getDefaultInstance();
} else {
if (queryCase_ == 53) {
return scheduleGetInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
public Builder setScheduleGetInfo(com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery value) {
if (scheduleGetInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
scheduleGetInfoBuilder_.setMessage(value);
}
queryCase_ = 53;
return this;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
public Builder setScheduleGetInfo(
com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.Builder builderForValue) {
if (scheduleGetInfoBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
scheduleGetInfoBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 53;
return this;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
public Builder mergeScheduleGetInfo(com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery value) {
if (scheduleGetInfoBuilder_ == null) {
if (queryCase_ == 53 &&
query_ != com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.newBuilder((com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 53) {
scheduleGetInfoBuilder_.mergeFrom(value);
} else {
scheduleGetInfoBuilder_.setMessage(value);
}
}
queryCase_ = 53;
return this;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
public Builder clearScheduleGetInfo() {
if (scheduleGetInfoBuilder_ == null) {
if (queryCase_ == 53) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 53) {
queryCase_ = 0;
query_ = null;
}
scheduleGetInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
public com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.Builder getScheduleGetInfoBuilder() {
return getScheduleGetInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQueryOrBuilder getScheduleGetInfoOrBuilder() {
if ((queryCase_ == 53) && (scheduleGetInfoBuilder_ != null)) {
return scheduleGetInfoBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 53) {
return (com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery, com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQueryOrBuilder>
getScheduleGetInfoFieldBuilder() {
if (scheduleGetInfoBuilder_ == null) {
if (!(queryCase_ == 53)) {
query_ = com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.getDefaultInstance();
}
scheduleGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery, com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 53;
onChanged();
return scheduleGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery, com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.Builder, com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQueryOrBuilder> tokenGetAccountNftInfosBuilder_;
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
* @return Whether the tokenGetAccountNftInfos field is set.
*/
@java.lang.Override
public boolean hasTokenGetAccountNftInfos() {
return queryCase_ == 54;
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
* @return The tokenGetAccountNftInfos.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery getTokenGetAccountNftInfos() {
if (tokenGetAccountNftInfosBuilder_ == null) {
if (queryCase_ == 54) {
return (com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.getDefaultInstance();
} else {
if (queryCase_ == 54) {
return tokenGetAccountNftInfosBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.getDefaultInstance();
}
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
public Builder setTokenGetAccountNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery value) {
if (tokenGetAccountNftInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
tokenGetAccountNftInfosBuilder_.setMessage(value);
}
queryCase_ = 54;
return this;
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
public Builder setTokenGetAccountNftInfos(
com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.Builder builderForValue) {
if (tokenGetAccountNftInfosBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
tokenGetAccountNftInfosBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 54;
return this;
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
public Builder mergeTokenGetAccountNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery value) {
if (tokenGetAccountNftInfosBuilder_ == null) {
if (queryCase_ == 54 &&
query_ != com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.newBuilder((com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 54) {
tokenGetAccountNftInfosBuilder_.mergeFrom(value);
} else {
tokenGetAccountNftInfosBuilder_.setMessage(value);
}
}
queryCase_ = 54;
return this;
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
public Builder clearTokenGetAccountNftInfos() {
if (tokenGetAccountNftInfosBuilder_ == null) {
if (queryCase_ == 54) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 54) {
queryCase_ = 0;
query_ = null;
}
tokenGetAccountNftInfosBuilder_.clear();
}
return this;
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
public com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.Builder getTokenGetAccountNftInfosBuilder() {
return getTokenGetAccountNftInfosFieldBuilder().getBuilder();
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQueryOrBuilder getTokenGetAccountNftInfosOrBuilder() {
if ((queryCase_ == 54) && (tokenGetAccountNftInfosBuilder_ != null)) {
return tokenGetAccountNftInfosBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 54) {
return (com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.getDefaultInstance();
}
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery, com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.Builder, com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQueryOrBuilder>
getTokenGetAccountNftInfosFieldBuilder() {
if (tokenGetAccountNftInfosBuilder_ == null) {
if (!(queryCase_ == 54)) {
query_ = com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.getDefaultInstance();
}
tokenGetAccountNftInfosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery, com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.Builder, com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 54;
onChanged();
return tokenGetAccountNftInfosBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery, com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQueryOrBuilder> tokenGetNftInfoBuilder_;
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
* @return Whether the tokenGetNftInfo field is set.
*/
@java.lang.Override
public boolean hasTokenGetNftInfo() {
return queryCase_ == 55;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
* @return The tokenGetNftInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery getTokenGetNftInfo() {
if (tokenGetNftInfoBuilder_ == null) {
if (queryCase_ == 55) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.getDefaultInstance();
} else {
if (queryCase_ == 55) {
return tokenGetNftInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
public Builder setTokenGetNftInfo(com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery value) {
if (tokenGetNftInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
tokenGetNftInfoBuilder_.setMessage(value);
}
queryCase_ = 55;
return this;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
public Builder setTokenGetNftInfo(
com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.Builder builderForValue) {
if (tokenGetNftInfoBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
tokenGetNftInfoBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 55;
return this;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
public Builder mergeTokenGetNftInfo(com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery value) {
if (tokenGetNftInfoBuilder_ == null) {
if (queryCase_ == 55 &&
query_ != com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.newBuilder((com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 55) {
tokenGetNftInfoBuilder_.mergeFrom(value);
} else {
tokenGetNftInfoBuilder_.setMessage(value);
}
}
queryCase_ = 55;
return this;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
public Builder clearTokenGetNftInfo() {
if (tokenGetNftInfoBuilder_ == null) {
if (queryCase_ == 55) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 55) {
queryCase_ = 0;
query_ = null;
}
tokenGetNftInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.Builder getTokenGetNftInfoBuilder() {
return getTokenGetNftInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQueryOrBuilder getTokenGetNftInfoOrBuilder() {
if ((queryCase_ == 55) && (tokenGetNftInfoBuilder_ != null)) {
return tokenGetNftInfoBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 55) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.getDefaultInstance();
}
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery, com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQueryOrBuilder>
getTokenGetNftInfoFieldBuilder() {
if (tokenGetNftInfoBuilder_ == null) {
if (!(queryCase_ == 55)) {
query_ = com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.getDefaultInstance();
}
tokenGetNftInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery, com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.Builder, com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 55;
onChanged();
return tokenGetNftInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery, com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.Builder, com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQueryOrBuilder> tokenGetNftInfosBuilder_;
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
* @return Whether the tokenGetNftInfos field is set.
*/
@java.lang.Override
public boolean hasTokenGetNftInfos() {
return queryCase_ == 56;
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
* @return The tokenGetNftInfos.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery getTokenGetNftInfos() {
if (tokenGetNftInfosBuilder_ == null) {
if (queryCase_ == 56) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.getDefaultInstance();
} else {
if (queryCase_ == 56) {
return tokenGetNftInfosBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.getDefaultInstance();
}
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
public Builder setTokenGetNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery value) {
if (tokenGetNftInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
tokenGetNftInfosBuilder_.setMessage(value);
}
queryCase_ = 56;
return this;
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
public Builder setTokenGetNftInfos(
com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.Builder builderForValue) {
if (tokenGetNftInfosBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
tokenGetNftInfosBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 56;
return this;
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
public Builder mergeTokenGetNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery value) {
if (tokenGetNftInfosBuilder_ == null) {
if (queryCase_ == 56 &&
query_ != com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.newBuilder((com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 56) {
tokenGetNftInfosBuilder_.mergeFrom(value);
} else {
tokenGetNftInfosBuilder_.setMessage(value);
}
}
queryCase_ = 56;
return this;
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
public Builder clearTokenGetNftInfos() {
if (tokenGetNftInfosBuilder_ == null) {
if (queryCase_ == 56) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 56) {
queryCase_ = 0;
query_ = null;
}
tokenGetNftInfosBuilder_.clear();
}
return this;
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.Builder getTokenGetNftInfosBuilder() {
return getTokenGetNftInfosFieldBuilder().getBuilder();
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQueryOrBuilder getTokenGetNftInfosOrBuilder() {
if ((queryCase_ == 56) && (tokenGetNftInfosBuilder_ != null)) {
return tokenGetNftInfosBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 56) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.getDefaultInstance();
}
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery, com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.Builder, com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQueryOrBuilder>
getTokenGetNftInfosFieldBuilder() {
if (tokenGetNftInfosBuilder_ == null) {
if (!(queryCase_ == 56)) {
query_ = com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.getDefaultInstance();
}
tokenGetNftInfosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery, com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.Builder, com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 56;
onChanged();
return tokenGetNftInfosBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery, com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.Builder, com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQueryOrBuilder> networkGetExecutionTimeBuilder_;
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
* @return Whether the networkGetExecutionTime field is set.
*/
@java.lang.Override
public boolean hasNetworkGetExecutionTime() {
return queryCase_ == 57;
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
* @return The networkGetExecutionTime.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery getNetworkGetExecutionTime() {
if (networkGetExecutionTimeBuilder_ == null) {
if (queryCase_ == 57) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.getDefaultInstance();
} else {
if (queryCase_ == 57) {
return networkGetExecutionTimeBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.getDefaultInstance();
}
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
public Builder setNetworkGetExecutionTime(com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery value) {
if (networkGetExecutionTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
networkGetExecutionTimeBuilder_.setMessage(value);
}
queryCase_ = 57;
return this;
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
public Builder setNetworkGetExecutionTime(
com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.Builder builderForValue) {
if (networkGetExecutionTimeBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
networkGetExecutionTimeBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 57;
return this;
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
public Builder mergeNetworkGetExecutionTime(com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery value) {
if (networkGetExecutionTimeBuilder_ == null) {
if (queryCase_ == 57 &&
query_ != com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.newBuilder((com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 57) {
networkGetExecutionTimeBuilder_.mergeFrom(value);
} else {
networkGetExecutionTimeBuilder_.setMessage(value);
}
}
queryCase_ = 57;
return this;
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
public Builder clearNetworkGetExecutionTime() {
if (networkGetExecutionTimeBuilder_ == null) {
if (queryCase_ == 57) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 57) {
queryCase_ = 0;
query_ = null;
}
networkGetExecutionTimeBuilder_.clear();
}
return this;
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
public com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.Builder getNetworkGetExecutionTimeBuilder() {
return getNetworkGetExecutionTimeFieldBuilder().getBuilder();
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQueryOrBuilder getNetworkGetExecutionTimeOrBuilder() {
if ((queryCase_ == 57) && (networkGetExecutionTimeBuilder_ != null)) {
return networkGetExecutionTimeBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 57) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.getDefaultInstance();
}
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery, com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.Builder, com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQueryOrBuilder>
getNetworkGetExecutionTimeFieldBuilder() {
if (networkGetExecutionTimeBuilder_ == null) {
if (!(queryCase_ == 57)) {
query_ = com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.getDefaultInstance();
}
networkGetExecutionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery, com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.Builder, com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 57;
onChanged();
return networkGetExecutionTimeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery, com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.Builder, com.hedera.hashgraph.sdk.proto.GetAccountDetailsQueryOrBuilder> accountDetailsBuilder_;
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
* @return Whether the accountDetails field is set.
*/
@java.lang.Override
public boolean hasAccountDetails() {
return queryCase_ == 58;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
* @return The accountDetails.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery getAccountDetails() {
if (accountDetailsBuilder_ == null) {
if (queryCase_ == 58) {
return (com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.getDefaultInstance();
} else {
if (queryCase_ == 58) {
return accountDetailsBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.getDefaultInstance();
}
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
public Builder setAccountDetails(com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery value) {
if (accountDetailsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
query_ = value;
onChanged();
} else {
accountDetailsBuilder_.setMessage(value);
}
queryCase_ = 58;
return this;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
public Builder setAccountDetails(
com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.Builder builderForValue) {
if (accountDetailsBuilder_ == null) {
query_ = builderForValue.build();
onChanged();
} else {
accountDetailsBuilder_.setMessage(builderForValue.build());
}
queryCase_ = 58;
return this;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
public Builder mergeAccountDetails(com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery value) {
if (accountDetailsBuilder_ == null) {
if (queryCase_ == 58 &&
query_ != com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.getDefaultInstance()) {
query_ = com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.newBuilder((com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery) query_)
.mergeFrom(value).buildPartial();
} else {
query_ = value;
}
onChanged();
} else {
if (queryCase_ == 58) {
accountDetailsBuilder_.mergeFrom(value);
} else {
accountDetailsBuilder_.setMessage(value);
}
}
queryCase_ = 58;
return this;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
public Builder clearAccountDetails() {
if (accountDetailsBuilder_ == null) {
if (queryCase_ == 58) {
queryCase_ = 0;
query_ = null;
onChanged();
}
} else {
if (queryCase_ == 58) {
queryCase_ = 0;
query_ = null;
}
accountDetailsBuilder_.clear();
}
return this;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
public com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.Builder getAccountDetailsBuilder() {
return getAccountDetailsFieldBuilder().getBuilder();
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetAccountDetailsQueryOrBuilder getAccountDetailsOrBuilder() {
if ((queryCase_ == 58) && (accountDetailsBuilder_ != null)) {
return accountDetailsBuilder_.getMessageOrBuilder();
} else {
if (queryCase_ == 58) {
return (com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery) query_;
}
return com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.getDefaultInstance();
}
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery, com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.Builder, com.hedera.hashgraph.sdk.proto.GetAccountDetailsQueryOrBuilder>
getAccountDetailsFieldBuilder() {
if (accountDetailsBuilder_ == null) {
if (!(queryCase_ == 58)) {
query_ = com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.getDefaultInstance();
}
accountDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery, com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.Builder, com.hedera.hashgraph.sdk.proto.GetAccountDetailsQueryOrBuilder>(
(com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery) query_,
getParentForChildren(),
isClean());
query_ = null;
}
queryCase_ = 58;
onChanged();
return accountDetailsBuilder_;
}
@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.Query)
}
// @@protoc_insertion_point(class_scope:proto.Query)
private static final com.hedera.hashgraph.sdk.proto.Query DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.hedera.hashgraph.sdk.proto.Query();
}
public static com.hedera.hashgraph.sdk.proto.Query getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Query parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.Query getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}