public static final class UserInfo.Builder extends GeneratedMessageV3.Builder<UserInfo.Builder> implements UserInfoOrBuilderUser's info at the identity provider
Protobuf type google.events.firebase.auth.v1.UserInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UserInfo.BuilderImplements
UserInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
build()
public UserInfo build()| Returns | |
|---|---|
| Type | Description |
UserInfo |
|
buildPartial()
public UserInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
UserInfo |
|
clear()
public UserInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
clearDisplayName()
public UserInfo.Builder clearDisplayName()The display name for the linked provider.
string display_name = 3;
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
clearEmail()
public UserInfo.Builder clearEmail()The email for the linked provider.
string email = 2;
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public UserInfo.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public UserInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
clearPhotoURL()
public UserInfo.Builder clearPhotoURL()The photo URL for the linked provider.
string photo_URL = 4;
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
clearProviderId()
public UserInfo.Builder clearProviderId()The linked provider ID (e.g. "google.com" for the Google provider).
string provider_id = 5;
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
clearUid()
public UserInfo.Builder clearUid()The user identifier for the linked provider.
string uid = 1;
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
clone()
public UserInfo.Builder clone()| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
getDefaultInstanceForType()
public UserInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UserInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()The display name for the linked provider.
string display_name = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The display name for the linked provider.
string display_name = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getEmail()
public String getEmail()The email for the linked provider.
string email = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The email. |
getEmailBytes()
public ByteString getEmailBytes()The email for the linked provider.
string email = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for email. |
getPhotoURL()
public String getPhotoURL()The photo URL for the linked provider.
string photo_URL = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The photoURL. |
getPhotoURLBytes()
public ByteString getPhotoURLBytes()The photo URL for the linked provider.
string photo_URL = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for photoURL. |
getProviderId()
public String getProviderId()The linked provider ID (e.g. "google.com" for the Google provider).
string provider_id = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The providerId. |
getProviderIdBytes()
public ByteString getProviderIdBytes()The linked provider ID (e.g. "google.com" for the Google provider).
string provider_id = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for providerId. |
getUid()
public String getUid()The user identifier for the linked provider.
string uid = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The uid. |
getUidBytes()
public ByteString getUidBytes()The user identifier for the linked provider.
string uid = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uid. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UserInfo other)
public UserInfo.Builder mergeFrom(UserInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
UserInfo |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UserInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
setDisplayName(String value)
public UserInfo.Builder setDisplayName(String value)The display name for the linked provider.
string display_name = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public UserInfo.Builder setDisplayNameBytes(ByteString value)The display name for the linked provider.
string display_name = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
setEmail(String value)
public UserInfo.Builder setEmail(String value)The email for the linked provider.
string email = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe email to set. |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
setEmailBytes(ByteString value)
public UserInfo.Builder setEmailBytes(ByteString value)The email for the linked provider.
string email = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for email to set. |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public UserInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
setPhotoURL(String value)
public UserInfo.Builder setPhotoURL(String value)The photo URL for the linked provider.
string photo_URL = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe photoURL to set. |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
setPhotoURLBytes(ByteString value)
public UserInfo.Builder setPhotoURLBytes(ByteString value)The photo URL for the linked provider.
string photo_URL = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for photoURL to set. |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
setProviderId(String value)
public UserInfo.Builder setProviderId(String value)The linked provider ID (e.g. "google.com" for the Google provider).
string provider_id = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe providerId to set. |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
setProviderIdBytes(ByteString value)
public UserInfo.Builder setProviderIdBytes(ByteString value)The linked provider ID (e.g. "google.com" for the Google provider).
string provider_id = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for providerId to set. |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
setUid(String value)
public UserInfo.Builder setUid(String value)The user identifier for the linked provider.
string uid = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uid to set. |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
setUidBytes(ByteString value)
public UserInfo.Builder setUidBytes(ByteString value)The user identifier for the linked provider.
string uid = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uid to set. |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UserInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|