public static final class Transaction.TransactionToCommit extends com.google.protobuf.GeneratedMessageV3 implements Transaction.TransactionToCommitOrBuilder
Transaction struct to commit to storageProtobuf type
types.TransactionToCommit| Modifier and Type | Class and Description |
|---|---|
static class |
Transaction.TransactionToCommit.Builder
Transaction struct to commit to storage
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ACCOUNT_STATES_FIELD_NUMBER |
static int |
EVENTS_FIELD_NUMBER |
static int |
GAS_USED_FIELD_NUMBER |
static int |
SIGNED_TXN_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Transaction.AccountState |
getAccountStates(int index)
State db updates
|
int |
getAccountStatesCount()
State db updates
|
List<Transaction.AccountState> |
getAccountStatesList()
State db updates
|
Transaction.AccountStateOrBuilder |
getAccountStatesOrBuilder(int index)
State db updates
|
List<? extends Transaction.AccountStateOrBuilder> |
getAccountStatesOrBuilderList()
State db updates
|
static Transaction.TransactionToCommit |
getDefaultInstance() |
Transaction.TransactionToCommit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Events.Event |
getEvents(int index)
Events yielded by the transaction.
|
int |
getEventsCount()
Events yielded by the transaction.
|
List<Events.Event> |
getEventsList()
Events yielded by the transaction.
|
Events.EventOrBuilder |
getEventsOrBuilder(int index)
Events yielded by the transaction.
|
List<? extends Events.EventOrBuilder> |
getEventsOrBuilderList()
Events yielded by the transaction.
|
long |
getGasUsed()
The amount of gas used.
|
com.google.protobuf.Parser<Transaction.TransactionToCommit> |
getParserForType() |
int |
getSerializedSize() |
Transaction.SignedTransaction |
getSignedTxn()
The signed transaction which was executed
|
Transaction.SignedTransactionOrBuilder |
getSignedTxnOrBuilder()
The signed transaction which was executed
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasSignedTxn()
The signed transaction which was executed
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Transaction.TransactionToCommit.Builder |
newBuilder() |
static Transaction.TransactionToCommit.Builder |
newBuilder(Transaction.TransactionToCommit prototype) |
Transaction.TransactionToCommit.Builder |
newBuilderForType() |
protected Transaction.TransactionToCommit.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Transaction.TransactionToCommit |
parseDelimitedFrom(InputStream input) |
static Transaction.TransactionToCommit |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.TransactionToCommit |
parseFrom(byte[] data) |
static Transaction.TransactionToCommit |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.TransactionToCommit |
parseFrom(ByteBuffer data) |
static Transaction.TransactionToCommit |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.TransactionToCommit |
parseFrom(com.google.protobuf.ByteString data) |
static Transaction.TransactionToCommit |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.TransactionToCommit |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Transaction.TransactionToCommit |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.TransactionToCommit |
parseFrom(InputStream input) |
static Transaction.TransactionToCommit |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Transaction.TransactionToCommit> |
parser() |
Transaction.TransactionToCommit.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SIGNED_TXN_FIELD_NUMBER
public static final int ACCOUNT_STATES_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER
public static final int GAS_USED_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasSignedTxn()
The signed transaction which was executed
.types.SignedTransaction signed_txn = 1;hasSignedTxn in interface Transaction.TransactionToCommitOrBuilderpublic Transaction.SignedTransaction getSignedTxn()
The signed transaction which was executed
.types.SignedTransaction signed_txn = 1;getSignedTxn in interface Transaction.TransactionToCommitOrBuilderpublic Transaction.SignedTransactionOrBuilder getSignedTxnOrBuilder()
The signed transaction which was executed
.types.SignedTransaction signed_txn = 1;getSignedTxnOrBuilder in interface Transaction.TransactionToCommitOrBuilderpublic List<Transaction.AccountState> getAccountStatesList()
State db updates
repeated .types.AccountState account_states = 2;getAccountStatesList in interface Transaction.TransactionToCommitOrBuilderpublic List<? extends Transaction.AccountStateOrBuilder> getAccountStatesOrBuilderList()
State db updates
repeated .types.AccountState account_states = 2;getAccountStatesOrBuilderList in interface Transaction.TransactionToCommitOrBuilderpublic int getAccountStatesCount()
State db updates
repeated .types.AccountState account_states = 2;getAccountStatesCount in interface Transaction.TransactionToCommitOrBuilderpublic Transaction.AccountState getAccountStates(int index)
State db updates
repeated .types.AccountState account_states = 2;getAccountStates in interface Transaction.TransactionToCommitOrBuilderpublic Transaction.AccountStateOrBuilder getAccountStatesOrBuilder(int index)
State db updates
repeated .types.AccountState account_states = 2;getAccountStatesOrBuilder in interface Transaction.TransactionToCommitOrBuilderpublic List<Events.Event> getEventsList()
Events yielded by the transaction.
repeated .types.Event events = 3;getEventsList in interface Transaction.TransactionToCommitOrBuilderpublic List<? extends Events.EventOrBuilder> getEventsOrBuilderList()
Events yielded by the transaction.
repeated .types.Event events = 3;getEventsOrBuilderList in interface Transaction.TransactionToCommitOrBuilderpublic int getEventsCount()
Events yielded by the transaction.
repeated .types.Event events = 3;getEventsCount in interface Transaction.TransactionToCommitOrBuilderpublic Events.Event getEvents(int index)
Events yielded by the transaction.
repeated .types.Event events = 3;getEvents in interface Transaction.TransactionToCommitOrBuilderpublic Events.EventOrBuilder getEventsOrBuilder(int index)
Events yielded by the transaction.
repeated .types.Event events = 3;getEventsOrBuilder in interface Transaction.TransactionToCommitOrBuilderpublic long getGasUsed()
The amount of gas used.
uint64 gas_used = 4;getGasUsed in interface Transaction.TransactionToCommitOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Transaction.TransactionToCommit parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.TransactionToCommit parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.TransactionToCommit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.TransactionToCommit parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.TransactionToCommit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.TransactionToCommit parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.TransactionToCommit parseFrom(InputStream input) throws IOException
IOExceptionpublic static Transaction.TransactionToCommit parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Transaction.TransactionToCommit parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Transaction.TransactionToCommit parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Transaction.TransactionToCommit parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Transaction.TransactionToCommit parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Transaction.TransactionToCommit.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Transaction.TransactionToCommit.Builder newBuilder()
public static Transaction.TransactionToCommit.Builder newBuilder(Transaction.TransactionToCommit prototype)
public Transaction.TransactionToCommit.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Transaction.TransactionToCommit.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Transaction.TransactionToCommit getDefaultInstance()
public static com.google.protobuf.Parser<Transaction.TransactionToCommit> parser()
public com.google.protobuf.Parser<Transaction.TransactionToCommit> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Transaction.TransactionToCommit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.