com.hedera.hashgraph.sdk.proto.Response Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: response.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
/**
*
**
* A single response, which is returned from the node to the client, after the client sent the node
* a query. This includes all responses.
*
*
* Protobuf type {@code proto.Response}
*/
public final class Response extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.Response)
ResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use Response.newBuilder() to construct.
private Response(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Response() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Response();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hedera.hashgraph.sdk.proto.ResponseOuterClass.internal_static_proto_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hedera.hashgraph.sdk.proto.ResponseOuterClass.internal_static_proto_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hedera.hashgraph.sdk.proto.Response.class, com.hedera.hashgraph.sdk.proto.Response.Builder.class);
}
private int responseCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object response_;
public enum ResponseCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
GETBYKEY(1),
GETBYSOLIDITYID(2),
CONTRACTCALLLOCAL(3),
CONTRACTGETBYTECODERESPONSE(5),
CONTRACTGETINFO(4),
CONTRACTGETRECORDSRESPONSE(6),
CRYPTOGETACCOUNTBALANCE(7),
CRYPTOGETACCOUNTRECORDS(8),
CRYPTOGETINFO(9),
CRYPTOGETLIVEHASH(10),
CRYPTOGETPROXYSTAKERS(11),
FILEGETCONTENTS(12),
FILEGETINFO(13),
TRANSACTIONGETRECEIPT(14),
TRANSACTIONGETRECORD(15),
TRANSACTIONGETFASTRECORD(16),
CONSENSUSGETTOPICINFO(150),
NETWORKGETVERSIONINFO(151),
TOKENGETINFO(152),
SCHEDULEGETINFO(153),
TOKENGETACCOUNTNFTINFOS(154),
TOKENGETNFTINFO(155),
TOKENGETNFTINFOS(156),
NETWORKGETEXECUTIONTIME(157),
ACCOUNTDETAILS(158),
RESPONSE_NOT_SET(0);
private final int value;
private ResponseCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ResponseCase valueOf(int value) {
return forNumber(value);
}
public static ResponseCase forNumber(int value) {
switch (value) {
case 1: return GETBYKEY;
case 2: return GETBYSOLIDITYID;
case 3: return CONTRACTCALLLOCAL;
case 5: return CONTRACTGETBYTECODERESPONSE;
case 4: return CONTRACTGETINFO;
case 6: return CONTRACTGETRECORDSRESPONSE;
case 7: return CRYPTOGETACCOUNTBALANCE;
case 8: return CRYPTOGETACCOUNTRECORDS;
case 9: return CRYPTOGETINFO;
case 10: return CRYPTOGETLIVEHASH;
case 11: return CRYPTOGETPROXYSTAKERS;
case 12: return FILEGETCONTENTS;
case 13: return FILEGETINFO;
case 14: return TRANSACTIONGETRECEIPT;
case 15: return TRANSACTIONGETRECORD;
case 16: return TRANSACTIONGETFASTRECORD;
case 150: return CONSENSUSGETTOPICINFO;
case 151: return NETWORKGETVERSIONINFO;
case 152: return TOKENGETINFO;
case 153: return SCHEDULEGETINFO;
case 154: return TOKENGETACCOUNTNFTINFOS;
case 155: return TOKENGETNFTINFO;
case 156: return TOKENGETNFTINFOS;
case 157: return NETWORKGETEXECUTIONTIME;
case 158: return ACCOUNTDETAILS;
case 0: return RESPONSE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ResponseCase
getResponseCase() {
return ResponseCase.forNumber(
responseCase_);
}
public static final int GETBYKEY_FIELD_NUMBER = 1;
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
* @return Whether the getByKey field is set.
*/
@java.lang.Override
public boolean hasGetByKey() {
return responseCase_ == 1;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
* @return The getByKey.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetByKeyResponse getGetByKey() {
if (responseCase_ == 1) {
return (com.hedera.hashgraph.sdk.proto.GetByKeyResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.GetByKeyResponse.getDefaultInstance();
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetByKeyResponseOrBuilder getGetByKeyOrBuilder() {
if (responseCase_ == 1) {
return (com.hedera.hashgraph.sdk.proto.GetByKeyResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.GetByKeyResponse.getDefaultInstance();
}
public static final int GETBYSOLIDITYID_FIELD_NUMBER = 2;
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
* @return Whether the getBySolidityID field is set.
*/
@java.lang.Override
public boolean hasGetBySolidityID() {
return responseCase_ == 2;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
* @return The getBySolidityID.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse getGetBySolidityID() {
if (responseCase_ == 2) {
return (com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.getDefaultInstance();
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponseOrBuilder getGetBySolidityIDOrBuilder() {
if (responseCase_ == 2) {
return (com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.getDefaultInstance();
}
public static final int CONTRACTCALLLOCAL_FIELD_NUMBER = 3;
/**
*
**
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
* @return Whether the contractCallLocal field is set.
*/
@java.lang.Override
public boolean hasContractCallLocal() {
return responseCase_ == 3;
}
/**
*
**
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
* @return The contractCallLocal.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse getContractCallLocal() {
if (responseCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.getDefaultInstance();
}
/**
*
**
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallLocalResponseOrBuilder getContractCallLocalOrBuilder() {
if (responseCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.getDefaultInstance();
}
public static final int CONTRACTGETBYTECODERESPONSE_FIELD_NUMBER = 5;
/**
*
**
* Get the runtime code for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
* @return Whether the contractGetBytecodeResponse field is set.
*/
@java.lang.Override
public boolean hasContractGetBytecodeResponse() {
return responseCase_ == 5;
}
/**
*
**
* Get the runtime code for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
* @return The contractGetBytecodeResponse.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse getContractGetBytecodeResponse() {
if (responseCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.getDefaultInstance();
}
/**
*
**
* Get the runtime code for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponseOrBuilder getContractGetBytecodeResponseOrBuilder() {
if (responseCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.getDefaultInstance();
}
public static final int CONTRACTGETINFO_FIELD_NUMBER = 4;
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
* @return Whether the contractGetInfo field is set.
*/
@java.lang.Override
public boolean hasContractGetInfo() {
return responseCase_ == 4;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
* @return The contractGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse getContractGetInfo() {
if (responseCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.getDefaultInstance();
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetInfoResponseOrBuilder getContractGetInfoOrBuilder() {
if (responseCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.getDefaultInstance();
}
public static final int CONTRACTGETRECORDSRESPONSE_FIELD_NUMBER = 6;
/**
*
**
* Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
* @return Whether the contractGetRecordsResponse field is set.
*/
@java.lang.Override
public boolean hasContractGetRecordsResponse() {
return responseCase_ == 6;
}
/**
*
**
* Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
* @return The contractGetRecordsResponse.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse getContractGetRecordsResponse() {
if (responseCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.getDefaultInstance();
}
/**
*
**
* Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponseOrBuilder getContractGetRecordsResponseOrBuilder() {
if (responseCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.getDefaultInstance();
}
public static final int CRYPTOGETACCOUNTBALANCE_FIELD_NUMBER = 7;
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
* @return Whether the cryptogetAccountBalance field is set.
*/
@java.lang.Override
public boolean hasCryptogetAccountBalance() {
return responseCase_ == 7;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
* @return The cryptogetAccountBalance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse getCryptogetAccountBalance() {
if (responseCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.getDefaultInstance();
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponseOrBuilder getCryptogetAccountBalanceOrBuilder() {
if (responseCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.getDefaultInstance();
}
public static final int CRYPTOGETACCOUNTRECORDS_FIELD_NUMBER = 8;
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
* @return Whether the cryptoGetAccountRecords field is set.
*/
@java.lang.Override
public boolean hasCryptoGetAccountRecords() {
return responseCase_ == 8;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
* @return The cryptoGetAccountRecords.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse getCryptoGetAccountRecords() {
if (responseCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.getDefaultInstance();
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponseOrBuilder getCryptoGetAccountRecordsOrBuilder() {
if (responseCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.getDefaultInstance();
}
public static final int CRYPTOGETINFO_FIELD_NUMBER = 9;
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
* @return Whether the cryptoGetInfo field is set.
*/
@java.lang.Override
public boolean hasCryptoGetInfo() {
return responseCase_ == 9;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
* @return The cryptoGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse getCryptoGetInfo() {
if (responseCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.getDefaultInstance();
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponseOrBuilder getCryptoGetInfoOrBuilder() {
if (responseCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.getDefaultInstance();
}
public static final int CRYPTOGETLIVEHASH_FIELD_NUMBER = 10;
/**
*
**
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
* @return Whether the cryptoGetLiveHash field is set.
*/
@java.lang.Override
public boolean hasCryptoGetLiveHash() {
return responseCase_ == 10;
}
/**
*
**
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
* @return The cryptoGetLiveHash.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse getCryptoGetLiveHash() {
if (responseCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.getDefaultInstance();
}
/**
*
**
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponseOrBuilder getCryptoGetLiveHashOrBuilder() {
if (responseCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.getDefaultInstance();
}
public static final int CRYPTOGETPROXYSTAKERS_FIELD_NUMBER = 11;
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
* @return Whether the cryptoGetProxyStakers field is set.
*/
@java.lang.Override
public boolean hasCryptoGetProxyStakers() {
return responseCase_ == 11;
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
* @return The cryptoGetProxyStakers.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse getCryptoGetProxyStakers() {
if (responseCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.getDefaultInstance();
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponseOrBuilder getCryptoGetProxyStakersOrBuilder() {
if (responseCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.getDefaultInstance();
}
public static final int FILEGETCONTENTS_FIELD_NUMBER = 12;
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
* @return Whether the fileGetContents field is set.
*/
@java.lang.Override
public boolean hasFileGetContents() {
return responseCase_ == 12;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
* @return The fileGetContents.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetContentsResponse getFileGetContents() {
if (responseCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileGetContentsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.getDefaultInstance();
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetContentsResponseOrBuilder getFileGetContentsOrBuilder() {
if (responseCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileGetContentsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.getDefaultInstance();
}
public static final int FILEGETINFO_FIELD_NUMBER = 13;
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
* @return Whether the fileGetInfo field is set.
*/
@java.lang.Override
public boolean hasFileGetInfo() {
return responseCase_ == 13;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
* @return The fileGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetInfoResponse getFileGetInfo() {
if (responseCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.getDefaultInstance();
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetInfoResponseOrBuilder getFileGetInfoOrBuilder() {
if (responseCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.getDefaultInstance();
}
public static final int TRANSACTIONGETRECEIPT_FIELD_NUMBER = 14;
/**
*
**
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
* @return Whether the transactionGetReceipt field is set.
*/
@java.lang.Override
public boolean hasTransactionGetReceipt() {
return responseCase_ == 14;
}
/**
*
**
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
* @return The transactionGetReceipt.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse getTransactionGetReceipt() {
if (responseCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.getDefaultInstance();
}
/**
*
**
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponseOrBuilder getTransactionGetReceiptOrBuilder() {
if (responseCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.getDefaultInstance();
}
public static final int TRANSACTIONGETRECORD_FIELD_NUMBER = 15;
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
* @return Whether the transactionGetRecord field is set.
*/
@java.lang.Override
public boolean hasTransactionGetRecord() {
return responseCase_ == 15;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
* @return The transactionGetRecord.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse getTransactionGetRecord() {
if (responseCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.getDefaultInstance();
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponseOrBuilder getTransactionGetRecordOrBuilder() {
if (responseCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.getDefaultInstance();
}
public static final int TRANSACTIONGETFASTRECORD_FIELD_NUMBER = 16;
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
* @return Whether the transactionGetFastRecord field is set.
*/
@java.lang.Override
public boolean hasTransactionGetFastRecord() {
return responseCase_ == 16;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
* @return The transactionGetFastRecord.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse getTransactionGetFastRecord() {
if (responseCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.getDefaultInstance();
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponseOrBuilder getTransactionGetFastRecordOrBuilder() {
if (responseCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.getDefaultInstance();
}
public static final int CONSENSUSGETTOPICINFO_FIELD_NUMBER = 150;
/**
*
**
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
* @return Whether the consensusGetTopicInfo field is set.
*/
@java.lang.Override
public boolean hasConsensusGetTopicInfo() {
return responseCase_ == 150;
}
/**
*
**
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
* @return The consensusGetTopicInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse getConsensusGetTopicInfo() {
if (responseCase_ == 150) {
return (com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.getDefaultInstance();
}
/**
*
**
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponseOrBuilder getConsensusGetTopicInfoOrBuilder() {
if (responseCase_ == 150) {
return (com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.getDefaultInstance();
}
public static final int NETWORKGETVERSIONINFO_FIELD_NUMBER = 151;
/**
*
**
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
* @return Whether the networkGetVersionInfo field is set.
*/
@java.lang.Override
public boolean hasNetworkGetVersionInfo() {
return responseCase_ == 151;
}
/**
*
**
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
* @return The networkGetVersionInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse getNetworkGetVersionInfo() {
if (responseCase_ == 151) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.getDefaultInstance();
}
/**
*
**
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponseOrBuilder getNetworkGetVersionInfoOrBuilder() {
if (responseCase_ == 151) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.getDefaultInstance();
}
public static final int TOKENGETINFO_FIELD_NUMBER = 152;
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
* @return Whether the tokenGetInfo field is set.
*/
@java.lang.Override
public boolean hasTokenGetInfo() {
return responseCase_ == 152;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
* @return The tokenGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse getTokenGetInfo() {
if (responseCase_ == 152) {
return (com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.getDefaultInstance();
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetInfoResponseOrBuilder getTokenGetInfoOrBuilder() {
if (responseCase_ == 152) {
return (com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.getDefaultInstance();
}
public static final int SCHEDULEGETINFO_FIELD_NUMBER = 153;
/**
*
**
* Get all information about a schedule entity
*
*
* .proto.ScheduleGetInfoResponse scheduleGetInfo = 153;
* @return Whether the scheduleGetInfo field is set.
*/
@java.lang.Override
public boolean hasScheduleGetInfo() {
return responseCase_ == 153;
}
/**
*
**
* Get all information about a schedule entity
*
*
* .proto.ScheduleGetInfoResponse scheduleGetInfo = 153;
* @return The scheduleGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse getScheduleGetInfo() {
if (responseCase_ == 153) {
return (com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.getDefaultInstance();
}
/**
*
**
* Get all information about a schedule entity
*
*
* .proto.ScheduleGetInfoResponse scheduleGetInfo = 153;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponseOrBuilder getScheduleGetInfoOrBuilder() {
if (responseCase_ == 153) {
return (com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.getDefaultInstance();
}
public static final int TOKENGETACCOUNTNFTINFOS_FIELD_NUMBER = 154;
/**
*
**
* A list of the NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosResponse tokenGetAccountNftInfos = 154;
* @return Whether the tokenGetAccountNftInfos field is set.
*/
@java.lang.Override
public boolean hasTokenGetAccountNftInfos() {
return responseCase_ == 154;
}
/**
*
**
* A list of the NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosResponse tokenGetAccountNftInfos = 154;
* @return The tokenGetAccountNftInfos.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse getTokenGetAccountNftInfos() {
if (responseCase_ == 154) {
return (com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.getDefaultInstance();
}
/**
*
**
* A list of the NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosResponse tokenGetAccountNftInfos = 154;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponseOrBuilder getTokenGetAccountNftInfosOrBuilder() {
if (responseCase_ == 154) {
return (com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.getDefaultInstance();
}
public static final int TOKENGETNFTINFO_FIELD_NUMBER = 155;
/**
*
**
* All information about an NFT
*
*
* .proto.TokenGetNftInfoResponse tokenGetNftInfo = 155;
* @return Whether the tokenGetNftInfo field is set.
*/
@java.lang.Override
public boolean hasTokenGetNftInfo() {
return responseCase_ == 155;
}
/**
*
**
* All information about an NFT
*
*
* .proto.TokenGetNftInfoResponse tokenGetNftInfo = 155;
* @return The tokenGetNftInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse getTokenGetNftInfo() {
if (responseCase_ == 155) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.getDefaultInstance();
}
/**
*
**
* All information about an NFT
*
*
* .proto.TokenGetNftInfoResponse tokenGetNftInfo = 155;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponseOrBuilder getTokenGetNftInfoOrBuilder() {
if (responseCase_ == 155) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.getDefaultInstance();
}
public static final int TOKENGETNFTINFOS_FIELD_NUMBER = 156;
/**
*
**
* A list of the NFTs for the token
*
*
* .proto.TokenGetNftInfosResponse tokenGetNftInfos = 156;
* @return Whether the tokenGetNftInfos field is set.
*/
@java.lang.Override
public boolean hasTokenGetNftInfos() {
return responseCase_ == 156;
}
/**
*
**
* A list of the NFTs for the token
*
*
* .proto.TokenGetNftInfosResponse tokenGetNftInfos = 156;
* @return The tokenGetNftInfos.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse getTokenGetNftInfos() {
if (responseCase_ == 156) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.getDefaultInstance();
}
/**
*
**
* A list of the NFTs for the token
*
*
* .proto.TokenGetNftInfosResponse tokenGetNftInfos = 156;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponseOrBuilder getTokenGetNftInfosOrBuilder() {
if (responseCase_ == 156) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.getDefaultInstance();
}
public static final int NETWORKGETEXECUTIONTIME_FIELD_NUMBER = 157;
/**
*
**
* Execution times of "sufficiently recent" transactions
*
*
* .proto.NetworkGetExecutionTimeResponse networkGetExecutionTime = 157;
* @return Whether the networkGetExecutionTime field is set.
*/
@java.lang.Override
public boolean hasNetworkGetExecutionTime() {
return responseCase_ == 157;
}
/**
*
**
* Execution times of "sufficiently recent" transactions
*
*
* .proto.NetworkGetExecutionTimeResponse networkGetExecutionTime = 157;
* @return The networkGetExecutionTime.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse getNetworkGetExecutionTime() {
if (responseCase_ == 157) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.getDefaultInstance();
}
/**
*
**
* Execution times of "sufficiently recent" transactions
*
*
* .proto.NetworkGetExecutionTimeResponse networkGetExecutionTime = 157;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponseOrBuilder getNetworkGetExecutionTimeOrBuilder() {
if (responseCase_ == 157) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.getDefaultInstance();
}
public static final int ACCOUNTDETAILS_FIELD_NUMBER = 158;
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsResponse accountDetails = 158;
* @return Whether the accountDetails field is set.
*/
@java.lang.Override
public boolean hasAccountDetails() {
return responseCase_ == 158;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsResponse accountDetails = 158;
* @return The accountDetails.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse getAccountDetails() {
if (responseCase_ == 158) {
return (com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.getDefaultInstance();
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsResponse accountDetails = 158;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponseOrBuilder getAccountDetailsOrBuilder() {
if (responseCase_ == 158) {
return (com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (responseCase_ == 1) {
output.writeMessage(1, (com.hedera.hashgraph.sdk.proto.GetByKeyResponse) response_);
}
if (responseCase_ == 2) {
output.writeMessage(2, (com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse) response_);
}
if (responseCase_ == 3) {
output.writeMessage(3, (com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse) response_);
}
if (responseCase_ == 4) {
output.writeMessage(4, (com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse) response_);
}
if (responseCase_ == 5) {
output.writeMessage(5, (com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse) response_);
}
if (responseCase_ == 6) {
output.writeMessage(6, (com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse) response_);
}
if (responseCase_ == 7) {
output.writeMessage(7, (com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse) response_);
}
if (responseCase_ == 8) {
output.writeMessage(8, (com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse) response_);
}
if (responseCase_ == 9) {
output.writeMessage(9, (com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse) response_);
}
if (responseCase_ == 10) {
output.writeMessage(10, (com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse) response_);
}
if (responseCase_ == 11) {
output.writeMessage(11, (com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse) response_);
}
if (responseCase_ == 12) {
output.writeMessage(12, (com.hedera.hashgraph.sdk.proto.FileGetContentsResponse) response_);
}
if (responseCase_ == 13) {
output.writeMessage(13, (com.hedera.hashgraph.sdk.proto.FileGetInfoResponse) response_);
}
if (responseCase_ == 14) {
output.writeMessage(14, (com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse) response_);
}
if (responseCase_ == 15) {
output.writeMessage(15, (com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse) response_);
}
if (responseCase_ == 16) {
output.writeMessage(16, (com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse) response_);
}
if (responseCase_ == 150) {
output.writeMessage(150, (com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse) response_);
}
if (responseCase_ == 151) {
output.writeMessage(151, (com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse) response_);
}
if (responseCase_ == 152) {
output.writeMessage(152, (com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse) response_);
}
if (responseCase_ == 153) {
output.writeMessage(153, (com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse) response_);
}
if (responseCase_ == 154) {
output.writeMessage(154, (com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse) response_);
}
if (responseCase_ == 155) {
output.writeMessage(155, (com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse) response_);
}
if (responseCase_ == 156) {
output.writeMessage(156, (com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse) response_);
}
if (responseCase_ == 157) {
output.writeMessage(157, (com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse) response_);
}
if (responseCase_ == 158) {
output.writeMessage(158, (com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse) response_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (responseCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (com.hedera.hashgraph.sdk.proto.GetByKeyResponse) response_);
}
if (responseCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse) response_);
}
if (responseCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse) response_);
}
if (responseCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse) response_);
}
if (responseCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse) response_);
}
if (responseCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse) response_);
}
if (responseCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse) response_);
}
if (responseCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse) response_);
}
if (responseCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse) response_);
}
if (responseCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse) response_);
}
if (responseCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse) response_);
}
if (responseCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (com.hedera.hashgraph.sdk.proto.FileGetContentsResponse) response_);
}
if (responseCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (com.hedera.hashgraph.sdk.proto.FileGetInfoResponse) response_);
}
if (responseCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse) response_);
}
if (responseCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse) response_);
}
if (responseCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse) response_);
}
if (responseCase_ == 150) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(150, (com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse) response_);
}
if (responseCase_ == 151) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(151, (com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse) response_);
}
if (responseCase_ == 152) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(152, (com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse) response_);
}
if (responseCase_ == 153) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(153, (com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse) response_);
}
if (responseCase_ == 154) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(154, (com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse) response_);
}
if (responseCase_ == 155) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(155, (com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse) response_);
}
if (responseCase_ == 156) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(156, (com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse) response_);
}
if (responseCase_ == 157) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(157, (com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse) response_);
}
if (responseCase_ == 158) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(158, (com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse) response_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.hedera.hashgraph.sdk.proto.Response)) {
return super.equals(obj);
}
com.hedera.hashgraph.sdk.proto.Response other = (com.hedera.hashgraph.sdk.proto.Response) obj;
if (!getResponseCase().equals(other.getResponseCase())) return false;
switch (responseCase_) {
case 1:
if (!getGetByKey()
.equals(other.getGetByKey())) return false;
break;
case 2:
if (!getGetBySolidityID()
.equals(other.getGetBySolidityID())) return false;
break;
case 3:
if (!getContractCallLocal()
.equals(other.getContractCallLocal())) return false;
break;
case 5:
if (!getContractGetBytecodeResponse()
.equals(other.getContractGetBytecodeResponse())) return false;
break;
case 4:
if (!getContractGetInfo()
.equals(other.getContractGetInfo())) return false;
break;
case 6:
if (!getContractGetRecordsResponse()
.equals(other.getContractGetRecordsResponse())) return false;
break;
case 7:
if (!getCryptogetAccountBalance()
.equals(other.getCryptogetAccountBalance())) return false;
break;
case 8:
if (!getCryptoGetAccountRecords()
.equals(other.getCryptoGetAccountRecords())) return false;
break;
case 9:
if (!getCryptoGetInfo()
.equals(other.getCryptoGetInfo())) return false;
break;
case 10:
if (!getCryptoGetLiveHash()
.equals(other.getCryptoGetLiveHash())) return false;
break;
case 11:
if (!getCryptoGetProxyStakers()
.equals(other.getCryptoGetProxyStakers())) return false;
break;
case 12:
if (!getFileGetContents()
.equals(other.getFileGetContents())) return false;
break;
case 13:
if (!getFileGetInfo()
.equals(other.getFileGetInfo())) return false;
break;
case 14:
if (!getTransactionGetReceipt()
.equals(other.getTransactionGetReceipt())) return false;
break;
case 15:
if (!getTransactionGetRecord()
.equals(other.getTransactionGetRecord())) return false;
break;
case 16:
if (!getTransactionGetFastRecord()
.equals(other.getTransactionGetFastRecord())) return false;
break;
case 150:
if (!getConsensusGetTopicInfo()
.equals(other.getConsensusGetTopicInfo())) return false;
break;
case 151:
if (!getNetworkGetVersionInfo()
.equals(other.getNetworkGetVersionInfo())) return false;
break;
case 152:
if (!getTokenGetInfo()
.equals(other.getTokenGetInfo())) return false;
break;
case 153:
if (!getScheduleGetInfo()
.equals(other.getScheduleGetInfo())) return false;
break;
case 154:
if (!getTokenGetAccountNftInfos()
.equals(other.getTokenGetAccountNftInfos())) return false;
break;
case 155:
if (!getTokenGetNftInfo()
.equals(other.getTokenGetNftInfo())) return false;
break;
case 156:
if (!getTokenGetNftInfos()
.equals(other.getTokenGetNftInfos())) return false;
break;
case 157:
if (!getNetworkGetExecutionTime()
.equals(other.getNetworkGetExecutionTime())) return false;
break;
case 158:
if (!getAccountDetails()
.equals(other.getAccountDetails())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (responseCase_) {
case 1:
hash = (37 * hash) + GETBYKEY_FIELD_NUMBER;
hash = (53 * hash) + getGetByKey().hashCode();
break;
case 2:
hash = (37 * hash) + GETBYSOLIDITYID_FIELD_NUMBER;
hash = (53 * hash) + getGetBySolidityID().hashCode();
break;
case 3:
hash = (37 * hash) + CONTRACTCALLLOCAL_FIELD_NUMBER;
hash = (53 * hash) + getContractCallLocal().hashCode();
break;
case 5:
hash = (37 * hash) + CONTRACTGETBYTECODERESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getContractGetBytecodeResponse().hashCode();
break;
case 4:
hash = (37 * hash) + CONTRACTGETINFO_FIELD_NUMBER;
hash = (53 * hash) + getContractGetInfo().hashCode();
break;
case 6:
hash = (37 * hash) + CONTRACTGETRECORDSRESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getContractGetRecordsResponse().hashCode();
break;
case 7:
hash = (37 * hash) + CRYPTOGETACCOUNTBALANCE_FIELD_NUMBER;
hash = (53 * hash) + getCryptogetAccountBalance().hashCode();
break;
case 8:
hash = (37 * hash) + CRYPTOGETACCOUNTRECORDS_FIELD_NUMBER;
hash = (53 * hash) + getCryptoGetAccountRecords().hashCode();
break;
case 9:
hash = (37 * hash) + CRYPTOGETINFO_FIELD_NUMBER;
hash = (53 * hash) + getCryptoGetInfo().hashCode();
break;
case 10:
hash = (37 * hash) + CRYPTOGETLIVEHASH_FIELD_NUMBER;
hash = (53 * hash) + getCryptoGetLiveHash().hashCode();
break;
case 11:
hash = (37 * hash) + CRYPTOGETPROXYSTAKERS_FIELD_NUMBER;
hash = (53 * hash) + getCryptoGetProxyStakers().hashCode();
break;
case 12:
hash = (37 * hash) + FILEGETCONTENTS_FIELD_NUMBER;
hash = (53 * hash) + getFileGetContents().hashCode();
break;
case 13:
hash = (37 * hash) + FILEGETINFO_FIELD_NUMBER;
hash = (53 * hash) + getFileGetInfo().hashCode();
break;
case 14:
hash = (37 * hash) + TRANSACTIONGETRECEIPT_FIELD_NUMBER;
hash = (53 * hash) + getTransactionGetReceipt().hashCode();
break;
case 15:
hash = (37 * hash) + TRANSACTIONGETRECORD_FIELD_NUMBER;
hash = (53 * hash) + getTransactionGetRecord().hashCode();
break;
case 16:
hash = (37 * hash) + TRANSACTIONGETFASTRECORD_FIELD_NUMBER;
hash = (53 * hash) + getTransactionGetFastRecord().hashCode();
break;
case 150:
hash = (37 * hash) + CONSENSUSGETTOPICINFO_FIELD_NUMBER;
hash = (53 * hash) + getConsensusGetTopicInfo().hashCode();
break;
case 151:
hash = (37 * hash) + NETWORKGETVERSIONINFO_FIELD_NUMBER;
hash = (53 * hash) + getNetworkGetVersionInfo().hashCode();
break;
case 152:
hash = (37 * hash) + TOKENGETINFO_FIELD_NUMBER;
hash = (53 * hash) + getTokenGetInfo().hashCode();
break;
case 153:
hash = (37 * hash) + SCHEDULEGETINFO_FIELD_NUMBER;
hash = (53 * hash) + getScheduleGetInfo().hashCode();
break;
case 154:
hash = (37 * hash) + TOKENGETACCOUNTNFTINFOS_FIELD_NUMBER;
hash = (53 * hash) + getTokenGetAccountNftInfos().hashCode();
break;
case 155:
hash = (37 * hash) + TOKENGETNFTINFO_FIELD_NUMBER;
hash = (53 * hash) + getTokenGetNftInfo().hashCode();
break;
case 156:
hash = (37 * hash) + TOKENGETNFTINFOS_FIELD_NUMBER;
hash = (53 * hash) + getTokenGetNftInfos().hashCode();
break;
case 157:
hash = (37 * hash) + NETWORKGETEXECUTIONTIME_FIELD_NUMBER;
hash = (53 * hash) + getNetworkGetExecutionTime().hashCode();
break;
case 158:
hash = (37 * hash) + ACCOUNTDETAILS_FIELD_NUMBER;
hash = (53 * hash) + getAccountDetails().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.hedera.hashgraph.sdk.proto.Response parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hashgraph.sdk.proto.Response parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Response parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hashgraph.sdk.proto.Response parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hashgraph.sdk.proto.Response parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hedera.hashgraph.sdk.proto.Response parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.hedera.hashgraph.sdk.proto.Response parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.Response parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hedera.hashgraph.sdk.proto.Response parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.Response prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* A single response, which is returned from the node to the client, after the client sent the node
* a query. This includes all responses.
*
*
* Protobuf type {@code proto.Response}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:proto.Response)
com.hedera.hashgraph.sdk.proto.ResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hedera.hashgraph.sdk.proto.ResponseOuterClass.internal_static_proto_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hedera.hashgraph.sdk.proto.ResponseOuterClass.internal_static_proto_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hedera.hashgraph.sdk.proto.Response.class, com.hedera.hashgraph.sdk.proto.Response.Builder.class);
}
// Construct using com.hedera.hashgraph.sdk.proto.Response.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (getByKeyBuilder_ != null) {
getByKeyBuilder_.clear();
}
if (getBySolidityIDBuilder_ != null) {
getBySolidityIDBuilder_.clear();
}
if (contractCallLocalBuilder_ != null) {
contractCallLocalBuilder_.clear();
}
if (contractGetBytecodeResponseBuilder_ != null) {
contractGetBytecodeResponseBuilder_.clear();
}
if (contractGetInfoBuilder_ != null) {
contractGetInfoBuilder_.clear();
}
if (contractGetRecordsResponseBuilder_ != null) {
contractGetRecordsResponseBuilder_.clear();
}
if (cryptogetAccountBalanceBuilder_ != null) {
cryptogetAccountBalanceBuilder_.clear();
}
if (cryptoGetAccountRecordsBuilder_ != null) {
cryptoGetAccountRecordsBuilder_.clear();
}
if (cryptoGetInfoBuilder_ != null) {
cryptoGetInfoBuilder_.clear();
}
if (cryptoGetLiveHashBuilder_ != null) {
cryptoGetLiveHashBuilder_.clear();
}
if (cryptoGetProxyStakersBuilder_ != null) {
cryptoGetProxyStakersBuilder_.clear();
}
if (fileGetContentsBuilder_ != null) {
fileGetContentsBuilder_.clear();
}
if (fileGetInfoBuilder_ != null) {
fileGetInfoBuilder_.clear();
}
if (transactionGetReceiptBuilder_ != null) {
transactionGetReceiptBuilder_.clear();
}
if (transactionGetRecordBuilder_ != null) {
transactionGetRecordBuilder_.clear();
}
if (transactionGetFastRecordBuilder_ != null) {
transactionGetFastRecordBuilder_.clear();
}
if (consensusGetTopicInfoBuilder_ != null) {
consensusGetTopicInfoBuilder_.clear();
}
if (networkGetVersionInfoBuilder_ != null) {
networkGetVersionInfoBuilder_.clear();
}
if (tokenGetInfoBuilder_ != null) {
tokenGetInfoBuilder_.clear();
}
if (scheduleGetInfoBuilder_ != null) {
scheduleGetInfoBuilder_.clear();
}
if (tokenGetAccountNftInfosBuilder_ != null) {
tokenGetAccountNftInfosBuilder_.clear();
}
if (tokenGetNftInfoBuilder_ != null) {
tokenGetNftInfoBuilder_.clear();
}
if (tokenGetNftInfosBuilder_ != null) {
tokenGetNftInfosBuilder_.clear();
}
if (networkGetExecutionTimeBuilder_ != null) {
networkGetExecutionTimeBuilder_.clear();
}
if (accountDetailsBuilder_ != null) {
accountDetailsBuilder_.clear();
}
responseCase_ = 0;
response_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.hedera.hashgraph.sdk.proto.ResponseOuterClass.internal_static_proto_Response_descriptor;
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.Response getDefaultInstanceForType() {
return com.hedera.hashgraph.sdk.proto.Response.getDefaultInstance();
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.Response build() {
com.hedera.hashgraph.sdk.proto.Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.Response buildPartial() {
com.hedera.hashgraph.sdk.proto.Response result = new com.hedera.hashgraph.sdk.proto.Response(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(com.hedera.hashgraph.sdk.proto.Response result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(com.hedera.hashgraph.sdk.proto.Response result) {
result.responseCase_ = responseCase_;
result.response_ = this.response_;
if (responseCase_ == 1 &&
getByKeyBuilder_ != null) {
result.response_ = getByKeyBuilder_.build();
}
if (responseCase_ == 2 &&
getBySolidityIDBuilder_ != null) {
result.response_ = getBySolidityIDBuilder_.build();
}
if (responseCase_ == 3 &&
contractCallLocalBuilder_ != null) {
result.response_ = contractCallLocalBuilder_.build();
}
if (responseCase_ == 5 &&
contractGetBytecodeResponseBuilder_ != null) {
result.response_ = contractGetBytecodeResponseBuilder_.build();
}
if (responseCase_ == 4 &&
contractGetInfoBuilder_ != null) {
result.response_ = contractGetInfoBuilder_.build();
}
if (responseCase_ == 6 &&
contractGetRecordsResponseBuilder_ != null) {
result.response_ = contractGetRecordsResponseBuilder_.build();
}
if (responseCase_ == 7 &&
cryptogetAccountBalanceBuilder_ != null) {
result.response_ = cryptogetAccountBalanceBuilder_.build();
}
if (responseCase_ == 8 &&
cryptoGetAccountRecordsBuilder_ != null) {
result.response_ = cryptoGetAccountRecordsBuilder_.build();
}
if (responseCase_ == 9 &&
cryptoGetInfoBuilder_ != null) {
result.response_ = cryptoGetInfoBuilder_.build();
}
if (responseCase_ == 10 &&
cryptoGetLiveHashBuilder_ != null) {
result.response_ = cryptoGetLiveHashBuilder_.build();
}
if (responseCase_ == 11 &&
cryptoGetProxyStakersBuilder_ != null) {
result.response_ = cryptoGetProxyStakersBuilder_.build();
}
if (responseCase_ == 12 &&
fileGetContentsBuilder_ != null) {
result.response_ = fileGetContentsBuilder_.build();
}
if (responseCase_ == 13 &&
fileGetInfoBuilder_ != null) {
result.response_ = fileGetInfoBuilder_.build();
}
if (responseCase_ == 14 &&
transactionGetReceiptBuilder_ != null) {
result.response_ = transactionGetReceiptBuilder_.build();
}
if (responseCase_ == 15 &&
transactionGetRecordBuilder_ != null) {
result.response_ = transactionGetRecordBuilder_.build();
}
if (responseCase_ == 16 &&
transactionGetFastRecordBuilder_ != null) {
result.response_ = transactionGetFastRecordBuilder_.build();
}
if (responseCase_ == 150 &&
consensusGetTopicInfoBuilder_ != null) {
result.response_ = consensusGetTopicInfoBuilder_.build();
}
if (responseCase_ == 151 &&
networkGetVersionInfoBuilder_ != null) {
result.response_ = networkGetVersionInfoBuilder_.build();
}
if (responseCase_ == 152 &&
tokenGetInfoBuilder_ != null) {
result.response_ = tokenGetInfoBuilder_.build();
}
if (responseCase_ == 153 &&
scheduleGetInfoBuilder_ != null) {
result.response_ = scheduleGetInfoBuilder_.build();
}
if (responseCase_ == 154 &&
tokenGetAccountNftInfosBuilder_ != null) {
result.response_ = tokenGetAccountNftInfosBuilder_.build();
}
if (responseCase_ == 155 &&
tokenGetNftInfoBuilder_ != null) {
result.response_ = tokenGetNftInfoBuilder_.build();
}
if (responseCase_ == 156 &&
tokenGetNftInfosBuilder_ != null) {
result.response_ = tokenGetNftInfosBuilder_.build();
}
if (responseCase_ == 157 &&
networkGetExecutionTimeBuilder_ != null) {
result.response_ = networkGetExecutionTimeBuilder_.build();
}
if (responseCase_ == 158 &&
accountDetailsBuilder_ != null) {
result.response_ = accountDetailsBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.hedera.hashgraph.sdk.proto.Response) {
return mergeFrom((com.hedera.hashgraph.sdk.proto.Response)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.hedera.hashgraph.sdk.proto.Response other) {
if (other == com.hedera.hashgraph.sdk.proto.Response.getDefaultInstance()) return this;
switch (other.getResponseCase()) {
case GETBYKEY: {
mergeGetByKey(other.getGetByKey());
break;
}
case GETBYSOLIDITYID: {
mergeGetBySolidityID(other.getGetBySolidityID());
break;
}
case CONTRACTCALLLOCAL: {
mergeContractCallLocal(other.getContractCallLocal());
break;
}
case CONTRACTGETBYTECODERESPONSE: {
mergeContractGetBytecodeResponse(other.getContractGetBytecodeResponse());
break;
}
case CONTRACTGETINFO: {
mergeContractGetInfo(other.getContractGetInfo());
break;
}
case CONTRACTGETRECORDSRESPONSE: {
mergeContractGetRecordsResponse(other.getContractGetRecordsResponse());
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 RESPONSE_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getGetByKeyFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getGetBySolidityIDFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getContractCallLocalFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getContractGetInfoFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 4;
break;
} // case 34
case 42: {
input.readMessage(
getContractGetBytecodeResponseFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 5;
break;
} // case 42
case 50: {
input.readMessage(
getContractGetRecordsResponseFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 6;
break;
} // case 50
case 58: {
input.readMessage(
getCryptogetAccountBalanceFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 7;
break;
} // case 58
case 66: {
input.readMessage(
getCryptoGetAccountRecordsFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 8;
break;
} // case 66
case 74: {
input.readMessage(
getCryptoGetInfoFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 9;
break;
} // case 74
case 82: {
input.readMessage(
getCryptoGetLiveHashFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 10;
break;
} // case 82
case 90: {
input.readMessage(
getCryptoGetProxyStakersFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 11;
break;
} // case 90
case 98: {
input.readMessage(
getFileGetContentsFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 12;
break;
} // case 98
case 106: {
input.readMessage(
getFileGetInfoFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 13;
break;
} // case 106
case 114: {
input.readMessage(
getTransactionGetReceiptFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 14;
break;
} // case 114
case 122: {
input.readMessage(
getTransactionGetRecordFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 15;
break;
} // case 122
case 130: {
input.readMessage(
getTransactionGetFastRecordFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 16;
break;
} // case 130
case 1202: {
input.readMessage(
getConsensusGetTopicInfoFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 150;
break;
} // case 1202
case 1210: {
input.readMessage(
getNetworkGetVersionInfoFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 151;
break;
} // case 1210
case 1218: {
input.readMessage(
getTokenGetInfoFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 152;
break;
} // case 1218
case 1226: {
input.readMessage(
getScheduleGetInfoFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 153;
break;
} // case 1226
case 1234: {
input.readMessage(
getTokenGetAccountNftInfosFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 154;
break;
} // case 1234
case 1242: {
input.readMessage(
getTokenGetNftInfoFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 155;
break;
} // case 1242
case 1250: {
input.readMessage(
getTokenGetNftInfosFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 156;
break;
} // case 1250
case 1258: {
input.readMessage(
getNetworkGetExecutionTimeFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 157;
break;
} // case 1258
case 1266: {
input.readMessage(
getAccountDetailsFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 158;
break;
} // case 1266
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int responseCase_ = 0;
private java.lang.Object response_;
public ResponseCase
getResponseCase() {
return ResponseCase.forNumber(
responseCase_);
}
public Builder clearResponse() {
responseCase_ = 0;
response_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetByKeyResponse, com.hedera.hashgraph.sdk.proto.GetByKeyResponse.Builder, com.hedera.hashgraph.sdk.proto.GetByKeyResponseOrBuilder> getByKeyBuilder_;
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
* @return Whether the getByKey field is set.
*/
@java.lang.Override
public boolean hasGetByKey() {
return responseCase_ == 1;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
* @return The getByKey.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetByKeyResponse getGetByKey() {
if (getByKeyBuilder_ == null) {
if (responseCase_ == 1) {
return (com.hedera.hashgraph.sdk.proto.GetByKeyResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.GetByKeyResponse.getDefaultInstance();
} else {
if (responseCase_ == 1) {
return getByKeyBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.GetByKeyResponse.getDefaultInstance();
}
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
public Builder setGetByKey(com.hedera.hashgraph.sdk.proto.GetByKeyResponse value) {
if (getByKeyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
getByKeyBuilder_.setMessage(value);
}
responseCase_ = 1;
return this;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
public Builder setGetByKey(
com.hedera.hashgraph.sdk.proto.GetByKeyResponse.Builder builderForValue) {
if (getByKeyBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
getByKeyBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 1;
return this;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
public Builder mergeGetByKey(com.hedera.hashgraph.sdk.proto.GetByKeyResponse value) {
if (getByKeyBuilder_ == null) {
if (responseCase_ == 1 &&
response_ != com.hedera.hashgraph.sdk.proto.GetByKeyResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.GetByKeyResponse.newBuilder((com.hedera.hashgraph.sdk.proto.GetByKeyResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 1) {
getByKeyBuilder_.mergeFrom(value);
} else {
getByKeyBuilder_.setMessage(value);
}
}
responseCase_ = 1;
return this;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
public Builder clearGetByKey() {
if (getByKeyBuilder_ == null) {
if (responseCase_ == 1) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 1) {
responseCase_ = 0;
response_ = null;
}
getByKeyBuilder_.clear();
}
return this;
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
public com.hedera.hashgraph.sdk.proto.GetByKeyResponse.Builder getGetByKeyBuilder() {
return getGetByKeyFieldBuilder().getBuilder();
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetByKeyResponseOrBuilder getGetByKeyOrBuilder() {
if ((responseCase_ == 1) && (getByKeyBuilder_ != null)) {
return getByKeyBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 1) {
return (com.hedera.hashgraph.sdk.proto.GetByKeyResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.GetByKeyResponse.getDefaultInstance();
}
}
/**
*
**
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetByKeyResponse, com.hedera.hashgraph.sdk.proto.GetByKeyResponse.Builder, com.hedera.hashgraph.sdk.proto.GetByKeyResponseOrBuilder>
getGetByKeyFieldBuilder() {
if (getByKeyBuilder_ == null) {
if (!(responseCase_ == 1)) {
response_ = com.hedera.hashgraph.sdk.proto.GetByKeyResponse.getDefaultInstance();
}
getByKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetByKeyResponse, com.hedera.hashgraph.sdk.proto.GetByKeyResponse.Builder, com.hedera.hashgraph.sdk.proto.GetByKeyResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.GetByKeyResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 1;
onChanged();
return getByKeyBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse, com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.Builder, com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponseOrBuilder> getBySolidityIDBuilder_;
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
* @return Whether the getBySolidityID field is set.
*/
@java.lang.Override
public boolean hasGetBySolidityID() {
return responseCase_ == 2;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
* @return The getBySolidityID.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse getGetBySolidityID() {
if (getBySolidityIDBuilder_ == null) {
if (responseCase_ == 2) {
return (com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.getDefaultInstance();
} else {
if (responseCase_ == 2) {
return getBySolidityIDBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.getDefaultInstance();
}
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
*/
public Builder setGetBySolidityID(com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse value) {
if (getBySolidityIDBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
getBySolidityIDBuilder_.setMessage(value);
}
responseCase_ = 2;
return this;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
*/
public Builder setGetBySolidityID(
com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.Builder builderForValue) {
if (getBySolidityIDBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
getBySolidityIDBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 2;
return this;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
*/
public Builder mergeGetBySolidityID(com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse value) {
if (getBySolidityIDBuilder_ == null) {
if (responseCase_ == 2 &&
response_ != com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.newBuilder((com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 2) {
getBySolidityIDBuilder_.mergeFrom(value);
} else {
getBySolidityIDBuilder_.setMessage(value);
}
}
responseCase_ = 2;
return this;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
*/
public Builder clearGetBySolidityID() {
if (getBySolidityIDBuilder_ == null) {
if (responseCase_ == 2) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 2) {
responseCase_ = 0;
response_ = null;
}
getBySolidityIDBuilder_.clear();
}
return this;
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
*/
public com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.Builder getGetBySolidityIDBuilder() {
return getGetBySolidityIDFieldBuilder().getBuilder();
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponseOrBuilder getGetBySolidityIDOrBuilder() {
if ((responseCase_ == 2) && (getBySolidityIDBuilder_ != null)) {
return getBySolidityIDBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 2) {
return (com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.getDefaultInstance();
}
}
/**
*
**
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse, com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.Builder, com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponseOrBuilder>
getGetBySolidityIDFieldBuilder() {
if (getBySolidityIDBuilder_ == null) {
if (!(responseCase_ == 2)) {
response_ = com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.getDefaultInstance();
}
getBySolidityIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse, com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse.Builder, com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.GetBySolidityIDResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 2;
onChanged();
return getBySolidityIDBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse, com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.Builder, com.hedera.hashgraph.sdk.proto.ContractCallLocalResponseOrBuilder> contractCallLocalBuilder_;
/**
*
**
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
* @return Whether the contractCallLocal field is set.
*/
@java.lang.Override
public boolean hasContractCallLocal() {
return responseCase_ == 3;
}
/**
*
**
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
* @return The contractCallLocal.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse getContractCallLocal() {
if (contractCallLocalBuilder_ == null) {
if (responseCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.getDefaultInstance();
} else {
if (responseCase_ == 3) {
return contractCallLocalBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.getDefaultInstance();
}
}
/**
*
**
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
public Builder setContractCallLocal(com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse value) {
if (contractCallLocalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
contractCallLocalBuilder_.setMessage(value);
}
responseCase_ = 3;
return this;
}
/**
*
**
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
public Builder setContractCallLocal(
com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.Builder builderForValue) {
if (contractCallLocalBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
contractCallLocalBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 3;
return this;
}
/**
*
**
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
public Builder mergeContractCallLocal(com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse value) {
if (contractCallLocalBuilder_ == null) {
if (responseCase_ == 3 &&
response_ != com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.newBuilder((com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 3) {
contractCallLocalBuilder_.mergeFrom(value);
} else {
contractCallLocalBuilder_.setMessage(value);
}
}
responseCase_ = 3;
return this;
}
/**
*
**
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
public Builder clearContractCallLocal() {
if (contractCallLocalBuilder_ == null) {
if (responseCase_ == 3) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 3) {
responseCase_ = 0;
response_ = null;
}
contractCallLocalBuilder_.clear();
}
return this;
}
/**
*
**
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
public com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.Builder getContractCallLocalBuilder() {
return getContractCallLocalFieldBuilder().getBuilder();
}
/**
*
**
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractCallLocalResponseOrBuilder getContractCallLocalOrBuilder() {
if ((responseCase_ == 3) && (contractCallLocalBuilder_ != null)) {
return contractCallLocalBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 3) {
return (com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.getDefaultInstance();
}
}
/**
*
**
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse, com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.Builder, com.hedera.hashgraph.sdk.proto.ContractCallLocalResponseOrBuilder>
getContractCallLocalFieldBuilder() {
if (contractCallLocalBuilder_ == null) {
if (!(responseCase_ == 3)) {
response_ = com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.getDefaultInstance();
}
contractCallLocalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse, com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.Builder, com.hedera.hashgraph.sdk.proto.ContractCallLocalResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 3;
onChanged();
return contractCallLocalBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse, com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.Builder, com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponseOrBuilder> contractGetBytecodeResponseBuilder_;
/**
*
**
* Get the runtime code for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
* @return Whether the contractGetBytecodeResponse field is set.
*/
@java.lang.Override
public boolean hasContractGetBytecodeResponse() {
return responseCase_ == 5;
}
/**
*
**
* Get the runtime code for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
* @return The contractGetBytecodeResponse.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse getContractGetBytecodeResponse() {
if (contractGetBytecodeResponseBuilder_ == null) {
if (responseCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.getDefaultInstance();
} else {
if (responseCase_ == 5) {
return contractGetBytecodeResponseBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.getDefaultInstance();
}
}
/**
*
**
* Get the runtime code for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public Builder setContractGetBytecodeResponse(com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse value) {
if (contractGetBytecodeResponseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
contractGetBytecodeResponseBuilder_.setMessage(value);
}
responseCase_ = 5;
return this;
}
/**
*
**
* Get the runtime code for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public Builder setContractGetBytecodeResponse(
com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.Builder builderForValue) {
if (contractGetBytecodeResponseBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
contractGetBytecodeResponseBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 5;
return this;
}
/**
*
**
* Get the runtime code for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public Builder mergeContractGetBytecodeResponse(com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse value) {
if (contractGetBytecodeResponseBuilder_ == null) {
if (responseCase_ == 5 &&
response_ != com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.newBuilder((com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 5) {
contractGetBytecodeResponseBuilder_.mergeFrom(value);
} else {
contractGetBytecodeResponseBuilder_.setMessage(value);
}
}
responseCase_ = 5;
return this;
}
/**
*
**
* Get the runtime code for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public Builder clearContractGetBytecodeResponse() {
if (contractGetBytecodeResponseBuilder_ == null) {
if (responseCase_ == 5) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 5) {
responseCase_ = 0;
response_ = null;
}
contractGetBytecodeResponseBuilder_.clear();
}
return this;
}
/**
*
**
* Get the runtime code for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.Builder getContractGetBytecodeResponseBuilder() {
return getContractGetBytecodeResponseFieldBuilder().getBuilder();
}
/**
*
**
* Get the runtime code for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponseOrBuilder getContractGetBytecodeResponseOrBuilder() {
if ((responseCase_ == 5) && (contractGetBytecodeResponseBuilder_ != null)) {
return contractGetBytecodeResponseBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 5) {
return (com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.getDefaultInstance();
}
}
/**
*
**
* Get the runtime code for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse, com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.Builder, com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponseOrBuilder>
getContractGetBytecodeResponseFieldBuilder() {
if (contractGetBytecodeResponseBuilder_ == null) {
if (!(responseCase_ == 5)) {
response_ = com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.getDefaultInstance();
}
contractGetBytecodeResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse, com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse.Builder, com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ContractGetBytecodeResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 5;
onChanged();
return contractGetBytecodeResponseBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse, com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.ContractGetInfoResponseOrBuilder> contractGetInfoBuilder_;
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
* @return Whether the contractGetInfo field is set.
*/
@java.lang.Override
public boolean hasContractGetInfo() {
return responseCase_ == 4;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
* @return The contractGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse getContractGetInfo() {
if (contractGetInfoBuilder_ == null) {
if (responseCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 4) {
return contractGetInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
public Builder setContractGetInfo(com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse value) {
if (contractGetInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
contractGetInfoBuilder_.setMessage(value);
}
responseCase_ = 4;
return this;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
public Builder setContractGetInfo(
com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.Builder builderForValue) {
if (contractGetInfoBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
contractGetInfoBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 4;
return this;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
public Builder mergeContractGetInfo(com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse value) {
if (contractGetInfoBuilder_ == null) {
if (responseCase_ == 4 &&
response_ != com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.newBuilder((com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 4) {
contractGetInfoBuilder_.mergeFrom(value);
} else {
contractGetInfoBuilder_.setMessage(value);
}
}
responseCase_ = 4;
return this;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
public Builder clearContractGetInfo() {
if (contractGetInfoBuilder_ == null) {
if (responseCase_ == 4) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 4) {
responseCase_ = 0;
response_ = null;
}
contractGetInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
public com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.Builder getContractGetInfoBuilder() {
return getContractGetInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetInfoResponseOrBuilder getContractGetInfoOrBuilder() {
if ((responseCase_ == 4) && (contractGetInfoBuilder_ != null)) {
return contractGetInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 4) {
return (com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse, com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.ContractGetInfoResponseOrBuilder>
getContractGetInfoFieldBuilder() {
if (contractGetInfoBuilder_ == null) {
if (!(responseCase_ == 4)) {
response_ = com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.getDefaultInstance();
}
contractGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse, com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.ContractGetInfoResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ContractGetInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 4;
onChanged();
return contractGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse, com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.Builder, com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponseOrBuilder> contractGetRecordsResponseBuilder_;
/**
*
**
* Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
* @return Whether the contractGetRecordsResponse field is set.
*/
@java.lang.Override
public boolean hasContractGetRecordsResponse() {
return responseCase_ == 6;
}
/**
*
**
* Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
* @return The contractGetRecordsResponse.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse getContractGetRecordsResponse() {
if (contractGetRecordsResponseBuilder_ == null) {
if (responseCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.getDefaultInstance();
} else {
if (responseCase_ == 6) {
return contractGetRecordsResponseBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.getDefaultInstance();
}
}
/**
*
**
* Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
public Builder setContractGetRecordsResponse(com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse value) {
if (contractGetRecordsResponseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
contractGetRecordsResponseBuilder_.setMessage(value);
}
responseCase_ = 6;
return this;
}
/**
*
**
* Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
public Builder setContractGetRecordsResponse(
com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.Builder builderForValue) {
if (contractGetRecordsResponseBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
contractGetRecordsResponseBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 6;
return this;
}
/**
*
**
* Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
public Builder mergeContractGetRecordsResponse(com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse value) {
if (contractGetRecordsResponseBuilder_ == null) {
if (responseCase_ == 6 &&
response_ != com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.newBuilder((com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 6) {
contractGetRecordsResponseBuilder_.mergeFrom(value);
} else {
contractGetRecordsResponseBuilder_.setMessage(value);
}
}
responseCase_ = 6;
return this;
}
/**
*
**
* Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
public Builder clearContractGetRecordsResponse() {
if (contractGetRecordsResponseBuilder_ == null) {
if (responseCase_ == 6) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 6) {
responseCase_ = 0;
response_ = null;
}
contractGetRecordsResponseBuilder_.clear();
}
return this;
}
/**
*
**
* Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
public com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.Builder getContractGetRecordsResponseBuilder() {
return getContractGetRecordsResponseFieldBuilder().getBuilder();
}
/**
*
**
* Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponseOrBuilder getContractGetRecordsResponseOrBuilder() {
if ((responseCase_ == 6) && (contractGetRecordsResponseBuilder_ != null)) {
return contractGetRecordsResponseBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 6) {
return (com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.getDefaultInstance();
}
}
/**
*
**
* Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse, com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.Builder, com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponseOrBuilder>
getContractGetRecordsResponseFieldBuilder() {
if (contractGetRecordsResponseBuilder_ == null) {
if (!(responseCase_ == 6)) {
response_ = com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.getDefaultInstance();
}
contractGetRecordsResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse, com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.Builder, com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 6;
onChanged();
return contractGetRecordsResponseBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse, com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponseOrBuilder> cryptogetAccountBalanceBuilder_;
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
* @return Whether the cryptogetAccountBalance field is set.
*/
@java.lang.Override
public boolean hasCryptogetAccountBalance() {
return responseCase_ == 7;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
* @return The cryptogetAccountBalance.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse getCryptogetAccountBalance() {
if (cryptogetAccountBalanceBuilder_ == null) {
if (responseCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.getDefaultInstance();
} else {
if (responseCase_ == 7) {
return cryptogetAccountBalanceBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.getDefaultInstance();
}
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
public Builder setCryptogetAccountBalance(com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse value) {
if (cryptogetAccountBalanceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
cryptogetAccountBalanceBuilder_.setMessage(value);
}
responseCase_ = 7;
return this;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
public Builder setCryptogetAccountBalance(
com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.Builder builderForValue) {
if (cryptogetAccountBalanceBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
cryptogetAccountBalanceBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 7;
return this;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
public Builder mergeCryptogetAccountBalance(com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse value) {
if (cryptogetAccountBalanceBuilder_ == null) {
if (responseCase_ == 7 &&
response_ != com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 7) {
cryptogetAccountBalanceBuilder_.mergeFrom(value);
} else {
cryptogetAccountBalanceBuilder_.setMessage(value);
}
}
responseCase_ = 7;
return this;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
public Builder clearCryptogetAccountBalance() {
if (cryptogetAccountBalanceBuilder_ == null) {
if (responseCase_ == 7) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 7) {
responseCase_ = 0;
response_ = null;
}
cryptogetAccountBalanceBuilder_.clear();
}
return this;
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.Builder getCryptogetAccountBalanceBuilder() {
return getCryptogetAccountBalanceFieldBuilder().getBuilder();
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponseOrBuilder getCryptogetAccountBalanceOrBuilder() {
if ((responseCase_ == 7) && (cryptogetAccountBalanceBuilder_ != null)) {
return cryptogetAccountBalanceBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 7) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.getDefaultInstance();
}
}
/**
*
**
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse, com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponseOrBuilder>
getCryptogetAccountBalanceFieldBuilder() {
if (cryptogetAccountBalanceBuilder_ == null) {
if (!(responseCase_ == 7)) {
response_ = com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.getDefaultInstance();
}
cryptogetAccountBalanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse, com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoGetAccountBalanceResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 7;
onChanged();
return cryptogetAccountBalanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse, com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponseOrBuilder> cryptoGetAccountRecordsBuilder_;
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
* @return Whether the cryptoGetAccountRecords field is set.
*/
@java.lang.Override
public boolean hasCryptoGetAccountRecords() {
return responseCase_ == 8;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
* @return The cryptoGetAccountRecords.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse getCryptoGetAccountRecords() {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (responseCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.getDefaultInstance();
} else {
if (responseCase_ == 8) {
return cryptoGetAccountRecordsBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.getDefaultInstance();
}
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
public Builder setCryptoGetAccountRecords(com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse value) {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
cryptoGetAccountRecordsBuilder_.setMessage(value);
}
responseCase_ = 8;
return this;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
public Builder setCryptoGetAccountRecords(
com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.Builder builderForValue) {
if (cryptoGetAccountRecordsBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
cryptoGetAccountRecordsBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 8;
return this;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
public Builder mergeCryptoGetAccountRecords(com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse value) {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (responseCase_ == 8 &&
response_ != com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 8) {
cryptoGetAccountRecordsBuilder_.mergeFrom(value);
} else {
cryptoGetAccountRecordsBuilder_.setMessage(value);
}
}
responseCase_ = 8;
return this;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
public Builder clearCryptoGetAccountRecords() {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (responseCase_ == 8) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 8) {
responseCase_ = 0;
response_ = null;
}
cryptoGetAccountRecordsBuilder_.clear();
}
return this;
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.Builder getCryptoGetAccountRecordsBuilder() {
return getCryptoGetAccountRecordsFieldBuilder().getBuilder();
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponseOrBuilder getCryptoGetAccountRecordsOrBuilder() {
if ((responseCase_ == 8) && (cryptoGetAccountRecordsBuilder_ != null)) {
return cryptoGetAccountRecordsBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 8) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.getDefaultInstance();
}
}
/**
*
**
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse, com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponseOrBuilder>
getCryptoGetAccountRecordsFieldBuilder() {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (!(responseCase_ == 8)) {
response_ = com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.getDefaultInstance();
}
cryptoGetAccountRecordsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse, com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoGetAccountRecordsResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 8;
onChanged();
return cryptoGetAccountRecordsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse, com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponseOrBuilder> cryptoGetInfoBuilder_;
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
* @return Whether the cryptoGetInfo field is set.
*/
@java.lang.Override
public boolean hasCryptoGetInfo() {
return responseCase_ == 9;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
* @return The cryptoGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse getCryptoGetInfo() {
if (cryptoGetInfoBuilder_ == null) {
if (responseCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 9) {
return cryptoGetInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
public Builder setCryptoGetInfo(com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse value) {
if (cryptoGetInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
cryptoGetInfoBuilder_.setMessage(value);
}
responseCase_ = 9;
return this;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
public Builder setCryptoGetInfo(
com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.Builder builderForValue) {
if (cryptoGetInfoBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
cryptoGetInfoBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 9;
return this;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
public Builder mergeCryptoGetInfo(com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse value) {
if (cryptoGetInfoBuilder_ == null) {
if (responseCase_ == 9 &&
response_ != com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 9) {
cryptoGetInfoBuilder_.mergeFrom(value);
} else {
cryptoGetInfoBuilder_.setMessage(value);
}
}
responseCase_ = 9;
return this;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
public Builder clearCryptoGetInfo() {
if (cryptoGetInfoBuilder_ == null) {
if (responseCase_ == 9) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 9) {
responseCase_ = 0;
response_ = null;
}
cryptoGetInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
public com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.Builder getCryptoGetInfoBuilder() {
return getCryptoGetInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponseOrBuilder getCryptoGetInfoOrBuilder() {
if ((responseCase_ == 9) && (cryptoGetInfoBuilder_ != null)) {
return cryptoGetInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 9) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse, com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponseOrBuilder>
getCryptoGetInfoFieldBuilder() {
if (cryptoGetInfoBuilder_ == null) {
if (!(responseCase_ == 9)) {
response_ = com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.getDefaultInstance();
}
cryptoGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse, com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoGetInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 9;
onChanged();
return cryptoGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse, com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponseOrBuilder> cryptoGetLiveHashBuilder_;
/**
*
**
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
* @return Whether the cryptoGetLiveHash field is set.
*/
@java.lang.Override
public boolean hasCryptoGetLiveHash() {
return responseCase_ == 10;
}
/**
*
**
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
* @return The cryptoGetLiveHash.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse getCryptoGetLiveHash() {
if (cryptoGetLiveHashBuilder_ == null) {
if (responseCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.getDefaultInstance();
} else {
if (responseCase_ == 10) {
return cryptoGetLiveHashBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.getDefaultInstance();
}
}
/**
*
**
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
public Builder setCryptoGetLiveHash(com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse value) {
if (cryptoGetLiveHashBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
cryptoGetLiveHashBuilder_.setMessage(value);
}
responseCase_ = 10;
return this;
}
/**
*
**
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
public Builder setCryptoGetLiveHash(
com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.Builder builderForValue) {
if (cryptoGetLiveHashBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
cryptoGetLiveHashBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 10;
return this;
}
/**
*
**
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
public Builder mergeCryptoGetLiveHash(com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse value) {
if (cryptoGetLiveHashBuilder_ == null) {
if (responseCase_ == 10 &&
response_ != com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 10) {
cryptoGetLiveHashBuilder_.mergeFrom(value);
} else {
cryptoGetLiveHashBuilder_.setMessage(value);
}
}
responseCase_ = 10;
return this;
}
/**
*
**
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
public Builder clearCryptoGetLiveHash() {
if (cryptoGetLiveHashBuilder_ == null) {
if (responseCase_ == 10) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 10) {
responseCase_ = 0;
response_ = null;
}
cryptoGetLiveHashBuilder_.clear();
}
return this;
}
/**
*
**
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
public com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.Builder getCryptoGetLiveHashBuilder() {
return getCryptoGetLiveHashFieldBuilder().getBuilder();
}
/**
*
**
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponseOrBuilder getCryptoGetLiveHashOrBuilder() {
if ((responseCase_ == 10) && (cryptoGetLiveHashBuilder_ != null)) {
return cryptoGetLiveHashBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 10) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.getDefaultInstance();
}
}
/**
*
**
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse, com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponseOrBuilder>
getCryptoGetLiveHashFieldBuilder() {
if (cryptoGetLiveHashBuilder_ == null) {
if (!(responseCase_ == 10)) {
response_ = com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.getDefaultInstance();
}
cryptoGetLiveHashBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse, com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoGetLiveHashResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 10;
onChanged();
return cryptoGetLiveHashBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse, com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponseOrBuilder> cryptoGetProxyStakersBuilder_;
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
* @return Whether the cryptoGetProxyStakers field is set.
*/
@java.lang.Override
public boolean hasCryptoGetProxyStakers() {
return responseCase_ == 11;
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
* @return The cryptoGetProxyStakers.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse getCryptoGetProxyStakers() {
if (cryptoGetProxyStakersBuilder_ == null) {
if (responseCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.getDefaultInstance();
} else {
if (responseCase_ == 11) {
return cryptoGetProxyStakersBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.getDefaultInstance();
}
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
*/
public Builder setCryptoGetProxyStakers(com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse value) {
if (cryptoGetProxyStakersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
cryptoGetProxyStakersBuilder_.setMessage(value);
}
responseCase_ = 11;
return this;
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
*/
public Builder setCryptoGetProxyStakers(
com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.Builder builderForValue) {
if (cryptoGetProxyStakersBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
cryptoGetProxyStakersBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 11;
return this;
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
*/
public Builder mergeCryptoGetProxyStakers(com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse value) {
if (cryptoGetProxyStakersBuilder_ == null) {
if (responseCase_ == 11 &&
response_ != com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.newBuilder((com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 11) {
cryptoGetProxyStakersBuilder_.mergeFrom(value);
} else {
cryptoGetProxyStakersBuilder_.setMessage(value);
}
}
responseCase_ = 11;
return this;
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
*/
public Builder clearCryptoGetProxyStakers() {
if (cryptoGetProxyStakersBuilder_ == null) {
if (responseCase_ == 11) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 11) {
responseCase_ = 0;
response_ = null;
}
cryptoGetProxyStakersBuilder_.clear();
}
return this;
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
*/
public com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.Builder getCryptoGetProxyStakersBuilder() {
return getCryptoGetProxyStakersFieldBuilder().getBuilder();
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponseOrBuilder getCryptoGetProxyStakersOrBuilder() {
if ((responseCase_ == 11) && (cryptoGetProxyStakersBuilder_ != null)) {
return cryptoGetProxyStakersBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 11) {
return (com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.getDefaultInstance();
}
}
/**
*
**
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse, com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponseOrBuilder>
getCryptoGetProxyStakersFieldBuilder() {
if (cryptoGetProxyStakersBuilder_ == null) {
if (!(responseCase_ == 11)) {
response_ = com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.getDefaultInstance();
}
cryptoGetProxyStakersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse, com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse.Builder, com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.CryptoGetStakersResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 11;
onChanged();
return cryptoGetProxyStakersBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileGetContentsResponse, com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.Builder, com.hedera.hashgraph.sdk.proto.FileGetContentsResponseOrBuilder> fileGetContentsBuilder_;
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
* @return Whether the fileGetContents field is set.
*/
@java.lang.Override
public boolean hasFileGetContents() {
return responseCase_ == 12;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
* @return The fileGetContents.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetContentsResponse getFileGetContents() {
if (fileGetContentsBuilder_ == null) {
if (responseCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileGetContentsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.getDefaultInstance();
} else {
if (responseCase_ == 12) {
return fileGetContentsBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.getDefaultInstance();
}
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
public Builder setFileGetContents(com.hedera.hashgraph.sdk.proto.FileGetContentsResponse value) {
if (fileGetContentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
fileGetContentsBuilder_.setMessage(value);
}
responseCase_ = 12;
return this;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
public Builder setFileGetContents(
com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.Builder builderForValue) {
if (fileGetContentsBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
fileGetContentsBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 12;
return this;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
public Builder mergeFileGetContents(com.hedera.hashgraph.sdk.proto.FileGetContentsResponse value) {
if (fileGetContentsBuilder_ == null) {
if (responseCase_ == 12 &&
response_ != com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.newBuilder((com.hedera.hashgraph.sdk.proto.FileGetContentsResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 12) {
fileGetContentsBuilder_.mergeFrom(value);
} else {
fileGetContentsBuilder_.setMessage(value);
}
}
responseCase_ = 12;
return this;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
public Builder clearFileGetContents() {
if (fileGetContentsBuilder_ == null) {
if (responseCase_ == 12) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 12) {
responseCase_ = 0;
response_ = null;
}
fileGetContentsBuilder_.clear();
}
return this;
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
public com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.Builder getFileGetContentsBuilder() {
return getFileGetContentsFieldBuilder().getBuilder();
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetContentsResponseOrBuilder getFileGetContentsOrBuilder() {
if ((responseCase_ == 12) && (fileGetContentsBuilder_ != null)) {
return fileGetContentsBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 12) {
return (com.hedera.hashgraph.sdk.proto.FileGetContentsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.getDefaultInstance();
}
}
/**
*
**
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileGetContentsResponse, com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.Builder, com.hedera.hashgraph.sdk.proto.FileGetContentsResponseOrBuilder>
getFileGetContentsFieldBuilder() {
if (fileGetContentsBuilder_ == null) {
if (!(responseCase_ == 12)) {
response_ = com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.getDefaultInstance();
}
fileGetContentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileGetContentsResponse, com.hedera.hashgraph.sdk.proto.FileGetContentsResponse.Builder, com.hedera.hashgraph.sdk.proto.FileGetContentsResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.FileGetContentsResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 12;
onChanged();
return fileGetContentsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileGetInfoResponse, com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.FileGetInfoResponseOrBuilder> fileGetInfoBuilder_;
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
* @return Whether the fileGetInfo field is set.
*/
@java.lang.Override
public boolean hasFileGetInfo() {
return responseCase_ == 13;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
* @return The fileGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetInfoResponse getFileGetInfo() {
if (fileGetInfoBuilder_ == null) {
if (responseCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 13) {
return fileGetInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
public Builder setFileGetInfo(com.hedera.hashgraph.sdk.proto.FileGetInfoResponse value) {
if (fileGetInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
fileGetInfoBuilder_.setMessage(value);
}
responseCase_ = 13;
return this;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
public Builder setFileGetInfo(
com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.Builder builderForValue) {
if (fileGetInfoBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
fileGetInfoBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 13;
return this;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
public Builder mergeFileGetInfo(com.hedera.hashgraph.sdk.proto.FileGetInfoResponse value) {
if (fileGetInfoBuilder_ == null) {
if (responseCase_ == 13 &&
response_ != com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.newBuilder((com.hedera.hashgraph.sdk.proto.FileGetInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 13) {
fileGetInfoBuilder_.mergeFrom(value);
} else {
fileGetInfoBuilder_.setMessage(value);
}
}
responseCase_ = 13;
return this;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
public Builder clearFileGetInfo() {
if (fileGetInfoBuilder_ == null) {
if (responseCase_ == 13) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 13) {
responseCase_ = 0;
response_ = null;
}
fileGetInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
public com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.Builder getFileGetInfoBuilder() {
return getFileGetInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileGetInfoResponseOrBuilder getFileGetInfoOrBuilder() {
if ((responseCase_ == 13) && (fileGetInfoBuilder_ != null)) {
return fileGetInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 13) {
return (com.hedera.hashgraph.sdk.proto.FileGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileGetInfoResponse, com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.FileGetInfoResponseOrBuilder>
getFileGetInfoFieldBuilder() {
if (fileGetInfoBuilder_ == null) {
if (!(responseCase_ == 13)) {
response_ = com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.getDefaultInstance();
}
fileGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.FileGetInfoResponse, com.hedera.hashgraph.sdk.proto.FileGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.FileGetInfoResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.FileGetInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 13;
onChanged();
return fileGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse, com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponseOrBuilder> transactionGetReceiptBuilder_;
/**
*
**
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
* @return Whether the transactionGetReceipt field is set.
*/
@java.lang.Override
public boolean hasTransactionGetReceipt() {
return responseCase_ == 14;
}
/**
*
**
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
* @return The transactionGetReceipt.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse getTransactionGetReceipt() {
if (transactionGetReceiptBuilder_ == null) {
if (responseCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.getDefaultInstance();
} else {
if (responseCase_ == 14) {
return transactionGetReceiptBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.getDefaultInstance();
}
}
/**
*
**
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
public Builder setTransactionGetReceipt(com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse value) {
if (transactionGetReceiptBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
transactionGetReceiptBuilder_.setMessage(value);
}
responseCase_ = 14;
return this;
}
/**
*
**
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
public Builder setTransactionGetReceipt(
com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.Builder builderForValue) {
if (transactionGetReceiptBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
transactionGetReceiptBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 14;
return this;
}
/**
*
**
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
public Builder mergeTransactionGetReceipt(com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse value) {
if (transactionGetReceiptBuilder_ == null) {
if (responseCase_ == 14 &&
response_ != com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.newBuilder((com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 14) {
transactionGetReceiptBuilder_.mergeFrom(value);
} else {
transactionGetReceiptBuilder_.setMessage(value);
}
}
responseCase_ = 14;
return this;
}
/**
*
**
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
public Builder clearTransactionGetReceipt() {
if (transactionGetReceiptBuilder_ == null) {
if (responseCase_ == 14) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 14) {
responseCase_ = 0;
response_ = null;
}
transactionGetReceiptBuilder_.clear();
}
return this;
}
/**
*
**
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
public com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.Builder getTransactionGetReceiptBuilder() {
return getTransactionGetReceiptFieldBuilder().getBuilder();
}
/**
*
**
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponseOrBuilder getTransactionGetReceiptOrBuilder() {
if ((responseCase_ == 14) && (transactionGetReceiptBuilder_ != null)) {
return transactionGetReceiptBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 14) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.getDefaultInstance();
}
}
/**
*
**
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse, com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponseOrBuilder>
getTransactionGetReceiptFieldBuilder() {
if (transactionGetReceiptBuilder_ == null) {
if (!(responseCase_ == 14)) {
response_ = com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.getDefaultInstance();
}
transactionGetReceiptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse, com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 14;
onChanged();
return transactionGetReceiptBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse, com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponseOrBuilder> transactionGetRecordBuilder_;
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
* @return Whether the transactionGetRecord field is set.
*/
@java.lang.Override
public boolean hasTransactionGetRecord() {
return responseCase_ == 15;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
* @return The transactionGetRecord.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse getTransactionGetRecord() {
if (transactionGetRecordBuilder_ == null) {
if (responseCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.getDefaultInstance();
} else {
if (responseCase_ == 15) {
return transactionGetRecordBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.getDefaultInstance();
}
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
public Builder setTransactionGetRecord(com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse value) {
if (transactionGetRecordBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
transactionGetRecordBuilder_.setMessage(value);
}
responseCase_ = 15;
return this;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
public Builder setTransactionGetRecord(
com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.Builder builderForValue) {
if (transactionGetRecordBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
transactionGetRecordBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 15;
return this;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
public Builder mergeTransactionGetRecord(com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse value) {
if (transactionGetRecordBuilder_ == null) {
if (responseCase_ == 15 &&
response_ != com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.newBuilder((com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 15) {
transactionGetRecordBuilder_.mergeFrom(value);
} else {
transactionGetRecordBuilder_.setMessage(value);
}
}
responseCase_ = 15;
return this;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
public Builder clearTransactionGetRecord() {
if (transactionGetRecordBuilder_ == null) {
if (responseCase_ == 15) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 15) {
responseCase_ = 0;
response_ = null;
}
transactionGetRecordBuilder_.clear();
}
return this;
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
public com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.Builder getTransactionGetRecordBuilder() {
return getTransactionGetRecordFieldBuilder().getBuilder();
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponseOrBuilder getTransactionGetRecordOrBuilder() {
if ((responseCase_ == 15) && (transactionGetRecordBuilder_ != null)) {
return transactionGetRecordBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 15) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.getDefaultInstance();
}
}
/**
*
**
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse, com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponseOrBuilder>
getTransactionGetRecordFieldBuilder() {
if (transactionGetRecordBuilder_ == null) {
if (!(responseCase_ == 15)) {
response_ = com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.getDefaultInstance();
}
transactionGetRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse, com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 15;
onChanged();
return transactionGetRecordBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse, com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponseOrBuilder> transactionGetFastRecordBuilder_;
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
* @return Whether the transactionGetFastRecord field is set.
*/
@java.lang.Override
public boolean hasTransactionGetFastRecord() {
return responseCase_ == 16;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
* @return The transactionGetFastRecord.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse getTransactionGetFastRecord() {
if (transactionGetFastRecordBuilder_ == null) {
if (responseCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.getDefaultInstance();
} else {
if (responseCase_ == 16) {
return transactionGetFastRecordBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.getDefaultInstance();
}
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
public Builder setTransactionGetFastRecord(com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse value) {
if (transactionGetFastRecordBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
transactionGetFastRecordBuilder_.setMessage(value);
}
responseCase_ = 16;
return this;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
public Builder setTransactionGetFastRecord(
com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.Builder builderForValue) {
if (transactionGetFastRecordBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
transactionGetFastRecordBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 16;
return this;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
public Builder mergeTransactionGetFastRecord(com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse value) {
if (transactionGetFastRecordBuilder_ == null) {
if (responseCase_ == 16 &&
response_ != com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.newBuilder((com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 16) {
transactionGetFastRecordBuilder_.mergeFrom(value);
} else {
transactionGetFastRecordBuilder_.setMessage(value);
}
}
responseCase_ = 16;
return this;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
public Builder clearTransactionGetFastRecord() {
if (transactionGetFastRecordBuilder_ == null) {
if (responseCase_ == 16) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 16) {
responseCase_ = 0;
response_ = null;
}
transactionGetFastRecordBuilder_.clear();
}
return this;
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
public com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.Builder getTransactionGetFastRecordBuilder() {
return getTransactionGetFastRecordFieldBuilder().getBuilder();
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponseOrBuilder getTransactionGetFastRecordOrBuilder() {
if ((responseCase_ == 16) && (transactionGetFastRecordBuilder_ != null)) {
return transactionGetFastRecordBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 16) {
return (com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.getDefaultInstance();
}
}
/**
*
**
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse, com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponseOrBuilder>
getTransactionGetFastRecordFieldBuilder() {
if (transactionGetFastRecordBuilder_ == null) {
if (!(responseCase_ == 16)) {
response_ = com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.getDefaultInstance();
}
transactionGetFastRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse, com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse.Builder, com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 16;
onChanged();
return transactionGetFastRecordBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse, com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponseOrBuilder> consensusGetTopicInfoBuilder_;
/**
*
**
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
* @return Whether the consensusGetTopicInfo field is set.
*/
@java.lang.Override
public boolean hasConsensusGetTopicInfo() {
return responseCase_ == 150;
}
/**
*
**
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
* @return The consensusGetTopicInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse getConsensusGetTopicInfo() {
if (consensusGetTopicInfoBuilder_ == null) {
if (responseCase_ == 150) {
return (com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 150) {
return consensusGetTopicInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
public Builder setConsensusGetTopicInfo(com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse value) {
if (consensusGetTopicInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
consensusGetTopicInfoBuilder_.setMessage(value);
}
responseCase_ = 150;
return this;
}
/**
*
**
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
public Builder setConsensusGetTopicInfo(
com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.Builder builderForValue) {
if (consensusGetTopicInfoBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
consensusGetTopicInfoBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 150;
return this;
}
/**
*
**
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
public Builder mergeConsensusGetTopicInfo(com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse value) {
if (consensusGetTopicInfoBuilder_ == null) {
if (responseCase_ == 150 &&
response_ != com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.newBuilder((com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 150) {
consensusGetTopicInfoBuilder_.mergeFrom(value);
} else {
consensusGetTopicInfoBuilder_.setMessage(value);
}
}
responseCase_ = 150;
return this;
}
/**
*
**
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
public Builder clearConsensusGetTopicInfo() {
if (consensusGetTopicInfoBuilder_ == null) {
if (responseCase_ == 150) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 150) {
responseCase_ = 0;
response_ = null;
}
consensusGetTopicInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
public com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.Builder getConsensusGetTopicInfoBuilder() {
return getConsensusGetTopicInfoFieldBuilder().getBuilder();
}
/**
*
**
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponseOrBuilder getConsensusGetTopicInfoOrBuilder() {
if ((responseCase_ == 150) && (consensusGetTopicInfoBuilder_ != null)) {
return consensusGetTopicInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 150) {
return (com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse, com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponseOrBuilder>
getConsensusGetTopicInfoFieldBuilder() {
if (consensusGetTopicInfoBuilder_ == null) {
if (!(responseCase_ == 150)) {
response_ = com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.getDefaultInstance();
}
consensusGetTopicInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse, com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 150;
onChanged();
return consensusGetTopicInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse, com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponseOrBuilder> networkGetVersionInfoBuilder_;
/**
*
**
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
* @return Whether the networkGetVersionInfo field is set.
*/
@java.lang.Override
public boolean hasNetworkGetVersionInfo() {
return responseCase_ == 151;
}
/**
*
**
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
* @return The networkGetVersionInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse getNetworkGetVersionInfo() {
if (networkGetVersionInfoBuilder_ == null) {
if (responseCase_ == 151) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 151) {
return networkGetVersionInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
public Builder setNetworkGetVersionInfo(com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse value) {
if (networkGetVersionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
networkGetVersionInfoBuilder_.setMessage(value);
}
responseCase_ = 151;
return this;
}
/**
*
**
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
public Builder setNetworkGetVersionInfo(
com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.Builder builderForValue) {
if (networkGetVersionInfoBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
networkGetVersionInfoBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 151;
return this;
}
/**
*
**
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
public Builder mergeNetworkGetVersionInfo(com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse value) {
if (networkGetVersionInfoBuilder_ == null) {
if (responseCase_ == 151 &&
response_ != com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.newBuilder((com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 151) {
networkGetVersionInfoBuilder_.mergeFrom(value);
} else {
networkGetVersionInfoBuilder_.setMessage(value);
}
}
responseCase_ = 151;
return this;
}
/**
*
**
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
public Builder clearNetworkGetVersionInfo() {
if (networkGetVersionInfoBuilder_ == null) {
if (responseCase_ == 151) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 151) {
responseCase_ = 0;
response_ = null;
}
networkGetVersionInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
public com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.Builder getNetworkGetVersionInfoBuilder() {
return getNetworkGetVersionInfoFieldBuilder().getBuilder();
}
/**
*
**
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponseOrBuilder getNetworkGetVersionInfoOrBuilder() {
if ((responseCase_ == 151) && (networkGetVersionInfoBuilder_ != null)) {
return networkGetVersionInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 151) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse, com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponseOrBuilder>
getNetworkGetVersionInfoFieldBuilder() {
if (networkGetVersionInfoBuilder_ == null) {
if (!(responseCase_ == 151)) {
response_ = com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.getDefaultInstance();
}
networkGetVersionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse, com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 151;
onChanged();
return networkGetVersionInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse, com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.TokenGetInfoResponseOrBuilder> tokenGetInfoBuilder_;
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
* @return Whether the tokenGetInfo field is set.
*/
@java.lang.Override
public boolean hasTokenGetInfo() {
return responseCase_ == 152;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
* @return The tokenGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse getTokenGetInfo() {
if (tokenGetInfoBuilder_ == null) {
if (responseCase_ == 152) {
return (com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 152) {
return tokenGetInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
public Builder setTokenGetInfo(com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse value) {
if (tokenGetInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
tokenGetInfoBuilder_.setMessage(value);
}
responseCase_ = 152;
return this;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
public Builder setTokenGetInfo(
com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.Builder builderForValue) {
if (tokenGetInfoBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
tokenGetInfoBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 152;
return this;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
public Builder mergeTokenGetInfo(com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse value) {
if (tokenGetInfoBuilder_ == null) {
if (responseCase_ == 152 &&
response_ != com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.newBuilder((com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 152) {
tokenGetInfoBuilder_.mergeFrom(value);
} else {
tokenGetInfoBuilder_.setMessage(value);
}
}
responseCase_ = 152;
return this;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
public Builder clearTokenGetInfo() {
if (tokenGetInfoBuilder_ == null) {
if (responseCase_ == 152) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 152) {
responseCase_ = 0;
response_ = null;
}
tokenGetInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
public com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.Builder getTokenGetInfoBuilder() {
return getTokenGetInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetInfoResponseOrBuilder getTokenGetInfoOrBuilder() {
if ((responseCase_ == 152) && (tokenGetInfoBuilder_ != null)) {
return tokenGetInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 152) {
return (com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse, com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.TokenGetInfoResponseOrBuilder>
getTokenGetInfoFieldBuilder() {
if (tokenGetInfoBuilder_ == null) {
if (!(responseCase_ == 152)) {
response_ = com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.getDefaultInstance();
}
tokenGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse, com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.TokenGetInfoResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenGetInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 152;
onChanged();
return tokenGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse, com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponseOrBuilder> scheduleGetInfoBuilder_;
/**
*
**
* Get all information about a schedule entity
*
*
* .proto.ScheduleGetInfoResponse scheduleGetInfo = 153;
* @return Whether the scheduleGetInfo field is set.
*/
@java.lang.Override
public boolean hasScheduleGetInfo() {
return responseCase_ == 153;
}
/**
*
**
* Get all information about a schedule entity
*
*
* .proto.ScheduleGetInfoResponse scheduleGetInfo = 153;
* @return The scheduleGetInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse getScheduleGetInfo() {
if (scheduleGetInfoBuilder_ == null) {
if (responseCase_ == 153) {
return (com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 153) {
return scheduleGetInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Get all information about a schedule entity
*
*
* .proto.ScheduleGetInfoResponse scheduleGetInfo = 153;
*/
public Builder setScheduleGetInfo(com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse value) {
if (scheduleGetInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
scheduleGetInfoBuilder_.setMessage(value);
}
responseCase_ = 153;
return this;
}
/**
*
**
* Get all information about a schedule entity
*
*
* .proto.ScheduleGetInfoResponse scheduleGetInfo = 153;
*/
public Builder setScheduleGetInfo(
com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.Builder builderForValue) {
if (scheduleGetInfoBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
scheduleGetInfoBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 153;
return this;
}
/**
*
**
* Get all information about a schedule entity
*
*
* .proto.ScheduleGetInfoResponse scheduleGetInfo = 153;
*/
public Builder mergeScheduleGetInfo(com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse value) {
if (scheduleGetInfoBuilder_ == null) {
if (responseCase_ == 153 &&
response_ != com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.newBuilder((com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 153) {
scheduleGetInfoBuilder_.mergeFrom(value);
} else {
scheduleGetInfoBuilder_.setMessage(value);
}
}
responseCase_ = 153;
return this;
}
/**
*
**
* Get all information about a schedule entity
*
*
* .proto.ScheduleGetInfoResponse scheduleGetInfo = 153;
*/
public Builder clearScheduleGetInfo() {
if (scheduleGetInfoBuilder_ == null) {
if (responseCase_ == 153) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 153) {
responseCase_ = 0;
response_ = null;
}
scheduleGetInfoBuilder_.clear();
}
return this;
}
/**
*
**
* Get all information about a schedule entity
*
*
* .proto.ScheduleGetInfoResponse scheduleGetInfo = 153;
*/
public com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.Builder getScheduleGetInfoBuilder() {
return getScheduleGetInfoFieldBuilder().getBuilder();
}
/**
*
**
* Get all information about a schedule entity
*
*
* .proto.ScheduleGetInfoResponse scheduleGetInfo = 153;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponseOrBuilder getScheduleGetInfoOrBuilder() {
if ((responseCase_ == 153) && (scheduleGetInfoBuilder_ != null)) {
return scheduleGetInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 153) {
return (com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.getDefaultInstance();
}
}
/**
*
**
* Get all information about a schedule entity
*
*
* .proto.ScheduleGetInfoResponse scheduleGetInfo = 153;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse, com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponseOrBuilder>
getScheduleGetInfoFieldBuilder() {
if (scheduleGetInfoBuilder_ == null) {
if (!(responseCase_ == 153)) {
response_ = com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.getDefaultInstance();
}
scheduleGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse, com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.ScheduleGetInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 153;
onChanged();
return scheduleGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse, com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.Builder, com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponseOrBuilder> tokenGetAccountNftInfosBuilder_;
/**
*
**
* A list of the NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosResponse tokenGetAccountNftInfos = 154;
* @return Whether the tokenGetAccountNftInfos field is set.
*/
@java.lang.Override
public boolean hasTokenGetAccountNftInfos() {
return responseCase_ == 154;
}
/**
*
**
* A list of the NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosResponse tokenGetAccountNftInfos = 154;
* @return The tokenGetAccountNftInfos.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse getTokenGetAccountNftInfos() {
if (tokenGetAccountNftInfosBuilder_ == null) {
if (responseCase_ == 154) {
return (com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.getDefaultInstance();
} else {
if (responseCase_ == 154) {
return tokenGetAccountNftInfosBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.getDefaultInstance();
}
}
/**
*
**
* A list of the NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosResponse tokenGetAccountNftInfos = 154;
*/
public Builder setTokenGetAccountNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse value) {
if (tokenGetAccountNftInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
tokenGetAccountNftInfosBuilder_.setMessage(value);
}
responseCase_ = 154;
return this;
}
/**
*
**
* A list of the NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosResponse tokenGetAccountNftInfos = 154;
*/
public Builder setTokenGetAccountNftInfos(
com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.Builder builderForValue) {
if (tokenGetAccountNftInfosBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
tokenGetAccountNftInfosBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 154;
return this;
}
/**
*
**
* A list of the NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosResponse tokenGetAccountNftInfos = 154;
*/
public Builder mergeTokenGetAccountNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse value) {
if (tokenGetAccountNftInfosBuilder_ == null) {
if (responseCase_ == 154 &&
response_ != com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.newBuilder((com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 154) {
tokenGetAccountNftInfosBuilder_.mergeFrom(value);
} else {
tokenGetAccountNftInfosBuilder_.setMessage(value);
}
}
responseCase_ = 154;
return this;
}
/**
*
**
* A list of the NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosResponse tokenGetAccountNftInfos = 154;
*/
public Builder clearTokenGetAccountNftInfos() {
if (tokenGetAccountNftInfosBuilder_ == null) {
if (responseCase_ == 154) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 154) {
responseCase_ = 0;
response_ = null;
}
tokenGetAccountNftInfosBuilder_.clear();
}
return this;
}
/**
*
**
* A list of the NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosResponse tokenGetAccountNftInfos = 154;
*/
public com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.Builder getTokenGetAccountNftInfosBuilder() {
return getTokenGetAccountNftInfosFieldBuilder().getBuilder();
}
/**
*
**
* A list of the NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosResponse tokenGetAccountNftInfos = 154;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponseOrBuilder getTokenGetAccountNftInfosOrBuilder() {
if ((responseCase_ == 154) && (tokenGetAccountNftInfosBuilder_ != null)) {
return tokenGetAccountNftInfosBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 154) {
return (com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.getDefaultInstance();
}
}
/**
*
**
* A list of the NFTs associated with the account
*
*
* .proto.TokenGetAccountNftInfosResponse tokenGetAccountNftInfos = 154;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse, com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.Builder, com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponseOrBuilder>
getTokenGetAccountNftInfosFieldBuilder() {
if (tokenGetAccountNftInfosBuilder_ == null) {
if (!(responseCase_ == 154)) {
response_ = com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.getDefaultInstance();
}
tokenGetAccountNftInfosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse, com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse.Builder, com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenGetAccountNftInfosResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 154;
onChanged();
return tokenGetAccountNftInfosBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse, com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponseOrBuilder> tokenGetNftInfoBuilder_;
/**
*
**
* All information about an NFT
*
*
* .proto.TokenGetNftInfoResponse tokenGetNftInfo = 155;
* @return Whether the tokenGetNftInfo field is set.
*/
@java.lang.Override
public boolean hasTokenGetNftInfo() {
return responseCase_ == 155;
}
/**
*
**
* All information about an NFT
*
*
* .proto.TokenGetNftInfoResponse tokenGetNftInfo = 155;
* @return The tokenGetNftInfo.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse getTokenGetNftInfo() {
if (tokenGetNftInfoBuilder_ == null) {
if (responseCase_ == 155) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 155) {
return tokenGetNftInfoBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.getDefaultInstance();
}
}
/**
*
**
* All information about an NFT
*
*
* .proto.TokenGetNftInfoResponse tokenGetNftInfo = 155;
*/
public Builder setTokenGetNftInfo(com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse value) {
if (tokenGetNftInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
tokenGetNftInfoBuilder_.setMessage(value);
}
responseCase_ = 155;
return this;
}
/**
*
**
* All information about an NFT
*
*
* .proto.TokenGetNftInfoResponse tokenGetNftInfo = 155;
*/
public Builder setTokenGetNftInfo(
com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.Builder builderForValue) {
if (tokenGetNftInfoBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
tokenGetNftInfoBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 155;
return this;
}
/**
*
**
* All information about an NFT
*
*
* .proto.TokenGetNftInfoResponse tokenGetNftInfo = 155;
*/
public Builder mergeTokenGetNftInfo(com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse value) {
if (tokenGetNftInfoBuilder_ == null) {
if (responseCase_ == 155 &&
response_ != com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.newBuilder((com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 155) {
tokenGetNftInfoBuilder_.mergeFrom(value);
} else {
tokenGetNftInfoBuilder_.setMessage(value);
}
}
responseCase_ = 155;
return this;
}
/**
*
**
* All information about an NFT
*
*
* .proto.TokenGetNftInfoResponse tokenGetNftInfo = 155;
*/
public Builder clearTokenGetNftInfo() {
if (tokenGetNftInfoBuilder_ == null) {
if (responseCase_ == 155) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 155) {
responseCase_ = 0;
response_ = null;
}
tokenGetNftInfoBuilder_.clear();
}
return this;
}
/**
*
**
* All information about an NFT
*
*
* .proto.TokenGetNftInfoResponse tokenGetNftInfo = 155;
*/
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.Builder getTokenGetNftInfoBuilder() {
return getTokenGetNftInfoFieldBuilder().getBuilder();
}
/**
*
**
* All information about an NFT
*
*
* .proto.TokenGetNftInfoResponse tokenGetNftInfo = 155;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponseOrBuilder getTokenGetNftInfoOrBuilder() {
if ((responseCase_ == 155) && (tokenGetNftInfoBuilder_ != null)) {
return tokenGetNftInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 155) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.getDefaultInstance();
}
}
/**
*
**
* All information about an NFT
*
*
* .proto.TokenGetNftInfoResponse tokenGetNftInfo = 155;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse, com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponseOrBuilder>
getTokenGetNftInfoFieldBuilder() {
if (tokenGetNftInfoBuilder_ == null) {
if (!(responseCase_ == 155)) {
response_ = com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.getDefaultInstance();
}
tokenGetNftInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse, com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse.Builder, com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenGetNftInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 155;
onChanged();
return tokenGetNftInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse, com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.Builder, com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponseOrBuilder> tokenGetNftInfosBuilder_;
/**
*
**
* A list of the NFTs for the token
*
*
* .proto.TokenGetNftInfosResponse tokenGetNftInfos = 156;
* @return Whether the tokenGetNftInfos field is set.
*/
@java.lang.Override
public boolean hasTokenGetNftInfos() {
return responseCase_ == 156;
}
/**
*
**
* A list of the NFTs for the token
*
*
* .proto.TokenGetNftInfosResponse tokenGetNftInfos = 156;
* @return The tokenGetNftInfos.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse getTokenGetNftInfos() {
if (tokenGetNftInfosBuilder_ == null) {
if (responseCase_ == 156) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.getDefaultInstance();
} else {
if (responseCase_ == 156) {
return tokenGetNftInfosBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.getDefaultInstance();
}
}
/**
*
**
* A list of the NFTs for the token
*
*
* .proto.TokenGetNftInfosResponse tokenGetNftInfos = 156;
*/
public Builder setTokenGetNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse value) {
if (tokenGetNftInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
tokenGetNftInfosBuilder_.setMessage(value);
}
responseCase_ = 156;
return this;
}
/**
*
**
* A list of the NFTs for the token
*
*
* .proto.TokenGetNftInfosResponse tokenGetNftInfos = 156;
*/
public Builder setTokenGetNftInfos(
com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.Builder builderForValue) {
if (tokenGetNftInfosBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
tokenGetNftInfosBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 156;
return this;
}
/**
*
**
* A list of the NFTs for the token
*
*
* .proto.TokenGetNftInfosResponse tokenGetNftInfos = 156;
*/
public Builder mergeTokenGetNftInfos(com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse value) {
if (tokenGetNftInfosBuilder_ == null) {
if (responseCase_ == 156 &&
response_ != com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.newBuilder((com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 156) {
tokenGetNftInfosBuilder_.mergeFrom(value);
} else {
tokenGetNftInfosBuilder_.setMessage(value);
}
}
responseCase_ = 156;
return this;
}
/**
*
**
* A list of the NFTs for the token
*
*
* .proto.TokenGetNftInfosResponse tokenGetNftInfos = 156;
*/
public Builder clearTokenGetNftInfos() {
if (tokenGetNftInfosBuilder_ == null) {
if (responseCase_ == 156) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 156) {
responseCase_ = 0;
response_ = null;
}
tokenGetNftInfosBuilder_.clear();
}
return this;
}
/**
*
**
* A list of the NFTs for the token
*
*
* .proto.TokenGetNftInfosResponse tokenGetNftInfos = 156;
*/
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.Builder getTokenGetNftInfosBuilder() {
return getTokenGetNftInfosFieldBuilder().getBuilder();
}
/**
*
**
* A list of the NFTs for the token
*
*
* .proto.TokenGetNftInfosResponse tokenGetNftInfos = 156;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponseOrBuilder getTokenGetNftInfosOrBuilder() {
if ((responseCase_ == 156) && (tokenGetNftInfosBuilder_ != null)) {
return tokenGetNftInfosBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 156) {
return (com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.getDefaultInstance();
}
}
/**
*
**
* A list of the NFTs for the token
*
*
* .proto.TokenGetNftInfosResponse tokenGetNftInfos = 156;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse, com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.Builder, com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponseOrBuilder>
getTokenGetNftInfosFieldBuilder() {
if (tokenGetNftInfosBuilder_ == null) {
if (!(responseCase_ == 156)) {
response_ = com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.getDefaultInstance();
}
tokenGetNftInfosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse, com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse.Builder, com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.TokenGetNftInfosResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 156;
onChanged();
return tokenGetNftInfosBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse, com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.Builder, com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponseOrBuilder> networkGetExecutionTimeBuilder_;
/**
*
**
* Execution times of "sufficiently recent" transactions
*
*
* .proto.NetworkGetExecutionTimeResponse networkGetExecutionTime = 157;
* @return Whether the networkGetExecutionTime field is set.
*/
@java.lang.Override
public boolean hasNetworkGetExecutionTime() {
return responseCase_ == 157;
}
/**
*
**
* Execution times of "sufficiently recent" transactions
*
*
* .proto.NetworkGetExecutionTimeResponse networkGetExecutionTime = 157;
* @return The networkGetExecutionTime.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse getNetworkGetExecutionTime() {
if (networkGetExecutionTimeBuilder_ == null) {
if (responseCase_ == 157) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.getDefaultInstance();
} else {
if (responseCase_ == 157) {
return networkGetExecutionTimeBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.getDefaultInstance();
}
}
/**
*
**
* Execution times of "sufficiently recent" transactions
*
*
* .proto.NetworkGetExecutionTimeResponse networkGetExecutionTime = 157;
*/
public Builder setNetworkGetExecutionTime(com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse value) {
if (networkGetExecutionTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
networkGetExecutionTimeBuilder_.setMessage(value);
}
responseCase_ = 157;
return this;
}
/**
*
**
* Execution times of "sufficiently recent" transactions
*
*
* .proto.NetworkGetExecutionTimeResponse networkGetExecutionTime = 157;
*/
public Builder setNetworkGetExecutionTime(
com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.Builder builderForValue) {
if (networkGetExecutionTimeBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
networkGetExecutionTimeBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 157;
return this;
}
/**
*
**
* Execution times of "sufficiently recent" transactions
*
*
* .proto.NetworkGetExecutionTimeResponse networkGetExecutionTime = 157;
*/
public Builder mergeNetworkGetExecutionTime(com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse value) {
if (networkGetExecutionTimeBuilder_ == null) {
if (responseCase_ == 157 &&
response_ != com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.newBuilder((com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 157) {
networkGetExecutionTimeBuilder_.mergeFrom(value);
} else {
networkGetExecutionTimeBuilder_.setMessage(value);
}
}
responseCase_ = 157;
return this;
}
/**
*
**
* Execution times of "sufficiently recent" transactions
*
*
* .proto.NetworkGetExecutionTimeResponse networkGetExecutionTime = 157;
*/
public Builder clearNetworkGetExecutionTime() {
if (networkGetExecutionTimeBuilder_ == null) {
if (responseCase_ == 157) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 157) {
responseCase_ = 0;
response_ = null;
}
networkGetExecutionTimeBuilder_.clear();
}
return this;
}
/**
*
**
* Execution times of "sufficiently recent" transactions
*
*
* .proto.NetworkGetExecutionTimeResponse networkGetExecutionTime = 157;
*/
public com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.Builder getNetworkGetExecutionTimeBuilder() {
return getNetworkGetExecutionTimeFieldBuilder().getBuilder();
}
/**
*
**
* Execution times of "sufficiently recent" transactions
*
*
* .proto.NetworkGetExecutionTimeResponse networkGetExecutionTime = 157;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponseOrBuilder getNetworkGetExecutionTimeOrBuilder() {
if ((responseCase_ == 157) && (networkGetExecutionTimeBuilder_ != null)) {
return networkGetExecutionTimeBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 157) {
return (com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.getDefaultInstance();
}
}
/**
*
**
* Execution times of "sufficiently recent" transactions
*
*
* .proto.NetworkGetExecutionTimeResponse networkGetExecutionTime = 157;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse, com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.Builder, com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponseOrBuilder>
getNetworkGetExecutionTimeFieldBuilder() {
if (networkGetExecutionTimeBuilder_ == null) {
if (!(responseCase_ == 157)) {
response_ = com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.getDefaultInstance();
}
networkGetExecutionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse, com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.Builder, com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 157;
onChanged();
return networkGetExecutionTimeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse, com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.Builder, com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponseOrBuilder> accountDetailsBuilder_;
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsResponse accountDetails = 158;
* @return Whether the accountDetails field is set.
*/
@java.lang.Override
public boolean hasAccountDetails() {
return responseCase_ == 158;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsResponse accountDetails = 158;
* @return The accountDetails.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse getAccountDetails() {
if (accountDetailsBuilder_ == null) {
if (responseCase_ == 158) {
return (com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.getDefaultInstance();
} else {
if (responseCase_ == 158) {
return accountDetailsBuilder_.getMessage();
}
return com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.getDefaultInstance();
}
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsResponse accountDetails = 158;
*/
public Builder setAccountDetails(com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse value) {
if (accountDetailsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
accountDetailsBuilder_.setMessage(value);
}
responseCase_ = 158;
return this;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsResponse accountDetails = 158;
*/
public Builder setAccountDetails(
com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.Builder builderForValue) {
if (accountDetailsBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
accountDetailsBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 158;
return this;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsResponse accountDetails = 158;
*/
public Builder mergeAccountDetails(com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse value) {
if (accountDetailsBuilder_ == null) {
if (responseCase_ == 158 &&
response_ != com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.getDefaultInstance()) {
response_ = com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.newBuilder((com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 158) {
accountDetailsBuilder_.mergeFrom(value);
} else {
accountDetailsBuilder_.setMessage(value);
}
}
responseCase_ = 158;
return this;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsResponse accountDetails = 158;
*/
public Builder clearAccountDetails() {
if (accountDetailsBuilder_ == null) {
if (responseCase_ == 158) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 158) {
responseCase_ = 0;
response_ = null;
}
accountDetailsBuilder_.clear();
}
return this;
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsResponse accountDetails = 158;
*/
public com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.Builder getAccountDetailsBuilder() {
return getAccountDetailsFieldBuilder().getBuilder();
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsResponse accountDetails = 158;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponseOrBuilder getAccountDetailsOrBuilder() {
if ((responseCase_ == 158) && (accountDetailsBuilder_ != null)) {
return accountDetailsBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 158) {
return (com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse) response_;
}
return com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.getDefaultInstance();
}
}
/**
*
**
* Gets all information about an account including allowances granted by the account
*
*
* .proto.GetAccountDetailsResponse accountDetails = 158;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse, com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.Builder, com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponseOrBuilder>
getAccountDetailsFieldBuilder() {
if (accountDetailsBuilder_ == null) {
if (!(responseCase_ == 158)) {
response_ = com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.getDefaultInstance();
}
accountDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse, com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.Builder, com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponseOrBuilder>(
(com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 158;
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.Response)
}
// @@protoc_insertion_point(class_scope:proto.Response)
private static final com.hedera.hashgraph.sdk.proto.Response DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.hedera.hashgraph.sdk.proto.Response();
}
public static com.hedera.hashgraph.sdk.proto.Response getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Response parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.Response getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}