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