Enum CommuteMethod

java.lang.Object
java.lang.Enum<CommuteMethod>
com.google.cloud.talent.v4.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 Details

    • COMMUTE_METHOD_UNSPECIFIED

      public static final CommuteMethod COMMUTE_METHOD_UNSPECIFIED
       Commute method isn't specified.
       
      COMMUTE_METHOD_UNSPECIFIED = 0;
    • DRIVING

      public static final CommuteMethod DRIVING
       Commute time is calculated based on driving time.
       
      DRIVING = 1;
    • TRANSIT

      public static final CommuteMethod TRANSIT
       Commute time is calculated based on public transit including bus, metro,
       subway, and so on.
       
      TRANSIT = 2;
    • WALKING

      public static final CommuteMethod WALKING
       Commute time is calculated based on walking time.
       
      WALKING = 3;
    • CYCLING

      public static final CommuteMethod CYCLING
       Commute time is calculated based on biking time.
       
      CYCLING = 4;
    • TRANSIT_ACCESSIBLE

      public static final CommuteMethod TRANSIT_ACCESSIBLE
       Commute time is calculated based on public transit that is wheelchair
       accessible.
       
      TRANSIT_ACCESSIBLE = 5;
    • UNRECOGNIZED

      public static final CommuteMethod UNRECOGNIZED
  • Field Details

    • COMMUTE_METHOD_UNSPECIFIED_VALUE

      public static final int COMMUTE_METHOD_UNSPECIFIED_VALUE
       Commute method isn't specified.
       
      COMMUTE_METHOD_UNSPECIFIED = 0;
      See Also:
    • DRIVING_VALUE

      public static final int DRIVING_VALUE
       Commute time is calculated based on driving time.
       
      DRIVING = 1;
      See Also:
    • TRANSIT_VALUE

      public static final int TRANSIT_VALUE
       Commute 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_VALUE
       Commute time is calculated based on walking time.
       
      WALKING = 3;
      See Also:
    • CYCLING_VALUE

      public static final int CYCLING_VALUE
       Commute time is calculated based on biking time.
       
      CYCLING = 4;
      See Also:
    • TRANSIT_ACCESSIBLE_VALUE

      public static final int TRANSIT_ACCESSIBLE_VALUE
       Commute time is calculated based on public transit that is wheelchair
       accessible.
       
      TRANSIT_ACCESSIBLE = 5;
      See Also:
  • Method Details

    • values

      public static CommuteMethod[] 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

      public static CommuteMethod 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static CommuteMethod 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static CommuteMethod 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<CommuteMethod> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static CommuteMethod 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 name
      NullPointerException - if the argument is null