public static final class TrezorMessage.EthereumTxRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.EthereumTxRequest.Builder> implements TrezorMessage.EthereumTxRequestOrBuilder
EthereumTxRequest
Response: Device asks for more data from transaction payload, or returns the signature. If data_length is set, device awaits that many more bytes of payload. Otherwise, the signature_* fields contain the computed transaction signature. All three fields will be present. @prev EthereumSignTx @next EthereumTxAck
Modifier and Type | Method and Description |
---|---|
TrezorMessage.EthereumTxRequest |
build() |
TrezorMessage.EthereumTxRequest |
buildPartial() |
TrezorMessage.EthereumTxRequest.Builder |
clear() |
TrezorMessage.EthereumTxRequest.Builder |
clearDataLength()
optional uint32 data_length = 1; |
TrezorMessage.EthereumTxRequest.Builder |
clearSignatureR()
optional bytes signature_r = 3; |
TrezorMessage.EthereumTxRequest.Builder |
clearSignatureS()
optional bytes signature_s = 4; |
TrezorMessage.EthereumTxRequest.Builder |
clearSignatureV()
optional uint32 signature_v = 2; |
TrezorMessage.EthereumTxRequest.Builder |
clone() |
int |
getDataLength()
optional uint32 data_length = 1; |
TrezorMessage.EthereumTxRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getSignatureR()
optional bytes signature_r = 3; |
com.google.protobuf.ByteString |
getSignatureS()
optional bytes signature_s = 4; |
int |
getSignatureV()
optional uint32 signature_v = 2; |
boolean |
hasDataLength()
optional uint32 data_length = 1; |
boolean |
hasSignatureR()
optional bytes signature_r = 3; |
boolean |
hasSignatureS()
optional bytes signature_s = 4; |
boolean |
hasSignatureV()
optional uint32 signature_v = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TrezorMessage.EthereumTxRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TrezorMessage.EthereumTxRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
TrezorMessage.EthereumTxRequest.Builder |
mergeFrom(TrezorMessage.EthereumTxRequest other) |
TrezorMessage.EthereumTxRequest.Builder |
setDataLength(int value)
optional uint32 data_length = 1; |
TrezorMessage.EthereumTxRequest.Builder |
setSignatureR(com.google.protobuf.ByteString value)
optional bytes signature_r = 3; |
TrezorMessage.EthereumTxRequest.Builder |
setSignatureS(com.google.protobuf.ByteString value)
optional bytes signature_s = 4; |
TrezorMessage.EthereumTxRequest.Builder |
setSignatureV(int value)
optional uint32 signature_v = 2; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.EthereumTxRequest.Builder>
public TrezorMessage.EthereumTxRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.EthereumTxRequest.Builder>
public TrezorMessage.EthereumTxRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.EthereumTxRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.EthereumTxRequest.Builder>
public TrezorMessage.EthereumTxRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TrezorMessage.EthereumTxRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TrezorMessage.EthereumTxRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TrezorMessage.EthereumTxRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TrezorMessage.EthereumTxRequest.Builder>
public TrezorMessage.EthereumTxRequest.Builder mergeFrom(TrezorMessage.EthereumTxRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.EthereumTxRequest.Builder>
public TrezorMessage.EthereumTxRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TrezorMessage.EthereumTxRequest.Builder>
IOException
public boolean hasDataLength()
optional uint32 data_length = 1;
Number of bytes being requested (<= 1024)
hasDataLength
in interface TrezorMessage.EthereumTxRequestOrBuilder
public int getDataLength()
optional uint32 data_length = 1;
Number of bytes being requested (<= 1024)
getDataLength
in interface TrezorMessage.EthereumTxRequestOrBuilder
public TrezorMessage.EthereumTxRequest.Builder setDataLength(int value)
optional uint32 data_length = 1;
Number of bytes being requested (<= 1024)
public TrezorMessage.EthereumTxRequest.Builder clearDataLength()
optional uint32 data_length = 1;
Number of bytes being requested (<= 1024)
public boolean hasSignatureV()
optional uint32 signature_v = 2;
Computed signature (recovery parameter, limited to 27 or 28)
hasSignatureV
in interface TrezorMessage.EthereumTxRequestOrBuilder
public int getSignatureV()
optional uint32 signature_v = 2;
Computed signature (recovery parameter, limited to 27 or 28)
getSignatureV
in interface TrezorMessage.EthereumTxRequestOrBuilder
public TrezorMessage.EthereumTxRequest.Builder setSignatureV(int value)
optional uint32 signature_v = 2;
Computed signature (recovery parameter, limited to 27 or 28)
public TrezorMessage.EthereumTxRequest.Builder clearSignatureV()
optional uint32 signature_v = 2;
Computed signature (recovery parameter, limited to 27 or 28)
public boolean hasSignatureR()
optional bytes signature_r = 3;
Computed signature R component (256 bit)
hasSignatureR
in interface TrezorMessage.EthereumTxRequestOrBuilder
public com.google.protobuf.ByteString getSignatureR()
optional bytes signature_r = 3;
Computed signature R component (256 bit)
getSignatureR
in interface TrezorMessage.EthereumTxRequestOrBuilder
public TrezorMessage.EthereumTxRequest.Builder setSignatureR(com.google.protobuf.ByteString value)
optional bytes signature_r = 3;
Computed signature R component (256 bit)
public TrezorMessage.EthereumTxRequest.Builder clearSignatureR()
optional bytes signature_r = 3;
Computed signature R component (256 bit)
public boolean hasSignatureS()
optional bytes signature_s = 4;
Computed signature S component (256 bit)
hasSignatureS
in interface TrezorMessage.EthereumTxRequestOrBuilder
public com.google.protobuf.ByteString getSignatureS()
optional bytes signature_s = 4;
Computed signature S component (256 bit)
getSignatureS
in interface TrezorMessage.EthereumTxRequestOrBuilder
public TrezorMessage.EthereumTxRequest.Builder setSignatureS(com.google.protobuf.ByteString value)
optional bytes signature_s = 4;
Computed signature S component (256 bit)
public TrezorMessage.EthereumTxRequest.Builder clearSignatureS()
optional bytes signature_s = 4;
Computed signature S component (256 bit)
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.