public static final class TrezorMessage.SimpleSignTx extends com.google.protobuf.GeneratedMessage implements TrezorMessage.SimpleSignTxOrBuilder
SimpleSignTx
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 Failure
| Modifier and Type | Class and Description |
|---|---|
static class |
TrezorMessage.SimpleSignTx.Builder
Protobuf type
SimpleSignTx |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 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 |
static int |
TRANSACTIONS_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
String |
getCoinName()
optional string coin_name = 4 [default = "Bitcoin"]; |
com.google.protobuf.ByteString |
getCoinNameBytes()
optional string coin_name = 4 [default = "Bitcoin"]; |
static TrezorMessage.SimpleSignTx |
getDefaultInstance() |
TrezorMessage.SimpleSignTx |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
TrezorType.TxInputType |
getInputs(int index)
repeated .TxInputType inputs = 1; |
int |
getInputsCount()
repeated .TxInputType inputs = 1; |
List<TrezorType.TxInputType> |
getInputsList()
repeated .TxInputType inputs = 1; |
TrezorType.TxInputTypeOrBuilder |
getInputsOrBuilder(int index)
repeated .TxInputType inputs = 1; |
List<? extends TrezorType.TxInputTypeOrBuilder> |
getInputsOrBuilderList()
repeated .TxInputType inputs = 1; |
int |
getLockTime()
optional uint32 lock_time = 6 [default = 0]; |
TrezorType.TxOutputType |
getOutputs(int index)
repeated .TxOutputType outputs = 2; |
int |
getOutputsCount()
repeated .TxOutputType outputs = 2; |
List<TrezorType.TxOutputType> |
getOutputsList()
repeated .TxOutputType outputs = 2; |
TrezorType.TxOutputTypeOrBuilder |
getOutputsOrBuilder(int index)
repeated .TxOutputType outputs = 2; |
List<? extends TrezorType.TxOutputTypeOrBuilder> |
getOutputsOrBuilderList()
repeated .TxOutputType outputs = 2; |
com.google.protobuf.Parser<TrezorMessage.SimpleSignTx> |
getParserForType() |
int |
getSerializedSize() |
TrezorType.TransactionType |
getTransactions(int index)
repeated .TransactionType transactions = 3; |
int |
getTransactionsCount()
repeated .TransactionType transactions = 3; |
List<TrezorType.TransactionType> |
getTransactionsList()
repeated .TransactionType transactions = 3; |
TrezorType.TransactionTypeOrBuilder |
getTransactionsOrBuilder(int index)
repeated .TransactionType transactions = 3; |
List<? extends TrezorType.TransactionTypeOrBuilder> |
getTransactionsOrBuilderList()
repeated .TransactionType transactions = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVersion()
optional uint32 version = 5 [default = 1]; |
boolean |
hasCoinName()
optional string coin_name = 4 [default = "Bitcoin"]; |
boolean |
hasLockTime()
optional uint32 lock_time = 6 [default = 0]; |
boolean |
hasVersion()
optional uint32 version = 5 [default = 1]; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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(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) |
TrezorMessage.SimpleSignTx.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<TrezorMessage.SimpleSignTx> PARSER
public 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
public static TrezorMessage.SimpleSignTx getDefaultInstance()
public TrezorMessage.SimpleSignTx getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic 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.GeneratedMessagepublic List<TrezorType.TxInputType> getInputsList()
repeated .TxInputType inputs = 1;
transaction inputs
getInputsList in interface TrezorMessage.SimpleSignTxOrBuilderpublic List<? extends TrezorType.TxInputTypeOrBuilder> getInputsOrBuilderList()
repeated .TxInputType inputs = 1;
transaction inputs
getInputsOrBuilderList in interface TrezorMessage.SimpleSignTxOrBuilderpublic int getInputsCount()
repeated .TxInputType inputs = 1;
transaction inputs
getInputsCount in interface TrezorMessage.SimpleSignTxOrBuilderpublic TrezorType.TxInputType getInputs(int index)
repeated .TxInputType inputs = 1;
transaction inputs
getInputs in interface TrezorMessage.SimpleSignTxOrBuilderpublic TrezorType.TxInputTypeOrBuilder getInputsOrBuilder(int index)
repeated .TxInputType inputs = 1;
transaction inputs
getInputsOrBuilder in interface TrezorMessage.SimpleSignTxOrBuilderpublic List<TrezorType.TxOutputType> getOutputsList()
repeated .TxOutputType outputs = 2;
transaction outputs
getOutputsList in interface TrezorMessage.SimpleSignTxOrBuilderpublic List<? extends TrezorType.TxOutputTypeOrBuilder> getOutputsOrBuilderList()
repeated .TxOutputType outputs = 2;
transaction outputs
getOutputsOrBuilderList in interface TrezorMessage.SimpleSignTxOrBuilderpublic int getOutputsCount()
repeated .TxOutputType outputs = 2;
transaction outputs
getOutputsCount in interface TrezorMessage.SimpleSignTxOrBuilderpublic TrezorType.TxOutputType getOutputs(int index)
repeated .TxOutputType outputs = 2;
transaction outputs
getOutputs in interface TrezorMessage.SimpleSignTxOrBuilderpublic TrezorType.TxOutputTypeOrBuilder getOutputsOrBuilder(int index)
repeated .TxOutputType outputs = 2;
transaction outputs
getOutputsOrBuilder in interface TrezorMessage.SimpleSignTxOrBuilderpublic List<TrezorType.TransactionType> getTransactionsList()
repeated .TransactionType transactions = 3;
transactions whose outputs are used to build current inputs
getTransactionsList in interface TrezorMessage.SimpleSignTxOrBuilderpublic List<? extends TrezorType.TransactionTypeOrBuilder> getTransactionsOrBuilderList()
repeated .TransactionType transactions = 3;
transactions whose outputs are used to build current inputs
getTransactionsOrBuilderList in interface TrezorMessage.SimpleSignTxOrBuilderpublic int getTransactionsCount()
repeated .TransactionType transactions = 3;
transactions whose outputs are used to build current inputs
getTransactionsCount in interface TrezorMessage.SimpleSignTxOrBuilderpublic TrezorType.TransactionType getTransactions(int index)
repeated .TransactionType transactions = 3;
transactions whose outputs are used to build current inputs
getTransactions in interface TrezorMessage.SimpleSignTxOrBuilderpublic TrezorType.TransactionTypeOrBuilder getTransactionsOrBuilder(int index)
repeated .TransactionType transactions = 3;
transactions whose outputs are used to build current inputs
getTransactionsOrBuilder in interface TrezorMessage.SimpleSignTxOrBuilderpublic boolean hasCoinName()
optional string coin_name = 4 [default = "Bitcoin"];
coin to use
hasCoinName in interface TrezorMessage.SimpleSignTxOrBuilderpublic String getCoinName()
optional string coin_name = 4 [default = "Bitcoin"];
coin to use
getCoinName in interface TrezorMessage.SimpleSignTxOrBuilderpublic com.google.protobuf.ByteString getCoinNameBytes()
optional string coin_name = 4 [default = "Bitcoin"];
coin to use
getCoinNameBytes in interface TrezorMessage.SimpleSignTxOrBuilderpublic boolean hasVersion()
optional uint32 version = 5 [default = 1];
transaction version
hasVersion in interface TrezorMessage.SimpleSignTxOrBuilderpublic int getVersion()
optional uint32 version = 5 [default = 1];
transaction version
getVersion in interface TrezorMessage.SimpleSignTxOrBuilderpublic boolean hasLockTime()
optional uint32 lock_time = 6 [default = 0];
transaction lock_time
hasLockTime in interface TrezorMessage.SimpleSignTxOrBuilderpublic int getLockTime()
optional uint32 lock_time = 6 [default = 0];
transaction lock_time
getLockTime in interface TrezorMessage.SimpleSignTxOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic 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 static TrezorMessage.SimpleSignTx.Builder newBuilder()
public TrezorMessage.SimpleSignTx.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic 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.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.