public static final class Transaction.RawTransaction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Transaction.RawTransaction.Builder> implements Transaction.RawTransactionOrBuilder
A generic structure that describes a transaction that a client submitsProtobuf type
types.RawTransaction| Modifier and Type | Method and Description |
|---|---|
Transaction.RawTransaction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Transaction.RawTransaction |
build() |
Transaction.RawTransaction |
buildPartial() |
Transaction.RawTransaction.Builder |
clear() |
Transaction.RawTransaction.Builder |
clearExpirationTime()
Expiration time for this transaction.
|
Transaction.RawTransaction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Transaction.RawTransaction.Builder |
clearGasUnitPrice()
The price to be paid for each unit of gas.
|
Transaction.RawTransaction.Builder |
clearMaxGasAmount()
Maximal total gas specified by wallet to spend for this transaction.
|
Transaction.RawTransaction.Builder |
clearModule()
The MOVE Module to publish.
|
Transaction.RawTransaction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Transaction.RawTransaction.Builder |
clearPayload() |
Transaction.RawTransaction.Builder |
clearProgram()
The transaction script to execute.
|
Transaction.RawTransaction.Builder |
clearScript()
The transaction script to execute.
|
Transaction.RawTransaction.Builder |
clearSenderAccount()
Sender's account address
|
Transaction.RawTransaction.Builder |
clearSequenceNumber()
Sequence number of this transaction corresponding to sender's account.
|
Transaction.RawTransaction.Builder |
clearWriteSet()
A write set, used for genesis blocks and other magic transactions.
|
Transaction.RawTransaction.Builder |
clone() |
Transaction.RawTransaction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.Module.Builder |
getModuleBuilder()
The MOVE Module to publish.
|
Transaction.ModuleOrBuilder |
getModuleOrBuilder()
The MOVE Module to publish.
|
Transaction.RawTransaction.PayloadCase |
getPayloadCase() |
Transaction.Program |
getProgram()
The transaction script to execute.
|
Transaction.Program.Builder |
getProgramBuilder()
The transaction script to execute.
|
Transaction.ProgramOrBuilder |
getProgramOrBuilder()
The transaction script to execute.
|
Transaction.Script |
getScript()
The transaction script to execute.
|
Transaction.Script.Builder |
getScriptBuilder()
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.
|
Transaction.WriteSet |
getWriteSet()
A write set, used for genesis blocks and other magic transactions.
|
Transaction.WriteSet.Builder |
getWriteSetBuilder()
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.
|
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() |
Transaction.RawTransaction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Transaction.RawTransaction.Builder |
mergeFrom(com.google.protobuf.Message other) |
Transaction.RawTransaction.Builder |
mergeFrom(Transaction.RawTransaction other) |
Transaction.RawTransaction.Builder |
mergeModule(Transaction.Module value)
The MOVE Module to publish.
|
Transaction.RawTransaction.Builder |
mergeProgram(Transaction.Program value)
The transaction script to execute.
|
Transaction.RawTransaction.Builder |
mergeScript(Transaction.Script value)
The transaction script to execute.
|
Transaction.RawTransaction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Transaction.RawTransaction.Builder |
mergeWriteSet(Transaction.WriteSet value)
A write set, used for genesis blocks and other magic transactions.
|
Transaction.RawTransaction.Builder |
setExpirationTime(long value)
Expiration time for this transaction.
|
Transaction.RawTransaction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Transaction.RawTransaction.Builder |
setGasUnitPrice(long value)
The price to be paid for each unit of gas.
|
Transaction.RawTransaction.Builder |
setMaxGasAmount(long value)
Maximal total gas specified by wallet to spend for this transaction.
|
Transaction.RawTransaction.Builder |
setModule(Transaction.Module.Builder builderForValue)
The MOVE Module to publish.
|
Transaction.RawTransaction.Builder |
setModule(Transaction.Module value)
The MOVE Module to publish.
|
Transaction.RawTransaction.Builder |
setProgram(Transaction.Program.Builder builderForValue)
The transaction script to execute.
|
Transaction.RawTransaction.Builder |
setProgram(Transaction.Program value)
The transaction script to execute.
|
Transaction.RawTransaction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Transaction.RawTransaction.Builder |
setScript(Transaction.Script.Builder builderForValue)
The transaction script to execute.
|
Transaction.RawTransaction.Builder |
setScript(Transaction.Script value)
The transaction script to execute.
|
Transaction.RawTransaction.Builder |
setSenderAccount(com.google.protobuf.ByteString value)
Sender's account address
|
Transaction.RawTransaction.Builder |
setSequenceNumber(long value)
Sequence number of this transaction corresponding to sender's account.
|
Transaction.RawTransaction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Transaction.RawTransaction.Builder |
setWriteSet(Transaction.WriteSet.Builder builderForValue)
A write set, used for genesis blocks and other magic transactions.
|
Transaction.RawTransaction.Builder |
setWriteSet(Transaction.WriteSet value)
A write set, used for genesis blocks and other magic transactions.
|
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<Transaction.RawTransaction.Builder>public Transaction.RawTransaction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.RawTransaction.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<Transaction.RawTransaction.Builder>public Transaction.RawTransaction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Transaction.RawTransaction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Transaction.RawTransaction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Transaction.RawTransaction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.RawTransaction.Builder>public Transaction.RawTransaction.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<Transaction.RawTransaction.Builder>public Transaction.RawTransaction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.RawTransaction.Builder>public Transaction.RawTransaction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.RawTransaction.Builder>public Transaction.RawTransaction.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<Transaction.RawTransaction.Builder>public Transaction.RawTransaction.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<Transaction.RawTransaction.Builder>public Transaction.RawTransaction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Transaction.RawTransaction.Builder>public Transaction.RawTransaction.Builder mergeFrom(Transaction.RawTransaction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.RawTransaction.Builder>public Transaction.RawTransaction.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<Transaction.RawTransaction.Builder>IOExceptionpublic Transaction.RawTransaction.PayloadCase getPayloadCase()
getPayloadCase in interface Transaction.RawTransactionOrBuilderpublic Transaction.RawTransaction.Builder clearPayload()
public com.google.protobuf.ByteString getSenderAccount()
Sender's account address
bytes sender_account = 1;getSenderAccount in interface Transaction.RawTransactionOrBuilderpublic Transaction.RawTransaction.Builder setSenderAccount(com.google.protobuf.ByteString value)
Sender's account address
bytes sender_account = 1;public Transaction.RawTransaction.Builder clearSenderAccount()
Sender's account address
bytes sender_account = 1;public long getSequenceNumber()
Sequence number of this transaction corresponding to sender's account.
uint64 sequence_number = 2;getSequenceNumber in interface Transaction.RawTransactionOrBuilderpublic Transaction.RawTransaction.Builder setSequenceNumber(long value)
Sequence number of this transaction corresponding to sender's account.
uint64 sequence_number = 2;public Transaction.RawTransaction.Builder clearSequenceNumber()
Sequence number of this transaction corresponding to sender's account.
uint64 sequence_number = 2;public 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.RawTransaction.Builder setProgram(Transaction.Program value)
The transaction script to execute.
.types.Program program = 3;public Transaction.RawTransaction.Builder setProgram(Transaction.Program.Builder builderForValue)
The transaction script to execute.
.types.Program program = 3;public Transaction.RawTransaction.Builder mergeProgram(Transaction.Program value)
The transaction script to execute.
.types.Program program = 3;public Transaction.RawTransaction.Builder clearProgram()
The transaction script to execute.
.types.Program program = 3;public Transaction.Program.Builder getProgramBuilder()
The transaction script to execute.
.types.Program program = 3;public 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.RawTransaction.Builder setWriteSet(Transaction.WriteSet value)
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;public Transaction.RawTransaction.Builder setWriteSet(Transaction.WriteSet.Builder builderForValue)
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;public Transaction.RawTransaction.Builder mergeWriteSet(Transaction.WriteSet value)
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;public Transaction.RawTransaction.Builder clearWriteSet()
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;public Transaction.WriteSet.Builder getWriteSetBuilder()
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;public 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.RawTransaction.Builder setScript(Transaction.Script value)
The transaction script to execute.
.types.Script script = 8;public Transaction.RawTransaction.Builder setScript(Transaction.Script.Builder builderForValue)
The transaction script to execute.
.types.Script script = 8;public Transaction.RawTransaction.Builder mergeScript(Transaction.Script value)
The transaction script to execute.
.types.Script script = 8;public Transaction.RawTransaction.Builder clearScript()
The transaction script to execute.
.types.Script script = 8;public Transaction.Script.Builder getScriptBuilder()
The transaction script to execute.
.types.Script script = 8;public 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.RawTransaction.Builder setModule(Transaction.Module value)
The MOVE Module to publish.
.types.Module module = 9;public Transaction.RawTransaction.Builder setModule(Transaction.Module.Builder builderForValue)
The MOVE Module to publish.
.types.Module module = 9;public Transaction.RawTransaction.Builder mergeModule(Transaction.Module value)
The MOVE Module to publish.
.types.Module module = 9;public Transaction.RawTransaction.Builder clearModule()
The MOVE Module to publish.
.types.Module module = 9;public Transaction.Module.Builder getModuleBuilder()
The MOVE Module to publish.
.types.Module module = 9;public 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 Transaction.RawTransaction.Builder setMaxGasAmount(long value)
Maximal total gas specified by wallet to spend for this transaction.
uint64 max_gas_amount = 5;public Transaction.RawTransaction.Builder clearMaxGasAmount()
Maximal total gas specified by wallet to spend for this transaction.
uint64 max_gas_amount = 5;public long getGasUnitPrice()
The price to be paid for each unit of gas.
uint64 gas_unit_price = 6;getGasUnitPrice in interface Transaction.RawTransactionOrBuilderpublic Transaction.RawTransaction.Builder setGasUnitPrice(long value)
The price to be paid for each unit of gas.
uint64 gas_unit_price = 6;public Transaction.RawTransaction.Builder clearGasUnitPrice()
The price to be paid for each unit of gas.
uint64 gas_unit_price = 6;public 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 Transaction.RawTransaction.Builder setExpirationTime(long value)
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;public Transaction.RawTransaction.Builder clearExpirationTime()
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;public final Transaction.RawTransaction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.RawTransaction.Builder>public final Transaction.RawTransaction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.RawTransaction.Builder>Copyright © 2019. All rights reserved.