public static final class TrezorType.IdentityType extends com.google.protobuf.GeneratedMessage implements TrezorType.IdentityTypeOrBuilder
IdentityType
Structure representing identity data @used_in IdentityType
Modifier and Type | Class and Description |
---|---|
static class |
TrezorType.IdentityType.Builder
Protobuf type
IdentityType |
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 |
HOST_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static com.google.protobuf.Parser<TrezorType.IdentityType> |
PARSER |
static int |
PATH_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
static int |
PROTO_FIELD_NUMBER |
static int |
USER_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static TrezorType.IdentityType |
getDefaultInstance() |
TrezorType.IdentityType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHost()
optional string host = 3; |
com.google.protobuf.ByteString |
getHostBytes()
optional string host = 3; |
int |
getIndex()
optional uint32 index = 6 [default = 0]; |
com.google.protobuf.Parser<TrezorType.IdentityType> |
getParserForType() |
String |
getPath()
optional string path = 5; |
com.google.protobuf.ByteString |
getPathBytes()
optional string path = 5; |
String |
getPort()
optional string port = 4; |
com.google.protobuf.ByteString |
getPortBytes()
optional string port = 4; |
String |
getProto()
optional string proto = 1; |
com.google.protobuf.ByteString |
getProtoBytes()
optional string proto = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUser()
optional string user = 2; |
com.google.protobuf.ByteString |
getUserBytes()
optional string user = 2; |
boolean |
hasHost()
optional string host = 3; |
boolean |
hasIndex()
optional uint32 index = 6 [default = 0]; |
boolean |
hasPath()
optional string path = 5; |
boolean |
hasPort()
optional string port = 4; |
boolean |
hasProto()
optional string proto = 1; |
boolean |
hasUser()
optional string user = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TrezorType.IdentityType.Builder |
newBuilder() |
static TrezorType.IdentityType.Builder |
newBuilder(TrezorType.IdentityType prototype) |
TrezorType.IdentityType.Builder |
newBuilderForType() |
protected TrezorType.IdentityType.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static TrezorType.IdentityType |
parseDelimitedFrom(InputStream input) |
static TrezorType.IdentityType |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.IdentityType |
parseFrom(byte[] data) |
static TrezorType.IdentityType |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.IdentityType |
parseFrom(com.google.protobuf.ByteString data) |
static TrezorType.IdentityType |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.IdentityType |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TrezorType.IdentityType |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.IdentityType |
parseFrom(InputStream input) |
static TrezorType.IdentityType |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TrezorType.IdentityType.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<TrezorType.IdentityType> PARSER
public static final int PROTO_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER
public static TrezorType.IdentityType getDefaultInstance()
public TrezorType.IdentityType 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<TrezorType.IdentityType> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasProto()
optional string proto = 1;
proto part of URI
hasProto
in interface TrezorType.IdentityTypeOrBuilder
public String getProto()
optional string proto = 1;
proto part of URI
getProto
in interface TrezorType.IdentityTypeOrBuilder
public com.google.protobuf.ByteString getProtoBytes()
optional string proto = 1;
proto part of URI
getProtoBytes
in interface TrezorType.IdentityTypeOrBuilder
public boolean hasUser()
optional string user = 2;
user part of URI
hasUser
in interface TrezorType.IdentityTypeOrBuilder
public String getUser()
optional string user = 2;
user part of URI
getUser
in interface TrezorType.IdentityTypeOrBuilder
public com.google.protobuf.ByteString getUserBytes()
optional string user = 2;
user part of URI
getUserBytes
in interface TrezorType.IdentityTypeOrBuilder
public boolean hasHost()
optional string host = 3;
host part of URI
hasHost
in interface TrezorType.IdentityTypeOrBuilder
public String getHost()
optional string host = 3;
host part of URI
getHost
in interface TrezorType.IdentityTypeOrBuilder
public com.google.protobuf.ByteString getHostBytes()
optional string host = 3;
host part of URI
getHostBytes
in interface TrezorType.IdentityTypeOrBuilder
public boolean hasPort()
optional string port = 4;
port part of URI
hasPort
in interface TrezorType.IdentityTypeOrBuilder
public String getPort()
optional string port = 4;
port part of URI
getPort
in interface TrezorType.IdentityTypeOrBuilder
public com.google.protobuf.ByteString getPortBytes()
optional string port = 4;
port part of URI
getPortBytes
in interface TrezorType.IdentityTypeOrBuilder
public boolean hasPath()
optional string path = 5;
path part of URI
hasPath
in interface TrezorType.IdentityTypeOrBuilder
public String getPath()
optional string path = 5;
path part of URI
getPath
in interface TrezorType.IdentityTypeOrBuilder
public com.google.protobuf.ByteString getPathBytes()
optional string path = 5;
path part of URI
getPathBytes
in interface TrezorType.IdentityTypeOrBuilder
public boolean hasIndex()
optional uint32 index = 6 [default = 0];
identity index
hasIndex
in interface TrezorType.IdentityTypeOrBuilder
public int getIndex()
optional uint32 index = 6 [default = 0];
identity index
getIndex
in interface TrezorType.IdentityTypeOrBuilder
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 TrezorType.IdentityType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorType.IdentityType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorType.IdentityType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorType.IdentityType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorType.IdentityType parseFrom(InputStream input) throws IOException
IOException
public static TrezorType.IdentityType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorType.IdentityType parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TrezorType.IdentityType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorType.IdentityType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TrezorType.IdentityType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorType.IdentityType.Builder newBuilder()
public TrezorType.IdentityType.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TrezorType.IdentityType.Builder newBuilder(TrezorType.IdentityType prototype)
public TrezorType.IdentityType.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TrezorType.IdentityType.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.