public enum CommuteMethod extends Enum<CommuteMethod> implements com.google.protobuf.ProtocolMessageEnum
Method for commute.Protobuf enum
google.cloud.talent.v4beta1.CommuteMethod| Enum Constant and Description |
|---|
COMMUTE_METHOD_UNSPECIFIED
Commute method isn't specified.
|
CYCLING
Commute time is calculated based on biking time.
|
DRIVING
Commute time is calculated based on driving time.
|
TRANSIT
Commute time is calculated based on public transit including bus, metro,
subway, and so on.
|
UNRECOGNIZED |
WALKING
Commute time is calculated based on walking time.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
COMMUTE_METHOD_UNSPECIFIED_VALUE
Commute method isn't specified.
|
static int |
CYCLING_VALUE
Commute time is calculated based on biking time.
|
static int |
DRIVING_VALUE
Commute time is calculated based on driving time.
|
static int |
TRANSIT_VALUE
Commute time is calculated based on public transit including bus, metro,
subway, and so on.
|
static int |
WALKING_VALUE
Commute time is calculated based on walking time.
|
| Modifier and Type | Method and Description |
|---|---|
static CommuteMethod |
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<CommuteMethod> |
internalGetValueMap() |
static CommuteMethod |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CommuteMethod |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CommuteMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommuteMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommuteMethod COMMUTE_METHOD_UNSPECIFIED
Commute method isn't specified.
COMMUTE_METHOD_UNSPECIFIED = 0;public static final CommuteMethod DRIVING
Commute time is calculated based on driving time.
DRIVING = 1;public static final CommuteMethod TRANSIT
Commute time is calculated based on public transit including bus, metro, subway, and so on.
TRANSIT = 2;public static final CommuteMethod WALKING
Commute time is calculated based on walking time.
WALKING = 3;public static final CommuteMethod CYCLING
Commute time is calculated based on biking time.
CYCLING = 4;public static final CommuteMethod UNRECOGNIZED
public static final int COMMUTE_METHOD_UNSPECIFIED_VALUE
Commute method isn't specified.
COMMUTE_METHOD_UNSPECIFIED = 0;public static final int DRIVING_VALUE
Commute time is calculated based on driving time.
DRIVING = 1;public static final int TRANSIT_VALUE
Commute time is calculated based on public transit including bus, metro, subway, and so on.
TRANSIT = 2;public static final int WALKING_VALUE
Commute time is calculated based on walking time.
WALKING = 3;public static final int CYCLING_VALUE
Commute time is calculated based on biking time.
CYCLING = 4;public static CommuteMethod[] values()
for (CommuteMethod c : CommuteMethod.values()) System.out.println(c);
public static CommuteMethod 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 CommuteMethod valueOf(int value)
forNumber(int) instead.public static CommuteMethod forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<CommuteMethod> 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 CommuteMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.