Interface CommuteFilterOrBuilder (2.38.0)

public interface CommuteFilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowImpreciseAddresses()

public abstract 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
TypeDescription
boolean

The allowImpreciseAddresses.

getCommuteMethod()

public abstract CommuteMethod getCommuteMethod()

Required. The method of transportation to calculate the commute time for.

.google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CommuteMethod

The commuteMethod.

getCommuteMethodValue()

public abstract int getCommuteMethodValue()

Required. The method of transportation to calculate the commute time for.

.google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for commuteMethod.

getDepartureTime()

public abstract TimeOfDay getDepartureTime()

The departure time used to calculate traffic impact, represented as google.type.TimeOfDay in local time zone.

Currently traffic model is restricted to hour level resolution.

.google.type.TimeOfDay departure_time = 6;

Returns
TypeDescription
com.google.type.TimeOfDay

The departureTime.

getDepartureTimeOrBuilder()

public abstract TimeOfDayOrBuilder getDepartureTimeOrBuilder()

The departure time used to calculate traffic impact, represented as google.type.TimeOfDay in local time zone.

Currently traffic model is restricted to hour level resolution.

.google.type.TimeOfDay departure_time = 6;

Returns
TypeDescription
com.google.type.TimeOfDayOrBuilder

getRoadTraffic()

public abstract CommuteFilter.RoadTraffic getRoadTraffic()

Specifies the traffic density to use when calculating commute time.

.google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5;

Returns
TypeDescription
CommuteFilter.RoadTraffic

The roadTraffic.

getRoadTrafficValue()

public abstract int getRoadTrafficValue()

Specifies the traffic density to use when calculating commute time.

.google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for roadTraffic.

getStartCoordinates()

public abstract 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
TypeDescription
com.google.type.LatLng

The startCoordinates.

getStartCoordinatesOrBuilder()

public abstract 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];

Returns
TypeDescription
com.google.type.LatLngOrBuilder

getTrafficOptionCase()

public abstract CommuteFilter.TrafficOptionCase getTrafficOptionCase()
Returns
TypeDescription
CommuteFilter.TrafficOptionCase

getTravelDuration()

public abstract 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
TypeDescription
Duration

The travelDuration.

getTravelDurationOrBuilder()

public abstract 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];

Returns
TypeDescription
DurationOrBuilder

hasDepartureTime()

public abstract boolean hasDepartureTime()

The departure time used to calculate traffic impact, represented as google.type.TimeOfDay in local time zone.

Currently traffic model is restricted to hour level resolution.

.google.type.TimeOfDay departure_time = 6;

Returns
TypeDescription
boolean

Whether the departureTime field is set.

hasRoadTraffic()

public abstract boolean hasRoadTraffic()

Specifies the traffic density to use when calculating commute time.

.google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5;

Returns
TypeDescription
boolean

Whether the roadTraffic field is set.

hasStartCoordinates()

public abstract 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
TypeDescription
boolean

Whether the startCoordinates field is set.

hasTravelDuration()

public abstract 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
TypeDescription
boolean

Whether the travelDuration field is set.