- 2.55.0 (latest)
- 2.54.0
- 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 static final class CommuteFilter.Builder extends GeneratedMessageV3.Builder<CommuteFilter.Builder> implements CommuteFilterOrBuilder
Parameters needed for commute search.
Protobuf type google.cloud.talent.v4beta1.CommuteFilter
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CommuteFilter.BuilderImplements
CommuteFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommuteFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CommuteFilter.Builder |
build()
public CommuteFilter build()
Type | Description |
CommuteFilter |
buildPartial()
public CommuteFilter buildPartial()
Type | Description |
CommuteFilter |
clear()
public CommuteFilter.Builder clear()
Type | Description |
CommuteFilter.Builder |
clearAllowImpreciseAddresses()
public CommuteFilter.Builder clearAllowImpreciseAddresses()
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;
Type | Description |
CommuteFilter.Builder | This builder for chaining. |
clearCommuteMethod()
public CommuteFilter.Builder clearCommuteMethod()
Required. The method of transportation to calculate the commute time for.
.google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CommuteFilter.Builder | This builder for chaining. |
clearDepartureTime()
public CommuteFilter.Builder clearDepartureTime()
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;
Type | Description |
CommuteFilter.Builder |
clearField(Descriptors.FieldDescriptor field)
public CommuteFilter.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CommuteFilter.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CommuteFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CommuteFilter.Builder |
clearRoadTraffic()
public CommuteFilter.Builder clearRoadTraffic()
Specifies the traffic density to use when calculating commute time.
.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5;
Type | Description |
CommuteFilter.Builder | This builder for chaining. |
clearStartCoordinates()
public CommuteFilter.Builder clearStartCoordinates()
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];
Type | Description |
CommuteFilter.Builder |
clearTrafficOption()
public CommuteFilter.Builder clearTrafficOption()
Type | Description |
CommuteFilter.Builder |
clearTravelDuration()
public CommuteFilter.Builder clearTravelDuration()
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];
Type | Description |
CommuteFilter.Builder |
clone()
public CommuteFilter.Builder clone()
Type | Description |
CommuteFilter.Builder |
getAllowImpreciseAddresses()
public 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;
Type | Description |
boolean | The allowImpreciseAddresses. |
getCommuteMethod()
public 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];
Type | Description |
CommuteMethod | The commuteMethod. |
getCommuteMethodValue()
public 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];
Type | Description |
int | The enum numeric value on the wire for commuteMethod. |
getDefaultInstanceForType()
public CommuteFilter getDefaultInstanceForType()
Type | Description |
CommuteFilter |
getDepartureTime()
public 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;
Type | Description |
com.google.type.TimeOfDay | The departureTime. |
getDepartureTimeBuilder()
public TimeOfDay.Builder getDepartureTimeBuilder()
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;
Type | Description |
com.google.type.TimeOfDay.Builder |
getDepartureTimeOrBuilder()
public 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;
Type | Description |
com.google.type.TimeOfDayOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getRoadTraffic()
public CommuteFilter.RoadTraffic getRoadTraffic()
Specifies the traffic density to use when calculating commute time.
.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5;
Type | Description |
CommuteFilter.RoadTraffic | The roadTraffic. |
getRoadTrafficValue()
public int getRoadTrafficValue()
Specifies the traffic density to use when calculating commute time.
.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5;
Type | Description |
int | The enum numeric value on the wire for roadTraffic. |
getStartCoordinates()
public 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];
Type | Description |
com.google.type.LatLng | The startCoordinates. |
getStartCoordinatesBuilder()
public LatLng.Builder getStartCoordinatesBuilder()
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];
Type | Description |
com.google.type.LatLng.Builder |
getStartCoordinatesOrBuilder()
public 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];
Type | Description |
com.google.type.LatLngOrBuilder |
getTrafficOptionCase()
public CommuteFilter.TrafficOptionCase getTrafficOptionCase()
Type | Description |
CommuteFilter.TrafficOptionCase |
getTravelDuration()
public 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];
Type | Description |
Duration | The travelDuration. |
getTravelDurationBuilder()
public Duration.Builder getTravelDurationBuilder()
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];
Type | Description |
Builder |
getTravelDurationOrBuilder()
public 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];
Type | Description |
DurationOrBuilder |
hasDepartureTime()
public 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;
Type | Description |
boolean | Whether the departureTime field is set. |
hasRoadTraffic()
public boolean hasRoadTraffic()
Specifies the traffic density to use when calculating commute time.
.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5;
Type | Description |
boolean | Whether the roadTraffic field is set. |
hasStartCoordinates()
public 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];
Type | Description |
boolean | Whether the startCoordinates field is set. |
hasTravelDuration()
public 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];
Type | Description |
boolean | Whether the travelDuration field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDepartureTime(TimeOfDay value)
public CommuteFilter.Builder mergeDepartureTime(TimeOfDay value)
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;
Name | Description |
value | com.google.type.TimeOfDay |
Type | Description |
CommuteFilter.Builder |
mergeFrom(CommuteFilter other)
public CommuteFilter.Builder mergeFrom(CommuteFilter other)
Name | Description |
other | CommuteFilter |
Type | Description |
CommuteFilter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CommuteFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommuteFilter.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CommuteFilter.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CommuteFilter.Builder |
mergeStartCoordinates(LatLng value)
public CommuteFilter.Builder mergeStartCoordinates(LatLng value)
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];
Name | Description |
value | com.google.type.LatLng |
Type | Description |
CommuteFilter.Builder |
mergeTravelDuration(Duration value)
public CommuteFilter.Builder mergeTravelDuration(Duration value)
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];
Name | Description |
value | Duration |
Type | Description |
CommuteFilter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommuteFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CommuteFilter.Builder |
setAllowImpreciseAddresses(boolean value)
public CommuteFilter.Builder setAllowImpreciseAddresses(boolean value)
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;
Name | Description |
value | boolean The allowImpreciseAddresses to set. |
Type | Description |
CommuteFilter.Builder | This builder for chaining. |
setCommuteMethod(CommuteMethod value)
public CommuteFilter.Builder setCommuteMethod(CommuteMethod value)
Required. The method of transportation to calculate the commute time for.
.google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | CommuteMethod The commuteMethod to set. |
Type | Description |
CommuteFilter.Builder | This builder for chaining. |
setCommuteMethodValue(int value)
public CommuteFilter.Builder setCommuteMethodValue(int value)
Required. The method of transportation to calculate the commute time for.
.google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for commuteMethod to set. |
Type | Description |
CommuteFilter.Builder | This builder for chaining. |
setDepartureTime(TimeOfDay value)
public CommuteFilter.Builder setDepartureTime(TimeOfDay value)
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;
Name | Description |
value | com.google.type.TimeOfDay |
Type | Description |
CommuteFilter.Builder |
setDepartureTime(TimeOfDay.Builder builderForValue)
public CommuteFilter.Builder setDepartureTime(TimeOfDay.Builder builderForValue)
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;
Name | Description |
builderForValue | com.google.type.TimeOfDay.Builder |
Type | Description |
CommuteFilter.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CommuteFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CommuteFilter.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommuteFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CommuteFilter.Builder |
setRoadTraffic(CommuteFilter.RoadTraffic value)
public CommuteFilter.Builder setRoadTraffic(CommuteFilter.RoadTraffic value)
Specifies the traffic density to use when calculating commute time.
.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5;
Name | Description |
value | CommuteFilter.RoadTraffic The roadTraffic to set. |
Type | Description |
CommuteFilter.Builder | This builder for chaining. |
setRoadTrafficValue(int value)
public CommuteFilter.Builder setRoadTrafficValue(int value)
Specifies the traffic density to use when calculating commute time.
.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5;
Name | Description |
value | int The enum numeric value on the wire for roadTraffic to set. |
Type | Description |
CommuteFilter.Builder | This builder for chaining. |
setStartCoordinates(LatLng value)
public CommuteFilter.Builder setStartCoordinates(LatLng value)
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];
Name | Description |
value | com.google.type.LatLng |
Type | Description |
CommuteFilter.Builder |
setStartCoordinates(LatLng.Builder builderForValue)
public CommuteFilter.Builder setStartCoordinates(LatLng.Builder builderForValue)
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];
Name | Description |
builderForValue | com.google.type.LatLng.Builder |
Type | Description |
CommuteFilter.Builder |
setTravelDuration(Duration value)
public CommuteFilter.Builder setTravelDuration(Duration value)
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];
Name | Description |
value | Duration |
Type | Description |
CommuteFilter.Builder |
setTravelDuration(Duration.Builder builderForValue)
public CommuteFilter.Builder setTravelDuration(Duration.Builder builderForValue)
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];
Name | Description |
builderForValue | Builder |
Type | Description |
CommuteFilter.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CommuteFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CommuteFilter.Builder |