public static final class TrezorMessage.RecoveryDevice extends com.google.protobuf.GeneratedMessageV3 implements TrezorMessage.RecoveryDeviceOrBuilder
Request: Start recovery workflow asking user for specific words of mnemonic Used to recovery device safely even on untrusted computer. @next WordRequestProtobuf type
RecoveryDevice
Modifier and Type | Class and Description |
---|---|
static class |
TrezorMessage.RecoveryDevice.Builder
Request: Start recovery workflow asking user for specific words of mnemonic
Used to recovery device safely even on untrusted computer.
|
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 |
ENFORCE_WORDLIST_FIELD_NUMBER |
static int |
LABEL_FIELD_NUMBER |
static int |
LANGUAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<TrezorMessage.RecoveryDevice> |
PARSER
Deprecated.
|
static int |
PASSPHRASE_PROTECTION_FIELD_NUMBER |
static int |
PIN_PROTECTION_FIELD_NUMBER |
static int |
WORD_COUNT_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static TrezorMessage.RecoveryDevice |
getDefaultInstance() |
TrezorMessage.RecoveryDevice |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnforceWordlist()
enforce BIP-39 wordlist during the process
|
String |
getLabel()
device label
|
com.google.protobuf.ByteString |
getLabelBytes()
device label
|
String |
getLanguage()
device language
|
com.google.protobuf.ByteString |
getLanguageBytes()
device language
|
com.google.protobuf.Parser<TrezorMessage.RecoveryDevice> |
getParserForType() |
boolean |
getPassphraseProtection()
enable master node encryption using passphrase
|
boolean |
getPinProtection()
enable PIN protection
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getWordCount()
number of words in BIP-39 mnemonic
|
boolean |
hasEnforceWordlist()
enforce BIP-39 wordlist during the process
|
int |
hashCode() |
boolean |
hasLabel()
device label
|
boolean |
hasLanguage()
device language
|
boolean |
hasPassphraseProtection()
enable master node encryption using passphrase
|
boolean |
hasPinProtection()
enable PIN protection
|
boolean |
hasWordCount()
number of words in BIP-39 mnemonic
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TrezorMessage.RecoveryDevice.Builder |
newBuilder() |
static TrezorMessage.RecoveryDevice.Builder |
newBuilder(TrezorMessage.RecoveryDevice prototype) |
TrezorMessage.RecoveryDevice.Builder |
newBuilderForType() |
protected TrezorMessage.RecoveryDevice.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TrezorMessage.RecoveryDevice |
parseDelimitedFrom(InputStream input) |
static TrezorMessage.RecoveryDevice |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.RecoveryDevice |
parseFrom(byte[] data) |
static TrezorMessage.RecoveryDevice |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.RecoveryDevice |
parseFrom(ByteBuffer data) |
static TrezorMessage.RecoveryDevice |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.RecoveryDevice |
parseFrom(com.google.protobuf.ByteString data) |
static TrezorMessage.RecoveryDevice |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.RecoveryDevice |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TrezorMessage.RecoveryDevice |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.RecoveryDevice |
parseFrom(InputStream input) |
static TrezorMessage.RecoveryDevice |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TrezorMessage.RecoveryDevice> |
parser() |
TrezorMessage.RecoveryDevice.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 WORD_COUNT_FIELD_NUMBER
public static final int PASSPHRASE_PROTECTION_FIELD_NUMBER
public static final int PIN_PROTECTION_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
public static final int ENFORCE_WORDLIST_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<TrezorMessage.RecoveryDevice> 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 hasWordCount()
number of words in BIP-39 mnemonic
optional uint32 word_count = 1;
hasWordCount
in interface TrezorMessage.RecoveryDeviceOrBuilder
public int getWordCount()
number of words in BIP-39 mnemonic
optional uint32 word_count = 1;
getWordCount
in interface TrezorMessage.RecoveryDeviceOrBuilder
public boolean hasPassphraseProtection()
enable master node encryption using passphrase
optional bool passphrase_protection = 2;
hasPassphraseProtection
in interface TrezorMessage.RecoveryDeviceOrBuilder
public boolean getPassphraseProtection()
enable master node encryption using passphrase
optional bool passphrase_protection = 2;
getPassphraseProtection
in interface TrezorMessage.RecoveryDeviceOrBuilder
public boolean hasPinProtection()
enable PIN protection
optional bool pin_protection = 3;
hasPinProtection
in interface TrezorMessage.RecoveryDeviceOrBuilder
public boolean getPinProtection()
enable PIN protection
optional bool pin_protection = 3;
getPinProtection
in interface TrezorMessage.RecoveryDeviceOrBuilder
public boolean hasLanguage()
device language
optional string language = 4 [default = "english"];
hasLanguage
in interface TrezorMessage.RecoveryDeviceOrBuilder
public String getLanguage()
device language
optional string language = 4 [default = "english"];
getLanguage
in interface TrezorMessage.RecoveryDeviceOrBuilder
public com.google.protobuf.ByteString getLanguageBytes()
device language
optional string language = 4 [default = "english"];
getLanguageBytes
in interface TrezorMessage.RecoveryDeviceOrBuilder
public boolean hasLabel()
device label
optional string label = 5;
hasLabel
in interface TrezorMessage.RecoveryDeviceOrBuilder
public String getLabel()
device label
optional string label = 5;
getLabel
in interface TrezorMessage.RecoveryDeviceOrBuilder
public com.google.protobuf.ByteString getLabelBytes()
device label
optional string label = 5;
getLabelBytes
in interface TrezorMessage.RecoveryDeviceOrBuilder
public boolean hasEnforceWordlist()
enforce BIP-39 wordlist during the process
optional bool enforce_wordlist = 6;
hasEnforceWordlist
in interface TrezorMessage.RecoveryDeviceOrBuilder
public boolean getEnforceWordlist()
enforce BIP-39 wordlist during the process
optional bool enforce_wordlist = 6;
getEnforceWordlist
in interface TrezorMessage.RecoveryDeviceOrBuilder
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.RecoveryDevice parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.RecoveryDevice parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.RecoveryDevice parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.RecoveryDevice parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.RecoveryDevice parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.RecoveryDevice parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.RecoveryDevice parseFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.RecoveryDevice parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.RecoveryDevice parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.RecoveryDevice parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.RecoveryDevice parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TrezorMessage.RecoveryDevice parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public TrezorMessage.RecoveryDevice.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TrezorMessage.RecoveryDevice.Builder newBuilder()
public static TrezorMessage.RecoveryDevice.Builder newBuilder(TrezorMessage.RecoveryDevice prototype)
public TrezorMessage.RecoveryDevice.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TrezorMessage.RecoveryDevice.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static TrezorMessage.RecoveryDevice getDefaultInstance()
public static com.google.protobuf.Parser<TrezorMessage.RecoveryDevice> parser()
public com.google.protobuf.Parser<TrezorMessage.RecoveryDevice> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public TrezorMessage.RecoveryDevice getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2013–2019 Bitcoin Solutions Ltd. All rights reserved.