public static final class KeepKeyMessage.SimpleSignTx extends com.google.protobuf.GeneratedMessageV3 implements KeepKeyMessage.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 |
KeepKeyMessage.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 |
OUTPUTS_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.SimpleSignTx> |
PARSER
Deprecated.
|
static int |
TRANSACTIONS_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 KeepKeyMessage.SimpleSignTx |
getDefaultInstance() |
KeepKeyMessage.SimpleSignTx |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
KeepKeyType.TxInputType |
getInputs(int index)
transaction inputs
|
int |
getInputsCount()
transaction inputs
|
List<KeepKeyType.TxInputType> |
getInputsList()
transaction inputs
|
KeepKeyType.TxInputTypeOrBuilder |
getInputsOrBuilder(int index)
transaction inputs
|
List<? extends KeepKeyType.TxInputTypeOrBuilder> |
getInputsOrBuilderList()
transaction inputs
|
KeepKeyType.TxOutputType |
getOutputs(int index)
transaction outputs
|
int |
getOutputsCount()
transaction outputs
|
List<KeepKeyType.TxOutputType> |
getOutputsList()
transaction outputs
|
KeepKeyType.TxOutputTypeOrBuilder |
getOutputsOrBuilder(int index)
transaction outputs
|
List<? extends KeepKeyType.TxOutputTypeOrBuilder> |
getOutputsOrBuilderList()
transaction outputs
|
com.google.protobuf.Parser<KeepKeyMessage.SimpleSignTx> |
getParserForType() |
int |
getSerializedSize() |
KeepKeyType.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<KeepKeyType.TransactionType> |
getTransactionsList()
transactions whose outputs are used to build current inputs
|
KeepKeyType.TransactionTypeOrBuilder |
getTransactionsOrBuilder(int index)
transactions whose outputs are used to build current inputs
|
List<? extends KeepKeyType.TransactionTypeOrBuilder> |
getTransactionsOrBuilderList()
transactions whose outputs are used to build current inputs
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCoinName()
coin to use
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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) |
static com.google.protobuf.Parser<KeepKeyMessage.SimpleSignTx> |
parser() |
KeepKeyMessage.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
@Deprecated public static final com.google.protobuf.Parser<KeepKeyMessage.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<KeepKeyType.TxInputType> getInputsList()
transaction inputs
repeated .TxInputType inputs = 1;
getInputsList
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public List<? extends KeepKeyType.TxInputTypeOrBuilder> getInputsOrBuilderList()
transaction inputs
repeated .TxInputType inputs = 1;
getInputsOrBuilderList
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public int getInputsCount()
transaction inputs
repeated .TxInputType inputs = 1;
getInputsCount
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public KeepKeyType.TxInputType getInputs(int index)
transaction inputs
repeated .TxInputType inputs = 1;
getInputs
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public KeepKeyType.TxInputTypeOrBuilder getInputsOrBuilder(int index)
transaction inputs
repeated .TxInputType inputs = 1;
getInputsOrBuilder
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public List<KeepKeyType.TxOutputType> getOutputsList()
transaction outputs
repeated .TxOutputType outputs = 2;
getOutputsList
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public List<? extends KeepKeyType.TxOutputTypeOrBuilder> getOutputsOrBuilderList()
transaction outputs
repeated .TxOutputType outputs = 2;
getOutputsOrBuilderList
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public int getOutputsCount()
transaction outputs
repeated .TxOutputType outputs = 2;
getOutputsCount
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public KeepKeyType.TxOutputType getOutputs(int index)
transaction outputs
repeated .TxOutputType outputs = 2;
getOutputs
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public KeepKeyType.TxOutputTypeOrBuilder getOutputsOrBuilder(int index)
transaction outputs
repeated .TxOutputType outputs = 2;
getOutputsOrBuilder
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public List<KeepKeyType.TransactionType> getTransactionsList()
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;
getTransactionsList
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public List<? extends KeepKeyType.TransactionTypeOrBuilder> getTransactionsOrBuilderList()
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;
getTransactionsOrBuilderList
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public int getTransactionsCount()
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;
getTransactionsCount
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public KeepKeyType.TransactionType getTransactions(int index)
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;
getTransactions
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public KeepKeyType.TransactionTypeOrBuilder getTransactionsOrBuilder(int index)
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;
getTransactionsOrBuilder
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public boolean hasCoinName()
coin to use
optional string coin_name = 4 [default = "Bitcoin"];
hasCoinName
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public String getCoinName()
coin to use
optional string coin_name = 4 [default = "Bitcoin"];
getCoinName
in interface KeepKeyMessage.SimpleSignTxOrBuilder
public com.google.protobuf.ByteString getCoinNameBytes()
coin to use
optional string coin_name = 4 [default = "Bitcoin"];
getCoinNameBytes
in interface KeepKeyMessage.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 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 KeepKeyMessage.SimpleSignTx.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static KeepKeyMessage.SimpleSignTx.Builder newBuilder()
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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static KeepKeyMessage.SimpleSignTx getDefaultInstance()
public static com.google.protobuf.Parser<KeepKeyMessage.SimpleSignTx> parser()
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.GeneratedMessageV3
public KeepKeyMessage.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.