public final class AuthEventData extends GeneratedMessageV3 implements AuthEventDataOrBuilder
The data within all Firebase Auth events.
Protobuf type google.events.firebase.auth.v1.AuthEventData
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
CUSTOM_CLAIMS_FIELD_NUMBER
public static final int CUSTOM_CLAIMS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EMAIL_FIELD_NUMBER
public static final int EMAIL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EMAIL_VERIFIED_FIELD_NUMBER
public static final int EMAIL_VERIFIED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PHONE_NUMBER_FIELD_NUMBER
public static final int PHONE_NUMBER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PHOTO_URL_FIELD_NUMBER
public static final int PHOTO_URL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROVIDER_DATA_FIELD_NUMBER
public static final int PROVIDER_DATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AuthEventData getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AuthEventData.Builder newBuilder()
newBuilder(AuthEventData prototype)
public static AuthEventData.Builder newBuilder(AuthEventData prototype)
public static AuthEventData parseDelimitedFrom(InputStream input)
public static AuthEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AuthEventData parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuthEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AuthEventData parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuthEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuthEventData parseFrom(CodedInputStream input)
public static AuthEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AuthEventData parseFrom(InputStream input)
public static AuthEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AuthEventData parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AuthEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AuthEventData> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCustomClaims()
public Struct getCustomClaims()
User's custom claims, typically used to define user roles and propagated
to an authenticated user's ID token.
.google.protobuf.Struct custom_claims = 10;
Returns |
Type |
Description |
Struct |
The customClaims.
|
getCustomClaimsOrBuilder()
public StructOrBuilder getCustomClaimsOrBuilder()
User's custom claims, typically used to define user roles and propagated
to an authenticated user's ID token.
.google.protobuf.Struct custom_claims = 10;
getDefaultInstanceForType()
public AuthEventData getDefaultInstanceForType()
getDisabled()
public boolean getDisabled()
Whether the user is disabled.
bool disabled = 6;
Returns |
Type |
Description |
boolean |
The disabled.
|
getDisplayName()
public String getDisplayName()
The user's display name.
string display_name = 4;
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The user's display name.
string display_name = 4;
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getEmail()
The user's primary email, if set.
string email = 2;
Returns |
Type |
Description |
String |
The email.
|
getEmailBytes()
public ByteString getEmailBytes()
The user's primary email, if set.
string email = 2;
Returns |
Type |
Description |
ByteString |
The bytes for email.
|
getEmailVerified()
public boolean getEmailVerified()
Whether or not the user's primary email is verified.
bool email_verified = 3;
Returns |
Type |
Description |
boolean |
The emailVerified.
|
public UserMetadata getMetadata()
Additional metadata about the user.
.google.events.firebase.auth.v1.UserMetadata metadata = 7;
public UserMetadataOrBuilder getMetadataOrBuilder()
Additional metadata about the user.
.google.events.firebase.auth.v1.UserMetadata metadata = 7;
getParserForType()
public Parser<AuthEventData> getParserForType()
Overrides
getPhoneNumber()
public String getPhoneNumber()
The user's phone number.
string phone_number = 9;
Returns |
Type |
Description |
String |
The phoneNumber.
|
getPhoneNumberBytes()
public ByteString getPhoneNumberBytes()
The user's phone number.
string phone_number = 9;
Returns |
Type |
Description |
ByteString |
The bytes for phoneNumber.
|
getPhotoURL()
public String getPhotoURL()
The user's photo URL.
string photo_URL = 5;
Returns |
Type |
Description |
String |
The photoURL.
|
getPhotoURLBytes()
public ByteString getPhotoURLBytes()
The user's photo URL.
string photo_URL = 5;
Returns |
Type |
Description |
ByteString |
The bytes for photoURL.
|
getProviderData(int index)
public UserInfo getProviderData(int index)
User's info at the providers
repeated .google.events.firebase.auth.v1.UserInfo provider_data = 8;
Parameter |
Name |
Description |
index |
int
|
getProviderDataCount()
public int getProviderDataCount()
User's info at the providers
repeated .google.events.firebase.auth.v1.UserInfo provider_data = 8;
Returns |
Type |
Description |
int |
|
getProviderDataList()
public List<UserInfo> getProviderDataList()
User's info at the providers
repeated .google.events.firebase.auth.v1.UserInfo provider_data = 8;
getProviderDataOrBuilder(int index)
public UserInfoOrBuilder getProviderDataOrBuilder(int index)
User's info at the providers
repeated .google.events.firebase.auth.v1.UserInfo provider_data = 8;
Parameter |
Name |
Description |
index |
int
|
getProviderDataOrBuilderList()
public List<? extends UserInfoOrBuilder> getProviderDataOrBuilderList()
User's info at the providers
repeated .google.events.firebase.auth.v1.UserInfo provider_data = 8;
Returns |
Type |
Description |
List<? extends com.google.events.firebase.auth.v1.UserInfoOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUid()
The user identifier in the Firebase app.
string uid = 1;
Returns |
Type |
Description |
String |
The uid.
|
getUidBytes()
public ByteString getUidBytes()
The user identifier in the Firebase app.
string uid = 1;
Returns |
Type |
Description |
ByteString |
The bytes for uid.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasCustomClaims()
public boolean hasCustomClaims()
User's custom claims, typically used to define user roles and propagated
to an authenticated user's ID token.
.google.protobuf.Struct custom_claims = 10;
Returns |
Type |
Description |
boolean |
Whether the customClaims field is set.
|
public boolean hasMetadata()
Additional metadata about the user.
.google.events.firebase.auth.v1.UserMetadata metadata = 7;
Returns |
Type |
Description |
boolean |
Whether the metadata field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AuthEventData.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AuthEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AuthEventData.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides