public static final class KeepKeyMessage.RecoveryDevice extends com.google.protobuf.GeneratedMessage implements KeepKeyMessage.RecoveryDeviceOrBuilder
RecoveryDevice
Request: Start recovery workflow asking user for specific words of mnemonic Used to recovery device safely even on untrusted computer. @next WordRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
KeepKeyMessage.RecoveryDevice.Builder
Protobuf type
RecoveryDevice |
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 |
ENFORCE_WORDLIST_FIELD_NUMBER |
static int |
LABEL_FIELD_NUMBER |
static int |
LANGUAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.RecoveryDevice> |
PARSER |
static int |
PASSPHRASE_PROTECTION_FIELD_NUMBER |
static int |
PIN_PROTECTION_FIELD_NUMBER |
static int |
WORD_COUNT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static KeepKeyMessage.RecoveryDevice |
getDefaultInstance() |
KeepKeyMessage.RecoveryDevice |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnforceWordlist()
optional bool enforce_wordlist = 6; |
String |
getLabel()
optional string label = 5; |
com.google.protobuf.ByteString |
getLabelBytes()
optional string label = 5; |
String |
getLanguage()
optional string language = 4 [default = "english"]; |
com.google.protobuf.ByteString |
getLanguageBytes()
optional string language = 4 [default = "english"]; |
com.google.protobuf.Parser<KeepKeyMessage.RecoveryDevice> |
getParserForType() |
boolean |
getPassphraseProtection()
optional bool passphrase_protection = 2; |
boolean |
getPinProtection()
optional bool pin_protection = 3; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getWordCount()
optional uint32 word_count = 1; |
boolean |
hasEnforceWordlist()
optional bool enforce_wordlist = 6; |
boolean |
hasLabel()
optional string label = 5; |
boolean |
hasLanguage()
optional string language = 4 [default = "english"]; |
boolean |
hasPassphraseProtection()
optional bool passphrase_protection = 2; |
boolean |
hasPinProtection()
optional bool pin_protection = 3; |
boolean |
hasWordCount()
optional uint32 word_count = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyMessage.RecoveryDevice.Builder |
newBuilder() |
static KeepKeyMessage.RecoveryDevice.Builder |
newBuilder(KeepKeyMessage.RecoveryDevice prototype) |
KeepKeyMessage.RecoveryDevice.Builder |
newBuilderForType() |
protected KeepKeyMessage.RecoveryDevice.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeepKeyMessage.RecoveryDevice |
parseDelimitedFrom(InputStream input) |
static KeepKeyMessage.RecoveryDevice |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.RecoveryDevice |
parseFrom(byte[] data) |
static KeepKeyMessage.RecoveryDevice |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.RecoveryDevice |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyMessage.RecoveryDevice |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.RecoveryDevice |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyMessage.RecoveryDevice |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.RecoveryDevice |
parseFrom(InputStream input) |
static KeepKeyMessage.RecoveryDevice |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.RecoveryDevice.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, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<KeepKeyMessage.RecoveryDevice> PARSER
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
public static KeepKeyMessage.RecoveryDevice getDefaultInstance()
public KeepKeyMessage.RecoveryDevice getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<KeepKeyMessage.RecoveryDevice> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasWordCount()
optional uint32 word_count = 1;
number of words in BIP-39 mnemonic
hasWordCount in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic int getWordCount()
optional uint32 word_count = 1;
number of words in BIP-39 mnemonic
getWordCount in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic boolean hasPassphraseProtection()
optional bool passphrase_protection = 2;
enable master node encryption using passphrase
hasPassphraseProtection in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic boolean getPassphraseProtection()
optional bool passphrase_protection = 2;
enable master node encryption using passphrase
getPassphraseProtection in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic boolean hasPinProtection()
optional bool pin_protection = 3;
enable PIN protection
hasPinProtection in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic boolean getPinProtection()
optional bool pin_protection = 3;
enable PIN protection
getPinProtection in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic boolean hasLanguage()
optional string language = 4 [default = "english"];
device language
hasLanguage in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic String getLanguage()
optional string language = 4 [default = "english"];
device language
getLanguage in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic com.google.protobuf.ByteString getLanguageBytes()
optional string language = 4 [default = "english"];
device language
getLanguageBytes in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic boolean hasLabel()
optional string label = 5;
device label
hasLabel in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic String getLabel()
optional string label = 5;
device label
getLabel in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic com.google.protobuf.ByteString getLabelBytes()
optional string label = 5;
device label
getLabelBytes in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic boolean hasEnforceWordlist()
optional bool enforce_wordlist = 6;
enforce BIP-39 wordlist during the process
hasEnforceWordlist in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic boolean getEnforceWordlist()
optional bool enforce_wordlist = 6;
enforce BIP-39 wordlist during the process
getEnforceWordlist in interface KeepKeyMessage.RecoveryDeviceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static KeepKeyMessage.RecoveryDevice parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.RecoveryDevice parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.RecoveryDevice parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.RecoveryDevice parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.RecoveryDevice parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.RecoveryDevice parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.RecoveryDevice parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.RecoveryDevice parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.RecoveryDevice parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.RecoveryDevice parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.RecoveryDevice.Builder newBuilder()
public KeepKeyMessage.RecoveryDevice.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyMessage.RecoveryDevice.Builder newBuilder(KeepKeyMessage.RecoveryDevice prototype)
public KeepKeyMessage.RecoveryDevice.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KeepKeyMessage.RecoveryDevice.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.