Package com.google.cloud.talent.v4
Enum CommuteMethod
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CommuteMethod>
@Generated
public enum CommuteMethod
extends Enum<CommuteMethod>
implements com.google.protobuf.ProtocolMessageEnum
Method for commute. Walking, biking and wheelchair accessible transit is still in the Preview stage.Protobuf enum
google.cloud.talent.v4.CommuteMethod-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCommute method isn't specified.Commute time is calculated based on biking time.Commute time is calculated based on driving time.Commute time is calculated based on public transit including bus, metro, subway, and so on.Commute time is calculated based on public transit that is wheelchair accessible.Commute time is calculated based on walking time. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCommute method isn't specified.static final intCommute time is calculated based on biking time.static final intCommute time is calculated based on driving time.static final intCommute time is calculated based on public transit that is wheelchair accessible.static final intCommute time is calculated based on public transit including bus, metro, subway, and so on.static final intCommute time is calculated based on walking time. -
Method Summary
Modifier and TypeMethodDescriptionstatic CommuteMethodforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<CommuteMethod>static CommuteMethodvalueOf(int value) Deprecated.static CommuteMethodvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static CommuteMethodReturns 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.
-
Enum Constant Details
-
COMMUTE_METHOD_UNSPECIFIED
Commute method isn't specified.
COMMUTE_METHOD_UNSPECIFIED = 0; -
DRIVING
Commute time is calculated based on driving time.
DRIVING = 1; -
TRANSIT
Commute time is calculated based on public transit including bus, metro, subway, and so on.
TRANSIT = 2; -
WALKING
Commute time is calculated based on walking time.
WALKING = 3; -
CYCLING
Commute time is calculated based on biking time.
CYCLING = 4; -
TRANSIT_ACCESSIBLE
Commute time is calculated based on public transit that is wheelchair accessible.
TRANSIT_ACCESSIBLE = 5; -
UNRECOGNIZED
-
-
Field Details
-
COMMUTE_METHOD_UNSPECIFIED_VALUE
public static final int COMMUTE_METHOD_UNSPECIFIED_VALUECommute method isn't specified.
COMMUTE_METHOD_UNSPECIFIED = 0;- See Also:
-
DRIVING_VALUE
public static final int DRIVING_VALUECommute time is calculated based on driving time.
DRIVING = 1;- See Also:
-
TRANSIT_VALUE
public static final int TRANSIT_VALUECommute time is calculated based on public transit including bus, metro, subway, and so on.
TRANSIT = 2;- See Also:
-
WALKING_VALUE
public static final int WALKING_VALUECommute time is calculated based on walking time.
WALKING = 3;- See Also:
-
CYCLING_VALUE
public static final int CYCLING_VALUECommute time is calculated based on biking time.
CYCLING = 4;- See Also:
-
TRANSIT_ACCESSIBLE_VALUE
public static final int TRANSIT_ACCESSIBLE_VALUECommute time is calculated based on public transit that is wheelchair accessible.
TRANSIT_ACCESSIBLE = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-