com.hederahashgraph.api.proto.java.Response Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Response.proto
package com.hederahashgraph.api.proto.java;
/**
*
* 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();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Response(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.hederahashgraph.api.proto.java.GetByKeyResponse.Builder subBuilder = null;
if (responseCase_ == 1) {
subBuilder = ((com.hederahashgraph.api.proto.java.GetByKeyResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.GetByKeyResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.GetByKeyResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 1;
break;
}
case 18: {
com.hederahashgraph.api.proto.java.GetBySolidityIDResponse.Builder subBuilder = null;
if (responseCase_ == 2) {
subBuilder = ((com.hederahashgraph.api.proto.java.GetBySolidityIDResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.GetBySolidityIDResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.GetBySolidityIDResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 2;
break;
}
case 26: {
com.hederahashgraph.api.proto.java.ContractCallLocalResponse.Builder subBuilder = null;
if (responseCase_ == 3) {
subBuilder = ((com.hederahashgraph.api.proto.java.ContractCallLocalResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.ContractCallLocalResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractCallLocalResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 3;
break;
}
case 34: {
com.hederahashgraph.api.proto.java.ContractGetInfoResponse.Builder subBuilder = null;
if (responseCase_ == 4) {
subBuilder = ((com.hederahashgraph.api.proto.java.ContractGetInfoResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.ContractGetInfoResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractGetInfoResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 4;
break;
}
case 42: {
com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.Builder subBuilder = null;
if (responseCase_ == 5) {
subBuilder = ((com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 5;
break;
}
case 50: {
com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.Builder subBuilder = null;
if (responseCase_ == 6) {
subBuilder = ((com.hederahashgraph.api.proto.java.ContractGetRecordsResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractGetRecordsResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 6;
break;
}
case 58: {
com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.Builder subBuilder = null;
if (responseCase_ == 7) {
subBuilder = ((com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 7;
break;
}
case 66: {
com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.Builder subBuilder = null;
if (responseCase_ == 8) {
subBuilder = ((com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 8;
break;
}
case 74: {
com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.Builder subBuilder = null;
if (responseCase_ == 9) {
subBuilder = ((com.hederahashgraph.api.proto.java.CryptoGetInfoResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.CryptoGetInfoResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 9;
break;
}
case 82: {
com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.Builder subBuilder = null;
if (responseCase_ == 10) {
subBuilder = ((com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 10;
break;
}
case 90: {
com.hederahashgraph.api.proto.java.CryptoGetStakersResponse.Builder subBuilder = null;
if (responseCase_ == 11) {
subBuilder = ((com.hederahashgraph.api.proto.java.CryptoGetStakersResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.CryptoGetStakersResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.CryptoGetStakersResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 11;
break;
}
case 98: {
com.hederahashgraph.api.proto.java.FileGetContentsResponse.Builder subBuilder = null;
if (responseCase_ == 12) {
subBuilder = ((com.hederahashgraph.api.proto.java.FileGetContentsResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.FileGetContentsResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.FileGetContentsResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 12;
break;
}
case 106: {
com.hederahashgraph.api.proto.java.FileGetInfoResponse.Builder subBuilder = null;
if (responseCase_ == 13) {
subBuilder = ((com.hederahashgraph.api.proto.java.FileGetInfoResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.FileGetInfoResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.FileGetInfoResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 13;
break;
}
case 114: {
com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.Builder subBuilder = null;
if (responseCase_ == 14) {
subBuilder = ((com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 14;
break;
}
case 122: {
com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.Builder subBuilder = null;
if (responseCase_ == 15) {
subBuilder = ((com.hederahashgraph.api.proto.java.TransactionGetRecordResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TransactionGetRecordResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 15;
break;
}
case 130: {
com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.Builder subBuilder = null;
if (responseCase_ == 16) {
subBuilder = ((com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 16;
break;
}
case 1202: {
com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.Builder subBuilder = null;
if (responseCase_ == 150) {
subBuilder = ((com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 150;
break;
}
case 1210: {
com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.Builder subBuilder = null;
if (responseCase_ == 151) {
subBuilder = ((com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 151;
break;
}
case 1218: {
com.hederahashgraph.api.proto.java.TokenGetInfoResponse.Builder subBuilder = null;
if (responseCase_ == 152) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenGetInfoResponse) response_).toBuilder();
}
response_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenGetInfoResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenGetInfoResponse) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 152;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hederahashgraph.api.proto.java.ResponseOuterClass.internal_static_proto_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hederahashgraph.api.proto.java.ResponseOuterClass.internal_static_proto_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hederahashgraph.api.proto.java.Response.class, com.hederahashgraph.api.proto.java.Response.Builder.class);
}
private int responseCase_ = 0;
private java.lang.Object response_;
public enum ResponseCase
implements com.google.protobuf.Internal.EnumLite {
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),
RESPONSE_NOT_SET(0);
private final int value;
private ResponseCase(int value) {
this.value = value;
}
/**
* @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 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;
*/
public boolean hasGetByKey() {
return responseCase_ == 1;
}
/**
*
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
public com.hederahashgraph.api.proto.java.GetByKeyResponse getGetByKey() {
if (responseCase_ == 1) {
return (com.hederahashgraph.api.proto.java.GetByKeyResponse) response_;
}
return com.hederahashgraph.api.proto.java.GetByKeyResponse.getDefaultInstance();
}
/**
*
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
public com.hederahashgraph.api.proto.java.GetByKeyResponseOrBuilder getGetByKeyOrBuilder() {
if (responseCase_ == 1) {
return (com.hederahashgraph.api.proto.java.GetByKeyResponse) response_;
}
return com.hederahashgraph.api.proto.java.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;
*/
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;
*/
public com.hederahashgraph.api.proto.java.GetBySolidityIDResponse getGetBySolidityID() {
if (responseCase_ == 2) {
return (com.hederahashgraph.api.proto.java.GetBySolidityIDResponse) response_;
}
return com.hederahashgraph.api.proto.java.GetBySolidityIDResponse.getDefaultInstance();
}
/**
*
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
*/
public com.hederahashgraph.api.proto.java.GetBySolidityIDResponseOrBuilder getGetBySolidityIDOrBuilder() {
if (responseCase_ == 2) {
return (com.hederahashgraph.api.proto.java.GetBySolidityIDResponse) response_;
}
return com.hederahashgraph.api.proto.java.GetBySolidityIDResponse.getDefaultInstance();
}
public static final int CONTRACTCALLLOCAL_FIELD_NUMBER = 3;
/**
*
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
public boolean hasContractCallLocal() {
return responseCase_ == 3;
}
/**
*
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
public com.hederahashgraph.api.proto.java.ContractCallLocalResponse getContractCallLocal() {
if (responseCase_ == 3) {
return (com.hederahashgraph.api.proto.java.ContractCallLocalResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractCallLocalResponse.getDefaultInstance();
}
/**
*
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
public com.hederahashgraph.api.proto.java.ContractCallLocalResponseOrBuilder getContractCallLocalOrBuilder() {
if (responseCase_ == 3) {
return (com.hederahashgraph.api.proto.java.ContractCallLocalResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractCallLocalResponse.getDefaultInstance();
}
public static final int CONTRACTGETBYTECODERESPONSE_FIELD_NUMBER = 5;
/**
*
* Get the bytecode for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public boolean hasContractGetBytecodeResponse() {
return responseCase_ == 5;
}
/**
*
* Get the bytecode for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse getContractGetBytecodeResponse() {
if (responseCase_ == 5) {
return (com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.getDefaultInstance();
}
/**
*
* Get the bytecode for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public com.hederahashgraph.api.proto.java.ContractGetBytecodeResponseOrBuilder getContractGetBytecodeResponseOrBuilder() {
if (responseCase_ == 5) {
return (com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.getDefaultInstance();
}
public static final int CONTRACTGETINFO_FIELD_NUMBER = 4;
/**
*
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
public boolean hasContractGetInfo() {
return responseCase_ == 4;
}
/**
*
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
public com.hederahashgraph.api.proto.java.ContractGetInfoResponse getContractGetInfo() {
if (responseCase_ == 4) {
return (com.hederahashgraph.api.proto.java.ContractGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractGetInfoResponse.getDefaultInstance();
}
/**
*
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
public com.hederahashgraph.api.proto.java.ContractGetInfoResponseOrBuilder getContractGetInfoOrBuilder() {
if (responseCase_ == 4) {
return (com.hederahashgraph.api.proto.java.ContractGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractGetInfoResponse.getDefaultInstance();
}
public static final int CONTRACTGETRECORDSRESPONSE_FIELD_NUMBER = 6;
/**
*
*Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
public boolean hasContractGetRecordsResponse() {
return responseCase_ == 6;
}
/**
*
*Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
public com.hederahashgraph.api.proto.java.ContractGetRecordsResponse getContractGetRecordsResponse() {
if (responseCase_ == 6) {
return (com.hederahashgraph.api.proto.java.ContractGetRecordsResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.getDefaultInstance();
}
/**
*
*Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
public com.hederahashgraph.api.proto.java.ContractGetRecordsResponseOrBuilder getContractGetRecordsResponseOrBuilder() {
if (responseCase_ == 6) {
return (com.hederahashgraph.api.proto.java.ContractGetRecordsResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.getDefaultInstance();
}
public static final int CRYPTOGETACCOUNTBALANCE_FIELD_NUMBER = 7;
/**
*
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
public boolean hasCryptogetAccountBalance() {
return responseCase_ == 7;
}
/**
*
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
public com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse getCryptogetAccountBalance() {
if (responseCase_ == 7) {
return (com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.getDefaultInstance();
}
/**
*
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
public com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponseOrBuilder getCryptogetAccountBalanceOrBuilder() {
if (responseCase_ == 7) {
return (com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse) response_;
}
return com.hederahashgraph.api.proto.java.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;
*/
public boolean hasCryptoGetAccountRecords() {
return responseCase_ == 8;
}
/**
*
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
public com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse getCryptoGetAccountRecords() {
if (responseCase_ == 8) {
return (com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.getDefaultInstance();
}
/**
*
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
public com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponseOrBuilder getCryptoGetAccountRecordsOrBuilder() {
if (responseCase_ == 8) {
return (com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.getDefaultInstance();
}
public static final int CRYPTOGETINFO_FIELD_NUMBER = 9;
/**
*
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
public boolean hasCryptoGetInfo() {
return responseCase_ == 9;
}
/**
*
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse getCryptoGetInfo() {
if (responseCase_ == 9) {
return (com.hederahashgraph.api.proto.java.CryptoGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.getDefaultInstance();
}
/**
*
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
public com.hederahashgraph.api.proto.java.CryptoGetInfoResponseOrBuilder getCryptoGetInfoOrBuilder() {
if (responseCase_ == 9) {
return (com.hederahashgraph.api.proto.java.CryptoGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.getDefaultInstance();
}
public static final int CRYPTOGETLIVEHASH_FIELD_NUMBER = 10;
/**
*
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
public boolean hasCryptoGetLiveHash() {
return responseCase_ == 10;
}
/**
*
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
public com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse getCryptoGetLiveHash() {
if (responseCase_ == 10) {
return (com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.getDefaultInstance();
}
/**
*
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
public com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponseOrBuilder getCryptoGetLiveHashOrBuilder() {
if (responseCase_ == 10) {
return (com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse) response_;
}
return com.hederahashgraph.api.proto.java.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;
*/
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;
*/
public com.hederahashgraph.api.proto.java.CryptoGetStakersResponse getCryptoGetProxyStakers() {
if (responseCase_ == 11) {
return (com.hederahashgraph.api.proto.java.CryptoGetStakersResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetStakersResponse.getDefaultInstance();
}
/**
*
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
*/
public com.hederahashgraph.api.proto.java.CryptoGetStakersResponseOrBuilder getCryptoGetProxyStakersOrBuilder() {
if (responseCase_ == 11) {
return (com.hederahashgraph.api.proto.java.CryptoGetStakersResponse) response_;
}
return com.hederahashgraph.api.proto.java.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;
*/
public boolean hasFileGetContents() {
return responseCase_ == 12;
}
/**
*
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
public com.hederahashgraph.api.proto.java.FileGetContentsResponse getFileGetContents() {
if (responseCase_ == 12) {
return (com.hederahashgraph.api.proto.java.FileGetContentsResponse) response_;
}
return com.hederahashgraph.api.proto.java.FileGetContentsResponse.getDefaultInstance();
}
/**
*
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
public com.hederahashgraph.api.proto.java.FileGetContentsResponseOrBuilder getFileGetContentsOrBuilder() {
if (responseCase_ == 12) {
return (com.hederahashgraph.api.proto.java.FileGetContentsResponse) response_;
}
return com.hederahashgraph.api.proto.java.FileGetContentsResponse.getDefaultInstance();
}
public static final int FILEGETINFO_FIELD_NUMBER = 13;
/**
*
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
public boolean hasFileGetInfo() {
return responseCase_ == 13;
}
/**
*
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
public com.hederahashgraph.api.proto.java.FileGetInfoResponse getFileGetInfo() {
if (responseCase_ == 13) {
return (com.hederahashgraph.api.proto.java.FileGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.FileGetInfoResponse.getDefaultInstance();
}
/**
*
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
public com.hederahashgraph.api.proto.java.FileGetInfoResponseOrBuilder getFileGetInfoOrBuilder() {
if (responseCase_ == 13) {
return (com.hederahashgraph.api.proto.java.FileGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.FileGetInfoResponse.getDefaultInstance();
}
public static final int TRANSACTIONGETRECEIPT_FIELD_NUMBER = 14;
/**
*
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
public boolean hasTransactionGetReceipt() {
return responseCase_ == 14;
}
/**
*
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
public com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse getTransactionGetReceipt() {
if (responseCase_ == 14) {
return (com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse) response_;
}
return com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.getDefaultInstance();
}
/**
*
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
public com.hederahashgraph.api.proto.java.TransactionGetReceiptResponseOrBuilder getTransactionGetReceiptOrBuilder() {
if (responseCase_ == 14) {
return (com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse) response_;
}
return com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.getDefaultInstance();
}
public static final int TRANSACTIONGETRECORD_FIELD_NUMBER = 15;
/**
*
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
public boolean hasTransactionGetRecord() {
return responseCase_ == 15;
}
/**
*
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
public com.hederahashgraph.api.proto.java.TransactionGetRecordResponse getTransactionGetRecord() {
if (responseCase_ == 15) {
return (com.hederahashgraph.api.proto.java.TransactionGetRecordResponse) response_;
}
return com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.getDefaultInstance();
}
/**
*
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
public com.hederahashgraph.api.proto.java.TransactionGetRecordResponseOrBuilder getTransactionGetRecordOrBuilder() {
if (responseCase_ == 15) {
return (com.hederahashgraph.api.proto.java.TransactionGetRecordResponse) response_;
}
return com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.getDefaultInstance();
}
public static final int TRANSACTIONGETFASTRECORD_FIELD_NUMBER = 16;
/**
*
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
public boolean hasTransactionGetFastRecord() {
return responseCase_ == 16;
}
/**
*
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
public com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse getTransactionGetFastRecord() {
if (responseCase_ == 16) {
return (com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse) response_;
}
return com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.getDefaultInstance();
}
/**
*
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
public com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponseOrBuilder getTransactionGetFastRecordOrBuilder() {
if (responseCase_ == 16) {
return (com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse) response_;
}
return com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.getDefaultInstance();
}
public static final int CONSENSUSGETTOPICINFO_FIELD_NUMBER = 150;
/**
*
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
public boolean hasConsensusGetTopicInfo() {
return responseCase_ == 150;
}
/**
*
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
public com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse getConsensusGetTopicInfo() {
if (responseCase_ == 150) {
return (com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.getDefaultInstance();
}
/**
*
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
public com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponseOrBuilder getConsensusGetTopicInfoOrBuilder() {
if (responseCase_ == 150) {
return (com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.getDefaultInstance();
}
public static final int NETWORKGETVERSIONINFO_FIELD_NUMBER = 151;
/**
*
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
public boolean hasNetworkGetVersionInfo() {
return responseCase_ == 151;
}
/**
*
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
public com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse getNetworkGetVersionInfo() {
if (responseCase_ == 151) {
return (com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.getDefaultInstance();
}
/**
*
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
public com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponseOrBuilder getNetworkGetVersionInfoOrBuilder() {
if (responseCase_ == 151) {
return (com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.getDefaultInstance();
}
public static final int TOKENGETINFO_FIELD_NUMBER = 152;
/**
*
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
public boolean hasTokenGetInfo() {
return responseCase_ == 152;
}
/**
*
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
public com.hederahashgraph.api.proto.java.TokenGetInfoResponse getTokenGetInfo() {
if (responseCase_ == 152) {
return (com.hederahashgraph.api.proto.java.TokenGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.TokenGetInfoResponse.getDefaultInstance();
}
/**
*
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
public com.hederahashgraph.api.proto.java.TokenGetInfoResponseOrBuilder getTokenGetInfoOrBuilder() {
if (responseCase_ == 152) {
return (com.hederahashgraph.api.proto.java.TokenGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.TokenGetInfoResponse.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.hederahashgraph.api.proto.java.GetByKeyResponse) response_);
}
if (responseCase_ == 2) {
output.writeMessage(2, (com.hederahashgraph.api.proto.java.GetBySolidityIDResponse) response_);
}
if (responseCase_ == 3) {
output.writeMessage(3, (com.hederahashgraph.api.proto.java.ContractCallLocalResponse) response_);
}
if (responseCase_ == 4) {
output.writeMessage(4, (com.hederahashgraph.api.proto.java.ContractGetInfoResponse) response_);
}
if (responseCase_ == 5) {
output.writeMessage(5, (com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse) response_);
}
if (responseCase_ == 6) {
output.writeMessage(6, (com.hederahashgraph.api.proto.java.ContractGetRecordsResponse) response_);
}
if (responseCase_ == 7) {
output.writeMessage(7, (com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse) response_);
}
if (responseCase_ == 8) {
output.writeMessage(8, (com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse) response_);
}
if (responseCase_ == 9) {
output.writeMessage(9, (com.hederahashgraph.api.proto.java.CryptoGetInfoResponse) response_);
}
if (responseCase_ == 10) {
output.writeMessage(10, (com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse) response_);
}
if (responseCase_ == 11) {
output.writeMessage(11, (com.hederahashgraph.api.proto.java.CryptoGetStakersResponse) response_);
}
if (responseCase_ == 12) {
output.writeMessage(12, (com.hederahashgraph.api.proto.java.FileGetContentsResponse) response_);
}
if (responseCase_ == 13) {
output.writeMessage(13, (com.hederahashgraph.api.proto.java.FileGetInfoResponse) response_);
}
if (responseCase_ == 14) {
output.writeMessage(14, (com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse) response_);
}
if (responseCase_ == 15) {
output.writeMessage(15, (com.hederahashgraph.api.proto.java.TransactionGetRecordResponse) response_);
}
if (responseCase_ == 16) {
output.writeMessage(16, (com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse) response_);
}
if (responseCase_ == 150) {
output.writeMessage(150, (com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse) response_);
}
if (responseCase_ == 151) {
output.writeMessage(151, (com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse) response_);
}
if (responseCase_ == 152) {
output.writeMessage(152, (com.hederahashgraph.api.proto.java.TokenGetInfoResponse) response_);
}
unknownFields.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.hederahashgraph.api.proto.java.GetByKeyResponse) response_);
}
if (responseCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.hederahashgraph.api.proto.java.GetBySolidityIDResponse) response_);
}
if (responseCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.hederahashgraph.api.proto.java.ContractCallLocalResponse) response_);
}
if (responseCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.hederahashgraph.api.proto.java.ContractGetInfoResponse) response_);
}
if (responseCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse) response_);
}
if (responseCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (com.hederahashgraph.api.proto.java.ContractGetRecordsResponse) response_);
}
if (responseCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse) response_);
}
if (responseCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse) response_);
}
if (responseCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (com.hederahashgraph.api.proto.java.CryptoGetInfoResponse) response_);
}
if (responseCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse) response_);
}
if (responseCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (com.hederahashgraph.api.proto.java.CryptoGetStakersResponse) response_);
}
if (responseCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (com.hederahashgraph.api.proto.java.FileGetContentsResponse) response_);
}
if (responseCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (com.hederahashgraph.api.proto.java.FileGetInfoResponse) response_);
}
if (responseCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse) response_);
}
if (responseCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (com.hederahashgraph.api.proto.java.TransactionGetRecordResponse) response_);
}
if (responseCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse) response_);
}
if (responseCase_ == 150) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(150, (com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse) response_);
}
if (responseCase_ == 151) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(151, (com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse) response_);
}
if (responseCase_ == 152) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(152, (com.hederahashgraph.api.proto.java.TokenGetInfoResponse) response_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.hederahashgraph.api.proto.java.Response)) {
return super.equals(obj);
}
com.hederahashgraph.api.proto.java.Response other = (com.hederahashgraph.api.proto.java.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 0:
default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (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 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.hederahashgraph.api.proto.java.Response parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.Response parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.Response parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.Response parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Response parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hederahashgraph.api.proto.java.ResponseOuterClass.internal_static_proto_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hederahashgraph.api.proto.java.ResponseOuterClass.internal_static_proto_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hederahashgraph.api.proto.java.Response.class, com.hederahashgraph.api.proto.java.Response.Builder.class);
}
// Construct using com.hederahashgraph.api.proto.java.Response.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
responseCase_ = 0;
response_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.hederahashgraph.api.proto.java.ResponseOuterClass.internal_static_proto_Response_descriptor;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.Response getDefaultInstanceForType() {
return com.hederahashgraph.api.proto.java.Response.getDefaultInstance();
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.Response build() {
com.hederahashgraph.api.proto.java.Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.Response buildPartial() {
com.hederahashgraph.api.proto.java.Response result = new com.hederahashgraph.api.proto.java.Response(this);
if (responseCase_ == 1) {
if (getByKeyBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = getByKeyBuilder_.build();
}
}
if (responseCase_ == 2) {
if (getBySolidityIDBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = getBySolidityIDBuilder_.build();
}
}
if (responseCase_ == 3) {
if (contractCallLocalBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = contractCallLocalBuilder_.build();
}
}
if (responseCase_ == 5) {
if (contractGetBytecodeResponseBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = contractGetBytecodeResponseBuilder_.build();
}
}
if (responseCase_ == 4) {
if (contractGetInfoBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = contractGetInfoBuilder_.build();
}
}
if (responseCase_ == 6) {
if (contractGetRecordsResponseBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = contractGetRecordsResponseBuilder_.build();
}
}
if (responseCase_ == 7) {
if (cryptogetAccountBalanceBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = cryptogetAccountBalanceBuilder_.build();
}
}
if (responseCase_ == 8) {
if (cryptoGetAccountRecordsBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = cryptoGetAccountRecordsBuilder_.build();
}
}
if (responseCase_ == 9) {
if (cryptoGetInfoBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = cryptoGetInfoBuilder_.build();
}
}
if (responseCase_ == 10) {
if (cryptoGetLiveHashBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = cryptoGetLiveHashBuilder_.build();
}
}
if (responseCase_ == 11) {
if (cryptoGetProxyStakersBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = cryptoGetProxyStakersBuilder_.build();
}
}
if (responseCase_ == 12) {
if (fileGetContentsBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = fileGetContentsBuilder_.build();
}
}
if (responseCase_ == 13) {
if (fileGetInfoBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = fileGetInfoBuilder_.build();
}
}
if (responseCase_ == 14) {
if (transactionGetReceiptBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = transactionGetReceiptBuilder_.build();
}
}
if (responseCase_ == 15) {
if (transactionGetRecordBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = transactionGetRecordBuilder_.build();
}
}
if (responseCase_ == 16) {
if (transactionGetFastRecordBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = transactionGetFastRecordBuilder_.build();
}
}
if (responseCase_ == 150) {
if (consensusGetTopicInfoBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = consensusGetTopicInfoBuilder_.build();
}
}
if (responseCase_ == 151) {
if (networkGetVersionInfoBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = networkGetVersionInfoBuilder_.build();
}
}
if (responseCase_ == 152) {
if (tokenGetInfoBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = tokenGetInfoBuilder_.build();
}
}
result.responseCase_ = responseCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.hederahashgraph.api.proto.java.Response) {
return mergeFrom((com.hederahashgraph.api.proto.java.Response)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.hederahashgraph.api.proto.java.Response other) {
if (other == com.hederahashgraph.api.proto.java.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 RESPONSE_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.hederahashgraph.api.proto.java.Response parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.hederahashgraph.api.proto.java.Response) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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 com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.GetByKeyResponse, com.hederahashgraph.api.proto.java.GetByKeyResponse.Builder, com.hederahashgraph.api.proto.java.GetByKeyResponseOrBuilder> getByKeyBuilder_;
/**
*
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
public boolean hasGetByKey() {
return responseCase_ == 1;
}
/**
*
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
public com.hederahashgraph.api.proto.java.GetByKeyResponse getGetByKey() {
if (getByKeyBuilder_ == null) {
if (responseCase_ == 1) {
return (com.hederahashgraph.api.proto.java.GetByKeyResponse) response_;
}
return com.hederahashgraph.api.proto.java.GetByKeyResponse.getDefaultInstance();
} else {
if (responseCase_ == 1) {
return getByKeyBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.GetByKeyResponse.getDefaultInstance();
}
}
/**
*
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
public Builder setGetByKey(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.GetByKeyResponse value) {
if (getByKeyBuilder_ == null) {
if (responseCase_ == 1 &&
response_ != com.hederahashgraph.api.proto.java.GetByKeyResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.GetByKeyResponse.newBuilder((com.hederahashgraph.api.proto.java.GetByKeyResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 1) {
getByKeyBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.GetByKeyResponse.Builder getGetByKeyBuilder() {
return getGetByKeyFieldBuilder().getBuilder();
}
/**
*
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
public com.hederahashgraph.api.proto.java.GetByKeyResponseOrBuilder getGetByKeyOrBuilder() {
if ((responseCase_ == 1) && (getByKeyBuilder_ != null)) {
return getByKeyBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 1) {
return (com.hederahashgraph.api.proto.java.GetByKeyResponse) response_;
}
return com.hederahashgraph.api.proto.java.GetByKeyResponse.getDefaultInstance();
}
}
/**
*
* Get all entities associated with a given key
*
*
* .proto.GetByKeyResponse getByKey = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.GetByKeyResponse, com.hederahashgraph.api.proto.java.GetByKeyResponse.Builder, com.hederahashgraph.api.proto.java.GetByKeyResponseOrBuilder>
getGetByKeyFieldBuilder() {
if (getByKeyBuilder_ == null) {
if (!(responseCase_ == 1)) {
response_ = com.hederahashgraph.api.proto.java.GetByKeyResponse.getDefaultInstance();
}
getByKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.GetByKeyResponse, com.hederahashgraph.api.proto.java.GetByKeyResponse.Builder, com.hederahashgraph.api.proto.java.GetByKeyResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.GetByKeyResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 1;
onChanged();;
return getByKeyBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.GetBySolidityIDResponse, com.hederahashgraph.api.proto.java.GetBySolidityIDResponse.Builder, com.hederahashgraph.api.proto.java.GetBySolidityIDResponseOrBuilder> getBySolidityIDBuilder_;
/**
*
* Get the IDs in the format used in transactions, given the format used in Solidity
*
*
* .proto.GetBySolidityIDResponse getBySolidityID = 2;
*/
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;
*/
public com.hederahashgraph.api.proto.java.GetBySolidityIDResponse getGetBySolidityID() {
if (getBySolidityIDBuilder_ == null) {
if (responseCase_ == 2) {
return (com.hederahashgraph.api.proto.java.GetBySolidityIDResponse) response_;
}
return com.hederahashgraph.api.proto.java.GetBySolidityIDResponse.getDefaultInstance();
} else {
if (responseCase_ == 2) {
return getBySolidityIDBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.GetBySolidityIDResponse value) {
if (getBySolidityIDBuilder_ == null) {
if (responseCase_ == 2 &&
response_ != com.hederahashgraph.api.proto.java.GetBySolidityIDResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.GetBySolidityIDResponse.newBuilder((com.hederahashgraph.api.proto.java.GetBySolidityIDResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 2) {
getBySolidityIDBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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;
*/
public com.hederahashgraph.api.proto.java.GetBySolidityIDResponseOrBuilder getGetBySolidityIDOrBuilder() {
if ((responseCase_ == 2) && (getBySolidityIDBuilder_ != null)) {
return getBySolidityIDBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 2) {
return (com.hederahashgraph.api.proto.java.GetBySolidityIDResponse) response_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.GetBySolidityIDResponse, com.hederahashgraph.api.proto.java.GetBySolidityIDResponse.Builder, com.hederahashgraph.api.proto.java.GetBySolidityIDResponseOrBuilder>
getGetBySolidityIDFieldBuilder() {
if (getBySolidityIDBuilder_ == null) {
if (!(responseCase_ == 2)) {
response_ = com.hederahashgraph.api.proto.java.GetBySolidityIDResponse.getDefaultInstance();
}
getBySolidityIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.GetBySolidityIDResponse, com.hederahashgraph.api.proto.java.GetBySolidityIDResponse.Builder, com.hederahashgraph.api.proto.java.GetBySolidityIDResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.GetBySolidityIDResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 2;
onChanged();;
return getBySolidityIDBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractCallLocalResponse, com.hederahashgraph.api.proto.java.ContractCallLocalResponse.Builder, com.hederahashgraph.api.proto.java.ContractCallLocalResponseOrBuilder> contractCallLocalBuilder_;
/**
*
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
public boolean hasContractCallLocal() {
return responseCase_ == 3;
}
/**
*
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
public com.hederahashgraph.api.proto.java.ContractCallLocalResponse getContractCallLocal() {
if (contractCallLocalBuilder_ == null) {
if (responseCase_ == 3) {
return (com.hederahashgraph.api.proto.java.ContractCallLocalResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractCallLocalResponse.getDefaultInstance();
} else {
if (responseCase_ == 3) {
return contractCallLocalBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ContractCallLocalResponse.getDefaultInstance();
}
}
/**
*
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
public Builder setContractCallLocal(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractCallLocalResponse value) {
if (contractCallLocalBuilder_ == null) {
if (responseCase_ == 3 &&
response_ != com.hederahashgraph.api.proto.java.ContractCallLocalResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.ContractCallLocalResponse.newBuilder((com.hederahashgraph.api.proto.java.ContractCallLocalResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 3) {
contractCallLocalBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.ContractCallLocalResponse.Builder getContractCallLocalBuilder() {
return getContractCallLocalFieldBuilder().getBuilder();
}
/**
*
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
public com.hederahashgraph.api.proto.java.ContractCallLocalResponseOrBuilder getContractCallLocalOrBuilder() {
if ((responseCase_ == 3) && (contractCallLocalBuilder_ != null)) {
return contractCallLocalBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 3) {
return (com.hederahashgraph.api.proto.java.ContractCallLocalResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractCallLocalResponse.getDefaultInstance();
}
}
/**
*
* Response to call a function of a smart contract instance
*
*
* .proto.ContractCallLocalResponse contractCallLocal = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractCallLocalResponse, com.hederahashgraph.api.proto.java.ContractCallLocalResponse.Builder, com.hederahashgraph.api.proto.java.ContractCallLocalResponseOrBuilder>
getContractCallLocalFieldBuilder() {
if (contractCallLocalBuilder_ == null) {
if (!(responseCase_ == 3)) {
response_ = com.hederahashgraph.api.proto.java.ContractCallLocalResponse.getDefaultInstance();
}
contractCallLocalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractCallLocalResponse, com.hederahashgraph.api.proto.java.ContractCallLocalResponse.Builder, com.hederahashgraph.api.proto.java.ContractCallLocalResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.ContractCallLocalResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 3;
onChanged();;
return contractCallLocalBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse, com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.Builder, com.hederahashgraph.api.proto.java.ContractGetBytecodeResponseOrBuilder> contractGetBytecodeResponseBuilder_;
/**
*
* Get the bytecode for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public boolean hasContractGetBytecodeResponse() {
return responseCase_ == 5;
}
/**
*
* Get the bytecode for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse getContractGetBytecodeResponse() {
if (contractGetBytecodeResponseBuilder_ == null) {
if (responseCase_ == 5) {
return (com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.getDefaultInstance();
} else {
if (responseCase_ == 5) {
return contractGetBytecodeResponseBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.getDefaultInstance();
}
}
/**
*
* Get the bytecode for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public Builder setContractGetBytecodeResponse(com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse value) {
if (contractGetBytecodeResponseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
contractGetBytecodeResponseBuilder_.setMessage(value);
}
responseCase_ = 5;
return this;
}
/**
*
* Get the bytecode for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public Builder setContractGetBytecodeResponse(
com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.Builder builderForValue) {
if (contractGetBytecodeResponseBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
contractGetBytecodeResponseBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 5;
return this;
}
/**
*
* Get the bytecode for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public Builder mergeContractGetBytecodeResponse(com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse value) {
if (contractGetBytecodeResponseBuilder_ == null) {
if (responseCase_ == 5 &&
response_ != com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.newBuilder((com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 5) {
contractGetBytecodeResponseBuilder_.mergeFrom(value);
}
contractGetBytecodeResponseBuilder_.setMessage(value);
}
responseCase_ = 5;
return this;
}
/**
*
* Get the bytecode 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 bytecode for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.Builder getContractGetBytecodeResponseBuilder() {
return getContractGetBytecodeResponseFieldBuilder().getBuilder();
}
/**
*
* Get the bytecode for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
public com.hederahashgraph.api.proto.java.ContractGetBytecodeResponseOrBuilder getContractGetBytecodeResponseOrBuilder() {
if ((responseCase_ == 5) && (contractGetBytecodeResponseBuilder_ != null)) {
return contractGetBytecodeResponseBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 5) {
return (com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.getDefaultInstance();
}
}
/**
*
* Get the bytecode for a smart contract instance
*
*
* .proto.ContractGetBytecodeResponse contractGetBytecodeResponse = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse, com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.Builder, com.hederahashgraph.api.proto.java.ContractGetBytecodeResponseOrBuilder>
getContractGetBytecodeResponseFieldBuilder() {
if (contractGetBytecodeResponseBuilder_ == null) {
if (!(responseCase_ == 5)) {
response_ = com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.getDefaultInstance();
}
contractGetBytecodeResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse, com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse.Builder, com.hederahashgraph.api.proto.java.ContractGetBytecodeResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.ContractGetBytecodeResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 5;
onChanged();;
return contractGetBytecodeResponseBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractGetInfoResponse, com.hederahashgraph.api.proto.java.ContractGetInfoResponse.Builder, com.hederahashgraph.api.proto.java.ContractGetInfoResponseOrBuilder> contractGetInfoBuilder_;
/**
*
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
public boolean hasContractGetInfo() {
return responseCase_ == 4;
}
/**
*
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
public com.hederahashgraph.api.proto.java.ContractGetInfoResponse getContractGetInfo() {
if (contractGetInfoBuilder_ == null) {
if (responseCase_ == 4) {
return (com.hederahashgraph.api.proto.java.ContractGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractGetInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 4) {
return contractGetInfoBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ContractGetInfoResponse.getDefaultInstance();
}
}
/**
*
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
public Builder setContractGetInfo(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractGetInfoResponse value) {
if (contractGetInfoBuilder_ == null) {
if (responseCase_ == 4 &&
response_ != com.hederahashgraph.api.proto.java.ContractGetInfoResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.ContractGetInfoResponse.newBuilder((com.hederahashgraph.api.proto.java.ContractGetInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 4) {
contractGetInfoBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.ContractGetInfoResponse.Builder getContractGetInfoBuilder() {
return getContractGetInfoFieldBuilder().getBuilder();
}
/**
*
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
public com.hederahashgraph.api.proto.java.ContractGetInfoResponseOrBuilder getContractGetInfoOrBuilder() {
if ((responseCase_ == 4) && (contractGetInfoBuilder_ != null)) {
return contractGetInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 4) {
return (com.hederahashgraph.api.proto.java.ContractGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractGetInfoResponse.getDefaultInstance();
}
}
/**
*
* Get information about a smart contract instance
*
*
* .proto.ContractGetInfoResponse contractGetInfo = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractGetInfoResponse, com.hederahashgraph.api.proto.java.ContractGetInfoResponse.Builder, com.hederahashgraph.api.proto.java.ContractGetInfoResponseOrBuilder>
getContractGetInfoFieldBuilder() {
if (contractGetInfoBuilder_ == null) {
if (!(responseCase_ == 4)) {
response_ = com.hederahashgraph.api.proto.java.ContractGetInfoResponse.getDefaultInstance();
}
contractGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractGetInfoResponse, com.hederahashgraph.api.proto.java.ContractGetInfoResponse.Builder, com.hederahashgraph.api.proto.java.ContractGetInfoResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.ContractGetInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 4;
onChanged();;
return contractGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractGetRecordsResponse, com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.Builder, com.hederahashgraph.api.proto.java.ContractGetRecordsResponseOrBuilder> contractGetRecordsResponseBuilder_;
/**
*
*Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
public boolean hasContractGetRecordsResponse() {
return responseCase_ == 6;
}
/**
*
*Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
public com.hederahashgraph.api.proto.java.ContractGetRecordsResponse getContractGetRecordsResponse() {
if (contractGetRecordsResponseBuilder_ == null) {
if (responseCase_ == 6) {
return (com.hederahashgraph.api.proto.java.ContractGetRecordsResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.getDefaultInstance();
} else {
if (responseCase_ == 6) {
return contractGetRecordsResponseBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.getDefaultInstance();
}
}
/**
*
*Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
public Builder setContractGetRecordsResponse(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ContractGetRecordsResponse value) {
if (contractGetRecordsResponseBuilder_ == null) {
if (responseCase_ == 6 &&
response_ != com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.newBuilder((com.hederahashgraph.api.proto.java.ContractGetRecordsResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 6) {
contractGetRecordsResponseBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.ContractGetRecordsResponse.Builder getContractGetRecordsResponseBuilder() {
return getContractGetRecordsResponseFieldBuilder().getBuilder();
}
/**
*
*Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
public com.hederahashgraph.api.proto.java.ContractGetRecordsResponseOrBuilder getContractGetRecordsResponseOrBuilder() {
if ((responseCase_ == 6) && (contractGetRecordsResponseBuilder_ != null)) {
return contractGetRecordsResponseBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 6) {
return (com.hederahashgraph.api.proto.java.ContractGetRecordsResponse) response_;
}
return com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.getDefaultInstance();
}
}
/**
*
*Get all existing records for a smart contract instance
*
*
* .proto.ContractGetRecordsResponse contractGetRecordsResponse = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractGetRecordsResponse, com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.Builder, com.hederahashgraph.api.proto.java.ContractGetRecordsResponseOrBuilder>
getContractGetRecordsResponseFieldBuilder() {
if (contractGetRecordsResponseBuilder_ == null) {
if (!(responseCase_ == 6)) {
response_ = com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.getDefaultInstance();
}
contractGetRecordsResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ContractGetRecordsResponse, com.hederahashgraph.api.proto.java.ContractGetRecordsResponse.Builder, com.hederahashgraph.api.proto.java.ContractGetRecordsResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.ContractGetRecordsResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 6;
onChanged();;
return contractGetRecordsResponseBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse, com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponseOrBuilder> cryptogetAccountBalanceBuilder_;
/**
*
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
public boolean hasCryptogetAccountBalance() {
return responseCase_ == 7;
}
/**
*
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
public com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse getCryptogetAccountBalance() {
if (cryptogetAccountBalanceBuilder_ == null) {
if (responseCase_ == 7) {
return (com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.getDefaultInstance();
} else {
if (responseCase_ == 7) {
return cryptogetAccountBalanceBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.getDefaultInstance();
}
}
/**
*
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
public Builder setCryptogetAccountBalance(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse value) {
if (cryptogetAccountBalanceBuilder_ == null) {
if (responseCase_ == 7 &&
response_ != com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.newBuilder((com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 7) {
cryptogetAccountBalanceBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.Builder getCryptogetAccountBalanceBuilder() {
return getCryptogetAccountBalanceFieldBuilder().getBuilder();
}
/**
*
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
public com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponseOrBuilder getCryptogetAccountBalanceOrBuilder() {
if ((responseCase_ == 7) && (cryptogetAccountBalanceBuilder_ != null)) {
return cryptogetAccountBalanceBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 7) {
return (com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.getDefaultInstance();
}
}
/**
*
* Get the current balance in a cryptocurrency account
*
*
* .proto.CryptoGetAccountBalanceResponse cryptogetAccountBalance = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse, com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponseOrBuilder>
getCryptogetAccountBalanceFieldBuilder() {
if (cryptogetAccountBalanceBuilder_ == null) {
if (!(responseCase_ == 7)) {
response_ = com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.getDefaultInstance();
}
cryptogetAccountBalanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse, com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 7;
onChanged();;
return cryptogetAccountBalanceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse, com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponseOrBuilder> cryptoGetAccountRecordsBuilder_;
/**
*
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
public boolean hasCryptoGetAccountRecords() {
return responseCase_ == 8;
}
/**
*
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
public com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse getCryptoGetAccountRecords() {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (responseCase_ == 8) {
return (com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.getDefaultInstance();
} else {
if (responseCase_ == 8) {
return cryptoGetAccountRecordsBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.getDefaultInstance();
}
}
/**
*
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
public Builder setCryptoGetAccountRecords(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse value) {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (responseCase_ == 8 &&
response_ != com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.newBuilder((com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 8) {
cryptoGetAccountRecordsBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.Builder getCryptoGetAccountRecordsBuilder() {
return getCryptoGetAccountRecordsFieldBuilder().getBuilder();
}
/**
*
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
public com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponseOrBuilder getCryptoGetAccountRecordsOrBuilder() {
if ((responseCase_ == 8) && (cryptoGetAccountRecordsBuilder_ != null)) {
return cryptoGetAccountRecordsBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 8) {
return (com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.getDefaultInstance();
}
}
/**
*
* Get all the records that currently exist for transactions involving an account
*
*
* .proto.CryptoGetAccountRecordsResponse cryptoGetAccountRecords = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse, com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponseOrBuilder>
getCryptoGetAccountRecordsFieldBuilder() {
if (cryptoGetAccountRecordsBuilder_ == null) {
if (!(responseCase_ == 8)) {
response_ = com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.getDefaultInstance();
}
cryptoGetAccountRecordsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse, com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.CryptoGetAccountRecordsResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 8;
onChanged();;
return cryptoGetAccountRecordsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetInfoResponse, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetInfoResponseOrBuilder> cryptoGetInfoBuilder_;
/**
*
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
public boolean hasCryptoGetInfo() {
return responseCase_ == 9;
}
/**
*
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
public com.hederahashgraph.api.proto.java.CryptoGetInfoResponse getCryptoGetInfo() {
if (cryptoGetInfoBuilder_ == null) {
if (responseCase_ == 9) {
return (com.hederahashgraph.api.proto.java.CryptoGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 9) {
return cryptoGetInfoBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.getDefaultInstance();
}
}
/**
*
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
public Builder setCryptoGetInfo(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoGetInfoResponse value) {
if (cryptoGetInfoBuilder_ == null) {
if (responseCase_ == 9 &&
response_ != com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.newBuilder((com.hederahashgraph.api.proto.java.CryptoGetInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 9) {
cryptoGetInfoBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.CryptoGetInfoResponse.Builder getCryptoGetInfoBuilder() {
return getCryptoGetInfoFieldBuilder().getBuilder();
}
/**
*
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
public com.hederahashgraph.api.proto.java.CryptoGetInfoResponseOrBuilder getCryptoGetInfoOrBuilder() {
if ((responseCase_ == 9) && (cryptoGetInfoBuilder_ != null)) {
return cryptoGetInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 9) {
return (com.hederahashgraph.api.proto.java.CryptoGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.getDefaultInstance();
}
}
/**
*
* Get all information about an account
*
*
* .proto.CryptoGetInfoResponse cryptoGetInfo = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetInfoResponse, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetInfoResponseOrBuilder>
getCryptoGetInfoFieldBuilder() {
if (cryptoGetInfoBuilder_ == null) {
if (!(responseCase_ == 9)) {
response_ = com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.getDefaultInstance();
}
cryptoGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetInfoResponse, com.hederahashgraph.api.proto.java.CryptoGetInfoResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetInfoResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.CryptoGetInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 9;
onChanged();;
return cryptoGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse, com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponseOrBuilder> cryptoGetLiveHashBuilder_;
/**
*
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
public boolean hasCryptoGetLiveHash() {
return responseCase_ == 10;
}
/**
*
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
public com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse getCryptoGetLiveHash() {
if (cryptoGetLiveHashBuilder_ == null) {
if (responseCase_ == 10) {
return (com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.getDefaultInstance();
} else {
if (responseCase_ == 10) {
return cryptoGetLiveHashBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.getDefaultInstance();
}
}
/**
*
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
public Builder setCryptoGetLiveHash(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse value) {
if (cryptoGetLiveHashBuilder_ == null) {
if (responseCase_ == 10 &&
response_ != com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.newBuilder((com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 10) {
cryptoGetLiveHashBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.Builder getCryptoGetLiveHashBuilder() {
return getCryptoGetLiveHashFieldBuilder().getBuilder();
}
/**
*
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
public com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponseOrBuilder getCryptoGetLiveHashOrBuilder() {
if ((responseCase_ == 10) && (cryptoGetLiveHashBuilder_ != null)) {
return cryptoGetLiveHashBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 10) {
return (com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.getDefaultInstance();
}
}
/**
*
* Contains a livehash associated to an account
*
*
* .proto.CryptoGetLiveHashResponse cryptoGetLiveHash = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse, com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponseOrBuilder>
getCryptoGetLiveHashFieldBuilder() {
if (cryptoGetLiveHashBuilder_ == null) {
if (!(responseCase_ == 10)) {
response_ = com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.getDefaultInstance();
}
cryptoGetLiveHashBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse, com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.CryptoGetLiveHashResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 10;
onChanged();;
return cryptoGetLiveHashBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetStakersResponse, com.hederahashgraph.api.proto.java.CryptoGetStakersResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetStakersResponseOrBuilder> cryptoGetProxyStakersBuilder_;
/**
*
* Get all the accounts that proxy stake to a given account, and how much they proxy stake
*
*
* .proto.CryptoGetStakersResponse cryptoGetProxyStakers = 11;
*/
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;
*/
public com.hederahashgraph.api.proto.java.CryptoGetStakersResponse getCryptoGetProxyStakers() {
if (cryptoGetProxyStakersBuilder_ == null) {
if (responseCase_ == 11) {
return (com.hederahashgraph.api.proto.java.CryptoGetStakersResponse) response_;
}
return com.hederahashgraph.api.proto.java.CryptoGetStakersResponse.getDefaultInstance();
} else {
if (responseCase_ == 11) {
return cryptoGetProxyStakersBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoGetStakersResponse value) {
if (cryptoGetProxyStakersBuilder_ == null) {
if (responseCase_ == 11 &&
response_ != com.hederahashgraph.api.proto.java.CryptoGetStakersResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.CryptoGetStakersResponse.newBuilder((com.hederahashgraph.api.proto.java.CryptoGetStakersResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 11) {
cryptoGetProxyStakersBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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;
*/
public com.hederahashgraph.api.proto.java.CryptoGetStakersResponseOrBuilder getCryptoGetProxyStakersOrBuilder() {
if ((responseCase_ == 11) && (cryptoGetProxyStakersBuilder_ != null)) {
return cryptoGetProxyStakersBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 11) {
return (com.hederahashgraph.api.proto.java.CryptoGetStakersResponse) response_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.CryptoGetStakersResponse, com.hederahashgraph.api.proto.java.CryptoGetStakersResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetStakersResponseOrBuilder>
getCryptoGetProxyStakersFieldBuilder() {
if (cryptoGetProxyStakersBuilder_ == null) {
if (!(responseCase_ == 11)) {
response_ = com.hederahashgraph.api.proto.java.CryptoGetStakersResponse.getDefaultInstance();
}
cryptoGetProxyStakersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.CryptoGetStakersResponse, com.hederahashgraph.api.proto.java.CryptoGetStakersResponse.Builder, com.hederahashgraph.api.proto.java.CryptoGetStakersResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.CryptoGetStakersResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 11;
onChanged();;
return cryptoGetProxyStakersBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileGetContentsResponse, com.hederahashgraph.api.proto.java.FileGetContentsResponse.Builder, com.hederahashgraph.api.proto.java.FileGetContentsResponseOrBuilder> fileGetContentsBuilder_;
/**
*
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
public boolean hasFileGetContents() {
return responseCase_ == 12;
}
/**
*
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
public com.hederahashgraph.api.proto.java.FileGetContentsResponse getFileGetContents() {
if (fileGetContentsBuilder_ == null) {
if (responseCase_ == 12) {
return (com.hederahashgraph.api.proto.java.FileGetContentsResponse) response_;
}
return com.hederahashgraph.api.proto.java.FileGetContentsResponse.getDefaultInstance();
} else {
if (responseCase_ == 12) {
return fileGetContentsBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.FileGetContentsResponse.getDefaultInstance();
}
}
/**
*
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
public Builder setFileGetContents(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileGetContentsResponse value) {
if (fileGetContentsBuilder_ == null) {
if (responseCase_ == 12 &&
response_ != com.hederahashgraph.api.proto.java.FileGetContentsResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.FileGetContentsResponse.newBuilder((com.hederahashgraph.api.proto.java.FileGetContentsResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 12) {
fileGetContentsBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.FileGetContentsResponse.Builder getFileGetContentsBuilder() {
return getFileGetContentsFieldBuilder().getBuilder();
}
/**
*
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
public com.hederahashgraph.api.proto.java.FileGetContentsResponseOrBuilder getFileGetContentsOrBuilder() {
if ((responseCase_ == 12) && (fileGetContentsBuilder_ != null)) {
return fileGetContentsBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 12) {
return (com.hederahashgraph.api.proto.java.FileGetContentsResponse) response_;
}
return com.hederahashgraph.api.proto.java.FileGetContentsResponse.getDefaultInstance();
}
}
/**
*
* Get the contents of a file (the bytes stored in it)
*
*
* .proto.FileGetContentsResponse fileGetContents = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileGetContentsResponse, com.hederahashgraph.api.proto.java.FileGetContentsResponse.Builder, com.hederahashgraph.api.proto.java.FileGetContentsResponseOrBuilder>
getFileGetContentsFieldBuilder() {
if (fileGetContentsBuilder_ == null) {
if (!(responseCase_ == 12)) {
response_ = com.hederahashgraph.api.proto.java.FileGetContentsResponse.getDefaultInstance();
}
fileGetContentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileGetContentsResponse, com.hederahashgraph.api.proto.java.FileGetContentsResponse.Builder, com.hederahashgraph.api.proto.java.FileGetContentsResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.FileGetContentsResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 12;
onChanged();;
return fileGetContentsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileGetInfoResponse, com.hederahashgraph.api.proto.java.FileGetInfoResponse.Builder, com.hederahashgraph.api.proto.java.FileGetInfoResponseOrBuilder> fileGetInfoBuilder_;
/**
*
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
public boolean hasFileGetInfo() {
return responseCase_ == 13;
}
/**
*
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
public com.hederahashgraph.api.proto.java.FileGetInfoResponse getFileGetInfo() {
if (fileGetInfoBuilder_ == null) {
if (responseCase_ == 13) {
return (com.hederahashgraph.api.proto.java.FileGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.FileGetInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 13) {
return fileGetInfoBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.FileGetInfoResponse.getDefaultInstance();
}
}
/**
*
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
public Builder setFileGetInfo(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileGetInfoResponse value) {
if (fileGetInfoBuilder_ == null) {
if (responseCase_ == 13 &&
response_ != com.hederahashgraph.api.proto.java.FileGetInfoResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.FileGetInfoResponse.newBuilder((com.hederahashgraph.api.proto.java.FileGetInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 13) {
fileGetInfoBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.FileGetInfoResponse.Builder getFileGetInfoBuilder() {
return getFileGetInfoFieldBuilder().getBuilder();
}
/**
*
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
public com.hederahashgraph.api.proto.java.FileGetInfoResponseOrBuilder getFileGetInfoOrBuilder() {
if ((responseCase_ == 13) && (fileGetInfoBuilder_ != null)) {
return fileGetInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 13) {
return (com.hederahashgraph.api.proto.java.FileGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.FileGetInfoResponse.getDefaultInstance();
}
}
/**
*
* Get information about a file, such as its expiration date
*
*
* .proto.FileGetInfoResponse fileGetInfo = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileGetInfoResponse, com.hederahashgraph.api.proto.java.FileGetInfoResponse.Builder, com.hederahashgraph.api.proto.java.FileGetInfoResponseOrBuilder>
getFileGetInfoFieldBuilder() {
if (fileGetInfoBuilder_ == null) {
if (!(responseCase_ == 13)) {
response_ = com.hederahashgraph.api.proto.java.FileGetInfoResponse.getDefaultInstance();
}
fileGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.FileGetInfoResponse, com.hederahashgraph.api.proto.java.FileGetInfoResponse.Builder, com.hederahashgraph.api.proto.java.FileGetInfoResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.FileGetInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 13;
onChanged();;
return fileGetInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse, com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.Builder, com.hederahashgraph.api.proto.java.TransactionGetReceiptResponseOrBuilder> transactionGetReceiptBuilder_;
/**
*
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
public boolean hasTransactionGetReceipt() {
return responseCase_ == 14;
}
/**
*
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
public com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse getTransactionGetReceipt() {
if (transactionGetReceiptBuilder_ == null) {
if (responseCase_ == 14) {
return (com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse) response_;
}
return com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.getDefaultInstance();
} else {
if (responseCase_ == 14) {
return transactionGetReceiptBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.getDefaultInstance();
}
}
/**
*
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
public Builder setTransactionGetReceipt(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TransactionGetReceiptResponse value) {
if (transactionGetReceiptBuilder_ == null) {
if (responseCase_ == 14 &&
response_ != com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.newBuilder((com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 14) {
transactionGetReceiptBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.Builder getTransactionGetReceiptBuilder() {
return getTransactionGetReceiptFieldBuilder().getBuilder();
}
/**
*
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
public com.hederahashgraph.api.proto.java.TransactionGetReceiptResponseOrBuilder getTransactionGetReceiptOrBuilder() {
if ((responseCase_ == 14) && (transactionGetReceiptBuilder_ != null)) {
return transactionGetReceiptBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 14) {
return (com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse) response_;
}
return com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.getDefaultInstance();
}
}
/**
*
* Get a receipt for a transaction
*
*
* .proto.TransactionGetReceiptResponse transactionGetReceipt = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse, com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.Builder, com.hederahashgraph.api.proto.java.TransactionGetReceiptResponseOrBuilder>
getTransactionGetReceiptFieldBuilder() {
if (transactionGetReceiptBuilder_ == null) {
if (!(responseCase_ == 14)) {
response_ = com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.getDefaultInstance();
}
transactionGetReceiptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse, com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse.Builder, com.hederahashgraph.api.proto.java.TransactionGetReceiptResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.TransactionGetReceiptResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 14;
onChanged();;
return transactionGetReceiptBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TransactionGetRecordResponse, com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.Builder, com.hederahashgraph.api.proto.java.TransactionGetRecordResponseOrBuilder> transactionGetRecordBuilder_;
/**
*
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
public boolean hasTransactionGetRecord() {
return responseCase_ == 15;
}
/**
*
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
public com.hederahashgraph.api.proto.java.TransactionGetRecordResponse getTransactionGetRecord() {
if (transactionGetRecordBuilder_ == null) {
if (responseCase_ == 15) {
return (com.hederahashgraph.api.proto.java.TransactionGetRecordResponse) response_;
}
return com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.getDefaultInstance();
} else {
if (responseCase_ == 15) {
return transactionGetRecordBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.getDefaultInstance();
}
}
/**
*
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
public Builder setTransactionGetRecord(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TransactionGetRecordResponse value) {
if (transactionGetRecordBuilder_ == null) {
if (responseCase_ == 15 &&
response_ != com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.newBuilder((com.hederahashgraph.api.proto.java.TransactionGetRecordResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 15) {
transactionGetRecordBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TransactionGetRecordResponse.Builder getTransactionGetRecordBuilder() {
return getTransactionGetRecordFieldBuilder().getBuilder();
}
/**
*
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
public com.hederahashgraph.api.proto.java.TransactionGetRecordResponseOrBuilder getTransactionGetRecordOrBuilder() {
if ((responseCase_ == 15) && (transactionGetRecordBuilder_ != null)) {
return transactionGetRecordBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 15) {
return (com.hederahashgraph.api.proto.java.TransactionGetRecordResponse) response_;
}
return com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.getDefaultInstance();
}
}
/**
*
* Get a record for a transaction
*
*
* .proto.TransactionGetRecordResponse transactionGetRecord = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TransactionGetRecordResponse, com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.Builder, com.hederahashgraph.api.proto.java.TransactionGetRecordResponseOrBuilder>
getTransactionGetRecordFieldBuilder() {
if (transactionGetRecordBuilder_ == null) {
if (!(responseCase_ == 15)) {
response_ = com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.getDefaultInstance();
}
transactionGetRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TransactionGetRecordResponse, com.hederahashgraph.api.proto.java.TransactionGetRecordResponse.Builder, com.hederahashgraph.api.proto.java.TransactionGetRecordResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.TransactionGetRecordResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 15;
onChanged();;
return transactionGetRecordBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse, com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.Builder, com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponseOrBuilder> transactionGetFastRecordBuilder_;
/**
*
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
public boolean hasTransactionGetFastRecord() {
return responseCase_ == 16;
}
/**
*
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
public com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse getTransactionGetFastRecord() {
if (transactionGetFastRecordBuilder_ == null) {
if (responseCase_ == 16) {
return (com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse) response_;
}
return com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.getDefaultInstance();
} else {
if (responseCase_ == 16) {
return transactionGetFastRecordBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.getDefaultInstance();
}
}
/**
*
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
public Builder setTransactionGetFastRecord(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse value) {
if (transactionGetFastRecordBuilder_ == null) {
if (responseCase_ == 16 &&
response_ != com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.newBuilder((com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 16) {
transactionGetFastRecordBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.Builder getTransactionGetFastRecordBuilder() {
return getTransactionGetFastRecordFieldBuilder().getBuilder();
}
/**
*
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
public com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponseOrBuilder getTransactionGetFastRecordOrBuilder() {
if ((responseCase_ == 16) && (transactionGetFastRecordBuilder_ != null)) {
return transactionGetFastRecordBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 16) {
return (com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse) response_;
}
return com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.getDefaultInstance();
}
}
/**
*
* Get a record for a transaction (lasts 180 seconds)
*
*
* .proto.TransactionGetFastRecordResponse transactionGetFastRecord = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse, com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.Builder, com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponseOrBuilder>
getTransactionGetFastRecordFieldBuilder() {
if (transactionGetFastRecordBuilder_ == null) {
if (!(responseCase_ == 16)) {
response_ = com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.getDefaultInstance();
}
transactionGetFastRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse, com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse.Builder, com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.TransactionGetFastRecordResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 16;
onChanged();;
return transactionGetFastRecordBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse, com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.Builder, com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponseOrBuilder> consensusGetTopicInfoBuilder_;
/**
*
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
public boolean hasConsensusGetTopicInfo() {
return responseCase_ == 150;
}
/**
*
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
public com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse getConsensusGetTopicInfo() {
if (consensusGetTopicInfoBuilder_ == null) {
if (responseCase_ == 150) {
return (com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 150) {
return consensusGetTopicInfoBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.getDefaultInstance();
}
}
/**
*
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
public Builder setConsensusGetTopicInfo(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse value) {
if (consensusGetTopicInfoBuilder_ == null) {
if (responseCase_ == 150 &&
response_ != com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.newBuilder((com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 150) {
consensusGetTopicInfoBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.Builder getConsensusGetTopicInfoBuilder() {
return getConsensusGetTopicInfoFieldBuilder().getBuilder();
}
/**
*
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
public com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponseOrBuilder getConsensusGetTopicInfoOrBuilder() {
if ((responseCase_ == 150) && (consensusGetTopicInfoBuilder_ != null)) {
return consensusGetTopicInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 150) {
return (com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.getDefaultInstance();
}
}
/**
*
* Parameters of and state of a consensus topic..
*
*
* .proto.ConsensusGetTopicInfoResponse consensusGetTopicInfo = 150;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse, com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.Builder, com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponseOrBuilder>
getConsensusGetTopicInfoFieldBuilder() {
if (consensusGetTopicInfoBuilder_ == null) {
if (!(responseCase_ == 150)) {
response_ = com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.getDefaultInstance();
}
consensusGetTopicInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse, com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse.Builder, com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 150;
onChanged();;
return consensusGetTopicInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse, com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.Builder, com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponseOrBuilder> networkGetVersionInfoBuilder_;
/**
*
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
public boolean hasNetworkGetVersionInfo() {
return responseCase_ == 151;
}
/**
*
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
public com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse getNetworkGetVersionInfo() {
if (networkGetVersionInfoBuilder_ == null) {
if (responseCase_ == 151) {
return (com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 151) {
return networkGetVersionInfoBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.getDefaultInstance();
}
}
/**
*
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
public Builder setNetworkGetVersionInfo(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse value) {
if (networkGetVersionInfoBuilder_ == null) {
if (responseCase_ == 151 &&
response_ != com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.newBuilder((com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 151) {
networkGetVersionInfoBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.Builder getNetworkGetVersionInfoBuilder() {
return getNetworkGetVersionInfoFieldBuilder().getBuilder();
}
/**
*
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
public com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponseOrBuilder getNetworkGetVersionInfoOrBuilder() {
if ((responseCase_ == 151) && (networkGetVersionInfoBuilder_ != null)) {
return networkGetVersionInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 151) {
return (com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.getDefaultInstance();
}
}
/**
*
* Semantic versions of Hedera Services and HAPI proto
*
*
* .proto.NetworkGetVersionInfoResponse networkGetVersionInfo = 151;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse, com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.Builder, com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponseOrBuilder>
getNetworkGetVersionInfoFieldBuilder() {
if (networkGetVersionInfoBuilder_ == null) {
if (!(responseCase_ == 151)) {
response_ = com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.getDefaultInstance();
}
networkGetVersionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse, com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse.Builder, com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.NetworkGetVersionInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 151;
onChanged();;
return networkGetVersionInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenGetInfoResponse, com.hederahashgraph.api.proto.java.TokenGetInfoResponse.Builder, com.hederahashgraph.api.proto.java.TokenGetInfoResponseOrBuilder> tokenGetInfoBuilder_;
/**
*
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
public boolean hasTokenGetInfo() {
return responseCase_ == 152;
}
/**
*
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
public com.hederahashgraph.api.proto.java.TokenGetInfoResponse getTokenGetInfo() {
if (tokenGetInfoBuilder_ == null) {
if (responseCase_ == 152) {
return (com.hederahashgraph.api.proto.java.TokenGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.TokenGetInfoResponse.getDefaultInstance();
} else {
if (responseCase_ == 152) {
return tokenGetInfoBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenGetInfoResponse.getDefaultInstance();
}
}
/**
*
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
public Builder setTokenGetInfo(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TokenGetInfoResponse value) {
if (tokenGetInfoBuilder_ == null) {
if (responseCase_ == 152 &&
response_ != com.hederahashgraph.api.proto.java.TokenGetInfoResponse.getDefaultInstance()) {
response_ = com.hederahashgraph.api.proto.java.TokenGetInfoResponse.newBuilder((com.hederahashgraph.api.proto.java.TokenGetInfoResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 152) {
tokenGetInfoBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.TokenGetInfoResponse.Builder getTokenGetInfoBuilder() {
return getTokenGetInfoFieldBuilder().getBuilder();
}
/**
*
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
public com.hederahashgraph.api.proto.java.TokenGetInfoResponseOrBuilder getTokenGetInfoOrBuilder() {
if ((responseCase_ == 152) && (tokenGetInfoBuilder_ != null)) {
return tokenGetInfoBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 152) {
return (com.hederahashgraph.api.proto.java.TokenGetInfoResponse) response_;
}
return com.hederahashgraph.api.proto.java.TokenGetInfoResponse.getDefaultInstance();
}
}
/**
*
* Get all information about a token
*
*
* .proto.TokenGetInfoResponse tokenGetInfo = 152;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenGetInfoResponse, com.hederahashgraph.api.proto.java.TokenGetInfoResponse.Builder, com.hederahashgraph.api.proto.java.TokenGetInfoResponseOrBuilder>
getTokenGetInfoFieldBuilder() {
if (tokenGetInfoBuilder_ == null) {
if (!(responseCase_ == 152)) {
response_ = com.hederahashgraph.api.proto.java.TokenGetInfoResponse.getDefaultInstance();
}
tokenGetInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenGetInfoResponse, com.hederahashgraph.api.proto.java.TokenGetInfoResponse.Builder, com.hederahashgraph.api.proto.java.TokenGetInfoResponseOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenGetInfoResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 152;
onChanged();;
return tokenGetInfoBuilder_;
}
@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.hederahashgraph.api.proto.java.Response DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.Response();
}
public static com.hederahashgraph.api.proto.java.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 {
return new Response(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.Response getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy