public static final class KeepKeyMessage.Ping extends com.google.protobuf.GeneratedMessage implements KeepKeyMessage.PingOrBuilder
Ping
Request: Test if the device is alive, device sends back the message in Success response @next Success
| Modifier and Type | Class and Description |
|---|---|
static class |
KeepKeyMessage.Ping.Builder
Protobuf type
Ping |
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 |
BUTTON_PROTECTION_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.Ping> |
PARSER |
static int |
PASSPHRASE_PROTECTION_FIELD_NUMBER |
static int |
PIN_PROTECTION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getButtonProtection()
optional bool button_protection = 2; |
static KeepKeyMessage.Ping |
getDefaultInstance() |
KeepKeyMessage.Ping |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMessage()
optional string message = 1; |
com.google.protobuf.ByteString |
getMessageBytes()
optional string message = 1; |
com.google.protobuf.Parser<KeepKeyMessage.Ping> |
getParserForType() |
boolean |
getPassphraseProtection()
optional bool passphrase_protection = 4; |
boolean |
getPinProtection()
optional bool pin_protection = 3; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasButtonProtection()
optional bool button_protection = 2; |
boolean |
hasMessage()
optional string message = 1; |
boolean |
hasPassphraseProtection()
optional bool passphrase_protection = 4; |
boolean |
hasPinProtection()
optional bool pin_protection = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyMessage.Ping.Builder |
newBuilder() |
static KeepKeyMessage.Ping.Builder |
newBuilder(KeepKeyMessage.Ping prototype) |
KeepKeyMessage.Ping.Builder |
newBuilderForType() |
protected KeepKeyMessage.Ping.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeepKeyMessage.Ping |
parseDelimitedFrom(InputStream input) |
static KeepKeyMessage.Ping |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.Ping |
parseFrom(byte[] data) |
static KeepKeyMessage.Ping |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.Ping |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyMessage.Ping |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.Ping |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyMessage.Ping |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.Ping |
parseFrom(InputStream input) |
static KeepKeyMessage.Ping |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.Ping.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, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<KeepKeyMessage.Ping> PARSER
public static final int MESSAGE_FIELD_NUMBER
public static final int BUTTON_PROTECTION_FIELD_NUMBER
public static final int PIN_PROTECTION_FIELD_NUMBER
public static final int PASSPHRASE_PROTECTION_FIELD_NUMBER
public static KeepKeyMessage.Ping getDefaultInstance()
public KeepKeyMessage.Ping getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<KeepKeyMessage.Ping> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasMessage()
optional string message = 1;
message to send back in Success message
hasMessage in interface KeepKeyMessage.PingOrBuilderpublic String getMessage()
optional string message = 1;
message to send back in Success message
getMessage in interface KeepKeyMessage.PingOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
optional string message = 1;
message to send back in Success message
getMessageBytes in interface KeepKeyMessage.PingOrBuilderpublic boolean hasButtonProtection()
optional bool button_protection = 2;
ask for button press
hasButtonProtection in interface KeepKeyMessage.PingOrBuilderpublic boolean getButtonProtection()
optional bool button_protection = 2;
ask for button press
getButtonProtection in interface KeepKeyMessage.PingOrBuilderpublic boolean hasPinProtection()
optional bool pin_protection = 3;
ask for PIN if set in device
hasPinProtection in interface KeepKeyMessage.PingOrBuilderpublic boolean getPinProtection()
optional bool pin_protection = 3;
ask for PIN if set in device
getPinProtection in interface KeepKeyMessage.PingOrBuilderpublic boolean hasPassphraseProtection()
optional bool passphrase_protection = 4;
ask for passphrase if set in device
hasPassphraseProtection in interface KeepKeyMessage.PingOrBuilderpublic boolean getPassphraseProtection()
optional bool passphrase_protection = 4;
ask for passphrase if set in device
getPassphraseProtection in interface KeepKeyMessage.PingOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static KeepKeyMessage.Ping parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.Ping parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.Ping parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.Ping parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.Ping parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.Ping parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.Ping parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.Ping parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.Ping parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.Ping parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.Ping.Builder newBuilder()
public KeepKeyMessage.Ping.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyMessage.Ping.Builder newBuilder(KeepKeyMessage.Ping prototype)
public KeepKeyMessage.Ping.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KeepKeyMessage.Ping.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.