Package com.google.cloud.talent.v4beta1
Class LocationFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
- com.google.cloud.talent.v4beta1.LocationFilter.Builder
-
- All Implemented Interfaces:
LocationFilterOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- LocationFilter
public static final class LocationFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder> implements LocationFilterOrBuilder
Geographic region of the search.
Protobuf typegoogle.cloud.talent.v4beta1.LocationFilter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationFilter.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
LocationFilter
build()
LocationFilter
buildPartial()
LocationFilter.Builder
clear()
LocationFilter.Builder
clearAddress()
The address name, such as "Mountain View" or "Bay Area".LocationFilter.Builder
clearDistanceInMiles()
The distance_in_miles is applied when the location being searched for is identified as a city or smaller.LocationFilter.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
LocationFilter.Builder
clearLatLng()
The latitude and longitude of the geographic center to search from.LocationFilter.Builder
clearNegated()
Whether to apply negation to the filter so profiles matching the filter are excluded.LocationFilter.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
LocationFilter.Builder
clearRegionCode()
CLDR region code of the country/region.LocationFilter.Builder
clearTelecommutePreference()
Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location).LocationFilter.Builder
clone()
String
getAddress()
The address name, such as "Mountain View" or "Bay Area".com.google.protobuf.ByteString
getAddressBytes()
The address name, such as "Mountain View" or "Bay Area".LocationFilter
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
double
getDistanceInMiles()
The distance_in_miles is applied when the location being searched for is identified as a city or smaller.com.google.type.LatLng
getLatLng()
The latitude and longitude of the geographic center to search from.com.google.type.LatLng.Builder
getLatLngBuilder()
The latitude and longitude of the geographic center to search from.com.google.type.LatLngOrBuilder
getLatLngOrBuilder()
The latitude and longitude of the geographic center to search from.boolean
getNegated()
Whether to apply negation to the filter so profiles matching the filter are excluded.String
getRegionCode()
CLDR region code of the country/region.com.google.protobuf.ByteString
getRegionCodeBytes()
CLDR region code of the country/region.LocationFilter.TelecommutePreference
getTelecommutePreference()
Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location).int
getTelecommutePreferenceValue()
Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location).boolean
hasLatLng()
The latitude and longitude of the geographic center to search from.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
LocationFilter.Builder
mergeFrom(LocationFilter other)
LocationFilter.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
LocationFilter.Builder
mergeFrom(com.google.protobuf.Message other)
LocationFilter.Builder
mergeLatLng(com.google.type.LatLng value)
The latitude and longitude of the geographic center to search from.LocationFilter.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
LocationFilter.Builder
setAddress(String value)
The address name, such as "Mountain View" or "Bay Area".LocationFilter.Builder
setAddressBytes(com.google.protobuf.ByteString value)
The address name, such as "Mountain View" or "Bay Area".LocationFilter.Builder
setDistanceInMiles(double value)
The distance_in_miles is applied when the location being searched for is identified as a city or smaller.LocationFilter.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
LocationFilter.Builder
setLatLng(com.google.type.LatLng value)
The latitude and longitude of the geographic center to search from.LocationFilter.Builder
setLatLng(com.google.type.LatLng.Builder builderForValue)
The latitude and longitude of the geographic center to search from.LocationFilter.Builder
setNegated(boolean value)
Whether to apply negation to the filter so profiles matching the filter are excluded.LocationFilter.Builder
setRegionCode(String value)
CLDR region code of the country/region.LocationFilter.Builder
setRegionCodeBytes(com.google.protobuf.ByteString value)
CLDR region code of the country/region.LocationFilter.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
LocationFilter.Builder
setTelecommutePreference(LocationFilter.TelecommutePreference value)
Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location).LocationFilter.Builder
setTelecommutePreferenceValue(int value)
Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location).LocationFilter.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
clear
public LocationFilter.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
getDefaultInstanceForType
public LocationFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public LocationFilter build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LocationFilter buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LocationFilter.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
setField
public LocationFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
clearField
public LocationFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
clearOneof
public LocationFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
setRepeatedField
public LocationFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
addRepeatedField
public LocationFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
mergeFrom
public LocationFilter.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LocationFilter.Builder>
-
mergeFrom
public LocationFilter.Builder mergeFrom(LocationFilter other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
mergeFrom
public LocationFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LocationFilter.Builder>
- Throws:
IOException
-
getAddress
public String getAddress()
The address name, such as "Mountain View" or "Bay Area".
string address = 1;
- Specified by:
getAddress
in interfaceLocationFilterOrBuilder
- Returns:
- The address.
-
getAddressBytes
public com.google.protobuf.ByteString getAddressBytes()
The address name, such as "Mountain View" or "Bay Area".
string address = 1;
- Specified by:
getAddressBytes
in interfaceLocationFilterOrBuilder
- Returns:
- The bytes for address.
-
setAddress
public LocationFilter.Builder setAddress(String value)
The address name, such as "Mountain View" or "Bay Area".
string address = 1;
- Parameters:
value
- The address to set.- Returns:
- This builder for chaining.
-
clearAddress
public LocationFilter.Builder clearAddress()
The address name, such as "Mountain View" or "Bay Area".
string address = 1;
- Returns:
- This builder for chaining.
-
setAddressBytes
public LocationFilter.Builder setAddressBytes(com.google.protobuf.ByteString value)
The address name, such as "Mountain View" or "Bay Area".
string address = 1;
- Parameters:
value
- The bytes for address to set.- Returns:
- This builder for chaining.
-
getRegionCode
public String getRegionCode()
CLDR region code of the country/region. This field may be used in two ways: 1) If telecommute preference is not set, this field is used address ambiguity of the user-input address. For example, "Liverpool" may refer to "Liverpool, NY, US" or "Liverpool, UK". This region code biases the address resolution toward a specific country or territory. If this field is not set, address resolution is biased toward the United States by default. 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the telecommute location filter will be limited to the region specified in this field. If this field is not set, the telecommute job locations will not be See https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
string region_code = 2;
- Specified by:
getRegionCode
in interfaceLocationFilterOrBuilder
- Returns:
- The regionCode.
-
getRegionCodeBytes
public com.google.protobuf.ByteString getRegionCodeBytes()
CLDR region code of the country/region. This field may be used in two ways: 1) If telecommute preference is not set, this field is used address ambiguity of the user-input address. For example, "Liverpool" may refer to "Liverpool, NY, US" or "Liverpool, UK". This region code biases the address resolution toward a specific country or territory. If this field is not set, address resolution is biased toward the United States by default. 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the telecommute location filter will be limited to the region specified in this field. If this field is not set, the telecommute job locations will not be See https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
string region_code = 2;
- Specified by:
getRegionCodeBytes
in interfaceLocationFilterOrBuilder
- Returns:
- The bytes for regionCode.
-
setRegionCode
public LocationFilter.Builder setRegionCode(String value)
CLDR region code of the country/region. This field may be used in two ways: 1) If telecommute preference is not set, this field is used address ambiguity of the user-input address. For example, "Liverpool" may refer to "Liverpool, NY, US" or "Liverpool, UK". This region code biases the address resolution toward a specific country or territory. If this field is not set, address resolution is biased toward the United States by default. 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the telecommute location filter will be limited to the region specified in this field. If this field is not set, the telecommute job locations will not be See https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
string region_code = 2;
- Parameters:
value
- The regionCode to set.- Returns:
- This builder for chaining.
-
clearRegionCode
public LocationFilter.Builder clearRegionCode()
CLDR region code of the country/region. This field may be used in two ways: 1) If telecommute preference is not set, this field is used address ambiguity of the user-input address. For example, "Liverpool" may refer to "Liverpool, NY, US" or "Liverpool, UK". This region code biases the address resolution toward a specific country or territory. If this field is not set, address resolution is biased toward the United States by default. 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the telecommute location filter will be limited to the region specified in this field. If this field is not set, the telecommute job locations will not be See https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
string region_code = 2;
- Returns:
- This builder for chaining.
-
setRegionCodeBytes
public LocationFilter.Builder setRegionCodeBytes(com.google.protobuf.ByteString value)
CLDR region code of the country/region. This field may be used in two ways: 1) If telecommute preference is not set, this field is used address ambiguity of the user-input address. For example, "Liverpool" may refer to "Liverpool, NY, US" or "Liverpool, UK". This region code biases the address resolution toward a specific country or territory. If this field is not set, address resolution is biased toward the United States by default. 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the telecommute location filter will be limited to the region specified in this field. If this field is not set, the telecommute job locations will not be See https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
string region_code = 2;
- Parameters:
value
- The bytes for regionCode to set.- Returns:
- This builder for chaining.
-
hasLatLng
public boolean hasLatLng()
The latitude and longitude of the geographic center to search from. This field is ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;
- Specified by:
hasLatLng
in interfaceLocationFilterOrBuilder
- Returns:
- Whether the latLng field is set.
-
getLatLng
public com.google.type.LatLng getLatLng()
The latitude and longitude of the geographic center to search from. This field is ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;
- Specified by:
getLatLng
in interfaceLocationFilterOrBuilder
- Returns:
- The latLng.
-
setLatLng
public LocationFilter.Builder setLatLng(com.google.type.LatLng value)
The latitude and longitude of the geographic center to search from. This field is ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;
-
setLatLng
public LocationFilter.Builder setLatLng(com.google.type.LatLng.Builder builderForValue)
The latitude and longitude of the geographic center to search from. This field is ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;
-
mergeLatLng
public LocationFilter.Builder mergeLatLng(com.google.type.LatLng value)
The latitude and longitude of the geographic center to search from. This field is ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;
-
clearLatLng
public LocationFilter.Builder clearLatLng()
The latitude and longitude of the geographic center to search from. This field is ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;
-
getLatLngBuilder
public com.google.type.LatLng.Builder getLatLngBuilder()
The latitude and longitude of the geographic center to search from. This field is ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;
-
getLatLngOrBuilder
public com.google.type.LatLngOrBuilder getLatLngOrBuilder()
The latitude and longitude of the geographic center to search from. This field is ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;
- Specified by:
getLatLngOrBuilder
in interfaceLocationFilterOrBuilder
-
getDistanceInMiles
public double getDistanceInMiles()
The distance_in_miles is applied when the location being searched for is identified as a city or smaller. This field is ignored if the location being searched for is a state or larger.
double distance_in_miles = 4;
- Specified by:
getDistanceInMiles
in interfaceLocationFilterOrBuilder
- Returns:
- The distanceInMiles.
-
setDistanceInMiles
public LocationFilter.Builder setDistanceInMiles(double value)
The distance_in_miles is applied when the location being searched for is identified as a city or smaller. This field is ignored if the location being searched for is a state or larger.
double distance_in_miles = 4;
- Parameters:
value
- The distanceInMiles to set.- Returns:
- This builder for chaining.
-
clearDistanceInMiles
public LocationFilter.Builder clearDistanceInMiles()
The distance_in_miles is applied when the location being searched for is identified as a city or smaller. This field is ignored if the location being searched for is a state or larger.
double distance_in_miles = 4;
- Returns:
- This builder for chaining.
-
getTelecommutePreferenceValue
public int getTelecommutePreferenceValue()
Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location). [Job.posting_region][google.cloud.talent.v4beta1.Job.posting_region] indicates if a job permits telecommuting. If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED], telecommuting jobs are searched, and [address][google.cloud.talent.v4beta1.LocationFilter.address] and [lat_lng][google.cloud.talent.v4beta1.LocationFilter.lat_lng] are ignored. If not set or set to [TelecommutePreference.TELECOMMUTE_EXCLUDED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_EXCLUDED], the telecommute status of the jobs is ignored. Jobs that have [PostingRegion.TELECOMMUTE][google.cloud.talent.v4beta1.PostingRegion.TELECOMMUTE] and have additional [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] may still be matched based on other location filters using [address][google.cloud.talent.v4beta1.LocationFilter.address] or [latlng][]. This filter can be used by itself to search exclusively for telecommuting jobs, or it can be combined with another location filter to search for a combination of job locations, such as "Mountain View" or "telecommuting" jobs. However, when used in combination with other location filters, telecommuting jobs can be treated as less relevant than other jobs in the search response. This field is only used for job search requests.
.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5;
- Specified by:
getTelecommutePreferenceValue
in interfaceLocationFilterOrBuilder
- Returns:
- The enum numeric value on the wire for telecommutePreference.
-
setTelecommutePreferenceValue
public LocationFilter.Builder setTelecommutePreferenceValue(int value)
Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location). [Job.posting_region][google.cloud.talent.v4beta1.Job.posting_region] indicates if a job permits telecommuting. If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED], telecommuting jobs are searched, and [address][google.cloud.talent.v4beta1.LocationFilter.address] and [lat_lng][google.cloud.talent.v4beta1.LocationFilter.lat_lng] are ignored. If not set or set to [TelecommutePreference.TELECOMMUTE_EXCLUDED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_EXCLUDED], the telecommute status of the jobs is ignored. Jobs that have [PostingRegion.TELECOMMUTE][google.cloud.talent.v4beta1.PostingRegion.TELECOMMUTE] and have additional [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] may still be matched based on other location filters using [address][google.cloud.talent.v4beta1.LocationFilter.address] or [latlng][]. This filter can be used by itself to search exclusively for telecommuting jobs, or it can be combined with another location filter to search for a combination of job locations, such as "Mountain View" or "telecommuting" jobs. However, when used in combination with other location filters, telecommuting jobs can be treated as less relevant than other jobs in the search response. This field is only used for job search requests.
.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5;
- Parameters:
value
- The enum numeric value on the wire for telecommutePreference to set.- Returns:
- This builder for chaining.
-
getTelecommutePreference
public LocationFilter.TelecommutePreference getTelecommutePreference()
Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location). [Job.posting_region][google.cloud.talent.v4beta1.Job.posting_region] indicates if a job permits telecommuting. If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED], telecommuting jobs are searched, and [address][google.cloud.talent.v4beta1.LocationFilter.address] and [lat_lng][google.cloud.talent.v4beta1.LocationFilter.lat_lng] are ignored. If not set or set to [TelecommutePreference.TELECOMMUTE_EXCLUDED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_EXCLUDED], the telecommute status of the jobs is ignored. Jobs that have [PostingRegion.TELECOMMUTE][google.cloud.talent.v4beta1.PostingRegion.TELECOMMUTE] and have additional [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] may still be matched based on other location filters using [address][google.cloud.talent.v4beta1.LocationFilter.address] or [latlng][]. This filter can be used by itself to search exclusively for telecommuting jobs, or it can be combined with another location filter to search for a combination of job locations, such as "Mountain View" or "telecommuting" jobs. However, when used in combination with other location filters, telecommuting jobs can be treated as less relevant than other jobs in the search response. This field is only used for job search requests.
.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5;
- Specified by:
getTelecommutePreference
in interfaceLocationFilterOrBuilder
- Returns:
- The telecommutePreference.
-
setTelecommutePreference
public LocationFilter.Builder setTelecommutePreference(LocationFilter.TelecommutePreference value)
Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location). [Job.posting_region][google.cloud.talent.v4beta1.Job.posting_region] indicates if a job permits telecommuting. If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED], telecommuting jobs are searched, and [address][google.cloud.talent.v4beta1.LocationFilter.address] and [lat_lng][google.cloud.talent.v4beta1.LocationFilter.lat_lng] are ignored. If not set or set to [TelecommutePreference.TELECOMMUTE_EXCLUDED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_EXCLUDED], the telecommute status of the jobs is ignored. Jobs that have [PostingRegion.TELECOMMUTE][google.cloud.talent.v4beta1.PostingRegion.TELECOMMUTE] and have additional [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] may still be matched based on other location filters using [address][google.cloud.talent.v4beta1.LocationFilter.address] or [latlng][]. This filter can be used by itself to search exclusively for telecommuting jobs, or it can be combined with another location filter to search for a combination of job locations, such as "Mountain View" or "telecommuting" jobs. However, when used in combination with other location filters, telecommuting jobs can be treated as less relevant than other jobs in the search response. This field is only used for job search requests.
.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5;
- Parameters:
value
- The telecommutePreference to set.- Returns:
- This builder for chaining.
-
clearTelecommutePreference
public LocationFilter.Builder clearTelecommutePreference()
Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location). [Job.posting_region][google.cloud.talent.v4beta1.Job.posting_region] indicates if a job permits telecommuting. If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED], telecommuting jobs are searched, and [address][google.cloud.talent.v4beta1.LocationFilter.address] and [lat_lng][google.cloud.talent.v4beta1.LocationFilter.lat_lng] are ignored. If not set or set to [TelecommutePreference.TELECOMMUTE_EXCLUDED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_EXCLUDED], the telecommute status of the jobs is ignored. Jobs that have [PostingRegion.TELECOMMUTE][google.cloud.talent.v4beta1.PostingRegion.TELECOMMUTE] and have additional [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] may still be matched based on other location filters using [address][google.cloud.talent.v4beta1.LocationFilter.address] or [latlng][]. This filter can be used by itself to search exclusively for telecommuting jobs, or it can be combined with another location filter to search for a combination of job locations, such as "Mountain View" or "telecommuting" jobs. However, when used in combination with other location filters, telecommuting jobs can be treated as less relevant than other jobs in the search response. This field is only used for job search requests.
.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5;
- Returns:
- This builder for chaining.
-
getNegated
public boolean getNegated()
Whether to apply negation to the filter so profiles matching the filter are excluded.
bool negated = 6;
- Specified by:
getNegated
in interfaceLocationFilterOrBuilder
- Returns:
- The negated.
-
setNegated
public LocationFilter.Builder setNegated(boolean value)
Whether to apply negation to the filter so profiles matching the filter are excluded.
bool negated = 6;
- Parameters:
value
- The negated to set.- Returns:
- This builder for chaining.
-
clearNegated
public LocationFilter.Builder clearNegated()
Whether to apply negation to the filter so profiles matching the filter are excluded.
bool negated = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final LocationFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
mergeUnknownFields
public final LocationFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>
-
-