public static final class TrezorMessage.LoadDevice extends com.google.protobuf.GeneratedMessageV3 implements TrezorMessage.LoadDeviceOrBuilder
Request: Load seed and related internal settings from the computer @next ButtonRequest @next Success @next FailureProtobuf type
LoadDevice
Modifier and Type | Class and Description |
---|---|
static class |
TrezorMessage.LoadDevice.Builder
Request: Load seed and related internal settings from the computer
@next ButtonRequest
@next Success
@next Failure
|
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 |
LABEL_FIELD_NUMBER |
static int |
LANGUAGE_FIELD_NUMBER |
static int |
MNEMONIC_FIELD_NUMBER |
static int |
NODE_FIELD_NUMBER |
static com.google.protobuf.Parser<TrezorMessage.LoadDevice> |
PARSER
Deprecated.
|
static int |
PASSPHRASE_PROTECTION_FIELD_NUMBER |
static int |
PIN_FIELD_NUMBER |
static int |
SKIP_CHECKSUM_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static TrezorMessage.LoadDevice |
getDefaultInstance() |
TrezorMessage.LoadDevice |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getLabel()
device label
|
com.google.protobuf.ByteString |
getLabelBytes()
device label
|
String |
getLanguage()
device language
|
com.google.protobuf.ByteString |
getLanguageBytes()
device language
|
String |
getMnemonic()
seed encoded as BIP-39 mnemonic (12, 18 or 24 words)
|
com.google.protobuf.ByteString |
getMnemonicBytes()
seed encoded as BIP-39 mnemonic (12, 18 or 24 words)
|
TrezorType.HDNodeType |
getNode()
BIP-32 node
|
TrezorType.HDNodeTypeOrBuilder |
getNodeOrBuilder()
BIP-32 node
|
com.google.protobuf.Parser<TrezorMessage.LoadDevice> |
getParserForType() |
boolean |
getPassphraseProtection()
enable master node encryption using passphrase
|
String |
getPin()
set PIN protection
|
com.google.protobuf.ByteString |
getPinBytes()
set PIN protection
|
int |
getSerializedSize() |
boolean |
getSkipChecksum()
do not test mnemonic for valid BIP-39 checksum
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLabel()
device label
|
boolean |
hasLanguage()
device language
|
boolean |
hasMnemonic()
seed encoded as BIP-39 mnemonic (12, 18 or 24 words)
|
boolean |
hasNode()
BIP-32 node
|
boolean |
hasPassphraseProtection()
enable master node encryption using passphrase
|
boolean |
hasPin()
set PIN protection
|
boolean |
hasSkipChecksum()
do not test mnemonic for valid BIP-39 checksum
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TrezorMessage.LoadDevice.Builder |
newBuilder() |
static TrezorMessage.LoadDevice.Builder |
newBuilder(TrezorMessage.LoadDevice prototype) |
TrezorMessage.LoadDevice.Builder |
newBuilderForType() |
protected TrezorMessage.LoadDevice.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TrezorMessage.LoadDevice |
parseDelimitedFrom(InputStream input) |
static TrezorMessage.LoadDevice |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.LoadDevice |
parseFrom(byte[] data) |
static TrezorMessage.LoadDevice |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.LoadDevice |
parseFrom(ByteBuffer data) |
static TrezorMessage.LoadDevice |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.LoadDevice |
parseFrom(com.google.protobuf.ByteString data) |
static TrezorMessage.LoadDevice |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.LoadDevice |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TrezorMessage.LoadDevice |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.LoadDevice |
parseFrom(InputStream input) |
static TrezorMessage.LoadDevice |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TrezorMessage.LoadDevice> |
parser() |
TrezorMessage.LoadDevice.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int MNEMONIC_FIELD_NUMBER
public static final int NODE_FIELD_NUMBER
public static final int PIN_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 SKIP_CHECKSUM_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<TrezorMessage.LoadDevice> 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 hasMnemonic()
seed encoded as BIP-39 mnemonic (12, 18 or 24 words)
optional string mnemonic = 1;
hasMnemonic
in interface TrezorMessage.LoadDeviceOrBuilder
public String getMnemonic()
seed encoded as BIP-39 mnemonic (12, 18 or 24 words)
optional string mnemonic = 1;
getMnemonic
in interface TrezorMessage.LoadDeviceOrBuilder
public com.google.protobuf.ByteString getMnemonicBytes()
seed encoded as BIP-39 mnemonic (12, 18 or 24 words)
optional string mnemonic = 1;
getMnemonicBytes
in interface TrezorMessage.LoadDeviceOrBuilder
public boolean hasNode()
BIP-32 node
optional .HDNodeType node = 2;
hasNode
in interface TrezorMessage.LoadDeviceOrBuilder
public TrezorType.HDNodeType getNode()
BIP-32 node
optional .HDNodeType node = 2;
getNode
in interface TrezorMessage.LoadDeviceOrBuilder
public TrezorType.HDNodeTypeOrBuilder getNodeOrBuilder()
BIP-32 node
optional .HDNodeType node = 2;
getNodeOrBuilder
in interface TrezorMessage.LoadDeviceOrBuilder
public boolean hasPin()
set PIN protection
optional string pin = 3;
hasPin
in interface TrezorMessage.LoadDeviceOrBuilder
public String getPin()
set PIN protection
optional string pin = 3;
getPin
in interface TrezorMessage.LoadDeviceOrBuilder
public com.google.protobuf.ByteString getPinBytes()
set PIN protection
optional string pin = 3;
getPinBytes
in interface TrezorMessage.LoadDeviceOrBuilder
public boolean hasPassphraseProtection()
enable master node encryption using passphrase
optional bool passphrase_protection = 4;
hasPassphraseProtection
in interface TrezorMessage.LoadDeviceOrBuilder
public boolean getPassphraseProtection()
enable master node encryption using passphrase
optional bool passphrase_protection = 4;
getPassphraseProtection
in interface TrezorMessage.LoadDeviceOrBuilder
public boolean hasLanguage()
device language
optional string language = 5 [default = "english"];
hasLanguage
in interface TrezorMessage.LoadDeviceOrBuilder
public String getLanguage()
device language
optional string language = 5 [default = "english"];
getLanguage
in interface TrezorMessage.LoadDeviceOrBuilder
public com.google.protobuf.ByteString getLanguageBytes()
device language
optional string language = 5 [default = "english"];
getLanguageBytes
in interface TrezorMessage.LoadDeviceOrBuilder
public boolean hasLabel()
device label
optional string label = 6;
hasLabel
in interface TrezorMessage.LoadDeviceOrBuilder
public String getLabel()
device label
optional string label = 6;
getLabel
in interface TrezorMessage.LoadDeviceOrBuilder
public com.google.protobuf.ByteString getLabelBytes()
device label
optional string label = 6;
getLabelBytes
in interface TrezorMessage.LoadDeviceOrBuilder
public boolean hasSkipChecksum()
do not test mnemonic for valid BIP-39 checksum
optional bool skip_checksum = 7;
hasSkipChecksum
in interface TrezorMessage.LoadDeviceOrBuilder
public boolean getSkipChecksum()
do not test mnemonic for valid BIP-39 checksum
optional bool skip_checksum = 7;
getSkipChecksum
in interface TrezorMessage.LoadDeviceOrBuilder
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 TrezorMessage.LoadDevice parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.LoadDevice parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.LoadDevice parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.LoadDevice parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.LoadDevice parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.LoadDevice parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.LoadDevice parseFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.LoadDevice parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.LoadDevice parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.LoadDevice parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.LoadDevice parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TrezorMessage.LoadDevice parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public TrezorMessage.LoadDevice.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TrezorMessage.LoadDevice.Builder newBuilder()
public static TrezorMessage.LoadDevice.Builder newBuilder(TrezorMessage.LoadDevice prototype)
public TrezorMessage.LoadDevice.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TrezorMessage.LoadDevice.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static TrezorMessage.LoadDevice getDefaultInstance()
public static com.google.protobuf.Parser<TrezorMessage.LoadDevice> parser()
public com.google.protobuf.Parser<TrezorMessage.LoadDevice> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public TrezorMessage.LoadDevice getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2013–2019 Bitcoin Solutions Ltd. All rights reserved.