public static final class TrezorType.IdentityType.Builder extends com.google.protobuf.GeneratedMessage.Builder<TrezorType.IdentityType.Builder> implements TrezorType.IdentityTypeOrBuilder
IdentityType
Structure representing identity data @used_in IdentityType
| Modifier and Type | Method and Description |
|---|---|
TrezorType.IdentityType |
build() |
TrezorType.IdentityType |
buildPartial() |
TrezorType.IdentityType.Builder |
clear() |
TrezorType.IdentityType.Builder |
clearHost()
optional string host = 3; |
TrezorType.IdentityType.Builder |
clearIndex()
optional uint32 index = 6 [default = 0]; |
TrezorType.IdentityType.Builder |
clearPath()
optional string path = 5; |
TrezorType.IdentityType.Builder |
clearPort()
optional string port = 4; |
TrezorType.IdentityType.Builder |
clearProto()
optional string proto = 1; |
TrezorType.IdentityType.Builder |
clearUser()
optional string user = 2; |
TrezorType.IdentityType.Builder |
clone() |
TrezorType.IdentityType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHost()
optional string host = 3; |
com.google.protobuf.ByteString |
getHostBytes()
optional string host = 3; |
int |
getIndex()
optional uint32 index = 6 [default = 0]; |
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; |
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() |
TrezorType.IdentityType.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TrezorType.IdentityType.Builder |
mergeFrom(com.google.protobuf.Message other) |
TrezorType.IdentityType.Builder |
mergeFrom(TrezorType.IdentityType other) |
TrezorType.IdentityType.Builder |
setHost(String value)
optional string host = 3; |
TrezorType.IdentityType.Builder |
setHostBytes(com.google.protobuf.ByteString value)
optional string host = 3; |
TrezorType.IdentityType.Builder |
setIndex(int value)
optional uint32 index = 6 [default = 0]; |
TrezorType.IdentityType.Builder |
setPath(String value)
optional string path = 5; |
TrezorType.IdentityType.Builder |
setPathBytes(com.google.protobuf.ByteString value)
optional string path = 5; |
TrezorType.IdentityType.Builder |
setPort(String value)
optional string port = 4; |
TrezorType.IdentityType.Builder |
setPortBytes(com.google.protobuf.ByteString value)
optional string port = 4; |
TrezorType.IdentityType.Builder |
setProto(String value)
optional string proto = 1; |
TrezorType.IdentityType.Builder |
setProtoBytes(com.google.protobuf.ByteString value)
optional string proto = 1; |
TrezorType.IdentityType.Builder |
setUser(String value)
optional string user = 2; |
TrezorType.IdentityType.Builder |
setUserBytes(com.google.protobuf.ByteString value)
optional string user = 2; |
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<TrezorType.IdentityType.Builder>public TrezorType.IdentityType.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<TrezorType.IdentityType.Builder>public TrezorType.IdentityType.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<TrezorType.IdentityType.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<TrezorType.IdentityType.Builder>public TrezorType.IdentityType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TrezorType.IdentityType build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TrezorType.IdentityType buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TrezorType.IdentityType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrezorType.IdentityType.Builder>public TrezorType.IdentityType.Builder mergeFrom(TrezorType.IdentityType other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<TrezorType.IdentityType.Builder>public TrezorType.IdentityType.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<TrezorType.IdentityType.Builder>IOExceptionpublic boolean hasProto()
optional string proto = 1;
proto part of URI
hasProto in interface TrezorType.IdentityTypeOrBuilderpublic String getProto()
optional string proto = 1;
proto part of URI
getProto in interface TrezorType.IdentityTypeOrBuilderpublic com.google.protobuf.ByteString getProtoBytes()
optional string proto = 1;
proto part of URI
getProtoBytes in interface TrezorType.IdentityTypeOrBuilderpublic TrezorType.IdentityType.Builder setProto(String value)
optional string proto = 1;
proto part of URI
public TrezorType.IdentityType.Builder clearProto()
optional string proto = 1;
proto part of URI
public TrezorType.IdentityType.Builder setProtoBytes(com.google.protobuf.ByteString value)
optional string proto = 1;
proto part of URI
public boolean hasUser()
optional string user = 2;
user part of URI
hasUser in interface TrezorType.IdentityTypeOrBuilderpublic String getUser()
optional string user = 2;
user part of URI
getUser in interface TrezorType.IdentityTypeOrBuilderpublic com.google.protobuf.ByteString getUserBytes()
optional string user = 2;
user part of URI
getUserBytes in interface TrezorType.IdentityTypeOrBuilderpublic TrezorType.IdentityType.Builder setUser(String value)
optional string user = 2;
user part of URI
public TrezorType.IdentityType.Builder clearUser()
optional string user = 2;
user part of URI
public TrezorType.IdentityType.Builder setUserBytes(com.google.protobuf.ByteString value)
optional string user = 2;
user part of URI
public boolean hasHost()
optional string host = 3;
host part of URI
hasHost in interface TrezorType.IdentityTypeOrBuilderpublic String getHost()
optional string host = 3;
host part of URI
getHost in interface TrezorType.IdentityTypeOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
optional string host = 3;
host part of URI
getHostBytes in interface TrezorType.IdentityTypeOrBuilderpublic TrezorType.IdentityType.Builder setHost(String value)
optional string host = 3;
host part of URI
public TrezorType.IdentityType.Builder clearHost()
optional string host = 3;
host part of URI
public TrezorType.IdentityType.Builder setHostBytes(com.google.protobuf.ByteString value)
optional string host = 3;
host part of URI
public boolean hasPort()
optional string port = 4;
port part of URI
hasPort in interface TrezorType.IdentityTypeOrBuilderpublic String getPort()
optional string port = 4;
port part of URI
getPort in interface TrezorType.IdentityTypeOrBuilderpublic com.google.protobuf.ByteString getPortBytes()
optional string port = 4;
port part of URI
getPortBytes in interface TrezorType.IdentityTypeOrBuilderpublic TrezorType.IdentityType.Builder setPort(String value)
optional string port = 4;
port part of URI
public TrezorType.IdentityType.Builder clearPort()
optional string port = 4;
port part of URI
public TrezorType.IdentityType.Builder setPortBytes(com.google.protobuf.ByteString value)
optional string port = 4;
port part of URI
public boolean hasPath()
optional string path = 5;
path part of URI
hasPath in interface TrezorType.IdentityTypeOrBuilderpublic String getPath()
optional string path = 5;
path part of URI
getPath in interface TrezorType.IdentityTypeOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
optional string path = 5;
path part of URI
getPathBytes in interface TrezorType.IdentityTypeOrBuilderpublic TrezorType.IdentityType.Builder setPath(String value)
optional string path = 5;
path part of URI
public TrezorType.IdentityType.Builder clearPath()
optional string path = 5;
path part of URI
public TrezorType.IdentityType.Builder setPathBytes(com.google.protobuf.ByteString value)
optional string path = 5;
path part of URI
public boolean hasIndex()
optional uint32 index = 6 [default = 0];
identity index
hasIndex in interface TrezorType.IdentityTypeOrBuilderpublic int getIndex()
optional uint32 index = 6 [default = 0];
identity index
getIndex in interface TrezorType.IdentityTypeOrBuilderpublic TrezorType.IdentityType.Builder setIndex(int value)
optional uint32 index = 6 [default = 0];
identity index
public TrezorType.IdentityType.Builder clearIndex()
optional uint32 index = 6 [default = 0];
identity index
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.