All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: transaction_get_receipt.proto

package com.hedera.hashgraph.sdk.proto;

/**
 * 
 **
 * Response when the client sends the node TransactionGetReceiptQuery. If it created a new entity
 * (account, file, or smart contract instance) then one of the three ID fields will be filled in
 * with the ID of the new entity. Sometimes a single transaction will create more than one new
 * entity, such as when a new contract instance is created, and this also creates the new account
 * that it owned by that instance. No State proof is available for this response
 * 
* * Protobuf type {@code proto.TransactionGetReceiptResponse} */ public final class TransactionGetReceiptResponse extends com.google.protobuf.GeneratedMessageLite< TransactionGetReceiptResponse, TransactionGetReceiptResponse.Builder> implements // @@protoc_insertion_point(message_implements:proto.TransactionGetReceiptResponse) TransactionGetReceiptResponseOrBuilder { private TransactionGetReceiptResponse() { duplicateTransactionReceipts_ = emptyProtobufList(); childTransactionReceipts_ = 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 RECEIPT_FIELD_NUMBER = 2; private com.hedera.hashgraph.sdk.proto.TransactionReceipt receipt_; /** *
   **
   * Either the receipt 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 receipt exists, the receipt of processing the first transaction to
   * reach consensus with the given transaction id.
   * 
