public static enum CommuteFilter.TrafficOptionCase extends Enum<CommuteFilter.TrafficOptionCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
DEPARTURE_TIME |
ROAD_TRAFFIC |
TRAFFICOPTION_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static CommuteFilter.TrafficOptionCase |
forNumber(int value) |
int |
getNumber() |
static CommuteFilter.TrafficOptionCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final CommuteFilter.TrafficOptionCase ROAD_TRAFFIC
public static final CommuteFilter.TrafficOptionCase DEPARTURE_TIME
public static final CommuteFilter.TrafficOptionCase TRAFFICOPTION_NOT_SET
public static CommuteFilter.TrafficOptionCase[] values()
for (CommuteFilter.TrafficOptionCase c : CommuteFilter.TrafficOptionCase.values()) System.out.println(c);
public static CommuteFilter.TrafficOptionCase 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 null@Deprecated public static CommuteFilter.TrafficOptionCase valueOf(int value)
forNumber(int) instead.public static CommuteFilter.TrafficOptionCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2019 Google LLC. All rights reserved.