public static final class Transaction.RawTransaction extends com.google.protobuf.GeneratedMessageV3 implements Transaction.RawTransactionOrBuilder
A generic structure that describes a transaction that a client submitsProtobuf type
types.RawTransaction| Modifier and Type | Class and Description |
|---|---|
static class |
Transaction.RawTransaction.Builder
A generic structure that describes a transaction that a client submits
|
static class |
Transaction.RawTransaction.PayloadCase |
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 |
EXPIRATION_TIME_FIELD_NUMBER |
static int |
GAS_UNIT_PRICE_FIELD_NUMBER |
static int |
MAX_GAS_AMOUNT_FIELD_NUMBER |
static int |
MODULE_FIELD_NUMBER |
static int |
PROGRAM_FIELD_NUMBER |
static int |
SCRIPT_FIELD_NUMBER |
static int |
SENDER_ACCOUNT_FIELD_NUMBER |
static int |
SEQUENCE_NUMBER_FIELD_NUMBER |
static int |
WRITE_SET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Transaction.RawTransaction |
getDefaultInstance() |
Transaction.RawTransaction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getExpirationTime()
Expiration time for this transaction.
|
long |
getGasUnitPrice()
The price to be paid for each unit of gas.
|
long |
getMaxGasAmount()
Maximal total gas specified by wallet to spend for this transaction.
|
Transaction.Module |
getModule()
The MOVE Module to publish.
|
Transaction.ModuleOrBuilder |
getModuleOrBuilder()
The MOVE Module to publish.
|
com.google.protobuf.Parser<Transaction.RawTransaction> |
getParserForType() |
Transaction.RawTransaction.PayloadCase |
getPayloadCase() |
Transaction.Program |
getProgram()
The transaction script to execute.
|
Transaction.ProgramOrBuilder |
getProgramOrBuilder()
The transaction script to execute.
|
Transaction.Script |
getScript()
The transaction script to execute.
|
Transaction.ScriptOrBuilder |
getScriptOrBuilder()
The transaction script to execute.
|
com.google.protobuf.ByteString |
getSenderAccount()
Sender's account address
|
long |
getSequenceNumber()
Sequence number of this transaction corresponding to sender's account.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Transaction.WriteSet |
getWriteSet()
A write set, used for genesis blocks and other magic transactions.
|
Transaction.WriteSetOrBuilder |
getWriteSetOrBuilder()
A write set, used for genesis blocks and other magic transactions.
|
int |
hashCode() |
boolean |
hasModule()
The MOVE Module to publish.
|
boolean |
hasProgram()
The transaction script to execute.
|
boolean |
hasScript()
The transaction script to execute.
|
boolean |
hasWriteSet()
A write set, used for genesis blocks and other magic transactions.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Transaction.RawTransaction.Builder |
newBuilder() |
static Transaction.RawTransaction.Builder |
newBuilder(Transaction.RawTransaction prototype) |
Transaction.RawTransaction.Builder |
newBuilderForType() |
protected Transaction.RawTransaction.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Transaction.RawTransaction |
parseDelimitedFrom(InputStream input) |
static Transaction.RawTransaction |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.RawTransaction |
parseFrom(byte[] data) |
static Transaction.RawTransaction |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.RawTransaction |
parseFrom(ByteBuffer data) |
static Transaction.RawTransaction |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.RawTransaction |
parseFrom(com.google.protobuf.ByteString data) |
static Transaction.RawTransaction |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.RawTransaction |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Transaction.RawTransaction |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.RawTransaction |
parseFrom(InputStream input) |
static Transaction.RawTransaction |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Transaction.RawTransaction> |
parser() |
Transaction.RawTransaction.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 SENDER_ACCOUNT_FIELD_NUMBER
public static final int SEQUENCE_NUMBER_FIELD_NUMBER
public static final int PROGRAM_FIELD_NUMBER
public static final int WRITE_SET_FIELD_NUMBER
public static final int SCRIPT_FIELD_NUMBER
public static final int MODULE_FIELD_NUMBER
public static final int MAX_GAS_AMOUNT_FIELD_NUMBER
public static final int GAS_UNIT_PRICE_FIELD_NUMBER
public static final int EXPIRATION_TIME_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 Transaction.RawTransaction.PayloadCase getPayloadCase()
getPayloadCase in interface Transaction.RawTransactionOrBuilderpublic com.google.protobuf.ByteString getSenderAccount()
Sender's account address
bytes sender_account = 1;getSenderAccount in interface Transaction.RawTransactionOrBuilderpublic long getSequenceNumber()
Sequence number of this transaction corresponding to sender's account.
uint64 sequence_number = 2;getSequenceNumber in interface Transaction.RawTransactionOrBuilderpublic boolean hasProgram()
The transaction script to execute.
.types.Program program = 3;hasProgram in interface Transaction.RawTransactionOrBuilderpublic Transaction.Program getProgram()
The transaction script to execute.
.types.Program program = 3;getProgram in interface Transaction.RawTransactionOrBuilderpublic Transaction.ProgramOrBuilder getProgramOrBuilder()
The transaction script to execute.
.types.Program program = 3;getProgramOrBuilder in interface Transaction.RawTransactionOrBuilderpublic boolean hasWriteSet()
A write set, used for genesis blocks and other magic transactions. This bypasses the rules for regular transactions so will typically be rejected. Only under special circumstances will it be accepted.
.types.WriteSet write_set = 4;hasWriteSet in interface Transaction.RawTransactionOrBuilderpublic Transaction.WriteSet getWriteSet()
A write set, used for genesis blocks and other magic transactions. This bypasses the rules for regular transactions so will typically be rejected. Only under special circumstances will it be accepted.
.types.WriteSet write_set = 4;getWriteSet in interface Transaction.RawTransactionOrBuilderpublic Transaction.WriteSetOrBuilder getWriteSetOrBuilder()
A write set, used for genesis blocks and other magic transactions. This bypasses the rules for regular transactions so will typically be rejected. Only under special circumstances will it be accepted.
.types.WriteSet write_set = 4;getWriteSetOrBuilder in interface Transaction.RawTransactionOrBuilderpublic boolean hasScript()
The transaction script to execute.
.types.Script script = 8;hasScript in interface Transaction.RawTransactionOrBuilderpublic Transaction.Script getScript()
The transaction script to execute.
.types.Script script = 8;getScript in interface Transaction.RawTransactionOrBuilderpublic Transaction.ScriptOrBuilder getScriptOrBuilder()
The transaction script to execute.
.types.Script script = 8;getScriptOrBuilder in interface Transaction.RawTransactionOrBuilderpublic boolean hasModule()
The MOVE Module to publish.
.types.Module module = 9;hasModule in interface Transaction.RawTransactionOrBuilderpublic Transaction.Module getModule()
The MOVE Module to publish.
.types.Module module = 9;getModule in interface Transaction.RawTransactionOrBuilderpublic Transaction.ModuleOrBuilder getModuleOrBuilder()
The MOVE Module to publish.
.types.Module module = 9;getModuleOrBuilder in interface Transaction.RawTransactionOrBuilderpublic long getMaxGasAmount()
Maximal total gas specified by wallet to spend for this transaction.
uint64 max_gas_amount = 5;getMaxGasAmount in interface Transaction.RawTransactionOrBuilderpublic long getGasUnitPrice()
The price to be paid for each unit of gas.
uint64 gas_unit_price = 6;getGasUnitPrice in interface Transaction.RawTransactionOrBuilderpublic long getExpirationTime()
Expiration time for this transaction. If storage is queried and the time returned is greater than or equal to this time and this transaction has not been included, you can be certain that it will never be included. If set to 0, there will be no expiration time
uint64 expiration_time = 7;getExpirationTime in interface Transaction.RawTransactionOrBuilderpublic 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.RawTransaction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.RawTransaction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.RawTransaction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.RawTransaction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.RawTransaction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.RawTransaction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.RawTransaction parseFrom(InputStream input) throws IOException
IOExceptionpublic static Transaction.RawTransaction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Transaction.RawTransaction parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Transaction.RawTransaction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Transaction.RawTransaction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Transaction.RawTransaction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Transaction.RawTransaction.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Transaction.RawTransaction.Builder newBuilder()
public static Transaction.RawTransaction.Builder newBuilder(Transaction.RawTransaction prototype)
public Transaction.RawTransaction.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Transaction.RawTransaction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Transaction.RawTransaction getDefaultInstance()
public static com.google.protobuf.Parser<Transaction.RawTransaction> parser()
public com.google.protobuf.Parser<Transaction.RawTransaction> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Transaction.RawTransaction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.