public static final class TrezorMessage.SimpleSignTx extends com.google.protobuf.GeneratedMessageV3 implements TrezorMessage.SimpleSignTxOrBuilder
Request: Simplified transaction signing This method doesn't support streaming, so there are hardware limits in number of inputs and outputs. In case of success, the result is returned using TxRequest message. @next PassphraseRequest @next PinMatrixRequest @next TxRequest @next FailureProtobuf type
SimpleSignTx| Modifier and Type | Class and Description |
|---|---|
static class |
TrezorMessage.SimpleSignTx.Builder
Request: Simplified transaction signing
This method doesn't support streaming, so there are hardware limits in number of inputs and outputs.
|
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 |
COIN_NAME_FIELD_NUMBER |
static int |
INPUTS_FIELD_NUMBER |
static int |
LOCK_TIME_FIELD_NUMBER |
static int |
OUTPUTS_FIELD_NUMBER |
static com.google.protobuf.Parser<TrezorMessage.SimpleSignTx> |
PARSER
Deprecated.
|
static int |
TRANSACTIONS_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCoinName()
coin to use
|
com.google.protobuf.ByteString |
getCoinNameBytes()
coin to use
|
static TrezorMessage.SimpleSignTx |
getDefaultInstance() |
TrezorMessage.SimpleSignTx |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
TrezorType.TxInputType |
getInputs(int index)
transaction inputs
|
int |
getInputsCount()
transaction inputs
|
List<TrezorType.TxInputType> |
getInputsList()
transaction inputs
|
TrezorType.TxInputTypeOrBuilder |
getInputsOrBuilder(int index)
transaction inputs
|
List<? extends TrezorType.TxInputTypeOrBuilder> |
getInputsOrBuilderList()
transaction inputs
|
int |
getLockTime()
transaction lock_time
|
TrezorType.TxOutputType |
getOutputs(int index)
transaction outputs
|
int |
getOutputsCount()
transaction outputs
|
List<TrezorType.TxOutputType> |
getOutputsList()
transaction outputs
|
TrezorType.TxOutputTypeOrBuilder |
getOutputsOrBuilder(int index)
transaction outputs
|
List<? extends TrezorType.TxOutputTypeOrBuilder> |
getOutputsOrBuilderList()
transaction outputs
|
com.google.protobuf.Parser<TrezorMessage.SimpleSignTx> |
getParserForType() |
int |
getSerializedSize() |
TrezorType.TransactionType |
getTransactions(int index)
transactions whose outputs are used to build current inputs
|
int |
getTransactionsCount()
transactions whose outputs are used to build current inputs
|
List<TrezorType.TransactionType> |
getTransactionsList()
transactions whose outputs are used to build current inputs
|
TrezorType.TransactionTypeOrBuilder |
getTransactionsOrBuilder(int index)
transactions whose outputs are used to build current inputs
|
List<? extends TrezorType.TransactionTypeOrBuilder> |
getTransactionsOrBuilderList()
transactions whose outputs are used to build current inputs
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVersion()
transaction version
|
boolean |
hasCoinName()
coin to use
|
int |
hashCode() |
boolean |
hasLockTime()
transaction lock_time
|
boolean |
hasVersion()
transaction version
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TrezorMessage.SimpleSignTx.Builder |
newBuilder() |
static TrezorMessage.SimpleSignTx.Builder |
newBuilder(TrezorMessage.SimpleSignTx prototype) |
TrezorMessage.SimpleSignTx.Builder |
newBuilderForType() |
protected TrezorMessage.SimpleSignTx.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TrezorMessage.SimpleSignTx |
parseDelimitedFrom(InputStream input) |
static TrezorMessage.SimpleSignTx |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.SimpleSignTx |
parseFrom(byte[] data) |
static TrezorMessage.SimpleSignTx |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.SimpleSignTx |
parseFrom(ByteBuffer data) |
static TrezorMessage.SimpleSignTx |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.SimpleSignTx |
parseFrom(com.google.protobuf.ByteString data) |
static TrezorMessage.SimpleSignTx |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.SimpleSignTx |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TrezorMessage.SimpleSignTx |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.SimpleSignTx |
parseFrom(InputStream input) |
static TrezorMessage.SimpleSignTx |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TrezorMessage.SimpleSignTx> |
parser() |
TrezorMessage.SimpleSignTx.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INPUTS_FIELD_NUMBER
public static final int OUTPUTS_FIELD_NUMBER
public static final int TRANSACTIONS_FIELD_NUMBER
public static final int COIN_NAME_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int LOCK_TIME_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<TrezorMessage.SimpleSignTx> PARSER
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 List<TrezorType.TxInputType> getInputsList()
transaction inputs
repeated .TxInputType inputs = 1;getInputsList in interface TrezorMessage.SimpleSignTxOrBuilderpublic List<? extends TrezorType.TxInputTypeOrBuilder> getInputsOrBuilderList()
transaction inputs
repeated .TxInputType inputs = 1;getInputsOrBuilderList in interface TrezorMessage.SimpleSignTxOrBuilderpublic int getInputsCount()
transaction inputs
repeated .TxInputType inputs = 1;getInputsCount in interface TrezorMessage.SimpleSignTxOrBuilderpublic TrezorType.TxInputType getInputs(int index)
transaction inputs
repeated .TxInputType inputs = 1;getInputs in interface TrezorMessage.SimpleSignTxOrBuilderpublic TrezorType.TxInputTypeOrBuilder getInputsOrBuilder(int index)
transaction inputs
repeated .TxInputType inputs = 1;getInputsOrBuilder in interface TrezorMessage.SimpleSignTxOrBuilderpublic List<TrezorType.TxOutputType> getOutputsList()
transaction outputs
repeated .TxOutputType outputs = 2;getOutputsList in interface TrezorMessage.SimpleSignTxOrBuilderpublic List<? extends TrezorType.TxOutputTypeOrBuilder> getOutputsOrBuilderList()
transaction outputs
repeated .TxOutputType outputs = 2;getOutputsOrBuilderList in interface TrezorMessage.SimpleSignTxOrBuilderpublic int getOutputsCount()
transaction outputs
repeated .TxOutputType outputs = 2;getOutputsCount in interface TrezorMessage.SimpleSignTxOrBuilderpublic TrezorType.TxOutputType getOutputs(int index)
transaction outputs
repeated .TxOutputType outputs = 2;getOutputs in interface TrezorMessage.SimpleSignTxOrBuilderpublic TrezorType.TxOutputTypeOrBuilder getOutputsOrBuilder(int index)
transaction outputs
repeated .TxOutputType outputs = 2;getOutputsOrBuilder in interface TrezorMessage.SimpleSignTxOrBuilderpublic List<TrezorType.TransactionType> getTransactionsList()
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;getTransactionsList in interface TrezorMessage.SimpleSignTxOrBuilderpublic List<? extends TrezorType.TransactionTypeOrBuilder> getTransactionsOrBuilderList()
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;getTransactionsOrBuilderList in interface TrezorMessage.SimpleSignTxOrBuilderpublic int getTransactionsCount()
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;getTransactionsCount in interface TrezorMessage.SimpleSignTxOrBuilderpublic TrezorType.TransactionType getTransactions(int index)
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;getTransactions in interface TrezorMessage.SimpleSignTxOrBuilderpublic TrezorType.TransactionTypeOrBuilder getTransactionsOrBuilder(int index)
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;getTransactionsOrBuilder in interface TrezorMessage.SimpleSignTxOrBuilderpublic boolean hasCoinName()
coin to use
optional string coin_name = 4 [default = "Bitcoin"];hasCoinName in interface TrezorMessage.SimpleSignTxOrBuilderpublic String getCoinName()
coin to use
optional string coin_name = 4 [default = "Bitcoin"];getCoinName in interface TrezorMessage.SimpleSignTxOrBuilderpublic com.google.protobuf.ByteString getCoinNameBytes()
coin to use
optional string coin_name = 4 [default = "Bitcoin"];getCoinNameBytes in interface TrezorMessage.SimpleSignTxOrBuilderpublic boolean hasVersion()
transaction version
optional uint32 version = 5 [default = 1];hasVersion in interface TrezorMessage.SimpleSignTxOrBuilderpublic int getVersion()
transaction version
optional uint32 version = 5 [default = 1];getVersion in interface TrezorMessage.SimpleSignTxOrBuilderpublic boolean hasLockTime()
transaction lock_time
optional uint32 lock_time = 6 [default = 0];hasLockTime in interface TrezorMessage.SimpleSignTxOrBuilderpublic int getLockTime()
transaction lock_time
optional uint32 lock_time = 6 [default = 0];getLockTime in interface TrezorMessage.SimpleSignTxOrBuilderpublic 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 TrezorMessage.SimpleSignTx parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorMessage.SimpleSignTx parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorMessage.SimpleSignTx parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorMessage.SimpleSignTx parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorMessage.SimpleSignTx parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorMessage.SimpleSignTx parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorMessage.SimpleSignTx parseFrom(InputStream input) throws IOException
IOExceptionpublic static TrezorMessage.SimpleSignTx parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrezorMessage.SimpleSignTx parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TrezorMessage.SimpleSignTx parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrezorMessage.SimpleSignTx parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TrezorMessage.SimpleSignTx parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TrezorMessage.SimpleSignTx.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TrezorMessage.SimpleSignTx.Builder newBuilder()
public static TrezorMessage.SimpleSignTx.Builder newBuilder(TrezorMessage.SimpleSignTx prototype)
public TrezorMessage.SimpleSignTx.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TrezorMessage.SimpleSignTx.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TrezorMessage.SimpleSignTx getDefaultInstance()
public static com.google.protobuf.Parser<TrezorMessage.SimpleSignTx> parser()
public com.google.protobuf.Parser<TrezorMessage.SimpleSignTx> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TrezorMessage.SimpleSignTx getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.