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, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.EthereumTxRequest.Builder>public TrezorMessage.EthereumTxRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.EthereumTxRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.EthereumTxRequest.Builder>public TrezorMessage.EthereumTxRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TrezorMessage.EthereumTxRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TrezorMessage.EthereumTxRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TrezorMessage.EthereumTxRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrezorMessage.EthereumTxRequest.Builder>IOExceptionpublic boolean hasDataLength()
optional uint32 data_length = 1;
Number of bytes being requested (<= 1024)
hasDataLength in interface TrezorMessage.EthereumTxRequestOrBuilderpublic int getDataLength()
optional uint32 data_length = 1;
Number of bytes being requested (<= 1024)
getDataLength in interface TrezorMessage.EthereumTxRequestOrBuilderpublic 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.EthereumTxRequestOrBuilderpublic int getSignatureV()
optional uint32 signature_v = 2;
Computed signature (recovery parameter, limited to 27 or 28)
getSignatureV in interface TrezorMessage.EthereumTxRequestOrBuilderpublic 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.EthereumTxRequestOrBuilderpublic com.google.protobuf.ByteString getSignatureR()
optional bytes signature_r = 3;
Computed signature R component (256 bit)
getSignatureR in interface TrezorMessage.EthereumTxRequestOrBuilderpublic 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.EthereumTxRequestOrBuilderpublic com.google.protobuf.ByteString getSignatureS()
optional bytes signature_s = 4;
Computed signature S component (256 bit)
getSignatureS in interface TrezorMessage.EthereumTxRequestOrBuilderpublic 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.