public static final class KeepKeyMessage.ResetDevice extends com.google.protobuf.GeneratedMessage implements KeepKeyMessage.ResetDeviceOrBuilder
ResetDevice
Request: Ask device to do initialization involving user interaction @next EntropyRequest @next Failure
Modifier and Type | Class and Description |
---|---|
static class |
KeepKeyMessage.ResetDevice.Builder
Protobuf type
ResetDevice |
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 |
DISPLAY_RANDOM_FIELD_NUMBER |
static int |
LABEL_FIELD_NUMBER |
static int |
LANGUAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.ResetDevice> |
PARSER |
static int |
PASSPHRASE_PROTECTION_FIELD_NUMBER |
static int |
PIN_PROTECTION_FIELD_NUMBER |
static int |
STRENGTH_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static KeepKeyMessage.ResetDevice |
getDefaultInstance() |
KeepKeyMessage.ResetDevice |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDisplayRandom()
optional bool display_random = 1; |
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"]; |
com.google.protobuf.Parser<KeepKeyMessage.ResetDevice> |
getParserForType() |
boolean |
getPassphraseProtection()
optional bool passphrase_protection = 3; |
boolean |
getPinProtection()
optional bool pin_protection = 4; |
int |
getSerializedSize() |
int |
getStrength()
optional uint32 strength = 2 [default = 256]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDisplayRandom()
optional bool display_random = 1; |
boolean |
hasLabel()
optional string label = 6; |
boolean |
hasLanguage()
optional string language = 5 [default = "english"]; |
boolean |
hasPassphraseProtection()
optional bool passphrase_protection = 3; |
boolean |
hasPinProtection()
optional bool pin_protection = 4; |
boolean |
hasStrength()
optional uint32 strength = 2 [default = 256]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyMessage.ResetDevice.Builder |
newBuilder() |
static KeepKeyMessage.ResetDevice.Builder |
newBuilder(KeepKeyMessage.ResetDevice prototype) |
KeepKeyMessage.ResetDevice.Builder |
newBuilderForType() |
protected KeepKeyMessage.ResetDevice.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeepKeyMessage.ResetDevice |
parseDelimitedFrom(InputStream input) |
static KeepKeyMessage.ResetDevice |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.ResetDevice |
parseFrom(byte[] data) |
static KeepKeyMessage.ResetDevice |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.ResetDevice |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyMessage.ResetDevice |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.ResetDevice |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyMessage.ResetDevice |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.ResetDevice |
parseFrom(InputStream input) |
static KeepKeyMessage.ResetDevice |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.ResetDevice.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.ResetDevice> PARSER
public static final int DISPLAY_RANDOM_FIELD_NUMBER
public static final int STRENGTH_FIELD_NUMBER
public static final int PASSPHRASE_PROTECTION_FIELD_NUMBER
public static final int PIN_PROTECTION_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
public static KeepKeyMessage.ResetDevice getDefaultInstance()
public KeepKeyMessage.ResetDevice 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.ResetDevice> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasDisplayRandom()
optional bool display_random = 1;
display entropy generated by the device before asking for additional entropy
hasDisplayRandom
in interface KeepKeyMessage.ResetDeviceOrBuilder
public boolean getDisplayRandom()
optional bool display_random = 1;
display entropy generated by the device before asking for additional entropy
getDisplayRandom
in interface KeepKeyMessage.ResetDeviceOrBuilder
public boolean hasStrength()
optional uint32 strength = 2 [default = 256];
strength of seed in bits
hasStrength
in interface KeepKeyMessage.ResetDeviceOrBuilder
public int getStrength()
optional uint32 strength = 2 [default = 256];
strength of seed in bits
getStrength
in interface KeepKeyMessage.ResetDeviceOrBuilder
public boolean hasPassphraseProtection()
optional bool passphrase_protection = 3;
enable master node encryption using passphrase
hasPassphraseProtection
in interface KeepKeyMessage.ResetDeviceOrBuilder
public boolean getPassphraseProtection()
optional bool passphrase_protection = 3;
enable master node encryption using passphrase
getPassphraseProtection
in interface KeepKeyMessage.ResetDeviceOrBuilder
public boolean hasPinProtection()
optional bool pin_protection = 4;
enable PIN protection
hasPinProtection
in interface KeepKeyMessage.ResetDeviceOrBuilder
public boolean getPinProtection()
optional bool pin_protection = 4;
enable PIN protection
getPinProtection
in interface KeepKeyMessage.ResetDeviceOrBuilder
public boolean hasLanguage()
optional string language = 5 [default = "english"];
device language
hasLanguage
in interface KeepKeyMessage.ResetDeviceOrBuilder
public String getLanguage()
optional string language = 5 [default = "english"];
device language
getLanguage
in interface KeepKeyMessage.ResetDeviceOrBuilder
public com.google.protobuf.ByteString getLanguageBytes()
optional string language = 5 [default = "english"];
device language
getLanguageBytes
in interface KeepKeyMessage.ResetDeviceOrBuilder
public boolean hasLabel()
optional string label = 6;
device label
hasLabel
in interface KeepKeyMessage.ResetDeviceOrBuilder
public String getLabel()
optional string label = 6;
device label
getLabel
in interface KeepKeyMessage.ResetDeviceOrBuilder
public com.google.protobuf.ByteString getLabelBytes()
optional string label = 6;
device label
getLabelBytes
in interface KeepKeyMessage.ResetDeviceOrBuilder
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.ResetDevice parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.ResetDevice parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.ResetDevice parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.ResetDevice parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.ResetDevice parseFrom(InputStream input) throws IOException
IOException
public static KeepKeyMessage.ResetDevice parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.ResetDevice parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KeepKeyMessage.ResetDevice parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.ResetDevice parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static KeepKeyMessage.ResetDevice parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.ResetDevice.Builder newBuilder()
public KeepKeyMessage.ResetDevice.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static KeepKeyMessage.ResetDevice.Builder newBuilder(KeepKeyMessage.ResetDevice prototype)
public KeepKeyMessage.ResetDevice.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected KeepKeyMessage.ResetDevice.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.