public static final class TrezorMessage.VerifyMessage extends com.google.protobuf.GeneratedMessage implements TrezorMessage.VerifyMessageOrBuilder
VerifyMessage
Request: Ask device to verify message @next Success @next Failure
Modifier and Type | Class and Description |
---|---|
static class |
TrezorMessage.VerifyMessage.Builder
Protobuf type
VerifyMessage |
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 |
ADDRESS_FIELD_NUMBER |
static int |
COIN_NAME_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<TrezorMessage.VerifyMessage> |
PARSER |
static int |
SIGNATURE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
optional string address = 1; |
com.google.protobuf.ByteString |
getAddressBytes()
optional string address = 1; |
String |
getCoinName()
optional string coin_name = 4 [default = "Bitcoin"]; |
com.google.protobuf.ByteString |
getCoinNameBytes()
optional string coin_name = 4 [default = "Bitcoin"]; |
static TrezorMessage.VerifyMessage |
getDefaultInstance() |
TrezorMessage.VerifyMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getMessage()
optional bytes message = 3; |
com.google.protobuf.Parser<TrezorMessage.VerifyMessage> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getSignature()
optional bytes signature = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAddress()
optional string address = 1; |
boolean |
hasCoinName()
optional string coin_name = 4 [default = "Bitcoin"]; |
boolean |
hasMessage()
optional bytes message = 3; |
boolean |
hasSignature()
optional bytes signature = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TrezorMessage.VerifyMessage.Builder |
newBuilder() |
static TrezorMessage.VerifyMessage.Builder |
newBuilder(TrezorMessage.VerifyMessage prototype) |
TrezorMessage.VerifyMessage.Builder |
newBuilderForType() |
protected TrezorMessage.VerifyMessage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static TrezorMessage.VerifyMessage |
parseDelimitedFrom(InputStream input) |
static TrezorMessage.VerifyMessage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.VerifyMessage |
parseFrom(byte[] data) |
static TrezorMessage.VerifyMessage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.VerifyMessage |
parseFrom(com.google.protobuf.ByteString data) |
static TrezorMessage.VerifyMessage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.VerifyMessage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TrezorMessage.VerifyMessage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.VerifyMessage |
parseFrom(InputStream input) |
static TrezorMessage.VerifyMessage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TrezorMessage.VerifyMessage.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, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<TrezorMessage.VerifyMessage> PARSER
public static final int ADDRESS_FIELD_NUMBER
public static final int SIGNATURE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int COIN_NAME_FIELD_NUMBER
public static TrezorMessage.VerifyMessage getDefaultInstance()
public TrezorMessage.VerifyMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<TrezorMessage.VerifyMessage> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasAddress()
optional string address = 1;
address to verify
hasAddress
in interface TrezorMessage.VerifyMessageOrBuilder
public String getAddress()
optional string address = 1;
address to verify
getAddress
in interface TrezorMessage.VerifyMessageOrBuilder
public com.google.protobuf.ByteString getAddressBytes()
optional string address = 1;
address to verify
getAddressBytes
in interface TrezorMessage.VerifyMessageOrBuilder
public boolean hasSignature()
optional bytes signature = 2;
signature to verify
hasSignature
in interface TrezorMessage.VerifyMessageOrBuilder
public com.google.protobuf.ByteString getSignature()
optional bytes signature = 2;
signature to verify
getSignature
in interface TrezorMessage.VerifyMessageOrBuilder
public boolean hasMessage()
optional bytes message = 3;
message to verify
hasMessage
in interface TrezorMessage.VerifyMessageOrBuilder
public com.google.protobuf.ByteString getMessage()
optional bytes message = 3;
message to verify
getMessage
in interface TrezorMessage.VerifyMessageOrBuilder
public boolean hasCoinName()
optional string coin_name = 4 [default = "Bitcoin"];
coin to use for verifying
hasCoinName
in interface TrezorMessage.VerifyMessageOrBuilder
public String getCoinName()
optional string coin_name = 4 [default = "Bitcoin"];
coin to use for verifying
getCoinName
in interface TrezorMessage.VerifyMessageOrBuilder
public com.google.protobuf.ByteString getCoinNameBytes()
optional string coin_name = 4 [default = "Bitcoin"];
coin to use for verifying
getCoinNameBytes
in interface TrezorMessage.VerifyMessageOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static TrezorMessage.VerifyMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.VerifyMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.VerifyMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.VerifyMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.VerifyMessage parseFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.VerifyMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.VerifyMessage parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.VerifyMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.VerifyMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TrezorMessage.VerifyMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.VerifyMessage.Builder newBuilder()
public TrezorMessage.VerifyMessage.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TrezorMessage.VerifyMessage.Builder newBuilder(TrezorMessage.VerifyMessage prototype)
public TrezorMessage.VerifyMessage.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TrezorMessage.VerifyMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.