public static final class KeepKeyMessage.Ping.Builder extends com.google.protobuf.GeneratedMessage.Builder<KeepKeyMessage.Ping.Builder> implements KeepKeyMessage.PingOrBuilder
Ping
Request: Test if the device is alive, device sends back the message in Success response @next Success
Modifier and Type | Method and Description |
---|---|
KeepKeyMessage.Ping |
build() |
KeepKeyMessage.Ping |
buildPartial() |
KeepKeyMessage.Ping.Builder |
clear() |
KeepKeyMessage.Ping.Builder |
clearButtonProtection()
optional bool button_protection = 2; |
KeepKeyMessage.Ping.Builder |
clearMessage()
optional string message = 1; |
KeepKeyMessage.Ping.Builder |
clearPassphraseProtection()
optional bool passphrase_protection = 4; |
KeepKeyMessage.Ping.Builder |
clearPinProtection()
optional bool pin_protection = 3; |
KeepKeyMessage.Ping.Builder |
clone() |
boolean |
getButtonProtection()
optional bool button_protection = 2; |
KeepKeyMessage.Ping |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMessage()
optional string message = 1; |
com.google.protobuf.ByteString |
getMessageBytes()
optional string message = 1; |
boolean |
getPassphraseProtection()
optional bool passphrase_protection = 4; |
boolean |
getPinProtection()
optional bool pin_protection = 3; |
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() |
KeepKeyMessage.Ping.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.Ping.Builder |
mergeFrom(KeepKeyMessage.Ping other) |
KeepKeyMessage.Ping.Builder |
mergeFrom(com.google.protobuf.Message other) |
KeepKeyMessage.Ping.Builder |
setButtonProtection(boolean value)
optional bool button_protection = 2; |
KeepKeyMessage.Ping.Builder |
setMessage(String value)
optional string message = 1; |
KeepKeyMessage.Ping.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
optional string message = 1; |
KeepKeyMessage.Ping.Builder |
setPassphraseProtection(boolean value)
optional bool passphrase_protection = 4; |
KeepKeyMessage.Ping.Builder |
setPinProtection(boolean value)
optional bool pin_protection = 3; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<KeepKeyMessage.Ping.Builder>
public KeepKeyMessage.Ping.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<KeepKeyMessage.Ping.Builder>
public KeepKeyMessage.Ping.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<KeepKeyMessage.Ping.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<KeepKeyMessage.Ping.Builder>
public KeepKeyMessage.Ping getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public KeepKeyMessage.Ping build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public KeepKeyMessage.Ping buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public KeepKeyMessage.Ping.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<KeepKeyMessage.Ping.Builder>
public KeepKeyMessage.Ping.Builder mergeFrom(KeepKeyMessage.Ping other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<KeepKeyMessage.Ping.Builder>
public KeepKeyMessage.Ping.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<KeepKeyMessage.Ping.Builder>
IOException
public boolean hasMessage()
optional string message = 1;
message to send back in Success message
hasMessage
in interface KeepKeyMessage.PingOrBuilder
public String getMessage()
optional string message = 1;
message to send back in Success message
getMessage
in interface KeepKeyMessage.PingOrBuilder
public com.google.protobuf.ByteString getMessageBytes()
optional string message = 1;
message to send back in Success message
getMessageBytes
in interface KeepKeyMessage.PingOrBuilder
public KeepKeyMessage.Ping.Builder setMessage(String value)
optional string message = 1;
message to send back in Success message
public KeepKeyMessage.Ping.Builder clearMessage()
optional string message = 1;
message to send back in Success message
public KeepKeyMessage.Ping.Builder setMessageBytes(com.google.protobuf.ByteString value)
optional string message = 1;
message to send back in Success message
public boolean hasButtonProtection()
optional bool button_protection = 2;
ask for button press
hasButtonProtection
in interface KeepKeyMessage.PingOrBuilder
public boolean getButtonProtection()
optional bool button_protection = 2;
ask for button press
getButtonProtection
in interface KeepKeyMessage.PingOrBuilder
public KeepKeyMessage.Ping.Builder setButtonProtection(boolean value)
optional bool button_protection = 2;
ask for button press
public KeepKeyMessage.Ping.Builder clearButtonProtection()
optional bool button_protection = 2;
ask for button press
public boolean hasPinProtection()
optional bool pin_protection = 3;
ask for PIN if set in device
hasPinProtection
in interface KeepKeyMessage.PingOrBuilder
public boolean getPinProtection()
optional bool pin_protection = 3;
ask for PIN if set in device
getPinProtection
in interface KeepKeyMessage.PingOrBuilder
public KeepKeyMessage.Ping.Builder setPinProtection(boolean value)
optional bool pin_protection = 3;
ask for PIN if set in device
public KeepKeyMessage.Ping.Builder clearPinProtection()
optional bool pin_protection = 3;
ask for PIN if set in device
public boolean hasPassphraseProtection()
optional bool passphrase_protection = 4;
ask for passphrase if set in device
hasPassphraseProtection
in interface KeepKeyMessage.PingOrBuilder
public boolean getPassphraseProtection()
optional bool passphrase_protection = 4;
ask for passphrase if set in device
getPassphraseProtection
in interface KeepKeyMessage.PingOrBuilder
public KeepKeyMessage.Ping.Builder setPassphraseProtection(boolean value)
optional bool passphrase_protection = 4;
ask for passphrase if set in device
public KeepKeyMessage.Ping.Builder clearPassphraseProtection()
optional bool passphrase_protection = 4;
ask for passphrase if set in device
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.