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;
}
}