Class UserMetadata.Builder (0.15.0)

public static final class UserMetadata.Builder extends GeneratedMessageV3.Builder<UserMetadata.Builder> implements UserMetadataOrBuilder

Additional metadata about the user.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UserMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UserMetadata.Builder
Overrides

build()

public UserMetadata build()
Returns
Type Description
UserMetadata

buildPartial()

public UserMetadata buildPartial()
Returns
Type Description
UserMetadata

clear()

public UserMetadata.Builder clear()
Returns
Type Description
UserMetadata.Builder
Overrides

clearCreateTime()

public UserMetadata.Builder clearCreateTime()

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
UserMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public UserMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UserMetadata.Builder
Overrides

clearLastSignInTime()

public UserMetadata.Builder clearLastSignInTime()

The date the user last signed in.

.google.protobuf.Timestamp last_sign_in_time = 2;

Returns
Type Description
UserMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public UserMetadata.Builder clone()
Returns
Type Description
UserMetadata.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public UserMetadata getDefaultInstanceForType()
Returns
Type Description
UserMetadata

getDescriptorForType()

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

getLastSignInTime()

public Timestamp getLastSignInTime()

The date the user last signed in.

.google.protobuf.Timestamp last_sign_in_time = 2;

Returns
Type Description
Timestamp

The lastSignInTime.

getLastSignInTimeBuilder()

public Timestamp.Builder getLastSignInTimeBuilder()

The date the user last signed in.

.google.protobuf.Timestamp last_sign_in_time = 2;

Returns
Type Description
Builder

getLastSignInTimeOrBuilder()

public TimestampOrBuilder getLastSignInTimeOrBuilder()

The date the user last signed in.

.google.protobuf.Timestamp last_sign_in_time = 2;

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
boolean

Whether the createTime field is set.

hasLastSignInTime()

public boolean hasLastSignInTime()

The date the user last signed in.

.google.protobuf.Timestamp last_sign_in_time = 2;

Returns
Type Description
boolean

Whether the lastSignInTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public UserMetadata.Builder mergeCreateTime(Timestamp value)

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
UserMetadata.Builder

mergeFrom(UserMetadata other)

public UserMetadata.Builder mergeFrom(UserMetadata other)
Parameter
Name Description
other UserMetadata
Returns
Type Description
UserMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UserMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeLastSignInTime(Timestamp value)

public UserMetadata.Builder mergeLastSignInTime(Timestamp value)

The date the user last signed in.

.google.protobuf.Timestamp last_sign_in_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
UserMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCreateTime(Timestamp value)

public UserMetadata.Builder setCreateTime(Timestamp value)

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
UserMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public UserMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UserMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UserMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UserMetadata.Builder
Overrides

setLastSignInTime(Timestamp value)

public UserMetadata.Builder setLastSignInTime(Timestamp value)

The date the user last signed in.

.google.protobuf.Timestamp last_sign_in_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
UserMetadata.Builder

setLastSignInTime(Timestamp.Builder builderForValue)

public UserMetadata.Builder setLastSignInTime(Timestamp.Builder builderForValue)

The date the user last signed in.

.google.protobuf.Timestamp last_sign_in_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UserMetadata.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UserMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UserMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UserMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UserMetadata.Builder
Overrides