public static final class KeepKeyMessage.Features extends com.google.protobuf.GeneratedMessage implements KeepKeyMessage.FeaturesOrBuilder
Features
Response: Reports various information about the device @prev Initialize @prev GetFeatures
Modifier and Type | Class and Description |
---|---|
static class |
KeepKeyMessage.Features.Builder
Protobuf type
Features |
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 |
BOOTLOADER_HASH_FIELD_NUMBER |
static int |
BOOTLOADER_MODE_FIELD_NUMBER |
static int |
COINS_FIELD_NUMBER |
static int |
DEVICE_ID_FIELD_NUMBER |
static int |
IMPORTED_FIELD_NUMBER |
static int |
INITIALIZED_FIELD_NUMBER |
static int |
LABEL_FIELD_NUMBER |
static int |
LANGUAGE_FIELD_NUMBER |
static int |
MAJOR_VERSION_FIELD_NUMBER |
static int |
MINOR_VERSION_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.Features> |
PARSER |
static int |
PASSPHRASE_CACHED_FIELD_NUMBER |
static int |
PASSPHRASE_PROTECTION_FIELD_NUMBER |
static int |
PATCH_VERSION_FIELD_NUMBER |
static int |
PIN_CACHED_FIELD_NUMBER |
static int |
PIN_PROTECTION_FIELD_NUMBER |
static int |
REVISION_FIELD_NUMBER |
static int |
VENDOR_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getBootloaderHash()
optional bytes bootloader_hash = 14; |
boolean |
getBootloaderMode()
optional bool bootloader_mode = 5; |
KeepKeyType.CoinType |
getCoins(int index)
repeated .CoinType coins = 11; |
int |
getCoinsCount()
repeated .CoinType coins = 11; |
List<KeepKeyType.CoinType> |
getCoinsList()
repeated .CoinType coins = 11; |
KeepKeyType.CoinTypeOrBuilder |
getCoinsOrBuilder(int index)
repeated .CoinType coins = 11; |
List<? extends KeepKeyType.CoinTypeOrBuilder> |
getCoinsOrBuilderList()
repeated .CoinType coins = 11; |
static KeepKeyMessage.Features |
getDefaultInstance() |
KeepKeyMessage.Features |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDeviceId()
optional string device_id = 6; |
com.google.protobuf.ByteString |
getDeviceIdBytes()
optional string device_id = 6; |
boolean |
getImported()
optional bool imported = 15; |
boolean |
getInitialized()
optional bool initialized = 12; |
String |
getLabel()
optional string label = 10; |
com.google.protobuf.ByteString |
getLabelBytes()
optional string label = 10; |
String |
getLanguage()
optional string language = 9; |
com.google.protobuf.ByteString |
getLanguageBytes()
optional string language = 9; |
int |
getMajorVersion()
optional uint32 major_version = 2; |
int |
getMinorVersion()
optional uint32 minor_version = 3; |
com.google.protobuf.Parser<KeepKeyMessage.Features> |
getParserForType() |
boolean |
getPassphraseCached()
optional bool passphrase_cached = 17; |
boolean |
getPassphraseProtection()
optional bool passphrase_protection = 8; |
int |
getPatchVersion()
optional uint32 patch_version = 4; |
boolean |
getPinCached()
optional bool pin_cached = 16; |
boolean |
getPinProtection()
optional bool pin_protection = 7; |
com.google.protobuf.ByteString |
getRevision()
optional bytes revision = 13; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVendor()
optional string vendor = 1; |
com.google.protobuf.ByteString |
getVendorBytes()
optional string vendor = 1; |
boolean |
hasBootloaderHash()
optional bytes bootloader_hash = 14; |
boolean |
hasBootloaderMode()
optional bool bootloader_mode = 5; |
boolean |
hasDeviceId()
optional string device_id = 6; |
boolean |
hasImported()
optional bool imported = 15; |
boolean |
hasInitialized()
optional bool initialized = 12; |
boolean |
hasLabel()
optional string label = 10; |
boolean |
hasLanguage()
optional string language = 9; |
boolean |
hasMajorVersion()
optional uint32 major_version = 2; |
boolean |
hasMinorVersion()
optional uint32 minor_version = 3; |
boolean |
hasPassphraseCached()
optional bool passphrase_cached = 17; |
boolean |
hasPassphraseProtection()
optional bool passphrase_protection = 8; |
boolean |
hasPatchVersion()
optional uint32 patch_version = 4; |
boolean |
hasPinCached()
optional bool pin_cached = 16; |
boolean |
hasPinProtection()
optional bool pin_protection = 7; |
boolean |
hasRevision()
optional bytes revision = 13; |
boolean |
hasVendor()
optional string vendor = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyMessage.Features.Builder |
newBuilder() |
static KeepKeyMessage.Features.Builder |
newBuilder(KeepKeyMessage.Features prototype) |
KeepKeyMessage.Features.Builder |
newBuilderForType() |
protected KeepKeyMessage.Features.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeepKeyMessage.Features |
parseDelimitedFrom(InputStream input) |
static KeepKeyMessage.Features |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.Features |
parseFrom(byte[] data) |
static KeepKeyMessage.Features |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.Features |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyMessage.Features |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.Features |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyMessage.Features |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.Features |
parseFrom(InputStream input) |
static KeepKeyMessage.Features |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.Features.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<KeepKeyMessage.Features> PARSER
public static final int VENDOR_FIELD_NUMBER
public static final int MAJOR_VERSION_FIELD_NUMBER
public static final int MINOR_VERSION_FIELD_NUMBER
public static final int PATCH_VERSION_FIELD_NUMBER
public static final int BOOTLOADER_MODE_FIELD_NUMBER
public static final int DEVICE_ID_FIELD_NUMBER
public static final int PIN_PROTECTION_FIELD_NUMBER
public static final int PASSPHRASE_PROTECTION_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
public static final int COINS_FIELD_NUMBER
public static final int INITIALIZED_FIELD_NUMBER
public static final int REVISION_FIELD_NUMBER
public static final int BOOTLOADER_HASH_FIELD_NUMBER
public static final int IMPORTED_FIELD_NUMBER
public static final int PIN_CACHED_FIELD_NUMBER
public static final int PASSPHRASE_CACHED_FIELD_NUMBER
public static KeepKeyMessage.Features getDefaultInstance()
public KeepKeyMessage.Features 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<KeepKeyMessage.Features> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasVendor()
optional string vendor = 1;
name of the manufacturer, e.g. "bitcointrezor.com"
hasVendor
in interface KeepKeyMessage.FeaturesOrBuilder
public String getVendor()
optional string vendor = 1;
name of the manufacturer, e.g. "bitcointrezor.com"
getVendor
in interface KeepKeyMessage.FeaturesOrBuilder
public com.google.protobuf.ByteString getVendorBytes()
optional string vendor = 1;
name of the manufacturer, e.g. "bitcointrezor.com"
getVendorBytes
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasMajorVersion()
optional uint32 major_version = 2;
major version of the device, e.g. 1
hasMajorVersion
in interface KeepKeyMessage.FeaturesOrBuilder
public int getMajorVersion()
optional uint32 major_version = 2;
major version of the device, e.g. 1
getMajorVersion
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasMinorVersion()
optional uint32 minor_version = 3;
minor version of the device, e.g. 0
hasMinorVersion
in interface KeepKeyMessage.FeaturesOrBuilder
public int getMinorVersion()
optional uint32 minor_version = 3;
minor version of the device, e.g. 0
getMinorVersion
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasPatchVersion()
optional uint32 patch_version = 4;
patch version of the device, e.g. 0
hasPatchVersion
in interface KeepKeyMessage.FeaturesOrBuilder
public int getPatchVersion()
optional uint32 patch_version = 4;
patch version of the device, e.g. 0
getPatchVersion
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasBootloaderMode()
optional bool bootloader_mode = 5;
is device in bootloader mode?
hasBootloaderMode
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getBootloaderMode()
optional bool bootloader_mode = 5;
is device in bootloader mode?
getBootloaderMode
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasDeviceId()
optional string device_id = 6;
device's unique identifier
hasDeviceId
in interface KeepKeyMessage.FeaturesOrBuilder
public String getDeviceId()
optional string device_id = 6;
device's unique identifier
getDeviceId
in interface KeepKeyMessage.FeaturesOrBuilder
public com.google.protobuf.ByteString getDeviceIdBytes()
optional string device_id = 6;
device's unique identifier
getDeviceIdBytes
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasPinProtection()
optional bool pin_protection = 7;
is device protected by PIN?
hasPinProtection
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getPinProtection()
optional bool pin_protection = 7;
is device protected by PIN?
getPinProtection
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasPassphraseProtection()
optional bool passphrase_protection = 8;
is node/mnemonic encrypted using passphrase?
hasPassphraseProtection
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getPassphraseProtection()
optional bool passphrase_protection = 8;
is node/mnemonic encrypted using passphrase?
getPassphraseProtection
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasLanguage()
optional string language = 9;
device language
hasLanguage
in interface KeepKeyMessage.FeaturesOrBuilder
public String getLanguage()
optional string language = 9;
device language
getLanguage
in interface KeepKeyMessage.FeaturesOrBuilder
public com.google.protobuf.ByteString getLanguageBytes()
optional string language = 9;
device language
getLanguageBytes
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasLabel()
optional string label = 10;
device description label
hasLabel
in interface KeepKeyMessage.FeaturesOrBuilder
public String getLabel()
optional string label = 10;
device description label
getLabel
in interface KeepKeyMessage.FeaturesOrBuilder
public com.google.protobuf.ByteString getLabelBytes()
optional string label = 10;
device description label
getLabelBytes
in interface KeepKeyMessage.FeaturesOrBuilder
public List<KeepKeyType.CoinType> getCoinsList()
repeated .CoinType coins = 11;
supported coins
getCoinsList
in interface KeepKeyMessage.FeaturesOrBuilder
public List<? extends KeepKeyType.CoinTypeOrBuilder> getCoinsOrBuilderList()
repeated .CoinType coins = 11;
supported coins
getCoinsOrBuilderList
in interface KeepKeyMessage.FeaturesOrBuilder
public int getCoinsCount()
repeated .CoinType coins = 11;
supported coins
getCoinsCount
in interface KeepKeyMessage.FeaturesOrBuilder
public KeepKeyType.CoinType getCoins(int index)
repeated .CoinType coins = 11;
supported coins
getCoins
in interface KeepKeyMessage.FeaturesOrBuilder
public KeepKeyType.CoinTypeOrBuilder getCoinsOrBuilder(int index)
repeated .CoinType coins = 11;
supported coins
getCoinsOrBuilder
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasInitialized()
optional bool initialized = 12;
does device contain seed?
hasInitialized
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getInitialized()
optional bool initialized = 12;
does device contain seed?
getInitialized
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasRevision()
optional bytes revision = 13;
SCM revision of firmware
hasRevision
in interface KeepKeyMessage.FeaturesOrBuilder
public com.google.protobuf.ByteString getRevision()
optional bytes revision = 13;
SCM revision of firmware
getRevision
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasBootloaderHash()
optional bytes bootloader_hash = 14;
hash of the bootloader
hasBootloaderHash
in interface KeepKeyMessage.FeaturesOrBuilder
public com.google.protobuf.ByteString getBootloaderHash()
optional bytes bootloader_hash = 14;
hash of the bootloader
getBootloaderHash
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasImported()
optional bool imported = 15;
was storage imported from an external source?
hasImported
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getImported()
optional bool imported = 15;
was storage imported from an external source?
getImported
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasPinCached()
optional bool pin_cached = 16;
is PIN already cached in session?
hasPinCached
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getPinCached()
optional bool pin_cached = 16;
is PIN already cached in session?
getPinCached
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasPassphraseCached()
optional bool passphrase_cached = 17;
is passphrase already cached in session?
hasPassphraseCached
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getPassphraseCached()
optional bool passphrase_cached = 17;
is passphrase already cached in session?
getPassphraseCached
in interface KeepKeyMessage.FeaturesOrBuilder
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 KeepKeyMessage.Features parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.Features parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.Features parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.Features parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.Features parseFrom(InputStream input) throws IOException
IOException
public static KeepKeyMessage.Features parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.Features parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KeepKeyMessage.Features parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.Features parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static KeepKeyMessage.Features parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.Features.Builder newBuilder()
public KeepKeyMessage.Features.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static KeepKeyMessage.Features.Builder newBuilder(KeepKeyMessage.Features prototype)
public KeepKeyMessage.Features.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected KeepKeyMessage.Features.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.