public static final class KeepKeyMessage.TxRequest extends com.google.protobuf.GeneratedMessageV3 implements KeepKeyMessage.TxRequestOrBuilder
Response: Device asks for information for signing transaction or returns the last result If request_index is set, device awaits TxAck message (with fields filled in according to request_type) If signature_index is set, 'signature' contains signed input of signature_index's input @prev SignTx @prev SimpleSignTx @prev TxAckProtobuf type
TxRequest| Modifier and Type | Class and Description |
|---|---|
static class |
KeepKeyMessage.TxRequest.Builder
Response: Device asks for information for signing transaction or returns the last result
If request_index is set, device awaits TxAck message (with fields filled in according to request_type)
If signature_index is set, 'signature' contains signed input of signature_index's input
@prev SignTx
@prev SimpleSignTx
@prev TxAck
|
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 |
DETAILS_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.TxRequest> |
PARSER
Deprecated.
|
static int |
REQUEST_TYPE_FIELD_NUMBER |
static int |
SERIALIZED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static KeepKeyMessage.TxRequest |
getDefaultInstance() |
KeepKeyMessage.TxRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
KeepKeyType.TxRequestDetailsType |
getDetails()
request for tx details
|
KeepKeyType.TxRequestDetailsTypeOrBuilder |
getDetailsOrBuilder()
request for tx details
|
com.google.protobuf.Parser<KeepKeyMessage.TxRequest> |
getParserForType() |
KeepKeyType.RequestType |
getRequestType()
what should be filled in TxAck message?
|
KeepKeyType.TxRequestSerializedType |
getSerialized()
serialized data and request for next
|
KeepKeyType.TxRequestSerializedTypeOrBuilder |
getSerializedOrBuilder()
serialized data and request for next
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDetails()
request for tx details
|
int |
hashCode() |
boolean |
hasRequestType()
what should be filled in TxAck message?
|
boolean |
hasSerialized()
serialized data and request for next
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyMessage.TxRequest.Builder |
newBuilder() |
static KeepKeyMessage.TxRequest.Builder |
newBuilder(KeepKeyMessage.TxRequest prototype) |
KeepKeyMessage.TxRequest.Builder |
newBuilderForType() |
protected KeepKeyMessage.TxRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static KeepKeyMessage.TxRequest |
parseDelimitedFrom(InputStream input) |
static KeepKeyMessage.TxRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.TxRequest |
parseFrom(byte[] data) |
static KeepKeyMessage.TxRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.TxRequest |
parseFrom(ByteBuffer data) |
static KeepKeyMessage.TxRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.TxRequest |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyMessage.TxRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.TxRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyMessage.TxRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.TxRequest |
parseFrom(InputStream input) |
static KeepKeyMessage.TxRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<KeepKeyMessage.TxRequest> |
parser() |
KeepKeyMessage.TxRequest.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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REQUEST_TYPE_FIELD_NUMBER
public static final int DETAILS_FIELD_NUMBER
public static final int SERIALIZED_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<KeepKeyMessage.TxRequest> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasRequestType()
what should be filled in TxAck message?
optional .RequestType request_type = 1;hasRequestType in interface KeepKeyMessage.TxRequestOrBuilderpublic KeepKeyType.RequestType getRequestType()
what should be filled in TxAck message?
optional .RequestType request_type = 1;getRequestType in interface KeepKeyMessage.TxRequestOrBuilderpublic boolean hasDetails()
request for tx details
optional .TxRequestDetailsType details = 2;hasDetails in interface KeepKeyMessage.TxRequestOrBuilderpublic KeepKeyType.TxRequestDetailsType getDetails()
request for tx details
optional .TxRequestDetailsType details = 2;getDetails in interface KeepKeyMessage.TxRequestOrBuilderpublic KeepKeyType.TxRequestDetailsTypeOrBuilder getDetailsOrBuilder()
request for tx details
optional .TxRequestDetailsType details = 2;getDetailsOrBuilder in interface KeepKeyMessage.TxRequestOrBuilderpublic boolean hasSerialized()
serialized data and request for next
optional .TxRequestSerializedType serialized = 3;hasSerialized in interface KeepKeyMessage.TxRequestOrBuilderpublic KeepKeyType.TxRequestSerializedType getSerialized()
serialized data and request for next
optional .TxRequestSerializedType serialized = 3;getSerialized in interface KeepKeyMessage.TxRequestOrBuilderpublic KeepKeyType.TxRequestSerializedTypeOrBuilder getSerializedOrBuilder()
serialized data and request for next
optional .TxRequestSerializedType serialized = 3;getSerializedOrBuilder in interface KeepKeyMessage.TxRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static KeepKeyMessage.TxRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.TxRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.TxRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.TxRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.TxRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.TxRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.TxRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.TxRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.TxRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.TxRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.TxRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.TxRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic KeepKeyMessage.TxRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyMessage.TxRequest.Builder newBuilder()
public static KeepKeyMessage.TxRequest.Builder newBuilder(KeepKeyMessage.TxRequest prototype)
public KeepKeyMessage.TxRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KeepKeyMessage.TxRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static KeepKeyMessage.TxRequest getDefaultInstance()
public static com.google.protobuf.Parser<KeepKeyMessage.TxRequest> parser()
public com.google.protobuf.Parser<KeepKeyMessage.TxRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public KeepKeyMessage.TxRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.