Package com.google.maps.routing.v2
Enum Waypoint.LocationTypeCase
- java.lang.Object
-
- java.lang.Enum<Waypoint.LocationTypeCase>
-
- com.google.maps.routing.v2.Waypoint.LocationTypeCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Waypoint.LocationTypeCase>
- Enclosing class:
- Waypoint
public static enum Waypoint.LocationTypeCase extends Enum<Waypoint.LocationTypeCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESS
LOCATION
LOCATIONTYPE_NOT_SET
PLACE_ID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Waypoint.LocationTypeCase
forNumber(int value)
int
getNumber()
static Waypoint.LocationTypeCase
valueOf(int value)
Deprecated.static Waypoint.LocationTypeCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static Waypoint.LocationTypeCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCATION
public static final Waypoint.LocationTypeCase LOCATION
-
PLACE_ID
public static final Waypoint.LocationTypeCase PLACE_ID
-
ADDRESS
public static final Waypoint.LocationTypeCase ADDRESS
-
LOCATIONTYPE_NOT_SET
public static final Waypoint.LocationTypeCase LOCATIONTYPE_NOT_SET
-
-
Method Detail
-
values
public static Waypoint.LocationTypeCase[] 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 (Waypoint.LocationTypeCase c : Waypoint.LocationTypeCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Waypoint.LocationTypeCase valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
@Deprecated public static Waypoint.LocationTypeCase 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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static Waypoint.LocationTypeCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-