Class UserMetadata.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UserMetadata build()
Returns
TypeDescription
UserMetadata

buildPartial()

public UserMetadata buildPartial()
Returns
TypeDescription
UserMetadata

clear()

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

clearCreateTime()

public UserMetadata.Builder clearCreateTime()

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
UserMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLastSignInTime()

public UserMetadata.Builder clearLastSignInTime()

The date the user last signed in.

.google.protobuf.Timestamp last_sign_in_time = 2;

Returns
TypeDescription
UserMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCreateTime()

public Timestamp getCreateTime()

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public UserMetadata getDefaultInstanceForType()
Returns
TypeDescription
UserMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLastSignInTime()

public Timestamp getLastSignInTime()

The date the user last signed in.

.google.protobuf.Timestamp last_sign_in_time = 2;

Returns
TypeDescription
Timestamp

The lastSignInTime.

getLastSignInTimeBuilder()

public Timestamp.Builder getLastSignInTimeBuilder()

The date the user last signed in.

.google.protobuf.Timestamp last_sign_in_time = 2;

Returns
TypeDescription
Builder

getLastSignInTimeOrBuilder()

public TimestampOrBuilder getLastSignInTimeOrBuilder()

The date the user last signed in.

.google.protobuf.Timestamp last_sign_in_time = 2;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

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

Whether the lastSignInTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public UserMetadata.Builder mergeCreateTime(Timestamp value)

The date the user was created.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
UserMetadata.Builder

mergeFrom(UserMetadata other)

public UserMetadata.Builder mergeFrom(UserMetadata other)
Parameter
NameDescription
otherUserMetadata
Returns
TypeDescription
UserMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UserMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
UserMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UserMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UserMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UserMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UserMetadata.Builder

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

public UserMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UserMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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