public static final class KeepKeyMessage.Ping extends com.google.protobuf.GeneratedMessageV3 implements KeepKeyMessage.PingOrBuilder
Request: Test if the device is alive, device sends back the message in Success response @next SuccessProtobuf type
Ping| Modifier and Type | Class and Description |
|---|---|
static class |
KeepKeyMessage.Ping.Builder
Request: Test if the device is alive, device sends back the message in Success response
@next Success
|
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 |
BUTTON_PROTECTION_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.Ping> |
PARSER
Deprecated.
|
static int |
PASSPHRASE_PROTECTION_FIELD_NUMBER |
static int |
PIN_PROTECTION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getButtonProtection()
ask for button press
|
static KeepKeyMessage.Ping |
getDefaultInstance() |
KeepKeyMessage.Ping |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMessage()
message to send back in Success message
|
com.google.protobuf.ByteString |
getMessageBytes()
message to send back in Success message
|
com.google.protobuf.Parser<KeepKeyMessage.Ping> |
getParserForType() |
boolean |
getPassphraseProtection()
ask for passphrase if set in device
|
boolean |
getPinProtection()
ask for PIN if set in device
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasButtonProtection()
ask for button press
|
int |
hashCode() |
boolean |
hasMessage()
message to send back in Success message
|
boolean |
hasPassphraseProtection()
ask for passphrase if set in device
|
boolean |
hasPinProtection()
ask for PIN if set in device
|
protected com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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(ByteBuffer data) |
static KeepKeyMessage.Ping |
parseFrom(ByteBuffer 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) |
static com.google.protobuf.Parser<KeepKeyMessage.Ping> |
parser() |
KeepKeyMessage.Ping.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 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
@Deprecated public static final com.google.protobuf.Parser<KeepKeyMessage.Ping> 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 hasMessage()
message to send back in Success message
optional string message = 1;hasMessage in interface KeepKeyMessage.PingOrBuilderpublic String getMessage()
message to send back in Success message
optional string message = 1;getMessage in interface KeepKeyMessage.PingOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
message to send back in Success message
optional string message = 1;getMessageBytes in interface KeepKeyMessage.PingOrBuilderpublic boolean hasButtonProtection()
ask for button press
optional bool button_protection = 2;hasButtonProtection in interface KeepKeyMessage.PingOrBuilderpublic boolean getButtonProtection()
ask for button press
optional bool button_protection = 2;getButtonProtection in interface KeepKeyMessage.PingOrBuilderpublic boolean hasPinProtection()
ask for PIN if set in device
optional bool pin_protection = 3;hasPinProtection in interface KeepKeyMessage.PingOrBuilderpublic boolean getPinProtection()
ask for PIN if set in device
optional bool pin_protection = 3;getPinProtection in interface KeepKeyMessage.PingOrBuilderpublic boolean hasPassphraseProtection()
ask for passphrase if set in device
optional bool passphrase_protection = 4;hasPassphraseProtection in interface KeepKeyMessage.PingOrBuilderpublic boolean getPassphraseProtection()
ask for passphrase if set in device
optional bool passphrase_protection = 4;getPassphraseProtection in interface KeepKeyMessage.PingOrBuilderpublic 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 KeepKeyMessage.Ping parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.Ping parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic 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 KeepKeyMessage.Ping.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyMessage.Ping.Builder newBuilder()
public 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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static KeepKeyMessage.Ping getDefaultInstance()
public static com.google.protobuf.Parser<KeepKeyMessage.Ping> parser()
public 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.GeneratedMessageV3public KeepKeyMessage.Ping getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.