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, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.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.Features> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasVendor()
optional string vendor = 1;
name of the manufacturer, e.g. "bitcointrezor.com"
hasVendor in interface KeepKeyMessage.FeaturesOrBuilderpublic String getVendor()
optional string vendor = 1;
name of the manufacturer, e.g. "bitcointrezor.com"
getVendor in interface KeepKeyMessage.FeaturesOrBuilderpublic com.google.protobuf.ByteString getVendorBytes()
optional string vendor = 1;
name of the manufacturer, e.g. "bitcointrezor.com"
getVendorBytes in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasMajorVersion()
optional uint32 major_version = 2;
major version of the device, e.g. 1
hasMajorVersion in interface KeepKeyMessage.FeaturesOrBuilderpublic int getMajorVersion()
optional uint32 major_version = 2;
major version of the device, e.g. 1
getMajorVersion in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasMinorVersion()
optional uint32 minor_version = 3;
minor version of the device, e.g. 0
hasMinorVersion in interface KeepKeyMessage.FeaturesOrBuilderpublic int getMinorVersion()
optional uint32 minor_version = 3;
minor version of the device, e.g. 0
getMinorVersion in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasPatchVersion()
optional uint32 patch_version = 4;
patch version of the device, e.g. 0
hasPatchVersion in interface KeepKeyMessage.FeaturesOrBuilderpublic int getPatchVersion()
optional uint32 patch_version = 4;
patch version of the device, e.g. 0
getPatchVersion in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasBootloaderMode()
optional bool bootloader_mode = 5;
is device in bootloader mode?
hasBootloaderMode in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getBootloaderMode()
optional bool bootloader_mode = 5;
is device in bootloader mode?
getBootloaderMode in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasDeviceId()
optional string device_id = 6;
device's unique identifier
hasDeviceId in interface KeepKeyMessage.FeaturesOrBuilderpublic String getDeviceId()
optional string device_id = 6;
device's unique identifier
getDeviceId in interface KeepKeyMessage.FeaturesOrBuilderpublic com.google.protobuf.ByteString getDeviceIdBytes()
optional string device_id = 6;
device's unique identifier
getDeviceIdBytes in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasPinProtection()
optional bool pin_protection = 7;
is device protected by PIN?
hasPinProtection in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getPinProtection()
optional bool pin_protection = 7;
is device protected by PIN?
getPinProtection in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasPassphraseProtection()
optional bool passphrase_protection = 8;
is node/mnemonic encrypted using passphrase?
hasPassphraseProtection in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getPassphraseProtection()
optional bool passphrase_protection = 8;
is node/mnemonic encrypted using passphrase?
getPassphraseProtection in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasLanguage()
optional string language = 9;
device language
hasLanguage in interface KeepKeyMessage.FeaturesOrBuilderpublic String getLanguage()
optional string language = 9;
device language
getLanguage in interface KeepKeyMessage.FeaturesOrBuilderpublic com.google.protobuf.ByteString getLanguageBytes()
optional string language = 9;
device language
getLanguageBytes in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasLabel()
optional string label = 10;
device description label
hasLabel in interface KeepKeyMessage.FeaturesOrBuilderpublic String getLabel()
optional string label = 10;
device description label
getLabel in interface KeepKeyMessage.FeaturesOrBuilderpublic com.google.protobuf.ByteString getLabelBytes()
optional string label = 10;
device description label
getLabelBytes in interface KeepKeyMessage.FeaturesOrBuilderpublic List<KeepKeyType.CoinType> getCoinsList()
repeated .CoinType coins = 11;
supported coins
getCoinsList in interface KeepKeyMessage.FeaturesOrBuilderpublic List<? extends KeepKeyType.CoinTypeOrBuilder> getCoinsOrBuilderList()
repeated .CoinType coins = 11;
supported coins
getCoinsOrBuilderList in interface KeepKeyMessage.FeaturesOrBuilderpublic int getCoinsCount()
repeated .CoinType coins = 11;
supported coins
getCoinsCount in interface KeepKeyMessage.FeaturesOrBuilderpublic KeepKeyType.CoinType getCoins(int index)
repeated .CoinType coins = 11;
supported coins
getCoins in interface KeepKeyMessage.FeaturesOrBuilderpublic KeepKeyType.CoinTypeOrBuilder getCoinsOrBuilder(int index)
repeated .CoinType coins = 11;
supported coins
getCoinsOrBuilder in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasInitialized()
optional bool initialized = 12;
does device contain seed?
hasInitialized in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getInitialized()
optional bool initialized = 12;
does device contain seed?
getInitialized in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasRevision()
optional bytes revision = 13;
SCM revision of firmware
hasRevision in interface KeepKeyMessage.FeaturesOrBuilderpublic com.google.protobuf.ByteString getRevision()
optional bytes revision = 13;
SCM revision of firmware
getRevision in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasBootloaderHash()
optional bytes bootloader_hash = 14;
hash of the bootloader
hasBootloaderHash in interface KeepKeyMessage.FeaturesOrBuilderpublic com.google.protobuf.ByteString getBootloaderHash()
optional bytes bootloader_hash = 14;
hash of the bootloader
getBootloaderHash in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasImported()
optional bool imported = 15;
was storage imported from an external source?
hasImported in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getImported()
optional bool imported = 15;
was storage imported from an external source?
getImported in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasPinCached()
optional bool pin_cached = 16;
is PIN already cached in session?
hasPinCached in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getPinCached()
optional bool pin_cached = 16;
is PIN already cached in session?
getPinCached in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasPassphraseCached()
optional bool passphrase_cached = 17;
is passphrase already cached in session?
hasPassphraseCached in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getPassphraseCached()
optional bool passphrase_cached = 17;
is passphrase already cached in session?
getPassphraseCached in interface KeepKeyMessage.FeaturesOrBuilderpublic 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.Features parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.Features parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.Features parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.Features parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.Features parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.Features parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.Features parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.Features parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.Features parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.Features parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.Features.Builder newBuilder()
public KeepKeyMessage.Features.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyMessage.Features.Builder newBuilder(KeepKeyMessage.Features prototype)
public KeepKeyMessage.Features.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KeepKeyMessage.Features.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.