Interface UserIdOrBuilder (3.38.0)

public interface UserIdOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEmail()

public abstract String getEmail()

Optional. An email address.

string email = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The email.

getEmailBytes()

public abstract ByteString getEmailBytes()

Optional. An email address.

string email = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for email.

getIdOneofCase()

public abstract UserId.IdOneofCase getIdOneofCase()
Returns
TypeDescription
UserId.IdOneofCase

getPhoneNumber()

public abstract String getPhoneNumber()

Optional. A phone number. Should use the E.164 format.

string phone_number = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The phoneNumber.

getPhoneNumberBytes()

public abstract ByteString getPhoneNumberBytes()

Optional. A phone number. Should use the E.164 format.

string phone_number = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for phoneNumber.

getUsername()

public abstract String getUsername()

Optional. A unique username, if different from all the other identifiers and account_id that are provided. Can be a unique login handle or display name for a user.

string username = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

Optional. A unique username, if different from all the other identifiers and account_id that are provided. Can be a unique login handle or display name for a user.

string username = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for username.

hasEmail()

public abstract boolean hasEmail()

Optional. An email address.

string email = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the email field is set.

hasPhoneNumber()

public abstract boolean hasPhoneNumber()

Optional. A phone number. Should use the E.164 format.

string phone_number = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the phoneNumber field is set.

hasUsername()

public abstract boolean hasUsername()

Optional. A unique username, if different from all the other identifiers and account_id that are provided. Can be a unique login handle or display name for a user.

string username = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the username field is set.