public static final class KeepKeyStorage.Storage extends com.google.protobuf.GeneratedMessage implements KeepKeyStorage.StorageOrBuilder
Storage
Internal persistent storage of device
Modifier and Type | Class and Description |
---|---|
static class |
KeepKeyStorage.Storage.Builder
Protobuf type
Storage |
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 |
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 |
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 |
---|---|
static KeepKeyStorage.Storage |
getDefaultInstance() |
KeepKeyStorage.Storage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getHomescreen()
optional bytes homescreen = 10; |
boolean |
getImported()
optional bool imported = 9; |
String |
getLabel()
optional string label = 8; |
com.google.protobuf.ByteString |
getLabelBytes()
optional string label = 8; |
String |
getLanguage()
optional string language = 7; |
com.google.protobuf.ByteString |
getLanguageBytes()
optional string language = 7; |
String |
getMnemonic()
optional string mnemonic = 3; |
com.google.protobuf.ByteString |
getMnemonicBytes()
optional string mnemonic = 3; |
KeepKeyType.HDNodeType |
getNode()
optional .HDNodeType node = 2; |
KeepKeyType.HDNodeTypeOrBuilder |
getNodeOrBuilder()
optional .HDNodeType node = 2; |
com.google.protobuf.Parser<KeepKeyStorage.Storage> |
getParserForType() |
boolean |
getPassphraseProtection()
optional bool passphrase_protection = 4; |
String |
getPin()
optional string pin = 6; |
com.google.protobuf.ByteString |
getPinBytes()
optional string pin = 6; |
int |
getPinFailedAttempts()
optional uint32 pin_failed_attempts = 5; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVersion()
required uint32 version = 1; |
boolean |
hasHomescreen()
optional bytes homescreen = 10; |
boolean |
hasImported()
optional bool imported = 9; |
boolean |
hasLabel()
optional string label = 8; |
boolean |
hasLanguage()
optional string language = 7; |
boolean |
hasMnemonic()
optional string mnemonic = 3; |
boolean |
hasNode()
optional .HDNodeType node = 2; |
boolean |
hasPassphraseProtection()
optional bool passphrase_protection = 4; |
boolean |
hasPin()
optional string pin = 6; |
boolean |
hasPinFailedAttempts()
optional uint32 pin_failed_attempts = 5; |
boolean |
hasVersion()
required uint32 version = 1; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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(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) |
KeepKeyStorage.Storage.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, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<KeepKeyStorage.Storage> PARSER
public 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
public static KeepKeyStorage.Storage getDefaultInstance()
public KeepKeyStorage.Storage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<KeepKeyStorage.Storage> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasVersion()
required uint32 version = 1;
version of storage
hasVersion
in interface KeepKeyStorage.StorageOrBuilder
public int getVersion()
required uint32 version = 1;
version of storage
getVersion
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasNode()
optional .HDNodeType node = 2;
BIP-32 node (mnemonic cannot be used if this is present)
hasNode
in interface KeepKeyStorage.StorageOrBuilder
public KeepKeyType.HDNodeType getNode()
optional .HDNodeType node = 2;
BIP-32 node (mnemonic cannot be used if this is present)
getNode
in interface KeepKeyStorage.StorageOrBuilder
public KeepKeyType.HDNodeTypeOrBuilder getNodeOrBuilder()
optional .HDNodeType node = 2;
BIP-32 node (mnemonic cannot be used if this is present)
getNodeOrBuilder
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasMnemonic()
optional string mnemonic = 3;
BIP-39 mnemonic (node cannot be used if this is present)
hasMnemonic
in interface KeepKeyStorage.StorageOrBuilder
public String getMnemonic()
optional string mnemonic = 3;
BIP-39 mnemonic (node cannot be used if this is present)
getMnemonic
in interface KeepKeyStorage.StorageOrBuilder
public com.google.protobuf.ByteString getMnemonicBytes()
optional string mnemonic = 3;
BIP-39 mnemonic (node cannot be used if this is present)
getMnemonicBytes
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasPassphraseProtection()
optional bool passphrase_protection = 4;
whether to require passphrase to decrypt node or stretch mnemonic
hasPassphraseProtection
in interface KeepKeyStorage.StorageOrBuilder
public boolean getPassphraseProtection()
optional bool passphrase_protection = 4;
whether to require passphrase to decrypt node or stretch mnemonic
getPassphraseProtection
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasPinFailedAttempts()
optional uint32 pin_failed_attempts = 5;
number of failed PIN attempts
hasPinFailedAttempts
in interface KeepKeyStorage.StorageOrBuilder
public int getPinFailedAttempts()
optional uint32 pin_failed_attempts = 5;
number of failed PIN attempts
getPinFailedAttempts
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasPin()
optional string pin = 6;
current PIN
hasPin
in interface KeepKeyStorage.StorageOrBuilder
public String getPin()
optional string pin = 6;
current PIN
getPin
in interface KeepKeyStorage.StorageOrBuilder
public com.google.protobuf.ByteString getPinBytes()
optional string pin = 6;
current PIN
getPinBytes
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasLanguage()
optional string language = 7;
current language
hasLanguage
in interface KeepKeyStorage.StorageOrBuilder
public String getLanguage()
optional string language = 7;
current language
getLanguage
in interface KeepKeyStorage.StorageOrBuilder
public com.google.protobuf.ByteString getLanguageBytes()
optional string language = 7;
current language
getLanguageBytes
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasLabel()
optional string label = 8;
device label
hasLabel
in interface KeepKeyStorage.StorageOrBuilder
public String getLabel()
optional string label = 8;
device label
getLabel
in interface KeepKeyStorage.StorageOrBuilder
public com.google.protobuf.ByteString getLabelBytes()
optional string label = 8;
device label
getLabelBytes
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasImported()
optional bool imported = 9;
was storage imported from an external source?
hasImported
in interface KeepKeyStorage.StorageOrBuilder
public boolean getImported()
optional bool imported = 9;
was storage imported from an external source?
getImported
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasHomescreen()
optional bytes homescreen = 10;
image used as homescreen (logo + label is used when not set)
hasHomescreen
in interface KeepKeyStorage.StorageOrBuilder
public com.google.protobuf.ByteString getHomescreen()
optional bytes homescreen = 10;
image used as homescreen (logo + label is used when not set)
getHomescreen
in interface KeepKeyStorage.StorageOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static KeepKeyStorage.Storage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyStorage.Storage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyStorage.Storage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyStorage.Storage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyStorage.Storage parseFrom(InputStream input) throws IOException
IOException
public static KeepKeyStorage.Storage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyStorage.Storage parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KeepKeyStorage.Storage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyStorage.Storage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static KeepKeyStorage.Storage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyStorage.Storage.Builder newBuilder()
public KeepKeyStorage.Storage.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static KeepKeyStorage.Storage.Builder newBuilder(KeepKeyStorage.Storage prototype)
public KeepKeyStorage.Storage.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected KeepKeyStorage.Storage.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.