public static enum CommuteFilter.RoadTraffic extends Enum<CommuteFilter.RoadTraffic> implements com.google.protobuf.ProtocolMessageEnum
The traffic density to use when calculating commute time.Protobuf enum
google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic| Enum Constant and 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 |
| Modifier and Type | Field and 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.
|
| Modifier and Type | Method and 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(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CommuteFilter.RoadTraffic |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final CommuteFilter.RoadTraffic ROAD_TRAFFIC_UNSPECIFIED
Road traffic situation isn't specified.
ROAD_TRAFFIC_UNSPECIFIED = 0;public static final CommuteFilter.RoadTraffic TRAFFIC_FREE
Optimal commute time without considering any traffic impact.
TRAFFIC_FREE = 1;public static final CommuteFilter.RoadTraffic BUSY_HOUR
Commute time calculation takes in account the peak traffic impact.
BUSY_HOUR = 2;public static final CommuteFilter.RoadTraffic UNRECOGNIZED
public static final int ROAD_TRAFFIC_UNSPECIFIED_VALUE
Road traffic situation isn't specified.
ROAD_TRAFFIC_UNSPECIFIED = 0;public static final int TRAFFIC_FREE_VALUE
Optimal commute time without considering any traffic impact.
TRAFFIC_FREE = 1;public static final int BUSY_HOUR_VALUE
Commute time calculation takes in account the peak traffic impact.
BUSY_HOUR = 2;public static CommuteFilter.RoadTraffic[] values()
for (CommuteFilter.RoadTraffic c : CommuteFilter.RoadTraffic.values()) System.out.println(c);
public static CommuteFilter.RoadTraffic valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static CommuteFilter.RoadTraffic valueOf(int value)
forNumber(int) instead.public static CommuteFilter.RoadTraffic forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<CommuteFilter.RoadTraffic> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CommuteFilter.RoadTraffic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.