* * .proto.TransactionReceipt receipt = 2; */ @java.lang.Override public boolean hasReceipt() { return receipt_ != null; } /** *
   **
   * Either the receipt 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 receipt exists, the receipt of processing the first transaction to
   * reach consensus with the given transaction id.
   * 
* * .proto.TransactionReceipt receipt = 2; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TransactionReceipt getReceipt() { return receipt_ == null ? com.hedera.hashgraph.sdk.proto.TransactionReceipt.getDefaultInstance() : receipt_; } /** *
   **
   * Either the receipt 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 receipt exists, the receipt of processing the first transaction to
   * reach consensus with the given transaction id.
   * 
* * .proto.TransactionReceipt receipt = 2; */ private void setReceipt(com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { value.getClass(); receipt_ = value; } /** *
   **
   * Either the receipt 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 receipt exists, the receipt of processing the first transaction to
   * reach consensus with the given transaction id.
   * 
* * .proto.TransactionReceipt receipt = 2; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeReceipt(com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { value.getClass(); if (receipt_ != null && receipt_ != com.hedera.hashgraph.sdk.proto.TransactionReceipt.getDefaultInstance()) { receipt_ = com.hedera.hashgraph.sdk.proto.TransactionReceipt.newBuilder(receipt_).mergeFrom(value).buildPartial(); } else { receipt_ = value; } } /** *
   **
   * Either the receipt 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 receipt exists, the receipt of processing the first transaction to
   * reach consensus with the given transaction id.
   * 
* * .proto.TransactionReceipt receipt = 2; */ private void clearReceipt() { receipt_ = null; } public static final int DUPLICATETRANSACTIONRECEIPTS_FIELD_NUMBER = 4; private com.google.protobuf.Internal.ProtobufList duplicateTransactionReceipts_; /** *
   **
   * The receipts of processing all transactions with the given id, in consensus time order.
   * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ @java.lang.Override public java.util.List getDuplicateTransactionReceiptsList() { return duplicateTransactionReceipts_; } /** *
   **
   * The receipts of processing all transactions with the given id, in consensus time order.
   * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ public java.util.List getDuplicateTransactionReceiptsOrBuilderList() { return duplicateTransactionReceipts_; } /** *
   **
   * The receipts of processing all transactions with the given id, in consensus time order.
   * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ @java.lang.Override public int getDuplicateTransactionReceiptsCount() { return duplicateTransactionReceipts_.size(); } /** *
   **
   * The receipts of processing all transactions with the given id, in consensus time order.
   * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TransactionReceipt getDuplicateTransactionReceipts(int index) { return duplicateTransactionReceipts_.get(index); } /** *
   **
   * The receipts of processing all transactions with the given id, in consensus time order.
   * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ public com.hedera.hashgraph.sdk.proto.TransactionReceiptOrBuilder getDuplicateTransactionReceiptsOrBuilder( int index) { return duplicateTransactionReceipts_.get(index); } private void ensureDuplicateTransactionReceiptsIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = duplicateTransactionReceipts_; if (!tmp.isModifiable()) { duplicateTransactionReceipts_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
   **
   * The receipts of processing all transactions with the given id, in consensus time order.
   * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ private void setDuplicateTransactionReceipts( int index, com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { value.getClass(); ensureDuplicateTransactionReceiptsIsMutable(); duplicateTransactionReceipts_.set(index, value); } /** *
   **
   * The receipts of processing all transactions with the given id, in consensus time order.
   * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ private void addDuplicateTransactionReceipts(com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { value.getClass(); ensureDuplicateTransactionReceiptsIsMutable(); duplicateTransactionReceipts_.add(value); } /** *
   **
   * The receipts of processing all transactions with the given id, in consensus time order.
   * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ private void addDuplicateTransactionReceipts( int index, com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { value.getClass(); ensureDuplicateTransactionReceiptsIsMutable(); duplicateTransactionReceipts_.add(index, value); } /** *
   **
   * The receipts of processing all transactions with the given id, in consensus time order.
   * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ private void addAllDuplicateTransactionReceipts( java.lang.Iterable values) { ensureDuplicateTransactionReceiptsIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, duplicateTransactionReceipts_); } /** *
   **
   * The receipts of processing all transactions with the given id, in consensus time order.
   * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ private void clearDuplicateTransactionReceipts() { duplicateTransactionReceipts_ = emptyProtobufList(); } /** *
   **
   * The receipts of processing all transactions with the given id, in consensus time order.
   * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ private void removeDuplicateTransactionReceipts(int index) { ensureDuplicateTransactionReceiptsIsMutable(); duplicateTransactionReceipts_.remove(index); } public static final int CHILD_TRANSACTION_RECEIPTS_FIELD_NUMBER = 5; private com.google.protobuf.Internal.ProtobufList childTransactionReceipts_; /** *
   **
   * The receipts (if any) of all child transactions spawned by the transaction with the 
   * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
   * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ @java.lang.Override public java.util.List getChildTransactionReceiptsList() { return childTransactionReceipts_; } /** *
   **
   * The receipts (if any) of all child transactions spawned by the transaction with the 
   * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
   * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ public java.util.List getChildTransactionReceiptsOrBuilderList() { return childTransactionReceipts_; } /** *
   **
   * The receipts (if any) of all child transactions spawned by the transaction with the 
   * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
   * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ @java.lang.Override public int getChildTransactionReceiptsCount() { return childTransactionReceipts_.size(); } /** *
   **
   * The receipts (if any) of all child transactions spawned by the transaction with the 
   * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
   * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TransactionReceipt getChildTransactionReceipts(int index) { return childTransactionReceipts_.get(index); } /** *
   **
   * The receipts (if any) of all child transactions spawned by the transaction with the 
   * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
   * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ public com.hedera.hashgraph.sdk.proto.TransactionReceiptOrBuilder getChildTransactionReceiptsOrBuilder( int index) { return childTransactionReceipts_.get(index); } private void ensureChildTransactionReceiptsIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = childTransactionReceipts_; if (!tmp.isModifiable()) { childTransactionReceipts_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
   **
   * The receipts (if any) of all child transactions spawned by the transaction with the 
   * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
   * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ private void setChildTransactionReceipts( int index, com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { value.getClass(); ensureChildTransactionReceiptsIsMutable(); childTransactionReceipts_.set(index, value); } /** *
   **
   * The receipts (if any) of all child transactions spawned by the transaction with the 
   * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
   * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ private void addChildTransactionReceipts(com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { value.getClass(); ensureChildTransactionReceiptsIsMutable(); childTransactionReceipts_.add(value); } /** *
   **
   * The receipts (if any) of all child transactions spawned by the transaction with the 
   * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
   * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ private void addChildTransactionReceipts( int index, com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { value.getClass(); ensureChildTransactionReceiptsIsMutable(); childTransactionReceipts_.add(index, value); } /** *
   **
   * The receipts (if any) of all child transactions spawned by the transaction with the 
   * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
   * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ private void addAllChildTransactionReceipts( java.lang.Iterable values) { ensureChildTransactionReceiptsIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, childTransactionReceipts_); } /** *
   **
   * The receipts (if any) of all child transactions spawned by the transaction with the 
   * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
   * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ private void clearChildTransactionReceipts() { childTransactionReceipts_ = emptyProtobufList(); } /** *
   **
   * The receipts (if any) of all child transactions spawned by the transaction with the 
   * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
   * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ private void removeChildTransactionReceipts(int index) { ensureChildTransactionReceiptsIsMutable(); childTransactionReceipts_.remove(index); } public static com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse 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.TransactionGetReceiptResponse 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.TransactionGetReceiptResponse 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.TransactionGetReceiptResponse 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.TransactionGetReceiptResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse 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.TransactionGetReceiptResponse 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.TransactionGetReceiptResponse 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.TransactionGetReceiptResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse 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.TransactionGetReceiptResponse 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.TransactionGetReceiptResponse 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.TransactionGetReceiptResponse prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
   **
   * Response when the client sends the node TransactionGetReceiptQuery. If it created a new entity
   * (account, file, or smart contract instance) then one of the three ID fields will be filled in
   * with the ID of the new entity. Sometimes a single transaction will create more than one new
   * entity, such as when a new contract instance is created, and this also creates the new account
   * that it owned by that instance. No State proof is available for this response
   * 
* * Protobuf type {@code proto.TransactionGetReceiptResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse, Builder> implements // @@protoc_insertion_point(builder_implements:proto.TransactionGetReceiptResponse) com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponseOrBuilder { // Construct using com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse.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 receipt 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 receipt exists, the receipt of processing the first transaction to
     * reach consensus with the given transaction id.
     * 
* * .proto.TransactionReceipt receipt = 2; */ @java.lang.Override public boolean hasReceipt() { return instance.hasReceipt(); } /** *
     **
     * Either the receipt 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 receipt exists, the receipt of processing the first transaction to
     * reach consensus with the given transaction id.
     * 
* * .proto.TransactionReceipt receipt = 2; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TransactionReceipt getReceipt() { return instance.getReceipt(); } /** *
     **
     * Either the receipt 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 receipt exists, the receipt of processing the first transaction to
     * reach consensus with the given transaction id.
     * 
* * .proto.TransactionReceipt receipt = 2; */ public Builder setReceipt(com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { copyOnWrite(); instance.setReceipt(value); return this; } /** *
     **
     * Either the receipt 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 receipt exists, the receipt of processing the first transaction to
     * reach consensus with the given transaction id.
     * 
* * .proto.TransactionReceipt receipt = 2; */ public Builder setReceipt( com.hedera.hashgraph.sdk.proto.TransactionReceipt.Builder builderForValue) { copyOnWrite(); instance.setReceipt(builderForValue.build()); return this; } /** *
     **
     * Either the receipt 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 receipt exists, the receipt of processing the first transaction to
     * reach consensus with the given transaction id.
     * 
* * .proto.TransactionReceipt receipt = 2; */ public Builder mergeReceipt(com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { copyOnWrite(); instance.mergeReceipt(value); return this; } /** *
     **
     * Either the receipt 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 receipt exists, the receipt of processing the first transaction to
     * reach consensus with the given transaction id.
     * 
* * .proto.TransactionReceipt receipt = 2; */ public Builder clearReceipt() { copyOnWrite(); instance.clearReceipt(); return this; } /** *
     **
     * The receipts of processing all transactions with the given id, in consensus time order.
     * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ @java.lang.Override public java.util.List getDuplicateTransactionReceiptsList() { return java.util.Collections.unmodifiableList( instance.getDuplicateTransactionReceiptsList()); } /** *
     **
     * The receipts of processing all transactions with the given id, in consensus time order.
     * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ @java.lang.Override public int getDuplicateTransactionReceiptsCount() { return instance.getDuplicateTransactionReceiptsCount(); }/** *
     **
     * The receipts of processing all transactions with the given id, in consensus time order.
     * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TransactionReceipt getDuplicateTransactionReceipts(int index) { return instance.getDuplicateTransactionReceipts(index); } /** *
     **
     * The receipts of processing all transactions with the given id, in consensus time order.
     * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ public Builder setDuplicateTransactionReceipts( int index, com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { copyOnWrite(); instance.setDuplicateTransactionReceipts(index, value); return this; } /** *
     **
     * The receipts of processing all transactions with the given id, in consensus time order.
     * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ public Builder setDuplicateTransactionReceipts( int index, com.hedera.hashgraph.sdk.proto.TransactionReceipt.Builder builderForValue) { copyOnWrite(); instance.setDuplicateTransactionReceipts(index, builderForValue.build()); return this; } /** *
     **
     * The receipts of processing all transactions with the given id, in consensus time order.
     * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ public Builder addDuplicateTransactionReceipts(com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { copyOnWrite(); instance.addDuplicateTransactionReceipts(value); return this; } /** *
     **
     * The receipts of processing all transactions with the given id, in consensus time order.
     * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ public Builder addDuplicateTransactionReceipts( int index, com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { copyOnWrite(); instance.addDuplicateTransactionReceipts(index, value); return this; } /** *
     **
     * The receipts of processing all transactions with the given id, in consensus time order.
     * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ public Builder addDuplicateTransactionReceipts( com.hedera.hashgraph.sdk.proto.TransactionReceipt.Builder builderForValue) { copyOnWrite(); instance.addDuplicateTransactionReceipts(builderForValue.build()); return this; } /** *
     **
     * The receipts of processing all transactions with the given id, in consensus time order.
     * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ public Builder addDuplicateTransactionReceipts( int index, com.hedera.hashgraph.sdk.proto.TransactionReceipt.Builder builderForValue) { copyOnWrite(); instance.addDuplicateTransactionReceipts(index, builderForValue.build()); return this; } /** *
     **
     * The receipts of processing all transactions with the given id, in consensus time order.
     * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ public Builder addAllDuplicateTransactionReceipts( java.lang.Iterable values) { copyOnWrite(); instance.addAllDuplicateTransactionReceipts(values); return this; } /** *
     **
     * The receipts of processing all transactions with the given id, in consensus time order.
     * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ public Builder clearDuplicateTransactionReceipts() { copyOnWrite(); instance.clearDuplicateTransactionReceipts(); return this; } /** *
     **
     * The receipts of processing all transactions with the given id, in consensus time order.
     * 
* * repeated .proto.TransactionReceipt duplicateTransactionReceipts = 4; */ public Builder removeDuplicateTransactionReceipts(int index) { copyOnWrite(); instance.removeDuplicateTransactionReceipts(index); return this; } /** *
     **
     * The receipts (if any) of all child transactions spawned by the transaction with the 
     * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
     * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ @java.lang.Override public java.util.List getChildTransactionReceiptsList() { return java.util.Collections.unmodifiableList( instance.getChildTransactionReceiptsList()); } /** *
     **
     * The receipts (if any) of all child transactions spawned by the transaction with the 
     * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
     * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ @java.lang.Override public int getChildTransactionReceiptsCount() { return instance.getChildTransactionReceiptsCount(); }/** *
     **
     * The receipts (if any) of all child transactions spawned by the transaction with the 
     * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
     * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TransactionReceipt getChildTransactionReceipts(int index) { return instance.getChildTransactionReceipts(index); } /** *
     **
     * The receipts (if any) of all child transactions spawned by the transaction with the 
     * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
     * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ public Builder setChildTransactionReceipts( int index, com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { copyOnWrite(); instance.setChildTransactionReceipts(index, value); return this; } /** *
     **
     * The receipts (if any) of all child transactions spawned by the transaction with the 
     * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
     * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ public Builder setChildTransactionReceipts( int index, com.hedera.hashgraph.sdk.proto.TransactionReceipt.Builder builderForValue) { copyOnWrite(); instance.setChildTransactionReceipts(index, builderForValue.build()); return this; } /** *
     **
     * The receipts (if any) of all child transactions spawned by the transaction with the 
     * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
     * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ public Builder addChildTransactionReceipts(com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { copyOnWrite(); instance.addChildTransactionReceipts(value); return this; } /** *
     **
     * The receipts (if any) of all child transactions spawned by the transaction with the 
     * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
     * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ public Builder addChildTransactionReceipts( int index, com.hedera.hashgraph.sdk.proto.TransactionReceipt value) { copyOnWrite(); instance.addChildTransactionReceipts(index, value); return this; } /** *
     **
     * The receipts (if any) of all child transactions spawned by the transaction with the 
     * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
     * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ public Builder addChildTransactionReceipts( com.hedera.hashgraph.sdk.proto.TransactionReceipt.Builder builderForValue) { copyOnWrite(); instance.addChildTransactionReceipts(builderForValue.build()); return this; } /** *
     **
     * The receipts (if any) of all child transactions spawned by the transaction with the 
     * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
     * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ public Builder addChildTransactionReceipts( int index, com.hedera.hashgraph.sdk.proto.TransactionReceipt.Builder builderForValue) { copyOnWrite(); instance.addChildTransactionReceipts(index, builderForValue.build()); return this; } /** *
     **
     * The receipts (if any) of all child transactions spawned by the transaction with the 
     * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
     * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ public Builder addAllChildTransactionReceipts( java.lang.Iterable values) { copyOnWrite(); instance.addAllChildTransactionReceipts(values); return this; } /** *
     **
     * The receipts (if any) of all child transactions spawned by the transaction with the 
     * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
     * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ public Builder clearChildTransactionReceipts() { copyOnWrite(); instance.clearChildTransactionReceipts(); return this; } /** *
     **
     * The receipts (if any) of all child transactions spawned by the transaction with the 
     * given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
     * 
* * repeated .proto.TransactionReceipt child_transaction_receipts = 5; */ public Builder removeChildTransactionReceipts(int index) { copyOnWrite(); instance.removeChildTransactionReceipts(index); return this; } // @@protoc_insertion_point(builder_scope:proto.TransactionGetReceiptResponse) } @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.TransactionGetReceiptResponse(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "header_", "receipt_", "duplicateTransactionReceipts_", com.hedera.hashgraph.sdk.proto.TransactionReceipt.class, "childTransactionReceipts_", com.hedera.hashgraph.sdk.proto.TransactionReceipt.class, }; java.lang.String info = "\u0000\u0004\u0000\u0000\u0001\u0005\u0004\u0000\u0002\u0000\u0001\t\u0002\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.TransactionGetReceiptResponse.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.TransactionGetReceiptResponse) private static final com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse DEFAULT_INSTANCE; static { TransactionGetReceiptResponse defaultInstance = new TransactionGetReceiptResponse(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( TransactionGetReceiptResponse.class, defaultInstance); } public static com.hedera.hashgraph.sdk.proto.TransactionGetReceiptResponse 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