Interface UserIdOrBuilder (3.45.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
Type Description
String

The email.

getEmailBytes()

public abstract ByteString getEmailBytes()

Optional. An email address.

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

Returns
Type Description
ByteString

The bytes for email.

getIdOneofCase()

public abstract UserId.IdOneofCase getIdOneofCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for username.

hasEmail()

public abstract boolean hasEmail()

Optional. An email address.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the username field is set.