public static final class TrezorMessage.TxRequest extends com.google.protobuf.GeneratedMessageV3 implements TrezorMessage.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 |
TrezorMessage.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<TrezorMessage.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 TrezorMessage.TxRequest |
getDefaultInstance() |
TrezorMessage.TxRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
TrezorType.TxRequestDetailsType |
getDetails()
request for tx details
|
TrezorType.TxRequestDetailsTypeOrBuilder |
getDetailsOrBuilder()
request for tx details
|
com.google.protobuf.Parser<TrezorMessage.TxRequest> |
getParserForType() |
TrezorType.RequestType |
getRequestType()
what should be filled in TxAck message?
|
TrezorType.TxRequestSerializedType |
getSerialized()
serialized data and request for next
|
TrezorType.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 TrezorMessage.TxRequest.Builder |
newBuilder() |
static TrezorMessage.TxRequest.Builder |
newBuilder(TrezorMessage.TxRequest prototype) |
TrezorMessage.TxRequest.Builder |
newBuilderForType() |
protected TrezorMessage.TxRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TrezorMessage.TxRequest |
parseDelimitedFrom(InputStream input) |
static TrezorMessage.TxRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.TxRequest |
parseFrom(byte[] data) |
static TrezorMessage.TxRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.TxRequest |
parseFrom(ByteBuffer data) |
static TrezorMessage.TxRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.TxRequest |
parseFrom(com.google.protobuf.ByteString data) |
static TrezorMessage.TxRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.TxRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TrezorMessage.TxRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.TxRequest |
parseFrom(InputStream input) |
static TrezorMessage.TxRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TrezorMessage.TxRequest> |
parser() |
TrezorMessage.TxRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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<TrezorMessage.TxRequest> 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 boolean hasRequestType()
what should be filled in TxAck message?
optional .RequestType request_type = 1;
hasRequestType
in interface TrezorMessage.TxRequestOrBuilder
public TrezorType.RequestType getRequestType()
what should be filled in TxAck message?
optional .RequestType request_type = 1;
getRequestType
in interface TrezorMessage.TxRequestOrBuilder
public boolean hasDetails()
request for tx details
optional .TxRequestDetailsType details = 2;
hasDetails
in interface TrezorMessage.TxRequestOrBuilder
public TrezorType.TxRequestDetailsType getDetails()
request for tx details
optional .TxRequestDetailsType details = 2;
getDetails
in interface TrezorMessage.TxRequestOrBuilder
public TrezorType.TxRequestDetailsTypeOrBuilder getDetailsOrBuilder()
request for tx details
optional .TxRequestDetailsType details = 2;
getDetailsOrBuilder
in interface TrezorMessage.TxRequestOrBuilder
public boolean hasSerialized()
serialized data and request for next
optional .TxRequestSerializedType serialized = 3;
hasSerialized
in interface TrezorMessage.TxRequestOrBuilder
public TrezorType.TxRequestSerializedType getSerialized()
serialized data and request for next
optional .TxRequestSerializedType serialized = 3;
getSerialized
in interface TrezorMessage.TxRequestOrBuilder
public TrezorType.TxRequestSerializedTypeOrBuilder getSerializedOrBuilder()
serialized data and request for next
optional .TxRequestSerializedType serialized = 3;
getSerializedOrBuilder
in interface TrezorMessage.TxRequestOrBuilder
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 TrezorMessage.TxRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.TxRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.TxRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.TxRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.TxRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.TxRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.TxRequest parseFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.TxRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.TxRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.TxRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.TxRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TrezorMessage.TxRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public TrezorMessage.TxRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TrezorMessage.TxRequest.Builder newBuilder()
public static TrezorMessage.TxRequest.Builder newBuilder(TrezorMessage.TxRequest prototype)
public TrezorMessage.TxRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TrezorMessage.TxRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static TrezorMessage.TxRequest getDefaultInstance()
public static com.google.protobuf.Parser<TrezorMessage.TxRequest> parser()
public com.google.protobuf.Parser<TrezorMessage.TxRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public TrezorMessage.TxRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2013–2018 Bitcoin Solutions Ltd. All rights reserved.