Enum CommuteFilter.RoadTraffic

java.lang.Object
java.lang.Enum<CommuteFilter.RoadTraffic>
com.google.cloud.talent.v4.CommuteFilter.RoadTraffic
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<CommuteFilter.RoadTraffic>
Enclosing class:
CommuteFilter

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.v4.CommuteFilter.RoadTraffic
  • Enum Constant Details

    • ROAD_TRAFFIC_UNSPECIFIED

      public static final CommuteFilter.RoadTraffic ROAD_TRAFFIC_UNSPECIFIED
       Road traffic situation isn't specified.
       
      ROAD_TRAFFIC_UNSPECIFIED = 0;
    • TRAFFIC_FREE

      public static final CommuteFilter.RoadTraffic TRAFFIC_FREE
       Optimal commute time without considering any traffic impact.
       
      TRAFFIC_FREE = 1;
    • BUSY_HOUR

      public static final CommuteFilter.RoadTraffic BUSY_HOUR
       Commute time calculation takes in account the peak traffic impact.
       
      BUSY_HOUR = 2;
    • UNRECOGNIZED

      public static final CommuteFilter.RoadTraffic UNRECOGNIZED
  • Field Details

    • ROAD_TRAFFIC_UNSPECIFIED_VALUE

      public static final int ROAD_TRAFFIC_UNSPECIFIED_VALUE
       Road traffic situation isn't specified.
       
      ROAD_TRAFFIC_UNSPECIFIED = 0;
      See Also:
    • TRAFFIC_FREE_VALUE

      public static final int TRAFFIC_FREE_VALUE
       Optimal commute time without considering any traffic impact.
       
      TRAFFIC_FREE = 1;
      See Also:
    • BUSY_HOUR_VALUE

      public static final int BUSY_HOUR_VALUE
       Commute time calculation takes in account the peak traffic impact.
       
      BUSY_HOUR = 2;
      See Also:
  • Method Details

    • values

      public static CommuteFilter.RoadTraffic[] 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 CommuteFilter.RoadTraffic 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 CommuteFilter.RoadTraffic 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 CommuteFilter.RoadTraffic 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<CommuteFilter.RoadTraffic> 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 CommuteFilter.RoadTraffic 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