Package com.google.cloud.talent.v4beta1
Enum CommuteFilter.RoadTraffic
- java.lang.Object
-
- java.lang.Enum<CommuteFilter.RoadTraffic>
-
- com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<CommuteFilter.RoadTraffic>
- Enclosing class:
- CommuteFilter
public static enum CommuteFilter.RoadTraffic extends Enum<CommuteFilter.RoadTraffic> implements com.google.protobuf.ProtocolMessageEnum
The traffic density to use when calculating commute time.
Protobuf enumgoogle.cloud.talent.v4beta1.CommuteFilter.RoadTraffic
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUSY_HOUR
Commute time calculation takes in account the peak traffic impact.ROAD_TRAFFIC_UNSPECIFIED
Road traffic situation isn't specified.TRAFFIC_FREE
Optimal commute time without considering any traffic impact.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
BUSY_HOUR_VALUE
Commute time calculation takes in account the peak traffic impact.static int
ROAD_TRAFFIC_UNSPECIFIED_VALUE
Road traffic situation isn't specified.static int
TRAFFIC_FREE_VALUE
Optimal commute time without considering any traffic impact.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CommuteFilter.RoadTraffic
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<CommuteFilter.RoadTraffic>
internalGetValueMap()
static CommuteFilter.RoadTraffic
valueOf(int value)
Deprecated.static CommuteFilter.RoadTraffic
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static CommuteFilter.RoadTraffic
valueOf(String name)
Returns the enum constant of this type with the specified name.static CommuteFilter.RoadTraffic[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROAD_TRAFFIC_UNSPECIFIED
public static final CommuteFilter.RoadTraffic ROAD_TRAFFIC_UNSPECIFIED
Road traffic situation isn't specified.
ROAD_TRAFFIC_UNSPECIFIED = 0;
-
TRAFFIC_FREE
public static final CommuteFilter.RoadTraffic TRAFFIC_FREE
Optimal commute time without considering any traffic impact.
TRAFFIC_FREE = 1;
-
BUSY_HOUR
public static final CommuteFilter.RoadTraffic BUSY_HOUR
Commute time calculation takes in account the peak traffic impact.
BUSY_HOUR = 2;
-
UNRECOGNIZED
public static final CommuteFilter.RoadTraffic UNRECOGNIZED
-
-
Field Detail
-
ROAD_TRAFFIC_UNSPECIFIED_VALUE
public static final int ROAD_TRAFFIC_UNSPECIFIED_VALUE
Road traffic situation isn't specified.
ROAD_TRAFFIC_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
TRAFFIC_FREE_VALUE
public static final int TRAFFIC_FREE_VALUE
Optimal commute time without considering any traffic impact.
TRAFFIC_FREE = 1;
- See Also:
- Constant Field Values
-
BUSY_HOUR_VALUE
public static final int BUSY_HOUR_VALUE
Commute time calculation takes in account the peak traffic impact.
BUSY_HOUR = 2;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CommuteFilter.RoadTraffic[] 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.RoadTraffic c : CommuteFilter.RoadTraffic.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.RoadTraffic 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
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static CommuteFilter.RoadTraffic 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.RoadTraffic forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CommuteFilter.RoadTraffic> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static CommuteFilter.RoadTraffic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc
- 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
-
-