Class UserInfo.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UserInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UserInfo.Builder
Overrides

build()

public UserInfo build()
Returns
TypeDescription
UserInfo

buildPartial()

public UserInfo buildPartial()
Returns
TypeDescription
UserInfo

clear()

public UserInfo.Builder clear()
Returns
TypeDescription
UserInfo.Builder
Overrides

clearDisplayName()

public UserInfo.Builder clearDisplayName()

The display name for the linked provider.

string display_name = 3;

Returns
TypeDescription
UserInfo.Builder

This builder for chaining.

clearEmail()

public UserInfo.Builder clearEmail()

The email for the linked provider.

string email = 2;

Returns
TypeDescription
UserInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public UserInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UserInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UserInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UserInfo.Builder
Overrides

clearPhotoURL()

public UserInfo.Builder clearPhotoURL()

The photo URL for the linked provider.

string photo_URL = 4;

Returns
TypeDescription
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
TypeDescription
UserInfo.Builder

This builder for chaining.

clearUid()

public UserInfo.Builder clearUid()

The user identifier for the linked provider.

string uid = 1;

Returns
TypeDescription
UserInfo.Builder

This builder for chaining.

clone()

public UserInfo.Builder clone()
Returns
TypeDescription
UserInfo.Builder
Overrides

getDefaultInstanceForType()

public UserInfo getDefaultInstanceForType()
Returns
TypeDescription
UserInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The display name for the linked provider.

string display_name = 3;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name for the linked provider.

string display_name = 3;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEmail()

public String getEmail()

The email for the linked provider.

string email = 2;

Returns
TypeDescription
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

The email for the linked provider.

string email = 2;

Returns
TypeDescription
ByteString

The bytes for email.

getPhotoURL()

public String getPhotoURL()

The photo URL for the linked provider.

string photo_URL = 4;

Returns
TypeDescription
String

The photoURL.

getPhotoURLBytes()

public ByteString getPhotoURLBytes()

The photo URL for the linked provider.

string photo_URL = 4;

Returns
TypeDescription
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
TypeDescription
String

The providerId.

getProviderIdBytes()

public ByteString getProviderIdBytes()

The linked provider ID (e.g. "google.com" for the Google provider).

string provider_id = 5;

Returns
TypeDescription
ByteString

The bytes for providerId.

getUid()

public String getUid()

The user identifier for the linked provider.

string uid = 1;

Returns
TypeDescription
String

The uid.

getUidBytes()

public ByteString getUidBytes()

The user identifier for the linked provider.

string uid = 1;

Returns
TypeDescription
ByteString

The bytes for uid.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UserInfo other)

public UserInfo.Builder mergeFrom(UserInfo other)
Parameter
NameDescription
otherUserInfo
Returns
TypeDescription
UserInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UserInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UserInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UserInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UserInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UserInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UserInfo.Builder
Overrides

setDisplayName(String value)

public UserInfo.Builder setDisplayName(String value)

The display name for the linked provider.

string display_name = 3;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
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
NameDescription
valueString

The email to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for email to set.

Returns
TypeDescription
UserInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public UserInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UserInfo.Builder
Overrides

setPhotoURL(String value)

public UserInfo.Builder setPhotoURL(String value)

The photo URL for the linked provider.

string photo_URL = 4;

Parameter
NameDescription
valueString

The photoURL to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for photoURL to set.

Returns
TypeDescription
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
NameDescription
valueString

The providerId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for providerId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UserInfo.Builder
Overrides

setUid(String value)

public UserInfo.Builder setUid(String value)

The user identifier for the linked provider.

string uid = 1;

Parameter
NameDescription
valueString

The uid to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
UserInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final UserInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UserInfo.Builder
Overrides