Class UserInfo.Builder (0.15.0)

public static final class UserInfo.Builder extends GeneratedMessageV3.Builder<UserInfo.Builder> implements UserInfoOrBuilder

User's info at the identity provider

Protobuf type google.events.firebase.auth.v1.UserInfo

Implements

UserInfoOrBuilder

Static 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
Overrides

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
Overrides

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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UserInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UserInfo.Builder
Overrides

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
Overrides

getDefaultInstanceForType()

public UserInfo getDefaultInstanceForType()
Returns
Type Description
UserInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UserInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UserInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UserInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UserInfo.Builder
Overrides

setDisplayName(String value)

public UserInfo.Builder setDisplayName(String value)

The display name for the linked provider.

string display_name = 3;

Parameter
Name Description
value String

The 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 ByteString

The 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 String

The 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 ByteString

The 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
Overrides

setPhotoURL(String value)

public UserInfo.Builder setPhotoURL(String value)

The photo URL for the linked provider.

string photo_URL = 4;

Parameter
Name Description
value String

The 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 ByteString

The 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 String

The 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 ByteString

The 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
Overrides

setUid(String value)

public UserInfo.Builder setUid(String value)

The user identifier for the linked provider.

string uid = 1;

Parameter
Name Description
value String

The 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 ByteString

The 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
Overrides