public static enum Phonenumber.PhoneNumber.CountryCodeSource extends java.lang.Enum<Phonenumber.PhoneNumber.CountryCodeSource>
Enum Constant and Description |
---|
FROM_DEFAULT_COUNTRY |
FROM_NUMBER_WITH_IDD |
FROM_NUMBER_WITH_PLUS_SIGN |
FROM_NUMBER_WITHOUT_PLUS_SIGN |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
static Phonenumber.PhoneNumber.CountryCodeSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Phonenumber.PhoneNumber.CountryCodeSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Phonenumber.PhoneNumber.CountryCodeSource FROM_NUMBER_WITH_PLUS_SIGN
public static final Phonenumber.PhoneNumber.CountryCodeSource FROM_NUMBER_WITH_IDD
public static final Phonenumber.PhoneNumber.CountryCodeSource FROM_NUMBER_WITHOUT_PLUS_SIGN
public static final Phonenumber.PhoneNumber.CountryCodeSource FROM_DEFAULT_COUNTRY
public static final Phonenumber.PhoneNumber.CountryCodeSource UNSPECIFIED
public static Phonenumber.PhoneNumber.CountryCodeSource[] values()
for (Phonenumber.PhoneNumber.CountryCodeSource c : Phonenumber.PhoneNumber.CountryCodeSource.values()) System.out.println(c);
public static Phonenumber.PhoneNumber.CountryCodeSource valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2021 Google. All Rights Reserved.