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