public static final class LocationFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder> implements LocationFilterOrBuilder
Input only. Geographic region of the search.Protobuf type
google.cloud.talent.v4beta1.LocationFilter| Modifier and Type | Method and Description |
|---|---|
LocationFilter.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LocationFilter |
build() |
LocationFilter |
buildPartial() |
LocationFilter.Builder |
clear() |
LocationFilter.Builder |
clearAddress()
Optional.
|
LocationFilter.Builder |
clearDistanceInMiles()
Optional.
|
LocationFilter.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LocationFilter.Builder |
clearLatLng()
Optional.
|
LocationFilter.Builder |
clearNegated()
Optional.
|
LocationFilter.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LocationFilter.Builder |
clearRegionCode()
Optional.
|
LocationFilter.Builder |
clearTelecommutePreference()
Optional.
|
LocationFilter.Builder |
clone() |
String |
getAddress()
Optional.
|
com.google.protobuf.ByteString |
getAddressBytes()
Optional.
|
LocationFilter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getDistanceInMiles()
Optional.
|
com.google.type.LatLng |
getLatLng()
Optional.
|
com.google.type.LatLng.Builder |
getLatLngBuilder()
Optional.
|
com.google.type.LatLngOrBuilder |
getLatLngOrBuilder()
Optional.
|
boolean |
getNegated()
Optional.
|
String |
getRegionCode()
Optional.
|
com.google.protobuf.ByteString |
getRegionCodeBytes()
Optional.
|
LocationFilter.TelecommutePreference |
getTelecommutePreference()
Optional.
|
int |
getTelecommutePreferenceValue()
Optional.
|
boolean |
hasLatLng()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LocationFilter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LocationFilter.Builder |
mergeFrom(LocationFilter other) |
LocationFilter.Builder |
mergeFrom(com.google.protobuf.Message other) |
LocationFilter.Builder |
mergeLatLng(com.google.type.LatLng value)
Optional.
|
LocationFilter.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LocationFilter.Builder |
setAddress(String value)
Optional.
|
LocationFilter.Builder |
setAddressBytes(com.google.protobuf.ByteString value)
Optional.
|
LocationFilter.Builder |
setDistanceInMiles(double value)
Optional.
|
LocationFilter.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LocationFilter.Builder |
setLatLng(com.google.type.LatLng.Builder builderForValue)
Optional.
|
LocationFilter.Builder |
setLatLng(com.google.type.LatLng value)
Optional.
|
LocationFilter.Builder |
setNegated(boolean value)
Optional.
|
LocationFilter.Builder |
setRegionCode(String value)
Optional.
|
LocationFilter.Builder |
setRegionCodeBytes(com.google.protobuf.ByteString value)
Optional.
|
LocationFilter.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LocationFilter.Builder |
setTelecommutePreference(LocationFilter.TelecommutePreference value)
Optional.
|
LocationFilter.Builder |
setTelecommutePreferenceValue(int value)
Optional.
|
LocationFilter.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>public LocationFilter.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>public LocationFilter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LocationFilter build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LocationFilter buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LocationFilter.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>public LocationFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>public LocationFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>public LocationFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>public LocationFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>public LocationFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>public LocationFilter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LocationFilter.Builder>public LocationFilter.Builder mergeFrom(LocationFilter other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>public LocationFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LocationFilter.Builder>IOExceptionpublic String getAddress()
Optional. The address name, such as "Mountain View" or "Bay Area".
string address = 1;getAddress in interface LocationFilterOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
Optional. The address name, such as "Mountain View" or "Bay Area".
string address = 1;getAddressBytes in interface LocationFilterOrBuilderpublic LocationFilter.Builder setAddress(String value)
Optional. The address name, such as "Mountain View" or "Bay Area".
string address = 1;public LocationFilter.Builder clearAddress()
Optional. The address name, such as "Mountain View" or "Bay Area".
string address = 1;public LocationFilter.Builder setAddressBytes(com.google.protobuf.ByteString value)
Optional. The address name, such as "Mountain View" or "Bay Area".
string address = 1;public String getRegionCode()
Optional. CLDR region code of the country/region of the address. This is used to address ambiguity of the user-input location, for example, "Liverpool" against "Liverpool, NY, US" or "Liverpool, UK". Set this field if all the jobs to search against are from a same region, or jobs are world-wide, but the job seeker is from a specific region. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
string region_code = 2;getRegionCode in interface LocationFilterOrBuilderpublic com.google.protobuf.ByteString getRegionCodeBytes()
Optional. CLDR region code of the country/region of the address. This is used to address ambiguity of the user-input location, for example, "Liverpool" against "Liverpool, NY, US" or "Liverpool, UK". Set this field if all the jobs to search against are from a same region, or jobs are world-wide, but the job seeker is from a specific region. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
string region_code = 2;getRegionCodeBytes in interface LocationFilterOrBuilderpublic LocationFilter.Builder setRegionCode(String value)
Optional. CLDR region code of the country/region of the address. This is used to address ambiguity of the user-input location, for example, "Liverpool" against "Liverpool, NY, US" or "Liverpool, UK". Set this field if all the jobs to search against are from a same region, or jobs are world-wide, but the job seeker is from a specific region. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
string region_code = 2;public LocationFilter.Builder clearRegionCode()
Optional. CLDR region code of the country/region of the address. This is used to address ambiguity of the user-input location, for example, "Liverpool" against "Liverpool, NY, US" or "Liverpool, UK". Set this field if all the jobs to search against are from a same region, or jobs are world-wide, but the job seeker is from a specific region. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
string region_code = 2;public LocationFilter.Builder setRegionCodeBytes(com.google.protobuf.ByteString value)
Optional. CLDR region code of the country/region of the address. This is used to address ambiguity of the user-input location, for example, "Liverpool" against "Liverpool, NY, US" or "Liverpool, UK". Set this field if all the jobs to search against are from a same region, or jobs are world-wide, but the job seeker is from a specific region. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
string region_code = 2;public boolean hasLatLng()
Optional. The latitude and longitude of the geographic center from which to search. This field's ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;hasLatLng in interface LocationFilterOrBuilderpublic com.google.type.LatLng getLatLng()
Optional. The latitude and longitude of the geographic center from which to search. This field's ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;getLatLng in interface LocationFilterOrBuilderpublic LocationFilter.Builder setLatLng(com.google.type.LatLng value)
Optional. The latitude and longitude of the geographic center from which to search. This field's ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;public LocationFilter.Builder setLatLng(com.google.type.LatLng.Builder builderForValue)
Optional. The latitude and longitude of the geographic center from which to search. This field's ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;public LocationFilter.Builder mergeLatLng(com.google.type.LatLng value)
Optional. The latitude and longitude of the geographic center from which to search. This field's ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;public LocationFilter.Builder clearLatLng()
Optional. The latitude and longitude of the geographic center from which to search. This field's ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;public com.google.type.LatLng.Builder getLatLngBuilder()
Optional. The latitude and longitude of the geographic center from which to search. This field's ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;public com.google.type.LatLngOrBuilder getLatLngOrBuilder()
Optional. The latitude and longitude of the geographic center from which to search. This field's ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;getLatLngOrBuilder in interface LocationFilterOrBuilderpublic double getDistanceInMiles()
Optional. The distance_in_miles is applied when the location being searched for is identified as a city or smaller. When the location being searched for is a state or larger, this field is ignored.
double distance_in_miles = 4;getDistanceInMiles in interface LocationFilterOrBuilderpublic LocationFilter.Builder setDistanceInMiles(double value)
Optional. The distance_in_miles is applied when the location being searched for is identified as a city or smaller. When the location being searched for is a state or larger, this field is ignored.
double distance_in_miles = 4;public LocationFilter.Builder clearDistanceInMiles()
Optional. The distance_in_miles is applied when the location being searched for is identified as a city or smaller. When the location being searched for is a state or larger, this field is ignored.
double distance_in_miles = 4;public int getTelecommutePreferenceValue()
Optional. Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecomuting 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], telecommute job are not searched. 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.
.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5;
getTelecommutePreferenceValue in interface LocationFilterOrBuilderpublic LocationFilter.Builder setTelecommutePreferenceValue(int value)
Optional. Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecomuting 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], telecommute job are not searched. 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.
.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5;
public LocationFilter.TelecommutePreference getTelecommutePreference()
Optional. Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecomuting 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], telecommute job are not searched. 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.
.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5;
getTelecommutePreference in interface LocationFilterOrBuilderpublic LocationFilter.Builder setTelecommutePreference(LocationFilter.TelecommutePreference value)
Optional. Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecomuting 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], telecommute job are not searched. 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.
.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5;
public LocationFilter.Builder clearTelecommutePreference()
Optional. Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecomuting 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], telecommute job are not searched. 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.
.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5;
public boolean getNegated()
Optional. Whether to apply negation to the filter so profiles matching the filter are excluded. Currently only supported in profile search.
bool negated = 6;getNegated in interface LocationFilterOrBuilderpublic LocationFilter.Builder setNegated(boolean value)
Optional. Whether to apply negation to the filter so profiles matching the filter are excluded. Currently only supported in profile search.
bool negated = 6;public LocationFilter.Builder clearNegated()
Optional. Whether to apply negation to the filter so profiles matching the filter are excluded. Currently only supported in profile search.
bool negated = 6;public final LocationFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>public final LocationFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LocationFilter.Builder>Copyright © 2019 Google LLC. All rights reserved.