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