- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.6
- 2.2.9
public interface CommuteFilterOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
com.google.type.LatLngOrBuilder |
getTrafficOptionCase()
public abstract CommuteFilter.TrafficOptionCase getTrafficOptionCase()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the travelDuration field is set. |