Interface UserIdOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UserId,UserId.Builder
@Generated
public interface UserIdOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEmail
boolean hasEmail()Optional. An email address.
string email = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the email field is set.
-
getEmail
String getEmail()Optional. An email address.
string email = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The email.
-
getEmailBytes
com.google.protobuf.ByteString getEmailBytes()Optional. An email address.
string email = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for email.
-
hasPhoneNumber
boolean hasPhoneNumber()Optional. A phone number. Should use the E.164 format.
string phone_number = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the phoneNumber field is set.
-
getPhoneNumber
String getPhoneNumber()Optional. A phone number. Should use the E.164 format.
string phone_number = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The phoneNumber.
-
getPhoneNumberBytes
com.google.protobuf.ByteString getPhoneNumberBytes()Optional. A phone number. Should use the E.164 format.
string phone_number = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for phoneNumber.
-
hasUsername
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:
- Whether the username field is set.
-
getUsername
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:
- The username.
-
getUsernameBytes
com.google.protobuf.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:
- The bytes for username.
-
getIdOneofCase
UserId.IdOneofCase getIdOneofCase()
-