com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-jdk7 Show documentation
Show all versions of sdk-jdk7 Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: transaction_get_record.proto
package com.hedera.hashgraph.sdk.proto;
/**
*
**
* Response when the client sends the node TransactionGetRecordQuery
*
*
* Protobuf type {@code proto.TransactionGetRecordResponse}
*/
public final class TransactionGetRecordResponse extends
com.google.protobuf.GeneratedMessageLite<
TransactionGetRecordResponse, TransactionGetRecordResponse.Builder> implements
// @@protoc_insertion_point(message_implements:proto.TransactionGetRecordResponse)
TransactionGetRecordResponseOrBuilder {
private TransactionGetRecordResponse() {
duplicateTransactionRecords_ = emptyProtobufList();
childTransactionRecords_ = emptyProtobufList();
}
public static final int HEADER_FIELD_NUMBER = 1;
private com.hedera.hashgraph.sdk.proto.ResponseHeader header_;
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
*/
@java.lang.Override
public boolean hasHeader() {
return header_ != null;
}
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ResponseHeader getHeader() {
return header_ == null ? com.hedera.hashgraph.sdk.proto.ResponseHeader.getDefaultInstance() : header_;
}
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
*/
private void setHeader(com.hedera.hashgraph.sdk.proto.ResponseHeader value) {
value.getClass();
header_ = value;
}
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeHeader(com.hedera.hashgraph.sdk.proto.ResponseHeader value) {
value.getClass();
if (header_ != null &&
header_ != com.hedera.hashgraph.sdk.proto.ResponseHeader.getDefaultInstance()) {
header_ =
com.hedera.hashgraph.sdk.proto.ResponseHeader.newBuilder(header_).mergeFrom(value).buildPartial();
} else {
header_ = value;
}
}
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
*/
private void clearHeader() { header_ = null;
}
public static final int TRANSACTIONRECORD_FIELD_NUMBER = 3;
private com.hedera.hashgraph.sdk.proto.TransactionRecord transactionRecord_;
/**
*
**
* Either the record of processing the first consensus transaction with the given id whose
* status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>;
* <b>or</b>, if no such record exists, the record of processing the first transaction to reach
* consensus with the given transaction id.
*
*
* .proto.TransactionRecord transactionRecord = 3;
*/
@java.lang.Override
public boolean hasTransactionRecord() {
return transactionRecord_ != null;
}
/**
*
**
* Either the record of processing the first consensus transaction with the given id whose
* status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>;
* <b>or</b>, if no such record exists, the record of processing the first transaction to reach
* consensus with the given transaction id.
*
*
* .proto.TransactionRecord transactionRecord = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionRecord getTransactionRecord() {
return transactionRecord_ == null ? com.hedera.hashgraph.sdk.proto.TransactionRecord.getDefaultInstance() : transactionRecord_;
}
/**
*
**
* Either the record of processing the first consensus transaction with the given id whose
* status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>;
* <b>or</b>, if no such record exists, the record of processing the first transaction to reach
* consensus with the given transaction id.
*
*
* .proto.TransactionRecord transactionRecord = 3;
*/
private void setTransactionRecord(com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
value.getClass();
transactionRecord_ = value;
}
/**
*
**
* Either the record of processing the first consensus transaction with the given id whose
* status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>;
* <b>or</b>, if no such record exists, the record of processing the first transaction to reach
* consensus with the given transaction id.
*
*
* .proto.TransactionRecord transactionRecord = 3;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTransactionRecord(com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
value.getClass();
if (transactionRecord_ != null &&
transactionRecord_ != com.hedera.hashgraph.sdk.proto.TransactionRecord.getDefaultInstance()) {
transactionRecord_ =
com.hedera.hashgraph.sdk.proto.TransactionRecord.newBuilder(transactionRecord_).mergeFrom(value).buildPartial();
} else {
transactionRecord_ = value;
}
}
/**
*
**
* Either the record of processing the first consensus transaction with the given id whose
* status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>;
* <b>or</b>, if no such record exists, the record of processing the first transaction to reach
* consensus with the given transaction id.
*
*
* .proto.TransactionRecord transactionRecord = 3;
*/
private void clearTransactionRecord() { transactionRecord_ = null;
}
public static final int DUPLICATETRANSACTIONRECORDS_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.ProtobufList duplicateTransactionRecords_;
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
@java.lang.Override
public java.util.List getDuplicateTransactionRecordsList() {
return duplicateTransactionRecords_;
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
public java.util.List extends com.hedera.hashgraph.sdk.proto.TransactionRecordOrBuilder>
getDuplicateTransactionRecordsOrBuilderList() {
return duplicateTransactionRecords_;
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
@java.lang.Override
public int getDuplicateTransactionRecordsCount() {
return duplicateTransactionRecords_.size();
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionRecord getDuplicateTransactionRecords(int index) {
return duplicateTransactionRecords_.get(index);
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
public com.hedera.hashgraph.sdk.proto.TransactionRecordOrBuilder getDuplicateTransactionRecordsOrBuilder(
int index) {
return duplicateTransactionRecords_.get(index);
}
private void ensureDuplicateTransactionRecordsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = duplicateTransactionRecords_;
if (!tmp.isModifiable()) {
duplicateTransactionRecords_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
private void setDuplicateTransactionRecords(
int index, com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
value.getClass();
ensureDuplicateTransactionRecordsIsMutable();
duplicateTransactionRecords_.set(index, value);
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
private void addDuplicateTransactionRecords(com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
value.getClass();
ensureDuplicateTransactionRecordsIsMutable();
duplicateTransactionRecords_.add(value);
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
private void addDuplicateTransactionRecords(
int index, com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
value.getClass();
ensureDuplicateTransactionRecordsIsMutable();
duplicateTransactionRecords_.add(index, value);
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
private void addAllDuplicateTransactionRecords(
java.lang.Iterable extends com.hedera.hashgraph.sdk.proto.TransactionRecord> values) {
ensureDuplicateTransactionRecordsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, duplicateTransactionRecords_);
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
private void clearDuplicateTransactionRecords() {
duplicateTransactionRecords_ = emptyProtobufList();
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
private void removeDuplicateTransactionRecords(int index) {
ensureDuplicateTransactionRecordsIsMutable();
duplicateTransactionRecords_.remove(index);
}
public static final int CHILD_TRANSACTION_RECORDS_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList childTransactionRecords_;
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
@java.lang.Override
public java.util.List getChildTransactionRecordsList() {
return childTransactionRecords_;
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
public java.util.List extends com.hedera.hashgraph.sdk.proto.TransactionRecordOrBuilder>
getChildTransactionRecordsOrBuilderList() {
return childTransactionRecords_;
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
@java.lang.Override
public int getChildTransactionRecordsCount() {
return childTransactionRecords_.size();
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionRecord getChildTransactionRecords(int index) {
return childTransactionRecords_.get(index);
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
public com.hedera.hashgraph.sdk.proto.TransactionRecordOrBuilder getChildTransactionRecordsOrBuilder(
int index) {
return childTransactionRecords_.get(index);
}
private void ensureChildTransactionRecordsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = childTransactionRecords_;
if (!tmp.isModifiable()) {
childTransactionRecords_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
private void setChildTransactionRecords(
int index, com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
value.getClass();
ensureChildTransactionRecordsIsMutable();
childTransactionRecords_.set(index, value);
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
private void addChildTransactionRecords(com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
value.getClass();
ensureChildTransactionRecordsIsMutable();
childTransactionRecords_.add(value);
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
private void addChildTransactionRecords(
int index, com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
value.getClass();
ensureChildTransactionRecordsIsMutable();
childTransactionRecords_.add(index, value);
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
private void addAllChildTransactionRecords(
java.lang.Iterable extends com.hedera.hashgraph.sdk.proto.TransactionRecord> values) {
ensureChildTransactionRecordsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, childTransactionRecords_);
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
private void clearChildTransactionRecords() {
childTransactionRecords_ = emptyProtobufList();
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
private void removeChildTransactionRecords(int index) {
ensureChildTransactionRecordsIsMutable();
childTransactionRecords_.remove(index);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
**
* Response when the client sends the node TransactionGetRecordQuery
*
*
* Protobuf type {@code proto.TransactionGetRecordResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:proto.TransactionGetRecordResponse)
com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponseOrBuilder {
// Construct using com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
*/
@java.lang.Override
public boolean hasHeader() {
return instance.hasHeader();
}
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ResponseHeader getHeader() {
return instance.getHeader();
}
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
*/
public Builder setHeader(com.hedera.hashgraph.sdk.proto.ResponseHeader value) {
copyOnWrite();
instance.setHeader(value);
return this;
}
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
*/
public Builder setHeader(
com.hedera.hashgraph.sdk.proto.ResponseHeader.Builder builderForValue) {
copyOnWrite();
instance.setHeader(builderForValue.build());
return this;
}
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
*/
public Builder mergeHeader(com.hedera.hashgraph.sdk.proto.ResponseHeader value) {
copyOnWrite();
instance.mergeHeader(value);
return this;
}
/**
*
**
* Standard response from node to client, including the requested fields: cost, or state proof,
* or both, or neither.
*
*
* .proto.ResponseHeader header = 1;
*/
public Builder clearHeader() { copyOnWrite();
instance.clearHeader();
return this;
}
/**
*
**
* Either the record of processing the first consensus transaction with the given id whose
* status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>;
* <b>or</b>, if no such record exists, the record of processing the first transaction to reach
* consensus with the given transaction id.
*
*
* .proto.TransactionRecord transactionRecord = 3;
*/
@java.lang.Override
public boolean hasTransactionRecord() {
return instance.hasTransactionRecord();
}
/**
*
**
* Either the record of processing the first consensus transaction with the given id whose
* status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>;
* <b>or</b>, if no such record exists, the record of processing the first transaction to reach
* consensus with the given transaction id.
*
*
* .proto.TransactionRecord transactionRecord = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionRecord getTransactionRecord() {
return instance.getTransactionRecord();
}
/**
*
**
* Either the record of processing the first consensus transaction with the given id whose
* status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>;
* <b>or</b>, if no such record exists, the record of processing the first transaction to reach
* consensus with the given transaction id.
*
*
* .proto.TransactionRecord transactionRecord = 3;
*/
public Builder setTransactionRecord(com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
copyOnWrite();
instance.setTransactionRecord(value);
return this;
}
/**
*
**
* Either the record of processing the first consensus transaction with the given id whose
* status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>;
* <b>or</b>, if no such record exists, the record of processing the first transaction to reach
* consensus with the given transaction id.
*
*
* .proto.TransactionRecord transactionRecord = 3;
*/
public Builder setTransactionRecord(
com.hedera.hashgraph.sdk.proto.TransactionRecord.Builder builderForValue) {
copyOnWrite();
instance.setTransactionRecord(builderForValue.build());
return this;
}
/**
*
**
* Either the record of processing the first consensus transaction with the given id whose
* status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>;
* <b>or</b>, if no such record exists, the record of processing the first transaction to reach
* consensus with the given transaction id.
*
*
* .proto.TransactionRecord transactionRecord = 3;
*/
public Builder mergeTransactionRecord(com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
copyOnWrite();
instance.mergeTransactionRecord(value);
return this;
}
/**
*
**
* Either the record of processing the first consensus transaction with the given id whose
* status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>;
* <b>or</b>, if no such record exists, the record of processing the first transaction to reach
* consensus with the given transaction id.
*
*
* .proto.TransactionRecord transactionRecord = 3;
*/
public Builder clearTransactionRecord() { copyOnWrite();
instance.clearTransactionRecord();
return this;
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
@java.lang.Override
public java.util.List getDuplicateTransactionRecordsList() {
return java.util.Collections.unmodifiableList(
instance.getDuplicateTransactionRecordsList());
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
@java.lang.Override
public int getDuplicateTransactionRecordsCount() {
return instance.getDuplicateTransactionRecordsCount();
}/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionRecord getDuplicateTransactionRecords(int index) {
return instance.getDuplicateTransactionRecords(index);
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
public Builder setDuplicateTransactionRecords(
int index, com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
copyOnWrite();
instance.setDuplicateTransactionRecords(index, value);
return this;
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
public Builder setDuplicateTransactionRecords(
int index, com.hedera.hashgraph.sdk.proto.TransactionRecord.Builder builderForValue) {
copyOnWrite();
instance.setDuplicateTransactionRecords(index,
builderForValue.build());
return this;
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
public Builder addDuplicateTransactionRecords(com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
copyOnWrite();
instance.addDuplicateTransactionRecords(value);
return this;
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
public Builder addDuplicateTransactionRecords(
int index, com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
copyOnWrite();
instance.addDuplicateTransactionRecords(index, value);
return this;
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
public Builder addDuplicateTransactionRecords(
com.hedera.hashgraph.sdk.proto.TransactionRecord.Builder builderForValue) {
copyOnWrite();
instance.addDuplicateTransactionRecords(builderForValue.build());
return this;
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
public Builder addDuplicateTransactionRecords(
int index, com.hedera.hashgraph.sdk.proto.TransactionRecord.Builder builderForValue) {
copyOnWrite();
instance.addDuplicateTransactionRecords(index,
builderForValue.build());
return this;
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
public Builder addAllDuplicateTransactionRecords(
java.lang.Iterable extends com.hedera.hashgraph.sdk.proto.TransactionRecord> values) {
copyOnWrite();
instance.addAllDuplicateTransactionRecords(values);
return this;
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
public Builder clearDuplicateTransactionRecords() {
copyOnWrite();
instance.clearDuplicateTransactionRecords();
return this;
}
/**
*
**
* The records of processing all consensus transaction with the same id as the distinguished
* record above, in chronological order.
*
*
* repeated .proto.TransactionRecord duplicateTransactionRecords = 4;
*/
public Builder removeDuplicateTransactionRecords(int index) {
copyOnWrite();
instance.removeDuplicateTransactionRecords(index);
return this;
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
@java.lang.Override
public java.util.List getChildTransactionRecordsList() {
return java.util.Collections.unmodifiableList(
instance.getChildTransactionRecordsList());
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
@java.lang.Override
public int getChildTransactionRecordsCount() {
return instance.getChildTransactionRecordsCount();
}/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionRecord getChildTransactionRecords(int index) {
return instance.getChildTransactionRecords(index);
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
public Builder setChildTransactionRecords(
int index, com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
copyOnWrite();
instance.setChildTransactionRecords(index, value);
return this;
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
public Builder setChildTransactionRecords(
int index, com.hedera.hashgraph.sdk.proto.TransactionRecord.Builder builderForValue) {
copyOnWrite();
instance.setChildTransactionRecords(index,
builderForValue.build());
return this;
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
public Builder addChildTransactionRecords(com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
copyOnWrite();
instance.addChildTransactionRecords(value);
return this;
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
public Builder addChildTransactionRecords(
int index, com.hedera.hashgraph.sdk.proto.TransactionRecord value) {
copyOnWrite();
instance.addChildTransactionRecords(index, value);
return this;
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
public Builder addChildTransactionRecords(
com.hedera.hashgraph.sdk.proto.TransactionRecord.Builder builderForValue) {
copyOnWrite();
instance.addChildTransactionRecords(builderForValue.build());
return this;
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
public Builder addChildTransactionRecords(
int index, com.hedera.hashgraph.sdk.proto.TransactionRecord.Builder builderForValue) {
copyOnWrite();
instance.addChildTransactionRecords(index,
builderForValue.build());
return this;
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
public Builder addAllChildTransactionRecords(
java.lang.Iterable extends com.hedera.hashgraph.sdk.proto.TransactionRecord> values) {
copyOnWrite();
instance.addAllChildTransactionRecords(values);
return this;
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
public Builder clearChildTransactionRecords() {
copyOnWrite();
instance.clearChildTransactionRecords();
return this;
}
/**
*
**
* The records of processing all child transaction spawned by the transaction with the given
* top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
*
*
* repeated .proto.TransactionRecord child_transaction_records = 5;
*/
public Builder removeChildTransactionRecords(int index) {
copyOnWrite();
instance.removeChildTransactionRecords(index);
return this;
}
// @@protoc_insertion_point(builder_scope:proto.TransactionGetRecordResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"header_",
"transactionRecord_",
"duplicateTransactionRecords_",
com.hedera.hashgraph.sdk.proto.TransactionRecord.class,
"childTransactionRecords_",
com.hedera.hashgraph.sdk.proto.TransactionRecord.class,
};
java.lang.String info =
"\u0000\u0004\u0000\u0000\u0001\u0005\u0004\u0000\u0002\u0000\u0001\t\u0003\t\u0004" +
"\u001b\u0005\u001b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:proto.TransactionGetRecordResponse)
private static final com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse DEFAULT_INSTANCE;
static {
TransactionGetRecordResponse defaultInstance = new TransactionGetRecordResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TransactionGetRecordResponse.class, defaultInstance);
}
public static com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy