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(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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
@Deprecated public static final com.google.protobuf.Parser<TrezorMessage.SimpleSignTx> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public List<TrezorType.TxInputType> getInputsList()
transaction inputs
repeated .TxInputType inputs = 1;
getInputsList
in interface TrezorMessage.SimpleSignTxOrBuilder
public List<? extends TrezorType.TxInputTypeOrBuilder> getInputsOrBuilderList()
transaction inputs
repeated .TxInputType inputs = 1;
getInputsOrBuilderList
in interface TrezorMessage.SimpleSignTxOrBuilder
public int getInputsCount()
transaction inputs
repeated .TxInputType inputs = 1;
getInputsCount
in interface TrezorMessage.SimpleSignTxOrBuilder
public TrezorType.TxInputType getInputs(int index)
transaction inputs
repeated .TxInputType inputs = 1;
getInputs
in interface TrezorMessage.SimpleSignTxOrBuilder
public TrezorType.TxInputTypeOrBuilder getInputsOrBuilder(int index)
transaction inputs
repeated .TxInputType inputs = 1;
getInputsOrBuilder
in interface TrezorMessage.SimpleSignTxOrBuilder
public List<TrezorType.TxOutputType> getOutputsList()
transaction outputs
repeated .TxOutputType outputs = 2;
getOutputsList
in interface TrezorMessage.SimpleSignTxOrBuilder
public List<? extends TrezorType.TxOutputTypeOrBuilder> getOutputsOrBuilderList()
transaction outputs
repeated .TxOutputType outputs = 2;
getOutputsOrBuilderList
in interface TrezorMessage.SimpleSignTxOrBuilder
public int getOutputsCount()
transaction outputs
repeated .TxOutputType outputs = 2;
getOutputsCount
in interface TrezorMessage.SimpleSignTxOrBuilder
public TrezorType.TxOutputType getOutputs(int index)
transaction outputs
repeated .TxOutputType outputs = 2;
getOutputs
in interface TrezorMessage.SimpleSignTxOrBuilder
public TrezorType.TxOutputTypeOrBuilder getOutputsOrBuilder(int index)
transaction outputs
repeated .TxOutputType outputs = 2;
getOutputsOrBuilder
in interface TrezorMessage.SimpleSignTxOrBuilder
public List<TrezorType.TransactionType> getTransactionsList()
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;
getTransactionsList
in interface TrezorMessage.SimpleSignTxOrBuilder
public List<? extends TrezorType.TransactionTypeOrBuilder> getTransactionsOrBuilderList()
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;
getTransactionsOrBuilderList
in interface TrezorMessage.SimpleSignTxOrBuilder
public int getTransactionsCount()
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;
getTransactionsCount
in interface TrezorMessage.SimpleSignTxOrBuilder
public TrezorType.TransactionType getTransactions(int index)
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;
getTransactions
in interface TrezorMessage.SimpleSignTxOrBuilder
public TrezorType.TransactionTypeOrBuilder getTransactionsOrBuilder(int index)
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;
getTransactionsOrBuilder
in interface TrezorMessage.SimpleSignTxOrBuilder
public boolean hasCoinName()
coin to use
optional string coin_name = 4 [default = "Bitcoin"];
hasCoinName
in interface TrezorMessage.SimpleSignTxOrBuilder
public String getCoinName()
coin to use
optional string coin_name = 4 [default = "Bitcoin"];
getCoinName
in interface TrezorMessage.SimpleSignTxOrBuilder
public com.google.protobuf.ByteString getCoinNameBytes()
coin to use
optional string coin_name = 4 [default = "Bitcoin"];
getCoinNameBytes
in interface TrezorMessage.SimpleSignTxOrBuilder
public boolean hasVersion()
transaction version
optional uint32 version = 5 [default = 1];
hasVersion
in interface TrezorMessage.SimpleSignTxOrBuilder
public int getVersion()
transaction version
optional uint32 version = 5 [default = 1];
getVersion
in interface TrezorMessage.SimpleSignTxOrBuilder
public boolean hasLockTime()
transaction lock_time
optional uint32 lock_time = 6 [default = 0];
hasLockTime
in interface TrezorMessage.SimpleSignTxOrBuilder
public int getLockTime()
transaction lock_time
optional uint32 lock_time = 6 [default = 0];
getLockTime
in interface TrezorMessage.SimpleSignTxOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static TrezorMessage.SimpleSignTx parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.SimpleSignTx parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.SimpleSignTx parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.SimpleSignTx parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.SimpleSignTx parseFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.SimpleSignTx parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.SimpleSignTx parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.SimpleSignTx parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.SimpleSignTx parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TrezorMessage.SimpleSignTx parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public TrezorMessage.SimpleSignTx.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TrezorMessage.SimpleSignTx.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public TrezorMessage.SimpleSignTx getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.