Interface CommuteFilterOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CommuteFilter, CommuteFilter.Builder

    public interface CommuteFilterOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getCommuteMethodValue

        int getCommuteMethodValue()
         Required. The method of transportation to calculate the commute time for.
         
        .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for commuteMethod.
      • getCommuteMethod

        CommuteMethod getCommuteMethod()
         Required. The method of transportation to calculate the commute time for.
         
        .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The commuteMethod.
      • hasStartCoordinates

        boolean hasStartCoordinates()
         Required. The latitude and longitude of the location to calculate the
         commute time from.
         
        .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the startCoordinates field is set.
      • getStartCoordinates

        com.google.type.LatLng getStartCoordinates()
         Required. The latitude and longitude of the location to calculate the
         commute time from.
         
        .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The startCoordinates.
      • getStartCoordinatesOrBuilder

        com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder()
         Required. The latitude and longitude of the location to calculate the
         commute time from.
         
        .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED];
      • hasTravelDuration

        boolean hasTravelDuration()
         Required. The maximum travel time in seconds. The maximum allowed value is
         `3600s` (one hour). Format is `123s`.
         
        .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the travelDuration field is set.
      • getTravelDuration

        com.google.protobuf.Duration getTravelDuration()
         Required. The maximum travel time in seconds. The maximum allowed value is
         `3600s` (one hour). Format is `123s`.
         
        .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The travelDuration.
      • getTravelDurationOrBuilder

        com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder()
         Required. The maximum travel time in seconds. The maximum allowed value is
         `3600s` (one hour). Format is `123s`.
         
        .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED];
      • getAllowImpreciseAddresses

        boolean getAllowImpreciseAddresses()
         If `true`, jobs without street level addresses may also be returned.
         For city level addresses, the city center is used. For state and coarser
         level addresses, text matching is used.
         If this field is set to `false` or isn't specified, only jobs that include
         street level addresses will be returned by commute search.
         
        bool allow_imprecise_addresses = 4;
        Returns:
        The allowImpreciseAddresses.
      • hasRoadTraffic

        boolean hasRoadTraffic()
         Specifies the traffic density to use when calculating commute time.
         
        .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5;
        Returns:
        Whether the roadTraffic field is set.
      • getRoadTrafficValue

        int getRoadTrafficValue()
         Specifies the traffic density to use when calculating commute time.
         
        .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5;
        Returns:
        The enum numeric value on the wire for roadTraffic.
      • getRoadTraffic

        CommuteFilter.RoadTraffic getRoadTraffic()
         Specifies the traffic density to use when calculating commute time.
         
        .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5;
        Returns:
        The roadTraffic.
      • hasDepartureTime

        boolean hasDepartureTime()
         The departure time used to calculate traffic impact, represented as
         [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
        
         Currently traffic model is restricted to hour level resolution.
         
        .google.type.TimeOfDay departure_time = 6;
        Returns:
        Whether the departureTime field is set.
      • getDepartureTime

        com.google.type.TimeOfDay getDepartureTime()
         The departure time used to calculate traffic impact, represented as
         [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
        
         Currently traffic model is restricted to hour level resolution.
         
        .google.type.TimeOfDay departure_time = 6;
        Returns:
        The departureTime.
      • getDepartureTimeOrBuilder

        com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder()
         The departure time used to calculate traffic impact, represented as
         [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
        
         Currently traffic model is restricted to hour level resolution.
         
        .google.type.TimeOfDay departure_time = 6;