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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
@Deprecated public static final com.google.protobuf.Parser<KeepKeyMessage.Features> 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 hasVendor()
name of the manufacturer, e.g. "bitcointrezor.com"
optional string vendor = 1;
hasVendor
in interface KeepKeyMessage.FeaturesOrBuilder
public String getVendor()
name of the manufacturer, e.g. "bitcointrezor.com"
optional string vendor = 1;
getVendor
in interface KeepKeyMessage.FeaturesOrBuilder
public com.google.protobuf.ByteString getVendorBytes()
name of the manufacturer, e.g. "bitcointrezor.com"
optional string vendor = 1;
getVendorBytes
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasMajorVersion()
major version of the device, e.g. 1
optional uint32 major_version = 2;
hasMajorVersion
in interface KeepKeyMessage.FeaturesOrBuilder
public int getMajorVersion()
major version of the device, e.g. 1
optional uint32 major_version = 2;
getMajorVersion
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasMinorVersion()
minor version of the device, e.g. 0
optional uint32 minor_version = 3;
hasMinorVersion
in interface KeepKeyMessage.FeaturesOrBuilder
public int getMinorVersion()
minor version of the device, e.g. 0
optional uint32 minor_version = 3;
getMinorVersion
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasPatchVersion()
patch version of the device, e.g. 0
optional uint32 patch_version = 4;
hasPatchVersion
in interface KeepKeyMessage.FeaturesOrBuilder
public int getPatchVersion()
patch version of the device, e.g. 0
optional uint32 patch_version = 4;
getPatchVersion
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasBootloaderMode()
is device in bootloader mode?
optional bool bootloader_mode = 5;
hasBootloaderMode
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getBootloaderMode()
is device in bootloader mode?
optional bool bootloader_mode = 5;
getBootloaderMode
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasDeviceId()
device's unique identifier
optional string device_id = 6;
hasDeviceId
in interface KeepKeyMessage.FeaturesOrBuilder
public String getDeviceId()
device's unique identifier
optional string device_id = 6;
getDeviceId
in interface KeepKeyMessage.FeaturesOrBuilder
public com.google.protobuf.ByteString getDeviceIdBytes()
device's unique identifier
optional string device_id = 6;
getDeviceIdBytes
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasPinProtection()
is device protected by PIN?
optional bool pin_protection = 7;
hasPinProtection
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getPinProtection()
is device protected by PIN?
optional bool pin_protection = 7;
getPinProtection
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasPassphraseProtection()
is node/mnemonic encrypted using passphrase?
optional bool passphrase_protection = 8;
hasPassphraseProtection
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getPassphraseProtection()
is node/mnemonic encrypted using passphrase?
optional bool passphrase_protection = 8;
getPassphraseProtection
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasLanguage()
device language
optional string language = 9;
hasLanguage
in interface KeepKeyMessage.FeaturesOrBuilder
public String getLanguage()
device language
optional string language = 9;
getLanguage
in interface KeepKeyMessage.FeaturesOrBuilder
public com.google.protobuf.ByteString getLanguageBytes()
device language
optional string language = 9;
getLanguageBytes
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasLabel()
device description label
optional string label = 10;
hasLabel
in interface KeepKeyMessage.FeaturesOrBuilder
public String getLabel()
device description label
optional string label = 10;
getLabel
in interface KeepKeyMessage.FeaturesOrBuilder
public com.google.protobuf.ByteString getLabelBytes()
device description label
optional string label = 10;
getLabelBytes
in interface KeepKeyMessage.FeaturesOrBuilder
public List<KeepKeyType.CoinType> getCoinsList()
supported coins
repeated .CoinType coins = 11;
getCoinsList
in interface KeepKeyMessage.FeaturesOrBuilder
public List<? extends KeepKeyType.CoinTypeOrBuilder> getCoinsOrBuilderList()
supported coins
repeated .CoinType coins = 11;
getCoinsOrBuilderList
in interface KeepKeyMessage.FeaturesOrBuilder
public int getCoinsCount()
supported coins
repeated .CoinType coins = 11;
getCoinsCount
in interface KeepKeyMessage.FeaturesOrBuilder
public KeepKeyType.CoinType getCoins(int index)
supported coins
repeated .CoinType coins = 11;
getCoins
in interface KeepKeyMessage.FeaturesOrBuilder
public KeepKeyType.CoinTypeOrBuilder getCoinsOrBuilder(int index)
supported coins
repeated .CoinType coins = 11;
getCoinsOrBuilder
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasInitialized()
does device contain seed?
optional bool initialized = 12;
hasInitialized
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getInitialized()
does device contain seed?
optional bool initialized = 12;
getInitialized
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasRevision()
SCM revision of firmware
optional bytes revision = 13;
hasRevision
in interface KeepKeyMessage.FeaturesOrBuilder
public com.google.protobuf.ByteString getRevision()
SCM revision of firmware
optional bytes revision = 13;
getRevision
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasBootloaderHash()
hash of the bootloader
optional bytes bootloader_hash = 14;
hasBootloaderHash
in interface KeepKeyMessage.FeaturesOrBuilder
public com.google.protobuf.ByteString getBootloaderHash()
hash of the bootloader
optional bytes bootloader_hash = 14;
getBootloaderHash
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasImported()
was storage imported from an external source?
optional bool imported = 15;
hasImported
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getImported()
was storage imported from an external source?
optional bool imported = 15;
getImported
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasPinCached()
is PIN already cached in session?
optional bool pin_cached = 16;
hasPinCached
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getPinCached()
is PIN already cached in session?
optional bool pin_cached = 16;
getPinCached
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean hasPassphraseCached()
is passphrase already cached in session?
optional bool passphrase_cached = 17;
hasPassphraseCached
in interface KeepKeyMessage.FeaturesOrBuilder
public boolean getPassphraseCached()
is passphrase already cached in session?
optional bool passphrase_cached = 17;
getPassphraseCached
in interface KeepKeyMessage.FeaturesOrBuilder
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 KeepKeyMessage.Features parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.Features parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
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 KeepKeyMessage.Features.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected KeepKeyMessage.Features.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public KeepKeyMessage.Features getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.