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