public static final class KeepKeyMessage.TxRequest extends com.google.protobuf.GeneratedMessage implements KeepKeyMessage.TxRequestOrBuilder
TxRequest
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
Modifier and Type | Class and Description |
---|---|
static class |
KeepKeyMessage.TxRequest.Builder
Protobuf type
TxRequest |
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 |
DETAILS_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.TxRequest> |
PARSER |
static int |
REQUEST_TYPE_FIELD_NUMBER |
static int |
SERIALIZED_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static KeepKeyMessage.TxRequest |
getDefaultInstance() |
KeepKeyMessage.TxRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
KeepKeyType.TxRequestDetailsType |
getDetails()
optional .TxRequestDetailsType details = 2; |
KeepKeyType.TxRequestDetailsTypeOrBuilder |
getDetailsOrBuilder()
optional .TxRequestDetailsType details = 2; |
com.google.protobuf.Parser<KeepKeyMessage.TxRequest> |
getParserForType() |
KeepKeyType.RequestType |
getRequestType()
optional .RequestType request_type = 1; |
KeepKeyType.TxRequestSerializedType |
getSerialized()
optional .TxRequestSerializedType serialized = 3; |
KeepKeyType.TxRequestSerializedTypeOrBuilder |
getSerializedOrBuilder()
optional .TxRequestSerializedType serialized = 3; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDetails()
optional .TxRequestDetailsType details = 2; |
boolean |
hasRequestType()
optional .RequestType request_type = 1; |
boolean |
hasSerialized()
optional .TxRequestSerializedType serialized = 3; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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(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) |
KeepKeyMessage.TxRequest.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.TxRequest> PARSER
public static final int REQUEST_TYPE_FIELD_NUMBER
public static final int DETAILS_FIELD_NUMBER
public static final int SERIALIZED_FIELD_NUMBER
public static KeepKeyMessage.TxRequest getDefaultInstance()
public KeepKeyMessage.TxRequest 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.TxRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasRequestType()
optional .RequestType request_type = 1;
what should be filled in TxAck message?
hasRequestType
in interface KeepKeyMessage.TxRequestOrBuilder
public KeepKeyType.RequestType getRequestType()
optional .RequestType request_type = 1;
what should be filled in TxAck message?
getRequestType
in interface KeepKeyMessage.TxRequestOrBuilder
public boolean hasDetails()
optional .TxRequestDetailsType details = 2;
request for tx details
hasDetails
in interface KeepKeyMessage.TxRequestOrBuilder
public KeepKeyType.TxRequestDetailsType getDetails()
optional .TxRequestDetailsType details = 2;
request for tx details
getDetails
in interface KeepKeyMessage.TxRequestOrBuilder
public KeepKeyType.TxRequestDetailsTypeOrBuilder getDetailsOrBuilder()
optional .TxRequestDetailsType details = 2;
request for tx details
getDetailsOrBuilder
in interface KeepKeyMessage.TxRequestOrBuilder
public boolean hasSerialized()
optional .TxRequestSerializedType serialized = 3;
serialized data and request for next
hasSerialized
in interface KeepKeyMessage.TxRequestOrBuilder
public KeepKeyType.TxRequestSerializedType getSerialized()
optional .TxRequestSerializedType serialized = 3;
serialized data and request for next
getSerialized
in interface KeepKeyMessage.TxRequestOrBuilder
public KeepKeyType.TxRequestSerializedTypeOrBuilder getSerializedOrBuilder()
optional .TxRequestSerializedType serialized = 3;
serialized data and request for next
getSerializedOrBuilder
in interface KeepKeyMessage.TxRequestOrBuilder
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.TxRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.TxRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.TxRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.TxRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.TxRequest parseFrom(InputStream input) throws IOException
IOException
public static KeepKeyMessage.TxRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.TxRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KeepKeyMessage.TxRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.TxRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static KeepKeyMessage.TxRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.TxRequest.Builder newBuilder()
public KeepKeyMessage.TxRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static KeepKeyMessage.TxRequest.Builder newBuilder(KeepKeyMessage.TxRequest prototype)
public KeepKeyMessage.TxRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected KeepKeyMessage.TxRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.