public static final class TransactionInfoOuterClass.TransactionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder> implements TransactionInfoOuterClass.TransactionInfoOrBuilder
`TransactionInfo` is the object we store in the transaction accumulator. It consists of the transaction as well as the execution result of this transaction. This are later returned to the client so that a client can validate the treeProtobuf type
types.TransactionInfo| Modifier and Type | Method and Description |
|---|---|
TransactionInfoOuterClass.TransactionInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransactionInfoOuterClass.TransactionInfo |
build() |
TransactionInfoOuterClass.TransactionInfo |
buildPartial() |
TransactionInfoOuterClass.TransactionInfo.Builder |
clear() |
TransactionInfoOuterClass.TransactionInfo.Builder |
clearEventRootHash()
The root hash of Merkle Accumulator storing all events emitted during this
transaction.
|
TransactionInfoOuterClass.TransactionInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TransactionInfoOuterClass.TransactionInfo.Builder |
clearGasUsed()
The amount of gas used by this transaction.
|
TransactionInfoOuterClass.TransactionInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TransactionInfoOuterClass.TransactionInfo.Builder |
clearSignedTransactionHash()
Hash of the signed transaction that is stored
|
TransactionInfoOuterClass.TransactionInfo.Builder |
clearStateRootHash()
The root hash of Sparse Merkle Tree describing the world state at the end
of this transaction
|
TransactionInfoOuterClass.TransactionInfo.Builder |
clone() |
TransactionInfoOuterClass.TransactionInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getEventRootHash()
The root hash of Merkle Accumulator storing all events emitted during this
transaction.
|
long |
getGasUsed()
The amount of gas used by this transaction.
|
com.google.protobuf.ByteString |
getSignedTransactionHash()
Hash of the signed transaction that is stored
|
com.google.protobuf.ByteString |
getStateRootHash()
The root hash of Sparse Merkle Tree describing the world state at the end
of this transaction
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TransactionInfoOuterClass.TransactionInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TransactionInfoOuterClass.TransactionInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
TransactionInfoOuterClass.TransactionInfo.Builder |
mergeFrom(TransactionInfoOuterClass.TransactionInfo other) |
TransactionInfoOuterClass.TransactionInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransactionInfoOuterClass.TransactionInfo.Builder |
setEventRootHash(com.google.protobuf.ByteString value)
The root hash of Merkle Accumulator storing all events emitted during this
transaction.
|
TransactionInfoOuterClass.TransactionInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransactionInfoOuterClass.TransactionInfo.Builder |
setGasUsed(long value)
The amount of gas used by this transaction.
|
TransactionInfoOuterClass.TransactionInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TransactionInfoOuterClass.TransactionInfo.Builder |
setSignedTransactionHash(com.google.protobuf.ByteString value)
Hash of the signed transaction that is stored
|
TransactionInfoOuterClass.TransactionInfo.Builder |
setStateRootHash(com.google.protobuf.ByteString value)
The root hash of Sparse Merkle Tree describing the world state at the end
of this transaction
|
TransactionInfoOuterClass.TransactionInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>public TransactionInfoOuterClass.TransactionInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>public TransactionInfoOuterClass.TransactionInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TransactionInfoOuterClass.TransactionInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TransactionInfoOuterClass.TransactionInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TransactionInfoOuterClass.TransactionInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>public TransactionInfoOuterClass.TransactionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>public TransactionInfoOuterClass.TransactionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>public TransactionInfoOuterClass.TransactionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>public TransactionInfoOuterClass.TransactionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>public TransactionInfoOuterClass.TransactionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>public TransactionInfoOuterClass.TransactionInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>public TransactionInfoOuterClass.TransactionInfo.Builder mergeFrom(TransactionInfoOuterClass.TransactionInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>public TransactionInfoOuterClass.TransactionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>IOExceptionpublic com.google.protobuf.ByteString getSignedTransactionHash()
Hash of the signed transaction that is stored
bytes signed_transaction_hash = 1;getSignedTransactionHash in interface TransactionInfoOuterClass.TransactionInfoOrBuilderpublic TransactionInfoOuterClass.TransactionInfo.Builder setSignedTransactionHash(com.google.protobuf.ByteString value)
Hash of the signed transaction that is stored
bytes signed_transaction_hash = 1;public TransactionInfoOuterClass.TransactionInfo.Builder clearSignedTransactionHash()
Hash of the signed transaction that is stored
bytes signed_transaction_hash = 1;public com.google.protobuf.ByteString getStateRootHash()
The root hash of Sparse Merkle Tree describing the world state at the end of this transaction
bytes state_root_hash = 2;getStateRootHash in interface TransactionInfoOuterClass.TransactionInfoOrBuilderpublic TransactionInfoOuterClass.TransactionInfo.Builder setStateRootHash(com.google.protobuf.ByteString value)
The root hash of Sparse Merkle Tree describing the world state at the end of this transaction
bytes state_root_hash = 2;public TransactionInfoOuterClass.TransactionInfo.Builder clearStateRootHash()
The root hash of Sparse Merkle Tree describing the world state at the end of this transaction
bytes state_root_hash = 2;public com.google.protobuf.ByteString getEventRootHash()
The root hash of Merkle Accumulator storing all events emitted during this transaction.
bytes event_root_hash = 3;getEventRootHash in interface TransactionInfoOuterClass.TransactionInfoOrBuilderpublic TransactionInfoOuterClass.TransactionInfo.Builder setEventRootHash(com.google.protobuf.ByteString value)
The root hash of Merkle Accumulator storing all events emitted during this transaction.
bytes event_root_hash = 3;public TransactionInfoOuterClass.TransactionInfo.Builder clearEventRootHash()
The root hash of Merkle Accumulator storing all events emitted during this transaction.
bytes event_root_hash = 3;public long getGasUsed()
The amount of gas used by this transaction.
uint64 gas_used = 4;getGasUsed in interface TransactionInfoOuterClass.TransactionInfoOrBuilderpublic TransactionInfoOuterClass.TransactionInfo.Builder setGasUsed(long value)
The amount of gas used by this transaction.
uint64 gas_used = 4;public TransactionInfoOuterClass.TransactionInfo.Builder clearGasUsed()
The amount of gas used by this transaction.
uint64 gas_used = 4;public final TransactionInfoOuterClass.TransactionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>public final TransactionInfoOuterClass.TransactionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionInfoOuterClass.TransactionInfo.Builder>Copyright © 2019. All rights reserved.