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, 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<TrezorMessage.Ping.Builder>
public TrezorMessage.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<TrezorMessage.Ping.Builder>
public TrezorMessage.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<TrezorMessage.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<TrezorMessage.Ping.Builder>
public TrezorMessage.Ping getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TrezorMessage.Ping build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TrezorMessage.Ping buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TrezorMessage.Ping.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TrezorMessage.Ping.Builder>
IOException
public boolean hasMessage()
optional string message = 1;
message to send back in Success message
hasMessage
in interface TrezorMessage.PingOrBuilder
public String getMessage()
optional string message = 1;
message to send back in Success message
getMessage
in interface TrezorMessage.PingOrBuilder
public com.google.protobuf.ByteString getMessageBytes()
optional string message = 1;
message to send back in Success message
getMessageBytes
in interface TrezorMessage.PingOrBuilder
public 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.PingOrBuilder
public boolean getButtonProtection()
optional bool button_protection = 2;
ask for button press
getButtonProtection
in interface TrezorMessage.PingOrBuilder
public 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.PingOrBuilder
public boolean getPinProtection()
optional bool pin_protection = 3;
ask for PIN if set in device
getPinProtection
in interface TrezorMessage.PingOrBuilder
public 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.PingOrBuilder
public boolean getPassphraseProtection()
optional bool passphrase_protection = 4;
ask for passphrase if set in device
getPassphraseProtection
in interface TrezorMessage.PingOrBuilder
public 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.