Class AuthEventData (0.14.1)

public final class AuthEventData extends GeneratedMessageV3 implements AuthEventDataOrBuilder

The data within all Firebase Auth events.

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

Static Fields

CUSTOM_CLAIMS_FIELD_NUMBER

public static final int CUSTOM_CLAIMS_FIELD_NUMBER
Field Value
TypeDescription
int

DISABLED_FIELD_NUMBER

public static final int DISABLED_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

EMAIL_VERIFIED_FIELD_NUMBER

public static final int EMAIL_VERIFIED_FIELD_NUMBER
Field Value
TypeDescription
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

PHONE_NUMBER_FIELD_NUMBER

public static final int PHONE_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

PHOTO_URL_FIELD_NUMBER

public static final int PHOTO_URL_FIELD_NUMBER
Field Value
TypeDescription
int

PROVIDER_DATA_FIELD_NUMBER

public static final int PROVIDER_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

UID_FIELD_NUMBER

public static final int UID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AuthEventData getDefaultInstance()
Returns
TypeDescription
AuthEventData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AuthEventData.Builder newBuilder()
Returns
TypeDescription
AuthEventData.Builder

newBuilder(AuthEventData prototype)

public static AuthEventData.Builder newBuilder(AuthEventData prototype)
Parameter
NameDescription
prototypeAuthEventData
Returns
TypeDescription
AuthEventData.Builder

parseDelimitedFrom(InputStream input)

public static AuthEventData parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuthEventData
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthEventData
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AuthEventData parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AuthEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuthEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuthEventData parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AuthEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuthEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuthEventData parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AuthEventData
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthEventData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AuthEventData parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuthEventData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthEventData
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AuthEventData parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AuthEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuthEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AuthEventData> parser()
Returns
TypeDescription
Parser<AuthEventData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
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;

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public AuthEventData getDefaultInstanceForType()
Returns
TypeDescription
AuthEventData

getDisabled()

public boolean getDisabled()

Whether the user is disabled.

bool disabled = 6;

Returns
TypeDescription
boolean

The disabled.

getDisplayName()

public String getDisplayName()

The user's display name.

string display_name = 4;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The user's display name.

string display_name = 4;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEmail()

public String getEmail()

The user's primary email, if set.

string email = 2;

Returns
TypeDescription
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

The user's primary email, if set.

string email = 2;

Returns
TypeDescription
ByteString

The bytes for email.

getEmailVerified()

public boolean getEmailVerified()

Whether or not the user's primary email is verified.

bool email_verified = 3;

Returns
TypeDescription
boolean

The emailVerified.

getMetadata()

public UserMetadata getMetadata()

Additional metadata about the user.

.google.events.firebase.auth.v1.UserMetadata metadata = 7;

Returns
TypeDescription
UserMetadata

The metadata.

getMetadataOrBuilder()

public UserMetadataOrBuilder getMetadataOrBuilder()

Additional metadata about the user.

.google.events.firebase.auth.v1.UserMetadata metadata = 7;

Returns
TypeDescription
UserMetadataOrBuilder

getParserForType()

public Parser<AuthEventData> getParserForType()
Returns
TypeDescription
Parser<AuthEventData>
Overrides

getPhoneNumber()

public String getPhoneNumber()

The user's phone number.

string phone_number = 9;

Returns
TypeDescription
String

The phoneNumber.

getPhoneNumberBytes()

public ByteString getPhoneNumberBytes()

The user's phone number.

string phone_number = 9;

Returns
TypeDescription
ByteString

The bytes for phoneNumber.

getPhotoURL()

public String getPhotoURL()

The user's photo URL.

string photo_URL = 5;

Returns
TypeDescription
String

The photoURL.

getPhotoURLBytes()

public ByteString getPhotoURLBytes()

The user's photo URL.

string photo_URL = 5;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
UserInfo

getProviderDataCount()

public int getProviderDataCount()

User's info at the providers

repeated .google.events.firebase.auth.v1.UserInfo provider_data = 8;

Returns
TypeDescription
int

getProviderDataList()

public List<UserInfo> getProviderDataList()

User's info at the providers

repeated .google.events.firebase.auth.v1.UserInfo provider_data = 8;

Returns
TypeDescription
List<UserInfo>

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
NameDescription
indexint
Returns
TypeDescription
UserInfoOrBuilder

getProviderDataOrBuilderList()

public List<? extends UserInfoOrBuilder> getProviderDataOrBuilderList()

User's info at the providers

repeated .google.events.firebase.auth.v1.UserInfo provider_data = 8;

Returns
TypeDescription
List<? extends com.google.events.firebase.auth.v1.UserInfoOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUid()

public String getUid()

The user identifier in the Firebase app.

string uid = 1;

Returns
TypeDescription
String

The uid.

getUidBytes()

public ByteString getUidBytes()

The user identifier in the Firebase app.

string uid = 1;

Returns
TypeDescription
ByteString

The bytes for uid.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the customClaims field is set.

hasMetadata()

public boolean hasMetadata()

Additional metadata about the user.

.google.events.firebase.auth.v1.UserMetadata metadata = 7;

Returns
TypeDescription
boolean

Whether the metadata field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AuthEventData.Builder newBuilderForType()
Returns
TypeDescription
AuthEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AuthEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AuthEventData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AuthEventData.Builder toBuilder()
Returns
TypeDescription
AuthEventData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException