// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: query.proto
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.GeneratedMessageLite<
Query, Query.Builder> implements
// @@protoc_insertion_point(message_implements:proto.Query)
QueryOrBuilder {
private Query() {
}
private int queryCase_ = 0;
private java.lang.Object query_;
public enum QueryCase {
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;
}
/**
* @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;
}
};
@java.lang.Override
public QueryCase
getQueryCase() {
return QueryCase.forNumber(
queryCase_);
}
private void clearQuery() {
queryCase_ = 0;
query_ = null;
}
public static final int GETBYKEY_FIELD_NUMBER = 1;
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
@java.lang.Override
public boolean hasGetByKey() {
return queryCase_ == 1;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
@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;
*/
private void setGetByKey(com.hedera.hashgraph.sdk.proto.GetByKeyQuery value) {
value.getClass();
query_ = value;
queryCase_ = 1;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
private void mergeGetByKey(com.hedera.hashgraph.sdk.proto.GetByKeyQuery value) {
value.getClass();
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;
}
queryCase_ = 1;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
private void clearGetByKey() {
if (queryCase_ == 1) {
queryCase_ = 0;
query_ = null;
}
}
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;
*/
@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;
*/
@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;
*/
private void setGetBySolidityID(com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery value) {
value.getClass();
query_ = value;
queryCase_ = 2;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
*/
private void mergeGetBySolidityID(com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery value) {
value.getClass();
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;
}
queryCase_ = 2;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
*/
private void clearGetBySolidityID() {
if (queryCase_ == 2) {
queryCase_ = 0;
query_ = null;
}
}
public static final int CONTRACTCALLLOCAL_FIELD_NUMBER = 3;
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
@java.lang.Override
public boolean hasContractCallLocal() {
return queryCase_ == 3;
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
@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;
*/
private void setContractCallLocal(com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery value) {
value.getClass();
query_ = value;
queryCase_ = 3;
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
private void mergeContractCallLocal(com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery value) {
value.getClass();
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;
}
queryCase_ = 3;
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
private void clearContractCallLocal() {
if (queryCase_ == 3) {
queryCase_ = 0;
query_ = null;
}
}
public static final int CONTRACTGETINFO_FIELD_NUMBER = 4;
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
@java.lang.Override
public boolean hasContractGetInfo() {
return queryCase_ == 4;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
@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;
*/
private void setContractGetInfo(com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery value) {
value.getClass();
query_ = value;
queryCase_ = 4;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
private void mergeContractGetInfo(com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery value) {
value.getClass();
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;
}
queryCase_ = 4;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
private void clearContractGetInfo() {
if (queryCase_ == 4) {
queryCase_ = 0;
query_ = null;
}
}
public static final int CONTRACTGETBYTECODE_FIELD_NUMBER = 5;
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
@java.lang.Override
public boolean hasContractGetBytecode() {
return queryCase_ == 5;
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
@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;
*/
private void setContractGetBytecode(com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery value) {
value.getClass();
query_ = value;
queryCase_ = 5;
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
private void mergeContractGetBytecode(com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery value) {
value.getClass();
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;
}
queryCase_ = 5;
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
private void clearContractGetBytecode() {
if (queryCase_ == 5) {
queryCase_ = 0;
query_ = null;
}
}
public static final int CONTRACTGETRECORDS_FIELD_NUMBER = 6;
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
@java.lang.Override
public boolean hasContractGetRecords() {
return queryCase_ == 6;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
@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;
*/
private void setContractGetRecords(com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery value) {
value.getClass();
query_ = value;
queryCase_ = 6;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
private void mergeContractGetRecords(com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery value) {
value.getClass();
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;
}
queryCase_ = 6;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
private void clearContractGetRecords() {
if (queryCase_ == 6) {
queryCase_ = 0;
query_ = null;
}
}
public static final int CRYPTOGETACCOUNTBALANCE_FIELD_NUMBER = 7;
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
@java.lang.Override
public boolean hasCryptogetAccountBalance() {
return queryCase_ == 7;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
@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;
*/
private void setCryptogetAccountBalance(com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery value) {
value.getClass();
query_ = value;
queryCase_ = 7;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
private void mergeCryptogetAccountBalance(com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery value) {
value.getClass();
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;
}
queryCase_ = 7;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
private void clearCryptogetAccountBalance() {
if (queryCase_ == 7) {
queryCase_ = 0;
query_ = null;
}
}
public static final int CRYPTOGETACCOUNTRECORDS_FIELD_NUMBER = 8;
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
@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;
*/
@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;
*/
private void setCryptoGetAccountRecords(com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery value) {
value.getClass();
query_ = value;
queryCase_ = 8;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
private void mergeCryptoGetAccountRecords(com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery value) {
value.getClass();
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;
}
queryCase_ = 8;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
private void clearCryptoGetAccountRecords() {
if (queryCase_ == 8) {
queryCase_ = 0;
query_ = null;
}
}
public static final int CRYPTOGETINFO_FIELD_NUMBER = 9;
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
@java.lang.Override
public boolean hasCryptoGetInfo() {
return queryCase_ == 9;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
@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;
*/
private void setCryptoGetInfo(com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery value) {
value.getClass();
query_ = value;
queryCase_ = 9;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
private void mergeCryptoGetInfo(com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery value) {
value.getClass();
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;
}
queryCase_ = 9;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
private void clearCryptoGetInfo() {
if (queryCase_ == 9) {
queryCase_ = 0;
query_ = null;
}
}
public static final int CRYPTOGETLIVEHASH_FIELD_NUMBER = 10;
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
@java.lang.Override
public boolean hasCryptoGetLiveHash() {
return queryCase_ == 10;
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
@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;
*/
private void setCryptoGetLiveHash(com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery value) {
value.getClass();
query_ = value;
queryCase_ = 10;
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
private void mergeCryptoGetLiveHash(com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery value) {
value.getClass();
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;
}
queryCase_ = 10;
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
private void clearCryptoGetLiveHash() {
if (queryCase_ == 10) {
queryCase_ = 0;
query_ = null;
}
}
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;
*/
@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;
*/
@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;
*/
private void setCryptoGetProxyStakers(com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery value) {
value.getClass();
query_ = value;
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;
*/
private void mergeCryptoGetProxyStakers(com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery value) {
value.getClass();
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;
}
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;
*/
private void clearCryptoGetProxyStakers() {
if (queryCase_ == 11) {
queryCase_ = 0;
query_ = null;
}
}
public static final int FILEGETCONTENTS_FIELD_NUMBER = 12;
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
@java.lang.Override
public boolean hasFileGetContents() {
return queryCase_ == 12;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
@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;
*/
private void setFileGetContents(com.hedera.hashgraph.sdk.proto.FileGetContentsQuery value) {
value.getClass();
query_ = value;
queryCase_ = 12;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
private void mergeFileGetContents(com.hedera.hashgraph.sdk.proto.FileGetContentsQuery value) {
value.getClass();
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;
}
queryCase_ = 12;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
private void clearFileGetContents() {
if (queryCase_ == 12) {
queryCase_ = 0;
query_ = null;
}
}
public static final int FILEGETINFO_FIELD_NUMBER = 13;
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
@java.lang.Override
public boolean hasFileGetInfo() {
return queryCase_ == 13;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
@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;
*/
private void setFileGetInfo(com.hedera.hashgraph.sdk.proto.FileGetInfoQuery value) {
value.getClass();
query_ = value;
queryCase_ = 13;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
private void mergeFileGetInfo(com.hedera.hashgraph.sdk.proto.FileGetInfoQuery value) {
value.getClass();
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;
}
queryCase_ = 13;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
private void clearFileGetInfo() {
if (queryCase_ == 13) {
queryCase_ = 0;
query_ = null;
}
}
public static final int TRANSACTIONGETRECEIPT_FIELD_NUMBER = 14;
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
@java.lang.Override
public boolean hasTransactionGetReceipt() {
return queryCase_ == 14;
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
@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;
*/
private void setTransactionGetReceipt(com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery value) {
value.getClass();
query_ = value;
queryCase_ = 14;
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
private void mergeTransactionGetReceipt(com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery value) {
value.getClass();
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;
}
queryCase_ = 14;
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
private void clearTransactionGetReceipt() {
if (queryCase_ == 14) {
queryCase_ = 0;
query_ = null;
}
}
public static final int TRANSACTIONGETRECORD_FIELD_NUMBER = 15;
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
@java.lang.Override
public boolean hasTransactionGetRecord() {
return queryCase_ == 15;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
@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;
*/
private void setTransactionGetRecord(com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery value) {
value.getClass();
query_ = value;
queryCase_ = 15;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
private void mergeTransactionGetRecord(com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery value) {
value.getClass();
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;
}
queryCase_ = 15;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
private void clearTransactionGetRecord() {
if (queryCase_ == 15) {
queryCase_ = 0;
query_ = null;
}
}
public static final int TRANSACTIONGETFASTRECORD_FIELD_NUMBER = 16;
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
@java.lang.Override
public boolean hasTransactionGetFastRecord() {
return queryCase_ == 16;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
@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;
*/
private void setTransactionGetFastRecord(com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery value) {
value.getClass();
query_ = value;
queryCase_ = 16;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
private void mergeTransactionGetFastRecord(com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery value) {
value.getClass();
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;
}
queryCase_ = 16;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
private void clearTransactionGetFastRecord() {
if (queryCase_ == 16) {
queryCase_ = 0;
query_ = null;
}
}
public static final int CONSENSUSGETTOPICINFO_FIELD_NUMBER = 50;
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
@java.lang.Override
public boolean hasConsensusGetTopicInfo() {
return queryCase_ == 50;
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
@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;
*/
private void setConsensusGetTopicInfo(com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery value) {
value.getClass();
query_ = value;
queryCase_ = 50;
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
private void mergeConsensusGetTopicInfo(com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery value) {
value.getClass();
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;
}
queryCase_ = 50;
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
private void clearConsensusGetTopicInfo() {
if (queryCase_ == 50) {
queryCase_ = 0;
query_ = null;
}
}
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;
*/
@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;
*/
@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;
*/
private void setNetworkGetVersionInfo(com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery value) {
value.getClass();
query_ = value;
queryCase_ = 51;
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
*/
private void mergeNetworkGetVersionInfo(com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery value) {
value.getClass();
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;
}
queryCase_ = 51;
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
*/
private void clearNetworkGetVersionInfo() {
if (queryCase_ == 51) {
queryCase_ = 0;
query_ = null;
}
}
public static final int TOKENGETINFO_FIELD_NUMBER = 52;
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
@java.lang.Override
public boolean hasTokenGetInfo() {
return queryCase_ == 52;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
@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;
*/
private void setTokenGetInfo(com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery value) {
value.getClass();
query_ = value;
queryCase_ = 52;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
private void mergeTokenGetInfo(com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery value) {
value.getClass();
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;
}
queryCase_ = 52;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
private void clearTokenGetInfo() {
if (queryCase_ == 52) {
queryCase_ = 0;
query_ = null;
}
}
public static final int SCHEDULEGETINFO_FIELD_NUMBER = 53;
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
@java.lang.Override
public boolean hasScheduleGetInfo() {
return queryCase_ == 53;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
@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;
*/
private void setScheduleGetInfo(com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery value) {
value.getClass();
query_ = value;
queryCase_ = 53;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
private void mergeScheduleGetInfo(com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery value) {
value.getClass();
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;
}
queryCase_ = 53;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
private void clearScheduleGetInfo() {
if (queryCase_ == 53) {
queryCase_ = 0;
query_ = null;
}
}
public static final int TOKENGETACCOUNTNFTINFOS_FIELD_NUMBER = 54;
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
@java.lang.Override
public boolean hasTokenGetAccountNftInfos() {
return queryCase_ == 54;
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
@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;
*/
private void setTokenGetAccountNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery value) {
value.getClass();
query_ = value;
queryCase_ = 54;
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
private void mergeTokenGetAccountNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery value) {
value.getClass();
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;
}
queryCase_ = 54;
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
private void clearTokenGetAccountNftInfos() {
if (queryCase_ == 54) {
queryCase_ = 0;
query_ = null;
}
}
public static final int TOKENGETNFTINFO_FIELD_NUMBER = 55;
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
@java.lang.Override
public boolean hasTokenGetNftInfo() {
return queryCase_ == 55;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
@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;
*/
private void setTokenGetNftInfo(com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery value) {
value.getClass();
query_ = value;
queryCase_ = 55;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
private void mergeTokenGetNftInfo(com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery value) {
value.getClass();
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;
}
queryCase_ = 55;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
private void clearTokenGetNftInfo() {
if (queryCase_ == 55) {
queryCase_ = 0;
query_ = null;
}
}
public static final int TOKENGETNFTINFOS_FIELD_NUMBER = 56;
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
@java.lang.Override
public boolean hasTokenGetNftInfos() {
return queryCase_ == 56;
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
@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;
*/
private void setTokenGetNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery value) {
value.getClass();
query_ = value;
queryCase_ = 56;
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
private void mergeTokenGetNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery value) {
value.getClass();
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;
}
queryCase_ = 56;
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
private void clearTokenGetNftInfos() {
if (queryCase_ == 56) {
queryCase_ = 0;
query_ = null;
}
}
public static final int NETWORKGETEXECUTIONTIME_FIELD_NUMBER = 57;
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
@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;
*/
@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;
*/
private void setNetworkGetExecutionTime(com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery value) {
value.getClass();
query_ = value;
queryCase_ = 57;
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
private void mergeNetworkGetExecutionTime(com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery value) {
value.getClass();
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;
}
queryCase_ = 57;
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
private void clearNetworkGetExecutionTime() {
if (queryCase_ == 57) {
queryCase_ = 0;
query_ = null;
}
}
public static final int ACCOUNTDETAILS_FIELD_NUMBER = 58;
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
@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;
*/
@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;
*/
private void setAccountDetails(com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery value) {
value.getClass();
query_ = value;
queryCase_ = 58;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
private void mergeAccountDetails(com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery value) {
value.getClass();
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;
}
queryCase_ = 58;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
private void clearAccountDetails() {
if (queryCase_ == 58) {
queryCase_ = 0;
query_ = null;
}
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Query parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.Query parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.Query parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.Query prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
**
* 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.GeneratedMessageLite.Builder<
com.hedera.hashgraph.sdk.proto.Query, Builder> implements
// @@protoc_insertion_point(builder_implements:proto.Query)
com.hedera.hashgraph.sdk.proto.QueryOrBuilder {
// Construct using com.hedera.hashgraph.sdk.proto.Query.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public QueryCase
getQueryCase() {
return instance.getQueryCase();
}
public Builder clearQuery() {
copyOnWrite();
instance.clearQuery();
return this;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
@java.lang.Override
public boolean hasGetByKey() {
return instance.hasGetByKey();
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetByKeyQuery getGetByKey() {
return instance.getGetByKey();
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
public Builder setGetByKey(com.hedera.hashgraph.sdk.proto.GetByKeyQuery value) {
copyOnWrite();
instance.setGetByKey(value);
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) {
copyOnWrite();
instance.setGetByKey(builderForValue.build());
return this;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
public Builder mergeGetByKey(com.hedera.hashgraph.sdk.proto.GetByKeyQuery value) {
copyOnWrite();
instance.mergeGetByKey(value);
return this;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyQuery getByKey = 1;
*/
public Builder clearGetByKey() {
copyOnWrite();
instance.clearGetByKey();
return this;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
*/
@java.lang.Override
public boolean hasGetBySolidityID() {
return instance.hasGetBySolidityID();
}
/**
*
**
* 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.GetBySolidityIDQuery getGetBySolidityID() {
return instance.getGetBySolidityID();
}
/**
*
**
* 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) {
copyOnWrite();
instance.setGetBySolidityID(value);
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) {
copyOnWrite();
instance.setGetBySolidityID(builderForValue.build());
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) {
copyOnWrite();
instance.mergeGetBySolidityID(value);
return this;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDQuery getBySolidityID = 2;
*/
public Builder clearGetBySolidityID() {
copyOnWrite();
instance.clearGetBySolidityID();
return this;
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
@java.lang.Override
public boolean hasContractCallLocal() {
return instance.hasContractCallLocal();
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery getContractCallLocal() {
return instance.getContractCallLocal();
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
public Builder setContractCallLocal(com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery value) {
copyOnWrite();
instance.setContractCallLocal(value);
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) {
copyOnWrite();
instance.setContractCallLocal(builderForValue.build());
return this;
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
public Builder mergeContractCallLocal(com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery value) {
copyOnWrite();
instance.mergeContractCallLocal(value);
return this;
}
/**
*
**
* Call a function of a smart contract instance
*
*
* .proto.ContractCallLocalQuery contractCallLocal = 3;
*/
public Builder clearContractCallLocal() {
copyOnWrite();
instance.clearContractCallLocal();
return this;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
@java.lang.Override
public boolean hasContractGetInfo() {
return instance.hasContractGetInfo();
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery getContractGetInfo() {
return instance.getContractGetInfo();
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
public Builder setContractGetInfo(com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery value) {
copyOnWrite();
instance.setContractGetInfo(value);
return this;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
public Builder setContractGetInfo(
com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.Builder builderForValue) {
copyOnWrite();
instance.setContractGetInfo(builderForValue.build());
return this;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
public Builder mergeContractGetInfo(com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery value) {
copyOnWrite();
instance.mergeContractGetInfo(value);
return this;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoQuery contractGetInfo = 4;
*/
public Builder clearContractGetInfo() {
copyOnWrite();
instance.clearContractGetInfo();
return this;
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
@java.lang.Override
public boolean hasContractGetBytecode() {
return instance.hasContractGetBytecode();
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery getContractGetBytecode() {
return instance.getContractGetBytecode();
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
public Builder setContractGetBytecode(com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery value) {
copyOnWrite();
instance.setContractGetBytecode(value);
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) {
copyOnWrite();
instance.setContractGetBytecode(builderForValue.build());
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) {
copyOnWrite();
instance.mergeContractGetBytecode(value);
return this;
}
/**
*
**
* Get runtime code used by a smart contract instance
*
*
* .proto.ContractGetBytecodeQuery contractGetBytecode = 5;
*/
public Builder clearContractGetBytecode() {
copyOnWrite();
instance.clearContractGetBytecode();
return this;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
@java.lang.Override
public boolean hasContractGetRecords() {
return instance.hasContractGetRecords();
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery getContractGetRecords() {
return instance.getContractGetRecords();
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
public Builder setContractGetRecords(com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery value) {
copyOnWrite();
instance.setContractGetRecords(value);
return this;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
public Builder setContractGetRecords(
com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.Builder builderForValue) {
copyOnWrite();
instance.setContractGetRecords(builderForValue.build());
return this;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
public Builder mergeContractGetRecords(com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery value) {
copyOnWrite();
instance.mergeContractGetRecords(value);
return this;
}
/**
*
**
* Get Records of the contract instance
*
*
* .proto.ContractGetRecordsQuery ContractGetRecords = 6;
*/
public Builder clearContractGetRecords() {
copyOnWrite();
instance.clearContractGetRecords();
return this;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
@java.lang.Override
public boolean hasCryptogetAccountBalance() {
return instance.hasCryptogetAccountBalance();
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery getCryptogetAccountBalance() {
return instance.getCryptogetAccountBalance();
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
public Builder setCryptogetAccountBalance(com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery value) {
copyOnWrite();
instance.setCryptogetAccountBalance(value);
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) {
copyOnWrite();
instance.setCryptogetAccountBalance(builderForValue.build());
return this;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
public Builder mergeCryptogetAccountBalance(com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery value) {
copyOnWrite();
instance.mergeCryptogetAccountBalance(value);
return this;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;
*/
public Builder clearCryptogetAccountBalance() {
copyOnWrite();
instance.clearCryptogetAccountBalance();
return this;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
@java.lang.Override
public boolean hasCryptoGetAccountRecords() {
return instance.hasCryptoGetAccountRecords();
}
/**
*
**
* 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.CryptoGetAccountRecordsQuery getCryptoGetAccountRecords() {
return instance.getCryptoGetAccountRecords();
}
/**
*
**
* 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) {
copyOnWrite();
instance.setCryptoGetAccountRecords(value);
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) {
copyOnWrite();
instance.setCryptoGetAccountRecords(builderForValue.build());
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) {
copyOnWrite();
instance.mergeCryptoGetAccountRecords(value);
return this;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;
*/
public Builder clearCryptoGetAccountRecords() {
copyOnWrite();
instance.clearCryptoGetAccountRecords();
return this;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
@java.lang.Override
public boolean hasCryptoGetInfo() {
return instance.hasCryptoGetInfo();
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery getCryptoGetInfo() {
return instance.getCryptoGetInfo();
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
public Builder setCryptoGetInfo(com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery value) {
copyOnWrite();
instance.setCryptoGetInfo(value);
return this;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
public Builder setCryptoGetInfo(
com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.Builder builderForValue) {
copyOnWrite();
instance.setCryptoGetInfo(builderForValue.build());
return this;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
public Builder mergeCryptoGetInfo(com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery value) {
copyOnWrite();
instance.mergeCryptoGetInfo(value);
return this;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoQuery cryptoGetInfo = 9;
*/
public Builder clearCryptoGetInfo() {
copyOnWrite();
instance.clearCryptoGetInfo();
return this;
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
@java.lang.Override
public boolean hasCryptoGetLiveHash() {
return instance.hasCryptoGetLiveHash();
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery getCryptoGetLiveHash() {
return instance.getCryptoGetLiveHash();
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
public Builder setCryptoGetLiveHash(com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery value) {
copyOnWrite();
instance.setCryptoGetLiveHash(value);
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) {
copyOnWrite();
instance.setCryptoGetLiveHash(builderForValue.build());
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) {
copyOnWrite();
instance.mergeCryptoGetLiveHash(value);
return this;
}
/**
*
**
* Get a single livehash from a single account, if present
*
*
* .proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10;
*/
public Builder clearCryptoGetLiveHash() {
copyOnWrite();
instance.clearCryptoGetLiveHash();
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;
*/
@java.lang.Override
public boolean hasCryptoGetProxyStakers() {
return instance.hasCryptoGetProxyStakers();
}
/**
*
**
* 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.CryptoGetStakersQuery getCryptoGetProxyStakers() {
return instance.getCryptoGetProxyStakers();
}
/**
*
**
* 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) {
copyOnWrite();
instance.setCryptoGetProxyStakers(value);
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) {
copyOnWrite();
instance.setCryptoGetProxyStakers(builderForValue.build());
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) {
copyOnWrite();
instance.mergeCryptoGetProxyStakers(value);
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() {
copyOnWrite();
instance.clearCryptoGetProxyStakers();
return this;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
@java.lang.Override
public boolean hasFileGetContents() {
return instance.hasFileGetContents();
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetContentsQuery getFileGetContents() {
return instance.getFileGetContents();
}
/**
*
**
* 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) {
copyOnWrite();
instance.setFileGetContents(value);
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) {
copyOnWrite();
instance.setFileGetContents(builderForValue.build());
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) {
copyOnWrite();
instance.mergeFileGetContents(value);
return this;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsQuery fileGetContents = 12;
*/
public Builder clearFileGetContents() {
copyOnWrite();
instance.clearFileGetContents();
return this;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
@java.lang.Override
public boolean hasFileGetInfo() {
return instance.hasFileGetInfo();
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetInfoQuery getFileGetInfo() {
return instance.getFileGetInfo();
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
public Builder setFileGetInfo(com.hedera.hashgraph.sdk.proto.FileGetInfoQuery value) {
copyOnWrite();
instance.setFileGetInfo(value);
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) {
copyOnWrite();
instance.setFileGetInfo(builderForValue.build());
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) {
copyOnWrite();
instance.mergeFileGetInfo(value);
return this;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoQuery fileGetInfo = 13;
*/
public Builder clearFileGetInfo() {
copyOnWrite();
instance.clearFileGetInfo();
return this;
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
@java.lang.Override
public boolean hasTransactionGetReceipt() {
return instance.hasTransactionGetReceipt();
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery getTransactionGetReceipt() {
return instance.getTransactionGetReceipt();
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
public Builder setTransactionGetReceipt(com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery value) {
copyOnWrite();
instance.setTransactionGetReceipt(value);
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) {
copyOnWrite();
instance.setTransactionGetReceipt(builderForValue.build());
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) {
copyOnWrite();
instance.mergeTransactionGetReceipt(value);
return this;
}
/**
*
**
* Get a receipt for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetReceiptQuery transactionGetReceipt = 14;
*/
public Builder clearTransactionGetReceipt() {
copyOnWrite();
instance.clearTransactionGetReceipt();
return this;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
@java.lang.Override
public boolean hasTransactionGetRecord() {
return instance.hasTransactionGetRecord();
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery getTransactionGetRecord() {
return instance.getTransactionGetRecord();
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
public Builder setTransactionGetRecord(com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery value) {
copyOnWrite();
instance.setTransactionGetRecord(value);
return this;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
public Builder setTransactionGetRecord(
com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.Builder builderForValue) {
copyOnWrite();
instance.setTransactionGetRecord(builderForValue.build());
return this;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
public Builder mergeTransactionGetRecord(com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery value) {
copyOnWrite();
instance.mergeTransactionGetRecord(value);
return this;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordQuery transactionGetRecord = 15;
*/
public Builder clearTransactionGetRecord() {
copyOnWrite();
instance.clearTransactionGetRecord();
return this;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
@java.lang.Override
public boolean hasTransactionGetFastRecord() {
return instance.hasTransactionGetFastRecord();
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery getTransactionGetFastRecord() {
return instance.getTransactionGetFastRecord();
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
public Builder setTransactionGetFastRecord(com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery value) {
copyOnWrite();
instance.setTransactionGetFastRecord(value);
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) {
copyOnWrite();
instance.setTransactionGetFastRecord(builderForValue.build());
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) {
copyOnWrite();
instance.mergeTransactionGetFastRecord(value);
return this;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;
*/
public Builder clearTransactionGetFastRecord() {
copyOnWrite();
instance.clearTransactionGetFastRecord();
return this;
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
@java.lang.Override
public boolean hasConsensusGetTopicInfo() {
return instance.hasConsensusGetTopicInfo();
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery getConsensusGetTopicInfo() {
return instance.getConsensusGetTopicInfo();
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
public Builder setConsensusGetTopicInfo(com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery value) {
copyOnWrite();
instance.setConsensusGetTopicInfo(value);
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) {
copyOnWrite();
instance.setConsensusGetTopicInfo(builderForValue.build());
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) {
copyOnWrite();
instance.mergeConsensusGetTopicInfo(value);
return this;
}
/**
*
**
* Get the parameters of and state of a consensus topic.
*
*
* .proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;
*/
public Builder clearConsensusGetTopicInfo() {
copyOnWrite();
instance.clearConsensusGetTopicInfo();
return this;
}
/**
*
**
* Get the versions of the HAPI protobuf and Hedera Services software deployed on the
* responding node.
*
*
* .proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;
*/
@java.lang.Override
public boolean hasNetworkGetVersionInfo() {
return instance.hasNetworkGetVersionInfo();
}
/**
*
**
* 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.NetworkGetVersionInfoQuery getNetworkGetVersionInfo() {
return instance.getNetworkGetVersionInfo();
}
/**
*
**
* 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) {
copyOnWrite();
instance.setNetworkGetVersionInfo(value);
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) {
copyOnWrite();
instance.setNetworkGetVersionInfo(builderForValue.build());
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) {
copyOnWrite();
instance.mergeNetworkGetVersionInfo(value);
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() {
copyOnWrite();
instance.clearNetworkGetVersionInfo();
return this;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
@java.lang.Override
public boolean hasTokenGetInfo() {
return instance.hasTokenGetInfo();
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery getTokenGetInfo() {
return instance.getTokenGetInfo();
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
public Builder setTokenGetInfo(com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery value) {
copyOnWrite();
instance.setTokenGetInfo(value);
return this;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
public Builder setTokenGetInfo(
com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.Builder builderForValue) {
copyOnWrite();
instance.setTokenGetInfo(builderForValue.build());
return this;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
public Builder mergeTokenGetInfo(com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery value) {
copyOnWrite();
instance.mergeTokenGetInfo(value);
return this;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoQuery tokenGetInfo = 52;
*/
public Builder clearTokenGetInfo() {
copyOnWrite();
instance.clearTokenGetInfo();
return this;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
@java.lang.Override
public boolean hasScheduleGetInfo() {
return instance.hasScheduleGetInfo();
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery getScheduleGetInfo() {
return instance.getScheduleGetInfo();
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
public Builder setScheduleGetInfo(com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery value) {
copyOnWrite();
instance.setScheduleGetInfo(value);
return this;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
public Builder setScheduleGetInfo(
com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.Builder builderForValue) {
copyOnWrite();
instance.setScheduleGetInfo(builderForValue.build());
return this;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
public Builder mergeScheduleGetInfo(com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery value) {
copyOnWrite();
instance.mergeScheduleGetInfo(value);
return this;
}
/**
*
**
* Get all information about a scheduled entity
*
*
* .proto.ScheduleGetInfoQuery scheduleGetInfo = 53;
*/
public Builder clearScheduleGetInfo() {
copyOnWrite();
instance.clearScheduleGetInfo();
return this;
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
@java.lang.Override
public boolean hasTokenGetAccountNftInfos() {
return instance.hasTokenGetAccountNftInfos();
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery getTokenGetAccountNftInfos() {
return instance.getTokenGetAccountNftInfos();
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
public Builder setTokenGetAccountNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery value) {
copyOnWrite();
instance.setTokenGetAccountNftInfos(value);
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) {
copyOnWrite();
instance.setTokenGetAccountNftInfos(builderForValue.build());
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) {
copyOnWrite();
instance.mergeTokenGetAccountNftInfos(value);
return this;
}
/**
*
**
* Get a list of NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54;
*/
public Builder clearTokenGetAccountNftInfos() {
copyOnWrite();
instance.clearTokenGetAccountNftInfos();
return this;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
@java.lang.Override
public boolean hasTokenGetNftInfo() {
return instance.hasTokenGetNftInfo();
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery getTokenGetNftInfo() {
return instance.getTokenGetNftInfo();
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
public Builder setTokenGetNftInfo(com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery value) {
copyOnWrite();
instance.setTokenGetNftInfo(value);
return this;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
public Builder setTokenGetNftInfo(
com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.Builder builderForValue) {
copyOnWrite();
instance.setTokenGetNftInfo(builderForValue.build());
return this;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
public Builder mergeTokenGetNftInfo(com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery value) {
copyOnWrite();
instance.mergeTokenGetNftInfo(value);
return this;
}
/**
*
**
* Get all information about a NFT
*
*
* .proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;
*/
public Builder clearTokenGetNftInfo() {
copyOnWrite();
instance.clearTokenGetNftInfo();
return this;
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
@java.lang.Override
public boolean hasTokenGetNftInfos() {
return instance.hasTokenGetNftInfos();
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery getTokenGetNftInfos() {
return instance.getTokenGetNftInfos();
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
public Builder setTokenGetNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery value) {
copyOnWrite();
instance.setTokenGetNftInfos(value);
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) {
copyOnWrite();
instance.setTokenGetNftInfos(builderForValue.build());
return this;
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
public Builder mergeTokenGetNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery value) {
copyOnWrite();
instance.mergeTokenGetNftInfos(value);
return this;
}
/**
*
**
* Get a list of NFTs for the token
*
*
* .proto.TokenGetNftInfosQuery tokenGetNftInfos = 56;
*/
public Builder clearTokenGetNftInfos() {
copyOnWrite();
instance.clearTokenGetNftInfos();
return this;
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
@java.lang.Override
public boolean hasNetworkGetExecutionTime() {
return instance.hasNetworkGetExecutionTime();
}
/**
*
**
* 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.NetworkGetExecutionTimeQuery getNetworkGetExecutionTime() {
return instance.getNetworkGetExecutionTime();
}
/**
*
**
* 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) {
copyOnWrite();
instance.setNetworkGetExecutionTime(value);
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) {
copyOnWrite();
instance.setNetworkGetExecutionTime(builderForValue.build());
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) {
copyOnWrite();
instance.mergeNetworkGetExecutionTime(value);
return this;
}
/**
*
**
* Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
*
*
* .proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57;
*/
public Builder clearNetworkGetExecutionTime() {
copyOnWrite();
instance.clearNetworkGetExecutionTime();
return this;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
@java.lang.Override
public boolean hasAccountDetails() {
return instance.hasAccountDetails();
}
/**
*
**
* 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.GetAccountDetailsQuery getAccountDetails() {
return instance.getAccountDetails();
}
/**
*
**
* 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) {
copyOnWrite();
instance.setAccountDetails(value);
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) {
copyOnWrite();
instance.setAccountDetails(builderForValue.build());
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) {
copyOnWrite();
instance.mergeAccountDetails(value);
return this;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsQuery accountDetails = 58;
*/
public Builder clearAccountDetails() {
copyOnWrite();
instance.clearAccountDetails();
return this;
}
// @@protoc_insertion_point(builder_scope:proto.Query)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.hedera.hashgraph.sdk.proto.Query();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"query_",
"queryCase_",
com.hedera.hashgraph.sdk.proto.GetByKeyQuery.class,
com.hedera.hashgraph.sdk.proto.GetBySolidityIDQuery.class,
com.hedera.hashgraph.sdk.proto.ContractCallLocalQuery.class,
com.hedera.hashgraph.sdk.proto.ContractGetInfoQuery.class,
com.hedera.hashgraph.sdk.proto.ContractGetBytecodeQuery.class,
com.hedera.hashgraph.sdk.proto.ContractGetRecordsQuery.class,
com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceQuery.class,
com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsQuery.class,
com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.class,
com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashQuery.class,
com.hedera.hashgraph.sdk.proto.CryptoGetStakersQuery.class,
com.hedera.hashgraph.sdk.proto.FileGetContentsQuery.class,
com.hedera.hashgraph.sdk.proto.FileGetInfoQuery.class,
com.hedera.hashgraph.sdk.proto.TransactionGetReceiptQuery.class,
com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery.class,
com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.class,
com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.class,
com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoQuery.class,
com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.class,
com.hedera.hashgraph.sdk.proto.ScheduleGetInfoQuery.class,
com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosQuery.class,
com.hedera.hashgraph.sdk.proto.TokenGetNftInfoQuery.class,
com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.class,
com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeQuery.class,
com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.class,
};
java.lang.String info =
"\u0000\u0019\u0001\u0000\u0001:\u0019\u0000\u0000\u0000\u0001<\u0000\u0002<\u0000" +
"\u0003<\u0000\u0004<\u0000\u0005<\u0000\u0006<\u0000\u0007<\u0000\b<\u0000\t<\u0000" +
"\n<\u0000\u000b<\u0000\f<\u0000\r<\u0000\u000e<\u0000\u000f<\u0000\u0010<\u00002" +
"<\u00003<\u00004<\u00005<\u00006<\u00007<\u00008<\u00009<\u0000:<\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.hedera.hashgraph.sdk.proto.Query.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:proto.Query)
private static final com.hedera.hashgraph.sdk.proto.Query DEFAULT_INSTANCE;
static {
Query defaultInstance = new Query();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Query.class, defaultInstance);
}
public static com.hedera.hashgraph.sdk.proto.Query getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}