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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public UserMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UserMetadata build()
public UserMetadata buildPartial()
public UserMetadata.Builder clear()
Overrides
public UserMetadata.Builder clearCreateTime()
The date the user was created.
.google.protobuf.Timestamp create_time = 1;
public UserMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UserMetadata.Builder clearLastSignInTime()
The date the user last signed in.
.google.protobuf.Timestamp last_sign_in_time = 2;
public UserMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UserMetadata.Builder clone()
Overrides
public Timestamp getCreateTime()
The date the user was created.
.google.protobuf.Timestamp create_time = 1;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
public Timestamp.Builder getCreateTimeBuilder()
The date the user was created.
.google.protobuf.Timestamp create_time = 1;
public TimestampOrBuilder getCreateTimeOrBuilder()
The date the user was created.
.google.protobuf.Timestamp create_time = 1;
public UserMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 Timestamp.Builder getLastSignInTimeBuilder()
The date the user last signed in.
.google.protobuf.Timestamp last_sign_in_time = 2;
public TimestampOrBuilder getLastSignInTimeOrBuilder()
The date the user last signed in.
.google.protobuf.Timestamp last_sign_in_time = 2;
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UserMetadata.Builder mergeCreateTime(Timestamp value)
The date the user was created.
.google.protobuf.Timestamp create_time = 1;
public UserMetadata.Builder mergeFrom(UserMetadata other)
public UserMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UserMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public UserMetadata.Builder mergeLastSignInTime(Timestamp value)
The date the user last signed in.
.google.protobuf.Timestamp last_sign_in_time = 2;
public final UserMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UserMetadata.Builder setCreateTime(Timestamp value)
The date the user was created.
.google.protobuf.Timestamp create_time = 1;
public UserMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
The date the user was created.
.google.protobuf.Timestamp create_time = 1;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
public UserMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UserMetadata.Builder setLastSignInTime(Timestamp value)
The date the user last signed in.
.google.protobuf.Timestamp last_sign_in_time = 2;
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
|
public UserMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UserMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides