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