com.google.maps.internal.StringJoin.UrlValue
, java.io.Serializable
, java.lang.Comparable<FindPlaceFromTextRequest.InputType>
public static enum FindPlaceFromTextRequest.InputType extends java.lang.Enum<FindPlaceFromTextRequest.InputType> implements com.google.maps.internal.StringJoin.UrlValue
Enum Constant | Description |
---|---|
PHONE_NUMBER |
|
TEXT_QUERY |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toUrlValue() |
|
static FindPlaceFromTextRequest.InputType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FindPlaceFromTextRequest.InputType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FindPlaceFromTextRequest.InputType TEXT_QUERY
public static final FindPlaceFromTextRequest.InputType PHONE_NUMBER
public static FindPlaceFromTextRequest.InputType[] values()
for (FindPlaceFromTextRequest.InputType c : FindPlaceFromTextRequest.InputType.values()) System.out.println(c);
public static FindPlaceFromTextRequest.InputType 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 nullpublic java.lang.String toUrlValue()
toUrlValue
in interface com.google.maps.internal.StringJoin.UrlValue