Package com.google.cloud.talent.v4beta1
Enum CommuteFilter.TrafficOptionCase
- java.lang.Object
-
- java.lang.Enum<CommuteFilter.TrafficOptionCase>
-
- com.google.cloud.talent.v4beta1.CommuteFilter.TrafficOptionCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<CommuteFilter.TrafficOptionCase>
- Enclosing class:
- CommuteFilter
public static enum CommuteFilter.TrafficOptionCase extends Enum<CommuteFilter.TrafficOptionCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPARTURE_TIME
ROAD_TRAFFIC
TRAFFICOPTION_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CommuteFilter.TrafficOptionCase
forNumber(int value)
int
getNumber()
static CommuteFilter.TrafficOptionCase
valueOf(int value)
Deprecated.static CommuteFilter.TrafficOptionCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static CommuteFilter.TrafficOptionCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROAD_TRAFFIC
public static final CommuteFilter.TrafficOptionCase ROAD_TRAFFIC
-
DEPARTURE_TIME
public static final CommuteFilter.TrafficOptionCase DEPARTURE_TIME
-
TRAFFICOPTION_NOT_SET
public static final CommuteFilter.TrafficOptionCase TRAFFICOPTION_NOT_SET
-
-
Method Detail
-
values
public static CommuteFilter.TrafficOptionCase[] 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 (CommuteFilter.TrafficOptionCase c : CommuteFilter.TrafficOptionCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommuteFilter.TrafficOptionCase 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 CommuteFilter.TrafficOptionCase 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 CommuteFilter.TrafficOptionCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-