Class UserMetadata (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class UserMetadata extends GeneratedMessageV3 implements UserMetadataOrBuilder
Additional metadata about the user.
Protobuf type google.events.firebase.auth.v1.UserMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int LAST_SIGN_IN_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static UserMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static UserMetadata.Builder newBuilder()
public static UserMetadata.Builder newBuilder(UserMetadata prototype)
public static UserMetadata parseDelimitedFrom(InputStream input)
public static UserMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserMetadata parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static UserMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UserMetadata parseFrom(ByteString data)
public static UserMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserMetadata parseFrom(CodedInputStream input)
public static UserMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UserMetadata parseFrom(InputStream input)
public static UserMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserMetadata parseFrom(ByteBuffer data)
public static UserMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<UserMetadata> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public Timestamp getCreateTime()
The date the user was created.
.google.protobuf.Timestamp create_time = 1;
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
The date the user was created.
.google.protobuf.Timestamp create_time = 1;
public UserMetadata getDefaultInstanceForType()
public Timestamp getLastSignInTime()
The date the user last signed in.
.google.protobuf.Timestamp last_sign_in_time = 2;
| Returns |
| Type |
Description |
Timestamp |
The lastSignInTime.
|
public TimestampOrBuilder getLastSignInTimeOrBuilder()
The date the user last signed in.
.google.protobuf.Timestamp last_sign_in_time = 2;
public Parser<UserMetadata> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
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.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UserMetadata.Builder newBuilderForType()
protected UserMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
public UserMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-09 UTC.
[null,null,["Last updated 2026-03-09 UTC."],[],[]]