Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ContractGetRecordsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ContractGetRecordsResponse,ContractGetRecordsResponse.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ContractGetRecordsResponse,ContractGetRecordsResponse.Builder>
com.hedera.hashgraph.sdk.proto.ContractGetRecordsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ContractGetRecordsResponseOrBuilder,Cloneable
- Enclosing class:
ContractGetRecordsResponse
public static final class ContractGetRecordsResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ContractGetRecordsResponse,ContractGetRecordsResponse.Builder>
implements ContractGetRecordsResponseOrBuilder
* Deprecated and not supported after release `0.9.0`. Response with records of all transactions against the given contract in the last 25 hours.Protobuf type
proto.ContractGetRecordsResponse-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllRecords(Iterable<? extends TransactionRecord> values) * A list of records, each with contractCreateResult or contractCallResult as its bodyaddRecords(int index, TransactionRecord value) * A list of records, each with contractCreateResult or contractCallResult as its bodyaddRecords(int index, TransactionRecord.Builder builderForValue) * A list of records, each with contractCreateResult or contractCallResult as its bodyaddRecords(TransactionRecord value) * A list of records, each with contractCreateResult or contractCallResult as its bodyaddRecords(TransactionRecord.Builder builderForValue) * A list of records, each with contractCreateResult or contractCallResult as its body* A smart contract that this response describes.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* A list of records, each with contractCreateResult or contractCallResult as its body* A smart contract that this response describes.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).getRecords(int index) * A list of records, each with contractCreateResult or contractCallResult as its bodyint* A list of records, each with contractCreateResult or contractCallResult as its body* A list of records, each with contractCreateResult or contractCallResult as its bodyboolean* A smart contract that this response describes.boolean* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).mergeContractID(ContractID value) * A smart contract that this response describes.mergeHeader(ResponseHeader value) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).removeRecords(int index) * A list of records, each with contractCreateResult or contractCallResult as its bodysetContractID(ContractID value) * A smart contract that this response describes.setContractID(ContractID.Builder builderForValue) * A smart contract that this response describes.setHeader(ResponseHeader value) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).setHeader(ResponseHeader.Builder builderForValue) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).setRecords(int index, TransactionRecord value) * A list of records, each with contractCreateResult or contractCallResult as its bodysetRecords(int index, TransactionRecord.Builder builderForValue) * A list of records, each with contractCreateResult or contractCallResult as its bodyMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasHeader
public boolean hasHeader()* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1;- Specified by:
hasHeaderin interfaceContractGetRecordsResponseOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1;- Specified by:
getHeaderin interfaceContractGetRecordsResponseOrBuilder- Returns:
- The header.
-
setHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1; -
setHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1; -
mergeHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1; -
clearHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1; -
hasContractID
public boolean hasContractID()* A smart contract that this response describes.
.proto.ContractID contractID = 2;- Specified by:
hasContractIDin interfaceContractGetRecordsResponseOrBuilder- Returns:
- Whether the contractID field is set.
-
getContractID
* A smart contract that this response describes.
.proto.ContractID contractID = 2;- Specified by:
getContractIDin interfaceContractGetRecordsResponseOrBuilder- Returns:
- The contractID.
-
setContractID
* A smart contract that this response describes.
.proto.ContractID contractID = 2; -
setContractID
* A smart contract that this response describes.
.proto.ContractID contractID = 2; -
mergeContractID
* A smart contract that this response describes.
.proto.ContractID contractID = 2; -
clearContractID
* A smart contract that this response describes.
.proto.ContractID contractID = 2; -
getRecordsList
* A list of records, each with contractCreateResult or contractCallResult as its body
repeated .proto.TransactionRecord records = 3;- Specified by:
getRecordsListin interfaceContractGetRecordsResponseOrBuilder
-
getRecordsCount
public int getRecordsCount()* A list of records, each with contractCreateResult or contractCallResult as its body
repeated .proto.TransactionRecord records = 3;- Specified by:
getRecordsCountin interfaceContractGetRecordsResponseOrBuilder
-
getRecords
* A list of records, each with contractCreateResult or contractCallResult as its body
repeated .proto.TransactionRecord records = 3;- Specified by:
getRecordsin interfaceContractGetRecordsResponseOrBuilder
-
setRecords
* A list of records, each with contractCreateResult or contractCallResult as its body
repeated .proto.TransactionRecord records = 3; -
setRecords
public ContractGetRecordsResponse.Builder setRecords(int index, TransactionRecord.Builder builderForValue) * A list of records, each with contractCreateResult or contractCallResult as its body
repeated .proto.TransactionRecord records = 3; -
addRecords
* A list of records, each with contractCreateResult or contractCallResult as its body
repeated .proto.TransactionRecord records = 3; -
addRecords
* A list of records, each with contractCreateResult or contractCallResult as its body
repeated .proto.TransactionRecord records = 3; -
addRecords
* A list of records, each with contractCreateResult or contractCallResult as its body
repeated .proto.TransactionRecord records = 3; -
addRecords
public ContractGetRecordsResponse.Builder addRecords(int index, TransactionRecord.Builder builderForValue) * A list of records, each with contractCreateResult or contractCallResult as its body
repeated .proto.TransactionRecord records = 3; -
addAllRecords
public ContractGetRecordsResponse.Builder addAllRecords(Iterable<? extends TransactionRecord> values) * A list of records, each with contractCreateResult or contractCallResult as its body
repeated .proto.TransactionRecord records = 3; -
clearRecords
* A list of records, each with contractCreateResult or contractCallResult as its body
repeated .proto.TransactionRecord records = 3; -
removeRecords
* A list of records, each with contractCreateResult or contractCallResult as its body
repeated .proto.TransactionRecord records = 3;
-