public static final class KeepKeyMessage.SimpleSignTx extends com.google.protobuf.GeneratedMessage implements KeepKeyMessage.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 |
KeepKeyMessage.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 |
OUTPUTS_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.SimpleSignTx> |
PARSER |
static int |
TRANSACTIONS_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 KeepKeyMessage.SimpleSignTx |
getDefaultInstance() |
KeepKeyMessage.SimpleSignTx |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
KeepKeyType.TxInputType |
getInputs(int index)
repeated .TxInputType inputs = 1; |
int |
getInputsCount()
repeated .TxInputType inputs = 1; |
List<KeepKeyType.TxInputType> |
getInputsList()
repeated .TxInputType inputs = 1; |
KeepKeyType.TxInputTypeOrBuilder |
getInputsOrBuilder(int index)
repeated .TxInputType inputs = 1; |
List<? extends KeepKeyType.TxInputTypeOrBuilder> |
getInputsOrBuilderList()
repeated .TxInputType inputs = 1; |
KeepKeyType.TxOutputType |
getOutputs(int index)
repeated .TxOutputType outputs = 2; |
int |
getOutputsCount()
repeated .TxOutputType outputs = 2; |
List<KeepKeyType.TxOutputType> |
getOutputsList()
repeated .TxOutputType outputs = 2; |
KeepKeyType.TxOutputTypeOrBuilder |
getOutputsOrBuilder(int index)
repeated .TxOutputType outputs = 2; |
List<? extends KeepKeyType.TxOutputTypeOrBuilder> |
getOutputsOrBuilderList()
repeated .TxOutputType outputs = 2; |
com.google.protobuf.Parser<KeepKeyMessage.SimpleSignTx> |
getParserForType() |
int |
getSerializedSize() |
KeepKeyType.TransactionType |
getTransactions(int index)
repeated .TransactionType transactions = 3; |
int |
getTransactionsCount()
repeated .TransactionType transactions = 3; |
List<KeepKeyType.TransactionType> |
getTransactionsList()
repeated .TransactionType transactions = 3; |
KeepKeyType.TransactionTypeOrBuilder |
getTransactionsOrBuilder(int index)
repeated .TransactionType transactions = 3; |
List<? extends KeepKeyType.TransactionTypeOrBuilder> |
getTransactionsOrBuilderList()
repeated .TransactionType transactions = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCoinName()
optional string coin_name = 4 [default = "Bitcoin"]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyMessage.SimpleSignTx.Builder |
newBuilder() |
static KeepKeyMessage.SimpleSignTx.Builder |
newBuilder(KeepKeyMessage.SimpleSignTx prototype) |
KeepKeyMessage.SimpleSignTx.Builder |
newBuilderForType() |
protected KeepKeyMessage.SimpleSignTx.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeepKeyMessage.SimpleSignTx |
parseDelimitedFrom(InputStream input) |
static KeepKeyMessage.SimpleSignTx |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(byte[] data) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(InputStream input) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.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<KeepKeyMessage.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 KeepKeyMessage.SimpleSignTx getDefaultInstance()
public KeepKeyMessage.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<KeepKeyMessage.SimpleSignTx> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic List<KeepKeyType.TxInputType> getInputsList()
repeated .TxInputType inputs = 1;
transaction inputs
getInputsList in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic List<? extends KeepKeyType.TxInputTypeOrBuilder> getInputsOrBuilderList()
repeated .TxInputType inputs = 1;
transaction inputs
getInputsOrBuilderList in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic int getInputsCount()
repeated .TxInputType inputs = 1;
transaction inputs
getInputsCount in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic KeepKeyType.TxInputType getInputs(int index)
repeated .TxInputType inputs = 1;
transaction inputs
getInputs in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic KeepKeyType.TxInputTypeOrBuilder getInputsOrBuilder(int index)
repeated .TxInputType inputs = 1;
transaction inputs
getInputsOrBuilder in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic List<KeepKeyType.TxOutputType> getOutputsList()
repeated .TxOutputType outputs = 2;
transaction outputs
getOutputsList in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic List<? extends KeepKeyType.TxOutputTypeOrBuilder> getOutputsOrBuilderList()
repeated .TxOutputType outputs = 2;
transaction outputs
getOutputsOrBuilderList in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic int getOutputsCount()
repeated .TxOutputType outputs = 2;
transaction outputs
getOutputsCount in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic KeepKeyType.TxOutputType getOutputs(int index)
repeated .TxOutputType outputs = 2;
transaction outputs
getOutputs in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic KeepKeyType.TxOutputTypeOrBuilder getOutputsOrBuilder(int index)
repeated .TxOutputType outputs = 2;
transaction outputs
getOutputsOrBuilder in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic List<KeepKeyType.TransactionType> getTransactionsList()
repeated .TransactionType transactions = 3;
transactions whose outputs are used to build current inputs
getTransactionsList in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic List<? extends KeepKeyType.TransactionTypeOrBuilder> getTransactionsOrBuilderList()
repeated .TransactionType transactions = 3;
transactions whose outputs are used to build current inputs
getTransactionsOrBuilderList in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic int getTransactionsCount()
repeated .TransactionType transactions = 3;
transactions whose outputs are used to build current inputs
getTransactionsCount in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic KeepKeyType.TransactionType getTransactions(int index)
repeated .TransactionType transactions = 3;
transactions whose outputs are used to build current inputs
getTransactions in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic KeepKeyType.TransactionTypeOrBuilder getTransactionsOrBuilder(int index)
repeated .TransactionType transactions = 3;
transactions whose outputs are used to build current inputs
getTransactionsOrBuilder in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic boolean hasCoinName()
optional string coin_name = 4 [default = "Bitcoin"];
coin to use
hasCoinName in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic String getCoinName()
optional string coin_name = 4 [default = "Bitcoin"];
coin to use
getCoinName in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic com.google.protobuf.ByteString getCoinNameBytes()
optional string coin_name = 4 [default = "Bitcoin"];
coin to use
getCoinNameBytes in interface KeepKeyMessage.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 KeepKeyMessage.SimpleSignTx parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.SimpleSignTx parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.SimpleSignTx parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.SimpleSignTx.Builder newBuilder()
public KeepKeyMessage.SimpleSignTx.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyMessage.SimpleSignTx.Builder newBuilder(KeepKeyMessage.SimpleSignTx prototype)
public KeepKeyMessage.SimpleSignTx.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KeepKeyMessage.SimpleSignTx.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.