Enum UserIdentifier.IdentifierCase
- java.lang.Object
-
- java.lang.Enum<UserIdentifier.IdentifierCase>
-
- com.google.ads.googleads.v10.common.UserIdentifier.IdentifierCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<UserIdentifier.IdentifierCase>
- Enclosing class:
- UserIdentifier
public static enum UserIdentifier.IdentifierCase extends java.lang.Enum<UserIdentifier.IdentifierCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESS_INFOHASHED_EMAILHASHED_PHONE_NUMBERIDENTIFIER_NOT_SETMOBILE_IDTHIRD_PARTY_USER_ID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static UserIdentifier.IdentifierCaseforNumber(int value)intgetNumber()static UserIdentifier.IdentifierCasevalueOf(int value)Deprecated.static UserIdentifier.IdentifierCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UserIdentifier.IdentifierCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HASHED_EMAIL
public static final UserIdentifier.IdentifierCase HASHED_EMAIL
-
HASHED_PHONE_NUMBER
public static final UserIdentifier.IdentifierCase HASHED_PHONE_NUMBER
-
MOBILE_ID
public static final UserIdentifier.IdentifierCase MOBILE_ID
-
THIRD_PARTY_USER_ID
public static final UserIdentifier.IdentifierCase THIRD_PARTY_USER_ID
-
ADDRESS_INFO
public static final UserIdentifier.IdentifierCase ADDRESS_INFO
-
IDENTIFIER_NOT_SET
public static final UserIdentifier.IdentifierCase IDENTIFIER_NOT_SET
-
-
Method Detail
-
values
public static UserIdentifier.IdentifierCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserIdentifier.IdentifierCase c : UserIdentifier.IdentifierCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserIdentifier.IdentifierCase valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
@Deprecated public static UserIdentifier.IdentifierCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static UserIdentifier.IdentifierCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-