public static final class KeepKeyMessage.LoadDevice extends com.google.protobuf.GeneratedMessage implements KeepKeyMessage.LoadDeviceOrBuilder
LoadDevice
Request: Load seed and related internal settings from the computer @next ButtonRequest @next Success @next Failure
Modifier and Type | Class and Description |
---|---|
static class |
KeepKeyMessage.LoadDevice.Builder
Protobuf type
LoadDevice |
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 |
LABEL_FIELD_NUMBER |
static int |
LANGUAGE_FIELD_NUMBER |
static int |
MNEMONIC_FIELD_NUMBER |
static int |
NODE_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.LoadDevice> |
PARSER |
static int |
PASSPHRASE_PROTECTION_FIELD_NUMBER |
static int |
PIN_FIELD_NUMBER |
static int |
SKIP_CHECKSUM_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static KeepKeyMessage.LoadDevice |
getDefaultInstance() |
KeepKeyMessage.LoadDevice |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getLabel()
optional string label = 6; |
com.google.protobuf.ByteString |
getLabelBytes()
optional string label = 6; |
String |
getLanguage()
optional string language = 5 [default = "english"]; |
com.google.protobuf.ByteString |
getLanguageBytes()
optional string language = 5 [default = "english"]; |
String |
getMnemonic()
optional string mnemonic = 1; |
com.google.protobuf.ByteString |
getMnemonicBytes()
optional string mnemonic = 1; |
KeepKeyType.HDNodeType |
getNode()
optional .HDNodeType node = 2; |
KeepKeyType.HDNodeTypeOrBuilder |
getNodeOrBuilder()
optional .HDNodeType node = 2; |
com.google.protobuf.Parser<KeepKeyMessage.LoadDevice> |
getParserForType() |
boolean |
getPassphraseProtection()
optional bool passphrase_protection = 4; |
String |
getPin()
optional string pin = 3; |
com.google.protobuf.ByteString |
getPinBytes()
optional string pin = 3; |
int |
getSerializedSize() |
boolean |
getSkipChecksum()
optional bool skip_checksum = 7; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasLabel()
optional string label = 6; |
boolean |
hasLanguage()
optional string language = 5 [default = "english"]; |
boolean |
hasMnemonic()
optional string mnemonic = 1; |
boolean |
hasNode()
optional .HDNodeType node = 2; |
boolean |
hasPassphraseProtection()
optional bool passphrase_protection = 4; |
boolean |
hasPin()
optional string pin = 3; |
boolean |
hasSkipChecksum()
optional bool skip_checksum = 7; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyMessage.LoadDevice.Builder |
newBuilder() |
static KeepKeyMessage.LoadDevice.Builder |
newBuilder(KeepKeyMessage.LoadDevice prototype) |
KeepKeyMessage.LoadDevice.Builder |
newBuilderForType() |
protected KeepKeyMessage.LoadDevice.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeepKeyMessage.LoadDevice |
parseDelimitedFrom(InputStream input) |
static KeepKeyMessage.LoadDevice |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.LoadDevice |
parseFrom(byte[] data) |
static KeepKeyMessage.LoadDevice |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.LoadDevice |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyMessage.LoadDevice |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.LoadDevice |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyMessage.LoadDevice |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.LoadDevice |
parseFrom(InputStream input) |
static KeepKeyMessage.LoadDevice |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.LoadDevice.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<KeepKeyMessage.LoadDevice> PARSER
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
public static KeepKeyMessage.LoadDevice getDefaultInstance()
public KeepKeyMessage.LoadDevice 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<KeepKeyMessage.LoadDevice> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasMnemonic()
optional string mnemonic = 1;
seed encoded as BIP-39 mnemonic (12, 18 or 24 words)
hasMnemonic
in interface KeepKeyMessage.LoadDeviceOrBuilder
public String getMnemonic()
optional string mnemonic = 1;
seed encoded as BIP-39 mnemonic (12, 18 or 24 words)
getMnemonic
in interface KeepKeyMessage.LoadDeviceOrBuilder
public com.google.protobuf.ByteString getMnemonicBytes()
optional string mnemonic = 1;
seed encoded as BIP-39 mnemonic (12, 18 or 24 words)
getMnemonicBytes
in interface KeepKeyMessage.LoadDeviceOrBuilder
public boolean hasNode()
optional .HDNodeType node = 2;
BIP-32 node
hasNode
in interface KeepKeyMessage.LoadDeviceOrBuilder
public KeepKeyType.HDNodeType getNode()
optional .HDNodeType node = 2;
BIP-32 node
getNode
in interface KeepKeyMessage.LoadDeviceOrBuilder
public KeepKeyType.HDNodeTypeOrBuilder getNodeOrBuilder()
optional .HDNodeType node = 2;
BIP-32 node
getNodeOrBuilder
in interface KeepKeyMessage.LoadDeviceOrBuilder
public boolean hasPin()
optional string pin = 3;
set PIN protection
hasPin
in interface KeepKeyMessage.LoadDeviceOrBuilder
public String getPin()
optional string pin = 3;
set PIN protection
getPin
in interface KeepKeyMessage.LoadDeviceOrBuilder
public com.google.protobuf.ByteString getPinBytes()
optional string pin = 3;
set PIN protection
getPinBytes
in interface KeepKeyMessage.LoadDeviceOrBuilder
public boolean hasPassphraseProtection()
optional bool passphrase_protection = 4;
enable master node encryption using passphrase
hasPassphraseProtection
in interface KeepKeyMessage.LoadDeviceOrBuilder
public boolean getPassphraseProtection()
optional bool passphrase_protection = 4;
enable master node encryption using passphrase
getPassphraseProtection
in interface KeepKeyMessage.LoadDeviceOrBuilder
public boolean hasLanguage()
optional string language = 5 [default = "english"];
device language
hasLanguage
in interface KeepKeyMessage.LoadDeviceOrBuilder
public String getLanguage()
optional string language = 5 [default = "english"];
device language
getLanguage
in interface KeepKeyMessage.LoadDeviceOrBuilder
public com.google.protobuf.ByteString getLanguageBytes()
optional string language = 5 [default = "english"];
device language
getLanguageBytes
in interface KeepKeyMessage.LoadDeviceOrBuilder
public boolean hasLabel()
optional string label = 6;
device label
hasLabel
in interface KeepKeyMessage.LoadDeviceOrBuilder
public String getLabel()
optional string label = 6;
device label
getLabel
in interface KeepKeyMessage.LoadDeviceOrBuilder
public com.google.protobuf.ByteString getLabelBytes()
optional string label = 6;
device label
getLabelBytes
in interface KeepKeyMessage.LoadDeviceOrBuilder
public boolean hasSkipChecksum()
optional bool skip_checksum = 7;
do not test mnemonic for valid BIP-39 checksum
hasSkipChecksum
in interface KeepKeyMessage.LoadDeviceOrBuilder
public boolean getSkipChecksum()
optional bool skip_checksum = 7;
do not test mnemonic for valid BIP-39 checksum
getSkipChecksum
in interface KeepKeyMessage.LoadDeviceOrBuilder
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 KeepKeyMessage.LoadDevice parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.LoadDevice parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.LoadDevice parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.LoadDevice parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.LoadDevice parseFrom(InputStream input) throws IOException
IOException
public static KeepKeyMessage.LoadDevice parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.LoadDevice parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KeepKeyMessage.LoadDevice parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.LoadDevice parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static KeepKeyMessage.LoadDevice parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.LoadDevice.Builder newBuilder()
public KeepKeyMessage.LoadDevice.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static KeepKeyMessage.LoadDevice.Builder newBuilder(KeepKeyMessage.LoadDevice prototype)
public KeepKeyMessage.LoadDevice.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected KeepKeyMessage.LoadDevice.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.