public static final class TrezorMessage.Ping.Builder extends com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.Ping.Builder> implements TrezorMessage.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 |
|---|---|
TrezorMessage.Ping |
build() |
TrezorMessage.Ping |
buildPartial() |
TrezorMessage.Ping.Builder |
clear() |
TrezorMessage.Ping.Builder |
clearButtonProtection()
optional bool button_protection = 2; |
TrezorMessage.Ping.Builder |
clearMessage()
optional string message = 1; |
TrezorMessage.Ping.Builder |
clearPassphraseProtection()
optional bool passphrase_protection = 4; |
TrezorMessage.Ping.Builder |
clearPinProtection()
optional bool pin_protection = 3; |
TrezorMessage.Ping.Builder |
clone() |
boolean |
getButtonProtection()
optional bool button_protection = 2; |
TrezorMessage.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() |
TrezorMessage.Ping.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TrezorMessage.Ping.Builder |
mergeFrom(com.google.protobuf.Message other) |
TrezorMessage.Ping.Builder |
mergeFrom(TrezorMessage.Ping other) |
TrezorMessage.Ping.Builder |
setButtonProtection(boolean value)
optional bool button_protection = 2; |
TrezorMessage.Ping.Builder |
setMessage(String value)
optional string message = 1; |
TrezorMessage.Ping.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
optional string message = 1; |
TrezorMessage.Ping.Builder |
setPassphraseProtection(boolean value)
optional bool passphrase_protection = 4; |
TrezorMessage.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, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.Ping.Builder>public TrezorMessage.Ping.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.Ping.Builder>public TrezorMessage.Ping.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.Ping.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.Ping.Builder>public TrezorMessage.Ping getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TrezorMessage.Ping build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TrezorMessage.Ping buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TrezorMessage.Ping.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrezorMessage.Ping.Builder>public TrezorMessage.Ping.Builder mergeFrom(TrezorMessage.Ping other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.Ping.Builder>public TrezorMessage.Ping.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrezorMessage.Ping.Builder>IOExceptionpublic boolean hasMessage()
optional string message = 1;
message to send back in Success message
hasMessage in interface TrezorMessage.PingOrBuilderpublic String getMessage()
optional string message = 1;
message to send back in Success message
getMessage in interface TrezorMessage.PingOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
optional string message = 1;
message to send back in Success message
getMessageBytes in interface TrezorMessage.PingOrBuilderpublic TrezorMessage.Ping.Builder setMessage(String value)
optional string message = 1;
message to send back in Success message
public TrezorMessage.Ping.Builder clearMessage()
optional string message = 1;
message to send back in Success message
public TrezorMessage.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 TrezorMessage.PingOrBuilderpublic boolean getButtonProtection()
optional bool button_protection = 2;
ask for button press
getButtonProtection in interface TrezorMessage.PingOrBuilderpublic TrezorMessage.Ping.Builder setButtonProtection(boolean value)
optional bool button_protection = 2;
ask for button press
public TrezorMessage.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 TrezorMessage.PingOrBuilderpublic boolean getPinProtection()
optional bool pin_protection = 3;
ask for PIN if set in device
getPinProtection in interface TrezorMessage.PingOrBuilderpublic TrezorMessage.Ping.Builder setPinProtection(boolean value)
optional bool pin_protection = 3;
ask for PIN if set in device
public TrezorMessage.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 TrezorMessage.PingOrBuilderpublic boolean getPassphraseProtection()
optional bool passphrase_protection = 4;
ask for passphrase if set in device
getPassphraseProtection in interface TrezorMessage.PingOrBuilderpublic TrezorMessage.Ping.Builder setPassphraseProtection(boolean value)
optional bool passphrase_protection = 4;
ask for passphrase if set in device
public TrezorMessage.Ping.Builder clearPassphraseProtection()
optional bool passphrase_protection = 4;
ask for passphrase if set in device
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.