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) |
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 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.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 hasVersion()
version of storage
required uint32 version = 1;
hasVersion
in interface KeepKeyStorage.StorageOrBuilder
public int getVersion()
version of storage
required uint32 version = 1;
getVersion
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasNode()
BIP-32 node (mnemonic cannot be used if this is present)
optional .HDNodeType node = 2;
hasNode
in interface KeepKeyStorage.StorageOrBuilder
public KeepKeyType.HDNodeType getNode()
BIP-32 node (mnemonic cannot be used if this is present)
optional .HDNodeType node = 2;
getNode
in interface KeepKeyStorage.StorageOrBuilder
public KeepKeyType.HDNodeTypeOrBuilder getNodeOrBuilder()
BIP-32 node (mnemonic cannot be used if this is present)
optional .HDNodeType node = 2;
getNodeOrBuilder
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasMnemonic()
BIP-39 mnemonic (node cannot be used if this is present)
optional string mnemonic = 3;
hasMnemonic
in interface KeepKeyStorage.StorageOrBuilder
public String getMnemonic()
BIP-39 mnemonic (node cannot be used if this is present)
optional string mnemonic = 3;
getMnemonic
in interface KeepKeyStorage.StorageOrBuilder
public com.google.protobuf.ByteString getMnemonicBytes()
BIP-39 mnemonic (node cannot be used if this is present)
optional string mnemonic = 3;
getMnemonicBytes
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasPassphraseProtection()
whether to require passphrase to decrypt node or stretch mnemonic
optional bool passphrase_protection = 4;
hasPassphraseProtection
in interface KeepKeyStorage.StorageOrBuilder
public boolean getPassphraseProtection()
whether to require passphrase to decrypt node or stretch mnemonic
optional bool passphrase_protection = 4;
getPassphraseProtection
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasPinFailedAttempts()
number of failed PIN attempts
optional uint32 pin_failed_attempts = 5;
hasPinFailedAttempts
in interface KeepKeyStorage.StorageOrBuilder
public int getPinFailedAttempts()
number of failed PIN attempts
optional uint32 pin_failed_attempts = 5;
getPinFailedAttempts
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasPin()
current PIN
optional string pin = 6;
hasPin
in interface KeepKeyStorage.StorageOrBuilder
public String getPin()
current PIN
optional string pin = 6;
getPin
in interface KeepKeyStorage.StorageOrBuilder
public com.google.protobuf.ByteString getPinBytes()
current PIN
optional string pin = 6;
getPinBytes
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasLanguage()
current language
optional string language = 7;
hasLanguage
in interface KeepKeyStorage.StorageOrBuilder
public String getLanguage()
current language
optional string language = 7;
getLanguage
in interface KeepKeyStorage.StorageOrBuilder
public com.google.protobuf.ByteString getLanguageBytes()
current language
optional string language = 7;
getLanguageBytes
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasLabel()
device label
optional string label = 8;
hasLabel
in interface KeepKeyStorage.StorageOrBuilder
public String getLabel()
device label
optional string label = 8;
getLabel
in interface KeepKeyStorage.StorageOrBuilder
public com.google.protobuf.ByteString getLabelBytes()
device label
optional string label = 8;
getLabelBytes
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasImported()
was storage imported from an external source?
optional bool imported = 9;
hasImported
in interface KeepKeyStorage.StorageOrBuilder
public boolean getImported()
was storage imported from an external source?
optional bool imported = 9;
getImported
in interface KeepKeyStorage.StorageOrBuilder
public boolean hasHomescreen()
image used as homescreen (logo + label is used when not set)
optional bytes homescreen = 10;
hasHomescreen
in interface KeepKeyStorage.StorageOrBuilder
public com.google.protobuf.ByteString getHomescreen()
image used as homescreen (logo + label is used when not set)
optional bytes homescreen = 10;
getHomescreen
in interface KeepKeyStorage.StorageOrBuilder
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 KeepKeyStorage.Storage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyStorage.Storage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
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 KeepKeyStorage.Storage.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected KeepKeyStorage.Storage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public KeepKeyStorage.Storage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2013–2018 Bitcoin Solutions Ltd. All rights reserved.