public static final class KeepKeyMessage.Features extends com.google.protobuf.GeneratedMessageV3 implements KeepKeyMessage.FeaturesOrBuilder
Response: Reports various information about the device @prev Initialize @prev GetFeaturesProtobuf type
Features| Modifier and Type | Class and Description |
|---|---|
static class |
KeepKeyMessage.Features.Builder
Response: Reports various information about the device
@prev Initialize
@prev GetFeatures
|
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 |
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
Deprecated.
|
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 |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getBootloaderHash()
hash of the bootloader
|
boolean |
getBootloaderMode()
is device in bootloader mode?
|
KeepKeyType.CoinType |
getCoins(int index)
supported coins
|
int |
getCoinsCount()
supported coins
|
List<KeepKeyType.CoinType> |
getCoinsList()
supported coins
|
KeepKeyType.CoinTypeOrBuilder |
getCoinsOrBuilder(int index)
supported coins
|
List<? extends KeepKeyType.CoinTypeOrBuilder> |
getCoinsOrBuilderList()
supported coins
|
static KeepKeyMessage.Features |
getDefaultInstance() |
KeepKeyMessage.Features |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDeviceId()
device's unique identifier
|
com.google.protobuf.ByteString |
getDeviceIdBytes()
device's unique identifier
|
boolean |
getImported()
was storage imported from an external source?
|
boolean |
getInitialized()
does device contain seed?
|
String |
getLabel()
device description label
|
com.google.protobuf.ByteString |
getLabelBytes()
device description label
|
String |
getLanguage()
device language
|
com.google.protobuf.ByteString |
getLanguageBytes()
device language
|
int |
getMajorVersion()
major version of the device, e.g.
|
int |
getMinorVersion()
minor version of the device, e.g.
|
com.google.protobuf.Parser<KeepKeyMessage.Features> |
getParserForType() |
boolean |
getPassphraseCached()
is passphrase already cached in session?
|
boolean |
getPassphraseProtection()
is node/mnemonic encrypted using passphrase?
|
int |
getPatchVersion()
patch version of the device, e.g.
|
boolean |
getPinCached()
is PIN already cached in session?
|
boolean |
getPinProtection()
is device protected by PIN?
|
com.google.protobuf.ByteString |
getRevision()
SCM revision of firmware
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVendor()
name of the manufacturer, e.g.
|
com.google.protobuf.ByteString |
getVendorBytes()
name of the manufacturer, e.g.
|
boolean |
hasBootloaderHash()
hash of the bootloader
|
boolean |
hasBootloaderMode()
is device in bootloader mode?
|
boolean |
hasDeviceId()
device's unique identifier
|
int |
hashCode() |
boolean |
hasImported()
was storage imported from an external source?
|
boolean |
hasInitialized()
does device contain seed?
|
boolean |
hasLabel()
device description label
|
boolean |
hasLanguage()
device language
|
boolean |
hasMajorVersion()
major version of the device, e.g.
|
boolean |
hasMinorVersion()
minor version of the device, e.g.
|
boolean |
hasPassphraseCached()
is passphrase already cached in session?
|
boolean |
hasPassphraseProtection()
is node/mnemonic encrypted using passphrase?
|
boolean |
hasPatchVersion()
patch version of the device, e.g.
|
boolean |
hasPinCached()
is PIN already cached in session?
|
boolean |
hasPinProtection()
is device protected by PIN?
|
boolean |
hasRevision()
SCM revision of firmware
|
boolean |
hasVendor()
name of the manufacturer, e.g.
|
protected com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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(ByteBuffer data) |
static KeepKeyMessage.Features |
parseFrom(ByteBuffer 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) |
static com.google.protobuf.Parser<KeepKeyMessage.Features> |
parser() |
KeepKeyMessage.Features.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 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
@Deprecated public static final com.google.protobuf.Parser<KeepKeyMessage.Features> 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 hasVendor()
name of the manufacturer, e.g. "bitcointrezor.com"
optional string vendor = 1;hasVendor in interface KeepKeyMessage.FeaturesOrBuilderpublic String getVendor()
name of the manufacturer, e.g. "bitcointrezor.com"
optional string vendor = 1;getVendor in interface KeepKeyMessage.FeaturesOrBuilderpublic com.google.protobuf.ByteString getVendorBytes()
name of the manufacturer, e.g. "bitcointrezor.com"
optional string vendor = 1;getVendorBytes in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasMajorVersion()
major version of the device, e.g. 1
optional uint32 major_version = 2;hasMajorVersion in interface KeepKeyMessage.FeaturesOrBuilderpublic int getMajorVersion()
major version of the device, e.g. 1
optional uint32 major_version = 2;getMajorVersion in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasMinorVersion()
minor version of the device, e.g. 0
optional uint32 minor_version = 3;hasMinorVersion in interface KeepKeyMessage.FeaturesOrBuilderpublic int getMinorVersion()
minor version of the device, e.g. 0
optional uint32 minor_version = 3;getMinorVersion in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasPatchVersion()
patch version of the device, e.g. 0
optional uint32 patch_version = 4;hasPatchVersion in interface KeepKeyMessage.FeaturesOrBuilderpublic int getPatchVersion()
patch version of the device, e.g. 0
optional uint32 patch_version = 4;getPatchVersion in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasBootloaderMode()
is device in bootloader mode?
optional bool bootloader_mode = 5;hasBootloaderMode in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getBootloaderMode()
is device in bootloader mode?
optional bool bootloader_mode = 5;getBootloaderMode in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasDeviceId()
device's unique identifier
optional string device_id = 6;hasDeviceId in interface KeepKeyMessage.FeaturesOrBuilderpublic String getDeviceId()
device's unique identifier
optional string device_id = 6;getDeviceId in interface KeepKeyMessage.FeaturesOrBuilderpublic com.google.protobuf.ByteString getDeviceIdBytes()
device's unique identifier
optional string device_id = 6;getDeviceIdBytes in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasPinProtection()
is device protected by PIN?
optional bool pin_protection = 7;hasPinProtection in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getPinProtection()
is device protected by PIN?
optional bool pin_protection = 7;getPinProtection in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasPassphraseProtection()
is node/mnemonic encrypted using passphrase?
optional bool passphrase_protection = 8;hasPassphraseProtection in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getPassphraseProtection()
is node/mnemonic encrypted using passphrase?
optional bool passphrase_protection = 8;getPassphraseProtection in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasLanguage()
device language
optional string language = 9;hasLanguage in interface KeepKeyMessage.FeaturesOrBuilderpublic String getLanguage()
device language
optional string language = 9;getLanguage in interface KeepKeyMessage.FeaturesOrBuilderpublic com.google.protobuf.ByteString getLanguageBytes()
device language
optional string language = 9;getLanguageBytes in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasLabel()
device description label
optional string label = 10;hasLabel in interface KeepKeyMessage.FeaturesOrBuilderpublic String getLabel()
device description label
optional string label = 10;getLabel in interface KeepKeyMessage.FeaturesOrBuilderpublic com.google.protobuf.ByteString getLabelBytes()
device description label
optional string label = 10;getLabelBytes in interface KeepKeyMessage.FeaturesOrBuilderpublic List<KeepKeyType.CoinType> getCoinsList()
supported coins
repeated .CoinType coins = 11;getCoinsList in interface KeepKeyMessage.FeaturesOrBuilderpublic List<? extends KeepKeyType.CoinTypeOrBuilder> getCoinsOrBuilderList()
supported coins
repeated .CoinType coins = 11;getCoinsOrBuilderList in interface KeepKeyMessage.FeaturesOrBuilderpublic int getCoinsCount()
supported coins
repeated .CoinType coins = 11;getCoinsCount in interface KeepKeyMessage.FeaturesOrBuilderpublic KeepKeyType.CoinType getCoins(int index)
supported coins
repeated .CoinType coins = 11;getCoins in interface KeepKeyMessage.FeaturesOrBuilderpublic KeepKeyType.CoinTypeOrBuilder getCoinsOrBuilder(int index)
supported coins
repeated .CoinType coins = 11;getCoinsOrBuilder in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasInitialized()
does device contain seed?
optional bool initialized = 12;hasInitialized in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getInitialized()
does device contain seed?
optional bool initialized = 12;getInitialized in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasRevision()
SCM revision of firmware
optional bytes revision = 13;hasRevision in interface KeepKeyMessage.FeaturesOrBuilderpublic com.google.protobuf.ByteString getRevision()
SCM revision of firmware
optional bytes revision = 13;getRevision in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasBootloaderHash()
hash of the bootloader
optional bytes bootloader_hash = 14;hasBootloaderHash in interface KeepKeyMessage.FeaturesOrBuilderpublic com.google.protobuf.ByteString getBootloaderHash()
hash of the bootloader
optional bytes bootloader_hash = 14;getBootloaderHash in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasImported()
was storage imported from an external source?
optional bool imported = 15;hasImported in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getImported()
was storage imported from an external source?
optional bool imported = 15;getImported in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasPinCached()
is PIN already cached in session?
optional bool pin_cached = 16;hasPinCached in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getPinCached()
is PIN already cached in session?
optional bool pin_cached = 16;getPinCached in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean hasPassphraseCached()
is passphrase already cached in session?
optional bool passphrase_cached = 17;hasPassphraseCached in interface KeepKeyMessage.FeaturesOrBuilderpublic boolean getPassphraseCached()
is passphrase already cached in session?
optional bool passphrase_cached = 17;getPassphraseCached in interface KeepKeyMessage.FeaturesOrBuilderpublic 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 KeepKeyMessage.Features parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.Features parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic 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 KeepKeyMessage.Features.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyMessage.Features.Builder newBuilder()
public 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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static KeepKeyMessage.Features getDefaultInstance()
public static com.google.protobuf.Parser<KeepKeyMessage.Features> parser()
public 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.GeneratedMessageV3public KeepKeyMessage.Features getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.