public static final class KeepKeyStorage.Storage extends com.google.protobuf.GeneratedMessageV3 implements KeepKeyStorage.StorageOrBuilder
Internal persistent storage of deviceProtobuf type
Storage| Modifier and Type | Class and Description |
|---|---|
static class |
KeepKeyStorage.Storage.Builder
Internal persistent storage of device
|
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 |
HOMESCREEN_FIELD_NUMBER |
static int |
IMPORTED_FIELD_NUMBER |
static int |
LABEL_FIELD_NUMBER |
static int |
LANGUAGE_FIELD_NUMBER |
static int |
MNEMONIC_FIELD_NUMBER |
static int |
NODE_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyStorage.Storage> |
PARSER
Deprecated.
|
static int |
PASSPHRASE_PROTECTION_FIELD_NUMBER |
static int |
PIN_FAILED_ATTEMPTS_FIELD_NUMBER |
static int |
PIN_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static KeepKeyStorage.Storage |
getDefaultInstance() |
KeepKeyStorage.Storage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getHomescreen()
image used as homescreen (logo + label is used when not set)
|
boolean |
getImported()
was storage imported from an external source?
|
String |
getLabel()
device label
|
com.google.protobuf.ByteString |
getLabelBytes()
device label
|
String |
getLanguage()
current language
|
com.google.protobuf.ByteString |
getLanguageBytes()
current language
|
String |
getMnemonic()
BIP-39 mnemonic (node cannot be used if this is present)
|
com.google.protobuf.ByteString |
getMnemonicBytes()
BIP-39 mnemonic (node cannot be used if this is present)
|
KeepKeyType.HDNodeType |
getNode()
BIP-32 node (mnemonic cannot be used if this is present)
|
KeepKeyType.HDNodeTypeOrBuilder |
getNodeOrBuilder()
BIP-32 node (mnemonic cannot be used if this is present)
|
com.google.protobuf.Parser<KeepKeyStorage.Storage> |
getParserForType() |
boolean |
getPassphraseProtection()
whether to require passphrase to decrypt node or stretch mnemonic
|
String |
getPin()
current PIN
|
com.google.protobuf.ByteString |
getPinBytes()
current PIN
|
int |
getPinFailedAttempts()
number of failed PIN attempts
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVersion()
version of storage
|
int |
hashCode() |
boolean |
hasHomescreen()
image used as homescreen (logo + label is used when not set)
|
boolean |
hasImported()
was storage imported from an external source?
|
boolean |
hasLabel()
device label
|
boolean |
hasLanguage()
current language
|
boolean |
hasMnemonic()
BIP-39 mnemonic (node cannot be used if this is present)
|
boolean |
hasNode()
BIP-32 node (mnemonic cannot be used if this is present)
|
boolean |
hasPassphraseProtection()
whether to require passphrase to decrypt node or stretch mnemonic
|
boolean |
hasPin()
current PIN
|
boolean |
hasPinFailedAttempts()
number of failed PIN attempts
|
boolean |
hasVersion()
version of storage
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyStorage.Storage.Builder |
newBuilder() |
static KeepKeyStorage.Storage.Builder |
newBuilder(KeepKeyStorage.Storage prototype) |
KeepKeyStorage.Storage.Builder |
newBuilderForType() |
protected KeepKeyStorage.Storage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static KeepKeyStorage.Storage |
parseDelimitedFrom(InputStream input) |
static KeepKeyStorage.Storage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyStorage.Storage |
parseFrom(byte[] data) |
static KeepKeyStorage.Storage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyStorage.Storage |
parseFrom(ByteBuffer data) |
static KeepKeyStorage.Storage |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyStorage.Storage |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyStorage.Storage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyStorage.Storage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyStorage.Storage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyStorage.Storage |
parseFrom(InputStream input) |
static KeepKeyStorage.Storage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<KeepKeyStorage.Storage> |
parser() |
KeepKeyStorage.Storage.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VERSION_FIELD_NUMBER
public static final int NODE_FIELD_NUMBER
public static final int MNEMONIC_FIELD_NUMBER
public static final int PASSPHRASE_PROTECTION_FIELD_NUMBER
public static final int PIN_FAILED_ATTEMPTS_FIELD_NUMBER
public static final int PIN_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
public static final int IMPORTED_FIELD_NUMBER
public static final int HOMESCREEN_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<KeepKeyStorage.Storage> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasVersion()
version of storage
required uint32 version = 1;hasVersion in interface KeepKeyStorage.StorageOrBuilderpublic int getVersion()
version of storage
required uint32 version = 1;getVersion in interface KeepKeyStorage.StorageOrBuilderpublic boolean hasNode()
BIP-32 node (mnemonic cannot be used if this is present)
optional .HDNodeType node = 2;hasNode in interface KeepKeyStorage.StorageOrBuilderpublic KeepKeyType.HDNodeType getNode()
BIP-32 node (mnemonic cannot be used if this is present)
optional .HDNodeType node = 2;getNode in interface KeepKeyStorage.StorageOrBuilderpublic KeepKeyType.HDNodeTypeOrBuilder getNodeOrBuilder()
BIP-32 node (mnemonic cannot be used if this is present)
optional .HDNodeType node = 2;getNodeOrBuilder in interface KeepKeyStorage.StorageOrBuilderpublic boolean hasMnemonic()
BIP-39 mnemonic (node cannot be used if this is present)
optional string mnemonic = 3;hasMnemonic in interface KeepKeyStorage.StorageOrBuilderpublic String getMnemonic()
BIP-39 mnemonic (node cannot be used if this is present)
optional string mnemonic = 3;getMnemonic in interface KeepKeyStorage.StorageOrBuilderpublic com.google.protobuf.ByteString getMnemonicBytes()
BIP-39 mnemonic (node cannot be used if this is present)
optional string mnemonic = 3;getMnemonicBytes in interface KeepKeyStorage.StorageOrBuilderpublic boolean hasPassphraseProtection()
whether to require passphrase to decrypt node or stretch mnemonic
optional bool passphrase_protection = 4;hasPassphraseProtection in interface KeepKeyStorage.StorageOrBuilderpublic boolean getPassphraseProtection()
whether to require passphrase to decrypt node or stretch mnemonic
optional bool passphrase_protection = 4;getPassphraseProtection in interface KeepKeyStorage.StorageOrBuilderpublic boolean hasPinFailedAttempts()
number of failed PIN attempts
optional uint32 pin_failed_attempts = 5;hasPinFailedAttempts in interface KeepKeyStorage.StorageOrBuilderpublic int getPinFailedAttempts()
number of failed PIN attempts
optional uint32 pin_failed_attempts = 5;getPinFailedAttempts in interface KeepKeyStorage.StorageOrBuilderpublic boolean hasPin()
current PIN
optional string pin = 6;hasPin in interface KeepKeyStorage.StorageOrBuilderpublic String getPin()
current PIN
optional string pin = 6;getPin in interface KeepKeyStorage.StorageOrBuilderpublic com.google.protobuf.ByteString getPinBytes()
current PIN
optional string pin = 6;getPinBytes in interface KeepKeyStorage.StorageOrBuilderpublic boolean hasLanguage()
current language
optional string language = 7;hasLanguage in interface KeepKeyStorage.StorageOrBuilderpublic String getLanguage()
current language
optional string language = 7;getLanguage in interface KeepKeyStorage.StorageOrBuilderpublic com.google.protobuf.ByteString getLanguageBytes()
current language
optional string language = 7;getLanguageBytes in interface KeepKeyStorage.StorageOrBuilderpublic boolean hasLabel()
device label
optional string label = 8;hasLabel in interface KeepKeyStorage.StorageOrBuilderpublic String getLabel()
device label
optional string label = 8;getLabel in interface KeepKeyStorage.StorageOrBuilderpublic com.google.protobuf.ByteString getLabelBytes()
device label
optional string label = 8;getLabelBytes in interface KeepKeyStorage.StorageOrBuilderpublic boolean hasImported()
was storage imported from an external source?
optional bool imported = 9;hasImported in interface KeepKeyStorage.StorageOrBuilderpublic boolean getImported()
was storage imported from an external source?
optional bool imported = 9;getImported in interface KeepKeyStorage.StorageOrBuilderpublic boolean hasHomescreen()
image used as homescreen (logo + label is used when not set)
optional bytes homescreen = 10;hasHomescreen in interface KeepKeyStorage.StorageOrBuilderpublic com.google.protobuf.ByteString getHomescreen()
image used as homescreen (logo + label is used when not set)
optional bytes homescreen = 10;getHomescreen in interface KeepKeyStorage.StorageOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static KeepKeyStorage.Storage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyStorage.Storage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyStorage.Storage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyStorage.Storage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyStorage.Storage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyStorage.Storage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyStorage.Storage parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyStorage.Storage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyStorage.Storage parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyStorage.Storage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyStorage.Storage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeepKeyStorage.Storage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic KeepKeyStorage.Storage.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyStorage.Storage.Builder newBuilder()
public static KeepKeyStorage.Storage.Builder newBuilder(KeepKeyStorage.Storage prototype)
public KeepKeyStorage.Storage.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KeepKeyStorage.Storage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static KeepKeyStorage.Storage getDefaultInstance()
public static com.google.protobuf.Parser<KeepKeyStorage.Storage> parser()
public com.google.protobuf.Parser<KeepKeyStorage.Storage> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public KeepKeyStorage.Storage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.