Package com.google.cloud.talent.v4beta1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowImpreciseAddresses()
If `true`, jobs without street level addresses may also be returned.CommuteMethod
getCommuteMethod()
Required.int
getCommuteMethodValue()
Required.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.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.CommuteFilter.RoadTraffic
getRoadTraffic()
Specifies the traffic density to use when calculating commute time.int
getRoadTrafficValue()
Specifies the traffic density to use when calculating commute time.com.google.type.LatLng
getStartCoordinates()
Required.com.google.type.LatLngOrBuilder
getStartCoordinatesOrBuilder()
Required.CommuteFilter.TrafficOptionCase
getTrafficOptionCase()
com.google.protobuf.Duration
getTravelDuration()
Required.com.google.protobuf.DurationOrBuilder
getTravelDurationOrBuilder()
Required.boolean
hasDepartureTime()
The departure time used to calculate traffic impact, represented as [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.boolean
hasRoadTraffic()
Specifies the traffic density to use when calculating commute time.boolean
hasStartCoordinates()
Required.boolean
hasTravelDuration()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
getTrafficOptionCase
CommuteFilter.TrafficOptionCase getTrafficOptionCase()
-
-