Package com.google.cloud.talent.v4beta1
Class JobQuery.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<JobQuery.Builder>
-
- com.google.cloud.talent.v4beta1.JobQuery.Builder
-
- All Implemented Interfaces:
JobQueryOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- JobQuery
public static final class JobQuery.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<JobQuery.Builder> implements JobQueryOrBuilder
The query required to perform a search query.
Protobuf typegoogle.cloud.talent.v4beta1.JobQuery
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JobQuery.Builder
addAllCompanies(Iterable<String> values)
This filter specifies the company entities to search against.JobQuery.Builder
addAllCompanyDisplayNames(Iterable<String> values)
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against.JobQuery.Builder
addAllEmploymentTypes(Iterable<? extends EmploymentType> values)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].JobQuery.Builder
addAllEmploymentTypesValue(Iterable<Integer> values)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].JobQuery.Builder
addAllExcludedJobs(Iterable<String> values)
This filter specifies a list of job names to be excluded during search.JobQuery.Builder
addAllJobCategories(Iterable<? extends JobCategory> values)
The category filter specifies the categories of jobs to search against.JobQuery.Builder
addAllJobCategoriesValue(Iterable<Integer> values)
The category filter specifies the categories of jobs to search against.JobQuery.Builder
addAllLanguageCodes(Iterable<String> values)
This filter specifies the locale of jobs to search against, for example, "en-US".JobQuery.Builder
addAllLocationFilters(Iterable<? extends LocationFilter> values)
The location filter specifies geo-regions containing the jobs to search against.JobQuery.Builder
addCompanies(String value)
This filter specifies the company entities to search against.JobQuery.Builder
addCompaniesBytes(com.google.protobuf.ByteString value)
This filter specifies the company entities to search against.JobQuery.Builder
addCompanyDisplayNames(String value)
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against.JobQuery.Builder
addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value)
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against.JobQuery.Builder
addEmploymentTypes(EmploymentType value)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].JobQuery.Builder
addEmploymentTypesValue(int value)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].JobQuery.Builder
addExcludedJobs(String value)
This filter specifies a list of job names to be excluded during search.JobQuery.Builder
addExcludedJobsBytes(com.google.protobuf.ByteString value)
This filter specifies a list of job names to be excluded during search.JobQuery.Builder
addJobCategories(JobCategory value)
The category filter specifies the categories of jobs to search against.JobQuery.Builder
addJobCategoriesValue(int value)
The category filter specifies the categories of jobs to search against.JobQuery.Builder
addLanguageCodes(String value)
This filter specifies the locale of jobs to search against, for example, "en-US".JobQuery.Builder
addLanguageCodesBytes(com.google.protobuf.ByteString value)
This filter specifies the locale of jobs to search against, for example, "en-US".JobQuery.Builder
addLocationFilters(int index, LocationFilter value)
The location filter specifies geo-regions containing the jobs to search against.JobQuery.Builder
addLocationFilters(int index, LocationFilter.Builder builderForValue)
The location filter specifies geo-regions containing the jobs to search against.JobQuery.Builder
addLocationFilters(LocationFilter value)
The location filter specifies geo-regions containing the jobs to search against.JobQuery.Builder
addLocationFilters(LocationFilter.Builder builderForValue)
The location filter specifies geo-regions containing the jobs to search against.LocationFilter.Builder
addLocationFiltersBuilder()
The location filter specifies geo-regions containing the jobs to search against.LocationFilter.Builder
addLocationFiltersBuilder(int index)
The location filter specifies geo-regions containing the jobs to search against.JobQuery.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
JobQuery
build()
JobQuery
buildPartial()
JobQuery.Builder
clear()
JobQuery.Builder
clearCommuteFilter()
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).JobQuery.Builder
clearCompanies()
This filter specifies the company entities to search against.JobQuery.Builder
clearCompanyDisplayNames()
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against.JobQuery.Builder
clearCompensationFilter()
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info].JobQuery.Builder
clearCustomAttributeFilter()
This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.JobQuery.Builder
clearDisableSpellCheck()
This flag controls the spell-check feature.JobQuery.Builder
clearEmploymentTypes()
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].JobQuery.Builder
clearExcludedJobs()
This filter specifies a list of job names to be excluded during search.JobQuery.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
JobQuery.Builder
clearJobCategories()
The category filter specifies the categories of jobs to search against.JobQuery.Builder
clearLanguageCodes()
This filter specifies the locale of jobs to search against, for example, "en-US".JobQuery.Builder
clearLocationFilters()
The location filter specifies geo-regions containing the jobs to search against.JobQuery.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
JobQuery.Builder
clearPublishTimeRange()
Jobs published within a range specified by this filter are searched against.JobQuery.Builder
clearQuery()
The query string that matches against the job title, description, and location fields.JobQuery.Builder
clearQueryLanguageCode()
The language code of [query][google.cloud.talent.v4beta1.JobQuery.query].JobQuery.Builder
clone()
CommuteFilter
getCommuteFilter()
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).CommuteFilter.Builder
getCommuteFilterBuilder()
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).CommuteFilterOrBuilder
getCommuteFilterOrBuilder()
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).String
getCompanies(int index)
This filter specifies the company entities to search against.com.google.protobuf.ByteString
getCompaniesBytes(int index)
This filter specifies the company entities to search against.int
getCompaniesCount()
This filter specifies the company entities to search against.com.google.protobuf.ProtocolStringList
getCompaniesList()
This filter specifies the company entities to search against.String
getCompanyDisplayNames(int index)
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against.com.google.protobuf.ByteString
getCompanyDisplayNamesBytes(int index)
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against.int
getCompanyDisplayNamesCount()
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against.com.google.protobuf.ProtocolStringList
getCompanyDisplayNamesList()
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against.CompensationFilter
getCompensationFilter()
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info].CompensationFilter.Builder
getCompensationFilterBuilder()
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info].CompensationFilterOrBuilder
getCompensationFilterOrBuilder()
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info].String
getCustomAttributeFilter()
This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.com.google.protobuf.ByteString
getCustomAttributeFilterBytes()
This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.JobQuery
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getDisableSpellCheck()
This flag controls the spell-check feature.EmploymentType
getEmploymentTypes(int index)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].int
getEmploymentTypesCount()
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].List<EmploymentType>
getEmploymentTypesList()
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].int
getEmploymentTypesValue(int index)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].List<Integer>
getEmploymentTypesValueList()
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].String
getExcludedJobs(int index)
This filter specifies a list of job names to be excluded during search.com.google.protobuf.ByteString
getExcludedJobsBytes(int index)
This filter specifies a list of job names to be excluded during search.int
getExcludedJobsCount()
This filter specifies a list of job names to be excluded during search.com.google.protobuf.ProtocolStringList
getExcludedJobsList()
This filter specifies a list of job names to be excluded during search.JobCategory
getJobCategories(int index)
The category filter specifies the categories of jobs to search against.int
getJobCategoriesCount()
The category filter specifies the categories of jobs to search against.List<JobCategory>
getJobCategoriesList()
The category filter specifies the categories of jobs to search against.int
getJobCategoriesValue(int index)
The category filter specifies the categories of jobs to search against.List<Integer>
getJobCategoriesValueList()
The category filter specifies the categories of jobs to search against.String
getLanguageCodes(int index)
This filter specifies the locale of jobs to search against, for example, "en-US".com.google.protobuf.ByteString
getLanguageCodesBytes(int index)
This filter specifies the locale of jobs to search against, for example, "en-US".int
getLanguageCodesCount()
This filter specifies the locale of jobs to search against, for example, "en-US".com.google.protobuf.ProtocolStringList
getLanguageCodesList()
This filter specifies the locale of jobs to search against, for example, "en-US".LocationFilter
getLocationFilters(int index)
The location filter specifies geo-regions containing the jobs to search against.LocationFilter.Builder
getLocationFiltersBuilder(int index)
The location filter specifies geo-regions containing the jobs to search against.List<LocationFilter.Builder>
getLocationFiltersBuilderList()
The location filter specifies geo-regions containing the jobs to search against.int
getLocationFiltersCount()
The location filter specifies geo-regions containing the jobs to search against.List<LocationFilter>
getLocationFiltersList()
The location filter specifies geo-regions containing the jobs to search against.LocationFilterOrBuilder
getLocationFiltersOrBuilder(int index)
The location filter specifies geo-regions containing the jobs to search against.List<? extends LocationFilterOrBuilder>
getLocationFiltersOrBuilderList()
The location filter specifies geo-regions containing the jobs to search against.TimestampRange
getPublishTimeRange()
Jobs published within a range specified by this filter are searched against.TimestampRange.Builder
getPublishTimeRangeBuilder()
Jobs published within a range specified by this filter are searched against.TimestampRangeOrBuilder
getPublishTimeRangeOrBuilder()
Jobs published within a range specified by this filter are searched against.String
getQuery()
The query string that matches against the job title, description, and location fields.com.google.protobuf.ByteString
getQueryBytes()
The query string that matches against the job title, description, and location fields.String
getQueryLanguageCode()
The language code of [query][google.cloud.talent.v4beta1.JobQuery.query].com.google.protobuf.ByteString
getQueryLanguageCodeBytes()
The language code of [query][google.cloud.talent.v4beta1.JobQuery.query].boolean
hasCommuteFilter()
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).boolean
hasCompensationFilter()
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info].boolean
hasPublishTimeRange()
Jobs published within a range specified by this filter are searched against.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
JobQuery.Builder
mergeCommuteFilter(CommuteFilter value)
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).JobQuery.Builder
mergeCompensationFilter(CompensationFilter value)
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info].JobQuery.Builder
mergeFrom(JobQuery other)
JobQuery.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobQuery.Builder
mergeFrom(com.google.protobuf.Message other)
JobQuery.Builder
mergePublishTimeRange(TimestampRange value)
Jobs published within a range specified by this filter are searched against.JobQuery.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
JobQuery.Builder
removeLocationFilters(int index)
The location filter specifies geo-regions containing the jobs to search against.JobQuery.Builder
setCommuteFilter(CommuteFilter value)
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).JobQuery.Builder
setCommuteFilter(CommuteFilter.Builder builderForValue)
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).JobQuery.Builder
setCompanies(int index, String value)
This filter specifies the company entities to search against.JobQuery.Builder
setCompanyDisplayNames(int index, String value)
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against.JobQuery.Builder
setCompensationFilter(CompensationFilter value)
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info].JobQuery.Builder
setCompensationFilter(CompensationFilter.Builder builderForValue)
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info].JobQuery.Builder
setCustomAttributeFilter(String value)
This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.JobQuery.Builder
setCustomAttributeFilterBytes(com.google.protobuf.ByteString value)
This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.JobQuery.Builder
setDisableSpellCheck(boolean value)
This flag controls the spell-check feature.JobQuery.Builder
setEmploymentTypes(int index, EmploymentType value)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].JobQuery.Builder
setEmploymentTypesValue(int index, int value)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].JobQuery.Builder
setExcludedJobs(int index, String value)
This filter specifies a list of job names to be excluded during search.JobQuery.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
JobQuery.Builder
setJobCategories(int index, JobCategory value)
The category filter specifies the categories of jobs to search against.JobQuery.Builder
setJobCategoriesValue(int index, int value)
The category filter specifies the categories of jobs to search against.JobQuery.Builder
setLanguageCodes(int index, String value)
This filter specifies the locale of jobs to search against, for example, "en-US".JobQuery.Builder
setLocationFilters(int index, LocationFilter value)
The location filter specifies geo-regions containing the jobs to search against.JobQuery.Builder
setLocationFilters(int index, LocationFilter.Builder builderForValue)
The location filter specifies geo-regions containing the jobs to search against.JobQuery.Builder
setPublishTimeRange(TimestampRange value)
Jobs published within a range specified by this filter are searched against.JobQuery.Builder
setPublishTimeRange(TimestampRange.Builder builderForValue)
Jobs published within a range specified by this filter are searched against.JobQuery.Builder
setQuery(String value)
The query string that matches against the job title, description, and location fields.JobQuery.Builder
setQueryBytes(com.google.protobuf.ByteString value)
The query string that matches against the job title, description, and location fields.JobQuery.Builder
setQueryLanguageCode(String value)
The language code of [query][google.cloud.talent.v4beta1.JobQuery.query].JobQuery.Builder
setQueryLanguageCodeBytes(com.google.protobuf.ByteString value)
The language code of [query][google.cloud.talent.v4beta1.JobQuery.query].JobQuery.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
JobQuery.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<JobQuery.Builder>
-
clear
public JobQuery.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<JobQuery.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<JobQuery.Builder>
-
getDefaultInstanceForType
public JobQuery getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public JobQuery build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public JobQuery buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public JobQuery.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<JobQuery.Builder>
-
setField
public JobQuery.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<JobQuery.Builder>
-
clearField
public JobQuery.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<JobQuery.Builder>
-
clearOneof
public JobQuery.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<JobQuery.Builder>
-
setRepeatedField
public JobQuery.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<JobQuery.Builder>
-
addRepeatedField
public JobQuery.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<JobQuery.Builder>
-
mergeFrom
public JobQuery.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<JobQuery.Builder>
-
mergeFrom
public JobQuery.Builder mergeFrom(JobQuery other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<JobQuery.Builder>
-
mergeFrom
public JobQuery.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<JobQuery.Builder>
- Throws:
IOException
-
getQuery
public String getQuery()
The query string that matches against the job title, description, and location fields. The maximum number of allowed characters is 255.
string query = 1;
- Specified by:
getQuery
in interfaceJobQueryOrBuilder
- Returns:
- The query.
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes()
The query string that matches against the job title, description, and location fields. The maximum number of allowed characters is 255.
string query = 1;
- Specified by:
getQueryBytes
in interfaceJobQueryOrBuilder
- Returns:
- The bytes for query.
-
setQuery
public JobQuery.Builder setQuery(String value)
The query string that matches against the job title, description, and location fields. The maximum number of allowed characters is 255.
string query = 1;
- Parameters:
value
- The query to set.- Returns:
- This builder for chaining.
-
clearQuery
public JobQuery.Builder clearQuery()
The query string that matches against the job title, description, and location fields. The maximum number of allowed characters is 255.
string query = 1;
- Returns:
- This builder for chaining.
-
setQueryBytes
public JobQuery.Builder setQueryBytes(com.google.protobuf.ByteString value)
The query string that matches against the job title, description, and location fields. The maximum number of allowed characters is 255.
string query = 1;
- Parameters:
value
- The bytes for query to set.- Returns:
- This builder for chaining.
-
getQueryLanguageCode
public String getQueryLanguageCode()
The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate. Language code should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
string query_language_code = 14;
- Specified by:
getQueryLanguageCode
in interfaceJobQueryOrBuilder
- Returns:
- The queryLanguageCode.
-
getQueryLanguageCodeBytes
public com.google.protobuf.ByteString getQueryLanguageCodeBytes()
The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate. Language code should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
string query_language_code = 14;
- Specified by:
getQueryLanguageCodeBytes
in interfaceJobQueryOrBuilder
- Returns:
- The bytes for queryLanguageCode.
-
setQueryLanguageCode
public JobQuery.Builder setQueryLanguageCode(String value)
The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate. Language code should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
string query_language_code = 14;
- Parameters:
value
- The queryLanguageCode to set.- Returns:
- This builder for chaining.
-
clearQueryLanguageCode
public JobQuery.Builder clearQueryLanguageCode()
The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate. Language code should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
string query_language_code = 14;
- Returns:
- This builder for chaining.
-
setQueryLanguageCodeBytes
public JobQuery.Builder setQueryLanguageCodeBytes(com.google.protobuf.ByteString value)
The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate. Language code should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
string query_language_code = 14;
- Parameters:
value
- The bytes for queryLanguageCode to set.- Returns:
- This builder for chaining.
-
getCompaniesList
public com.google.protobuf.ProtocolStringList getCompaniesList()
This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz". If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar". At most 20 company filters are allowed.
repeated string companies = 2;
- Specified by:
getCompaniesList
in interfaceJobQueryOrBuilder
- Returns:
- A list containing the companies.
-
getCompaniesCount
public int getCompaniesCount()
This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz". If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar". At most 20 company filters are allowed.
repeated string companies = 2;
- Specified by:
getCompaniesCount
in interfaceJobQueryOrBuilder
- Returns:
- The count of companies.
-
getCompanies
public String getCompanies(int index)
This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz". If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar". At most 20 company filters are allowed.
repeated string companies = 2;
- Specified by:
getCompanies
in interfaceJobQueryOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The companies at the given index.
-
getCompaniesBytes
public com.google.protobuf.ByteString getCompaniesBytes(int index)
This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz". If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar". At most 20 company filters are allowed.
repeated string companies = 2;
- Specified by:
getCompaniesBytes
in interfaceJobQueryOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the companies at the given index.
-
setCompanies
public JobQuery.Builder setCompanies(int index, String value)
This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz". If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar". At most 20 company filters are allowed.
repeated string companies = 2;
- Parameters:
index
- The index to set the value at.value
- The companies to set.- Returns:
- This builder for chaining.
-
addCompanies
public JobQuery.Builder addCompanies(String value)
This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz". If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar". At most 20 company filters are allowed.
repeated string companies = 2;
- Parameters:
value
- The companies to add.- Returns:
- This builder for chaining.
-
addAllCompanies
public JobQuery.Builder addAllCompanies(Iterable<String> values)
This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz". If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar". At most 20 company filters are allowed.
repeated string companies = 2;
- Parameters:
values
- The companies to add.- Returns:
- This builder for chaining.
-
clearCompanies
public JobQuery.Builder clearCompanies()
This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz". If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar". At most 20 company filters are allowed.
repeated string companies = 2;
- Returns:
- This builder for chaining.
-
addCompaniesBytes
public JobQuery.Builder addCompaniesBytes(com.google.protobuf.ByteString value)
This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz". If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar". At most 20 company filters are allowed.
repeated string companies = 2;
- Parameters:
value
- The bytes of the companies to add.- Returns:
- This builder for chaining.
-
getLocationFiltersList
public List<LocationFilter> getLocationFiltersList()
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
- Specified by:
getLocationFiltersList
in interfaceJobQueryOrBuilder
-
getLocationFiltersCount
public int getLocationFiltersCount()
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
- Specified by:
getLocationFiltersCount
in interfaceJobQueryOrBuilder
-
getLocationFilters
public LocationFilter getLocationFilters(int index)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
- Specified by:
getLocationFilters
in interfaceJobQueryOrBuilder
-
setLocationFilters
public JobQuery.Builder setLocationFilters(int index, LocationFilter value)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
setLocationFilters
public JobQuery.Builder setLocationFilters(int index, LocationFilter.Builder builderForValue)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
addLocationFilters
public JobQuery.Builder addLocationFilters(LocationFilter value)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
addLocationFilters
public JobQuery.Builder addLocationFilters(int index, LocationFilter value)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
addLocationFilters
public JobQuery.Builder addLocationFilters(LocationFilter.Builder builderForValue)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
addLocationFilters
public JobQuery.Builder addLocationFilters(int index, LocationFilter.Builder builderForValue)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
addAllLocationFilters
public JobQuery.Builder addAllLocationFilters(Iterable<? extends LocationFilter> values)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
clearLocationFilters
public JobQuery.Builder clearLocationFilters()
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
removeLocationFilters
public JobQuery.Builder removeLocationFilters(int index)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
getLocationFiltersBuilder
public LocationFilter.Builder getLocationFiltersBuilder(int index)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
getLocationFiltersOrBuilder
public LocationFilterOrBuilder getLocationFiltersOrBuilder(int index)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
- Specified by:
getLocationFiltersOrBuilder
in interfaceJobQueryOrBuilder
-
getLocationFiltersOrBuilderList
public List<? extends LocationFilterOrBuilder> getLocationFiltersOrBuilderList()
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
- Specified by:
getLocationFiltersOrBuilderList
in interfaceJobQueryOrBuilder
-
addLocationFiltersBuilder
public LocationFilter.Builder addLocationFiltersBuilder()
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
addLocationFiltersBuilder
public LocationFilter.Builder addLocationFiltersBuilder(int index)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
getLocationFiltersBuilderList
public List<LocationFilter.Builder> getLocationFiltersBuilderList()
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.
repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
-
getJobCategoriesList
public List<JobCategory> getJobCategoriesList()
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information. If a value isn't specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.
repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;
- Specified by:
getJobCategoriesList
in interfaceJobQueryOrBuilder
- Returns:
- A list containing the jobCategories.
-
getJobCategoriesCount
public int getJobCategoriesCount()
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information. If a value isn't specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.
repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;
- Specified by:
getJobCategoriesCount
in interfaceJobQueryOrBuilder
- Returns:
- The count of jobCategories.
-
getJobCategories
public JobCategory getJobCategories(int index)
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information. If a value isn't specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.
repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;
- Specified by:
getJobCategories
in interfaceJobQueryOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The jobCategories at the given index.
-
setJobCategories
public JobQuery.Builder setJobCategories(int index, JobCategory value)
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information. If a value isn't specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.
repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;
- Parameters:
index
- The index to set the value at.value
- The jobCategories to set.- Returns:
- This builder for chaining.
-
addJobCategories
public JobQuery.Builder addJobCategories(JobCategory value)
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information. If a value isn't specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.
repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;
- Parameters:
value
- The jobCategories to add.- Returns:
- This builder for chaining.
-
addAllJobCategories
public JobQuery.Builder addAllJobCategories(Iterable<? extends JobCategory> values)
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information. If a value isn't specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.
repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;
- Parameters:
values
- The jobCategories to add.- Returns:
- This builder for chaining.
-
clearJobCategories
public JobQuery.Builder clearJobCategories()
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information. If a value isn't specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.
repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;
- Returns:
- This builder for chaining.
-
getJobCategoriesValueList
public List<Integer> getJobCategoriesValueList()
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information. If a value isn't specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.
repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;
- Specified by:
getJobCategoriesValueList
in interfaceJobQueryOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for jobCategories.
-
getJobCategoriesValue
public int getJobCategoriesValue(int index)
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information. If a value isn't specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.
repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;
- Specified by:
getJobCategoriesValue
in interfaceJobQueryOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of jobCategories at the given index.
-
setJobCategoriesValue
public JobQuery.Builder setJobCategoriesValue(int index, int value)
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information. If a value isn't specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.
repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for jobCategories to set.- Returns:
- This builder for chaining.
-
addJobCategoriesValue
public JobQuery.Builder addJobCategoriesValue(int value)
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information. If a value isn't specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.
repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;
- Parameters:
value
- The enum numeric value on the wire for jobCategories to add.- Returns:
- This builder for chaining.
-
addAllJobCategoriesValue
public JobQuery.Builder addAllJobCategoriesValue(Iterable<Integer> values)
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information. If a value isn't specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.
repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;
- Parameters:
values
- The enum numeric values on the wire for jobCategories to add.- Returns:
- This builder for chaining.
-
hasCommuteFilter
public boolean hasCommuteFilter()
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works when you specify a [CommuteMethod][google.cloud.talent.v4beta1.CommuteMethod]. In this case, [location_filters][google.cloud.talent.v4beta1.JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time.
.google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
- Specified by:
hasCommuteFilter
in interfaceJobQueryOrBuilder
- Returns:
- Whether the commuteFilter field is set.
-
getCommuteFilter
public CommuteFilter getCommuteFilter()
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works when you specify a [CommuteMethod][google.cloud.talent.v4beta1.CommuteMethod]. In this case, [location_filters][google.cloud.talent.v4beta1.JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time.
.google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
- Specified by:
getCommuteFilter
in interfaceJobQueryOrBuilder
- Returns:
- The commuteFilter.
-
setCommuteFilter
public JobQuery.Builder setCommuteFilter(CommuteFilter value)
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works when you specify a [CommuteMethod][google.cloud.talent.v4beta1.CommuteMethod]. In this case, [location_filters][google.cloud.talent.v4beta1.JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time.
.google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
-
setCommuteFilter
public JobQuery.Builder setCommuteFilter(CommuteFilter.Builder builderForValue)
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works when you specify a [CommuteMethod][google.cloud.talent.v4beta1.CommuteMethod]. In this case, [location_filters][google.cloud.talent.v4beta1.JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time.
.google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
-
mergeCommuteFilter
public JobQuery.Builder mergeCommuteFilter(CommuteFilter value)
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works when you specify a [CommuteMethod][google.cloud.talent.v4beta1.CommuteMethod]. In this case, [location_filters][google.cloud.talent.v4beta1.JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time.
.google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
-
clearCommuteFilter
public JobQuery.Builder clearCommuteFilter()
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works when you specify a [CommuteMethod][google.cloud.talent.v4beta1.CommuteMethod]. In this case, [location_filters][google.cloud.talent.v4beta1.JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time.
.google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
-
getCommuteFilterBuilder
public CommuteFilter.Builder getCommuteFilterBuilder()
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works when you specify a [CommuteMethod][google.cloud.talent.v4beta1.CommuteMethod]. In this case, [location_filters][google.cloud.talent.v4beta1.JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time.
.google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
-
getCommuteFilterOrBuilder
public CommuteFilterOrBuilder getCommuteFilterOrBuilder()
Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works when you specify a [CommuteMethod][google.cloud.talent.v4beta1.CommuteMethod]. In this case, [location_filters][google.cloud.talent.v4beta1.JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time.
.google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
- Specified by:
getCommuteFilterOrBuilder
in interfaceJobQueryOrBuilder
-
getCompanyDisplayNamesList
public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList()
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against. The company name must match the value exactly. Alternatively, the value being searched for can be wrapped in different match operators. `SUBSTRING_MATCH([value])` The company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: `SUBSTRING_MATCH(google)` `MULTI_WORD_TOKEN_MATCH([value])` The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency. Sample Value: `MULTI_WORD_TOKEN_MATCH(google)` If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.
repeated string company_display_names = 6;
- Specified by:
getCompanyDisplayNamesList
in interfaceJobQueryOrBuilder
- Returns:
- A list containing the companyDisplayNames.
-
getCompanyDisplayNamesCount
public int getCompanyDisplayNamesCount()
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against. The company name must match the value exactly. Alternatively, the value being searched for can be wrapped in different match operators. `SUBSTRING_MATCH([value])` The company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: `SUBSTRING_MATCH(google)` `MULTI_WORD_TOKEN_MATCH([value])` The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency. Sample Value: `MULTI_WORD_TOKEN_MATCH(google)` If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.
repeated string company_display_names = 6;
- Specified by:
getCompanyDisplayNamesCount
in interfaceJobQueryOrBuilder
- Returns:
- The count of companyDisplayNames.
-
getCompanyDisplayNames
public String getCompanyDisplayNames(int index)
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against. The company name must match the value exactly. Alternatively, the value being searched for can be wrapped in different match operators. `SUBSTRING_MATCH([value])` The company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: `SUBSTRING_MATCH(google)` `MULTI_WORD_TOKEN_MATCH([value])` The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency. Sample Value: `MULTI_WORD_TOKEN_MATCH(google)` If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.
repeated string company_display_names = 6;
- Specified by:
getCompanyDisplayNames
in interfaceJobQueryOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The companyDisplayNames at the given index.
-
getCompanyDisplayNamesBytes
public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index)
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against. The company name must match the value exactly. Alternatively, the value being searched for can be wrapped in different match operators. `SUBSTRING_MATCH([value])` The company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: `SUBSTRING_MATCH(google)` `MULTI_WORD_TOKEN_MATCH([value])` The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency. Sample Value: `MULTI_WORD_TOKEN_MATCH(google)` If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.
repeated string company_display_names = 6;
- Specified by:
getCompanyDisplayNamesBytes
in interfaceJobQueryOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the companyDisplayNames at the given index.
-
setCompanyDisplayNames
public JobQuery.Builder setCompanyDisplayNames(int index, String value)
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against. The company name must match the value exactly. Alternatively, the value being searched for can be wrapped in different match operators. `SUBSTRING_MATCH([value])` The company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: `SUBSTRING_MATCH(google)` `MULTI_WORD_TOKEN_MATCH([value])` The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency. Sample Value: `MULTI_WORD_TOKEN_MATCH(google)` If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.
repeated string company_display_names = 6;
- Parameters:
index
- The index to set the value at.value
- The companyDisplayNames to set.- Returns:
- This builder for chaining.
-
addCompanyDisplayNames
public JobQuery.Builder addCompanyDisplayNames(String value)
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against. The company name must match the value exactly. Alternatively, the value being searched for can be wrapped in different match operators. `SUBSTRING_MATCH([value])` The company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: `SUBSTRING_MATCH(google)` `MULTI_WORD_TOKEN_MATCH([value])` The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency. Sample Value: `MULTI_WORD_TOKEN_MATCH(google)` If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.
repeated string company_display_names = 6;
- Parameters:
value
- The companyDisplayNames to add.- Returns:
- This builder for chaining.
-
addAllCompanyDisplayNames
public JobQuery.Builder addAllCompanyDisplayNames(Iterable<String> values)
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against. The company name must match the value exactly. Alternatively, the value being searched for can be wrapped in different match operators. `SUBSTRING_MATCH([value])` The company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: `SUBSTRING_MATCH(google)` `MULTI_WORD_TOKEN_MATCH([value])` The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency. Sample Value: `MULTI_WORD_TOKEN_MATCH(google)` If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.
repeated string company_display_names = 6;
- Parameters:
values
- The companyDisplayNames to add.- Returns:
- This builder for chaining.
-
clearCompanyDisplayNames
public JobQuery.Builder clearCompanyDisplayNames()
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against. The company name must match the value exactly. Alternatively, the value being searched for can be wrapped in different match operators. `SUBSTRING_MATCH([value])` The company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: `SUBSTRING_MATCH(google)` `MULTI_WORD_TOKEN_MATCH([value])` The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency. Sample Value: `MULTI_WORD_TOKEN_MATCH(google)` If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.
repeated string company_display_names = 6;
- Returns:
- This builder for chaining.
-
addCompanyDisplayNamesBytes
public JobQuery.Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value)
This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of the jobs to search against. The company name must match the value exactly. Alternatively, the value being searched for can be wrapped in different match operators. `SUBSTRING_MATCH([value])` The company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: `SUBSTRING_MATCH(google)` `MULTI_WORD_TOKEN_MATCH([value])` The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency. Sample Value: `MULTI_WORD_TOKEN_MATCH(google)` If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.
repeated string company_display_names = 6;
- Parameters:
value
- The bytes of the companyDisplayNames to add.- Returns:
- This builder for chaining.
-
hasCompensationFilter
public boolean hasCompensationFilter()
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified as "Hourly job with per-hour compensation > $15", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched.
.google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
- Specified by:
hasCompensationFilter
in interfaceJobQueryOrBuilder
- Returns:
- Whether the compensationFilter field is set.
-
getCompensationFilter
public CompensationFilter getCompensationFilter()
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified as "Hourly job with per-hour compensation > $15", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched.
.google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
- Specified by:
getCompensationFilter
in interfaceJobQueryOrBuilder
- Returns:
- The compensationFilter.
-
setCompensationFilter
public JobQuery.Builder setCompensationFilter(CompensationFilter value)
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified as "Hourly job with per-hour compensation > $15", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched.
.google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
-
setCompensationFilter
public JobQuery.Builder setCompensationFilter(CompensationFilter.Builder builderForValue)
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified as "Hourly job with per-hour compensation > $15", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched.
.google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
-
mergeCompensationFilter
public JobQuery.Builder mergeCompensationFilter(CompensationFilter value)
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified as "Hourly job with per-hour compensation > $15", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched.
.google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
-
clearCompensationFilter
public JobQuery.Builder clearCompensationFilter()
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified as "Hourly job with per-hour compensation > $15", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched.
.google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
-
getCompensationFilterBuilder
public CompensationFilter.Builder getCompensationFilterBuilder()
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified as "Hourly job with per-hour compensation > $15", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched.
.google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
-
getCompensationFilterOrBuilder
public CompensationFilterOrBuilder getCompensationFilterOrBuilder()
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified as "Hourly job with per-hour compensation > $15", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched.
.google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
- Specified by:
getCompensationFilterOrBuilder
in interfaceJobQueryOrBuilder
-
getCustomAttributeFilter
public String getCustomAttributeFilter()
This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`. The syntax for this expression is a subset of SQL syntax. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is a custom field key and the right of the operator is a number or a quoted string. You must escape backslash (\\) and quote (\") characters. Supported functions are `LOWER([field_name])` to perform a case insensitive match and `EMPTY([field_name])` to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 comparisons or functions are allowed in the expression. The expression must be < 10000 bytes in length. Sample Query: `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND driving_years > 10`
string custom_attribute_filter = 8;
- Specified by:
getCustomAttributeFilter
in interfaceJobQueryOrBuilder
- Returns:
- The customAttributeFilter.
-
getCustomAttributeFilterBytes
public com.google.protobuf.ByteString getCustomAttributeFilterBytes()
This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`. The syntax for this expression is a subset of SQL syntax. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is a custom field key and the right of the operator is a number or a quoted string. You must escape backslash (\\) and quote (\") characters. Supported functions are `LOWER([field_name])` to perform a case insensitive match and `EMPTY([field_name])` to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 comparisons or functions are allowed in the expression. The expression must be < 10000 bytes in length. Sample Query: `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND driving_years > 10`
string custom_attribute_filter = 8;
- Specified by:
getCustomAttributeFilterBytes
in interfaceJobQueryOrBuilder
- Returns:
- The bytes for customAttributeFilter.
-
setCustomAttributeFilter
public JobQuery.Builder setCustomAttributeFilter(String value)
This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`. The syntax for this expression is a subset of SQL syntax. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is a custom field key and the right of the operator is a number or a quoted string. You must escape backslash (\\) and quote (\") characters. Supported functions are `LOWER([field_name])` to perform a case insensitive match and `EMPTY([field_name])` to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 comparisons or functions are allowed in the expression. The expression must be < 10000 bytes in length. Sample Query: `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND driving_years > 10`
string custom_attribute_filter = 8;
- Parameters:
value
- The customAttributeFilter to set.- Returns:
- This builder for chaining.
-
clearCustomAttributeFilter
public JobQuery.Builder clearCustomAttributeFilter()
This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`. The syntax for this expression is a subset of SQL syntax. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is a custom field key and the right of the operator is a number or a quoted string. You must escape backslash (\\) and quote (\") characters. Supported functions are `LOWER([field_name])` to perform a case insensitive match and `EMPTY([field_name])` to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 comparisons or functions are allowed in the expression. The expression must be < 10000 bytes in length. Sample Query: `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND driving_years > 10`
string custom_attribute_filter = 8;
- Returns:
- This builder for chaining.
-
setCustomAttributeFilterBytes
public JobQuery.Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString value)
This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`. The syntax for this expression is a subset of SQL syntax. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is a custom field key and the right of the operator is a number or a quoted string. You must escape backslash (\\) and quote (\") characters. Supported functions are `LOWER([field_name])` to perform a case insensitive match and `EMPTY([field_name])` to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 comparisons or functions are allowed in the expression. The expression must be < 10000 bytes in length. Sample Query: `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND driving_years > 10`
string custom_attribute_filter = 8;
- Parameters:
value
- The bytes for customAttributeFilter to set.- Returns:
- This builder for chaining.
-
getDisableSpellCheck
public boolean getDisableSpellCheck()
This flag controls the spell-check feature. If false, the service attempts to correct a misspelled query, for example, "enginee" is corrected to "engineer". Defaults to false: a spell check is performed.
bool disable_spell_check = 9;
- Specified by:
getDisableSpellCheck
in interfaceJobQueryOrBuilder
- Returns:
- The disableSpellCheck.
-
setDisableSpellCheck
public JobQuery.Builder setDisableSpellCheck(boolean value)
This flag controls the spell-check feature. If false, the service attempts to correct a misspelled query, for example, "enginee" is corrected to "engineer". Defaults to false: a spell check is performed.
bool disable_spell_check = 9;
- Parameters:
value
- The disableSpellCheck to set.- Returns:
- This builder for chaining.
-
clearDisableSpellCheck
public JobQuery.Builder clearDisableSpellCheck()
This flag controls the spell-check feature. If false, the service attempts to correct a misspelled query, for example, "enginee" is corrected to "engineer". Defaults to false: a spell check is performed.
bool disable_spell_check = 9;
- Returns:
- This builder for chaining.
-
getEmploymentTypesList
public List<EmploymentType> getEmploymentTypesList()
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. If a value isn't specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.
repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10;
- Specified by:
getEmploymentTypesList
in interfaceJobQueryOrBuilder
- Returns:
- A list containing the employmentTypes.
-
getEmploymentTypesCount
public int getEmploymentTypesCount()
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. If a value isn't specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.
repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10;
- Specified by:
getEmploymentTypesCount
in interfaceJobQueryOrBuilder
- Returns:
- The count of employmentTypes.
-
getEmploymentTypes
public EmploymentType getEmploymentTypes(int index)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. If a value isn't specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.
repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10;
- Specified by:
getEmploymentTypes
in interfaceJobQueryOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The employmentTypes at the given index.
-
setEmploymentTypes
public JobQuery.Builder setEmploymentTypes(int index, EmploymentType value)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. If a value isn't specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.
repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10;
- Parameters:
index
- The index to set the value at.value
- The employmentTypes to set.- Returns:
- This builder for chaining.
-
addEmploymentTypes
public JobQuery.Builder addEmploymentTypes(EmploymentType value)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. If a value isn't specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.
repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10;
- Parameters:
value
- The employmentTypes to add.- Returns:
- This builder for chaining.
-
addAllEmploymentTypes
public JobQuery.Builder addAllEmploymentTypes(Iterable<? extends EmploymentType> values)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. If a value isn't specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.
repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10;
- Parameters:
values
- The employmentTypes to add.- Returns:
- This builder for chaining.
-
clearEmploymentTypes
public JobQuery.Builder clearEmploymentTypes()
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. If a value isn't specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.
repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10;
- Returns:
- This builder for chaining.
-
getEmploymentTypesValueList
public List<Integer> getEmploymentTypesValueList()
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. If a value isn't specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.
repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10;
- Specified by:
getEmploymentTypesValueList
in interfaceJobQueryOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for employmentTypes.
-
getEmploymentTypesValue
public int getEmploymentTypesValue(int index)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. If a value isn't specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.
repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10;
- Specified by:
getEmploymentTypesValue
in interfaceJobQueryOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of employmentTypes at the given index.
-
setEmploymentTypesValue
public JobQuery.Builder setEmploymentTypesValue(int index, int value)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. If a value isn't specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.
repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10;
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for employmentTypes to set.- Returns:
- This builder for chaining.
-
addEmploymentTypesValue
public JobQuery.Builder addEmploymentTypesValue(int value)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. If a value isn't specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.
repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10;
- Parameters:
value
- The enum numeric value on the wire for employmentTypes to add.- Returns:
- This builder for chaining.
-
addAllEmploymentTypesValue
public JobQuery.Builder addAllEmploymentTypesValue(Iterable<Integer> values)
The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. If a value isn't specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.
repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10;
- Parameters:
values
- The enum numeric values on the wire for employmentTypes to add.- Returns:
- This builder for chaining.
-
getLanguageCodesList
public com.google.protobuf.ProtocolStringList getLanguageCodesList()
This filter specifies the locale of jobs to search against, for example, "en-US". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.
repeated string language_codes = 11;
- Specified by:
getLanguageCodesList
in interfaceJobQueryOrBuilder
- Returns:
- A list containing the languageCodes.
-
getLanguageCodesCount
public int getLanguageCodesCount()
This filter specifies the locale of jobs to search against, for example, "en-US". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.
repeated string language_codes = 11;
- Specified by:
getLanguageCodesCount
in interfaceJobQueryOrBuilder
- Returns:
- The count of languageCodes.
-
getLanguageCodes
public String getLanguageCodes(int index)
This filter specifies the locale of jobs to search against, for example, "en-US". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.
repeated string language_codes = 11;
- Specified by:
getLanguageCodes
in interfaceJobQueryOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The languageCodes at the given index.
-
getLanguageCodesBytes
public com.google.protobuf.ByteString getLanguageCodesBytes(int index)
This filter specifies the locale of jobs to search against, for example, "en-US". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.
repeated string language_codes = 11;
- Specified by:
getLanguageCodesBytes
in interfaceJobQueryOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the languageCodes at the given index.
-
setLanguageCodes
public JobQuery.Builder setLanguageCodes(int index, String value)
This filter specifies the locale of jobs to search against, for example, "en-US". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.
repeated string language_codes = 11;
- Parameters:
index
- The index to set the value at.value
- The languageCodes to set.- Returns:
- This builder for chaining.
-
addLanguageCodes
public JobQuery.Builder addLanguageCodes(String value)
This filter specifies the locale of jobs to search against, for example, "en-US". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.
repeated string language_codes = 11;
- Parameters:
value
- The languageCodes to add.- Returns:
- This builder for chaining.
-
addAllLanguageCodes
public JobQuery.Builder addAllLanguageCodes(Iterable<String> values)
This filter specifies the locale of jobs to search against, for example, "en-US". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.
repeated string language_codes = 11;
- Parameters:
values
- The languageCodes to add.- Returns:
- This builder for chaining.
-
clearLanguageCodes
public JobQuery.Builder clearLanguageCodes()
This filter specifies the locale of jobs to search against, for example, "en-US". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.
repeated string language_codes = 11;
- Returns:
- This builder for chaining.
-
addLanguageCodesBytes
public JobQuery.Builder addLanguageCodesBytes(com.google.protobuf.ByteString value)
This filter specifies the locale of jobs to search against, for example, "en-US". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.
repeated string language_codes = 11;
- Parameters:
value
- The bytes of the languageCodes to add.- Returns:
- This builder for chaining.
-
hasPublishTimeRange
public boolean hasPublishTimeRange()
Jobs published within a range specified by this filter are searched against.
.google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
- Specified by:
hasPublishTimeRange
in interfaceJobQueryOrBuilder
- Returns:
- Whether the publishTimeRange field is set.
-
getPublishTimeRange
public TimestampRange getPublishTimeRange()
Jobs published within a range specified by this filter are searched against.
.google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
- Specified by:
getPublishTimeRange
in interfaceJobQueryOrBuilder
- Returns:
- The publishTimeRange.
-
setPublishTimeRange
public JobQuery.Builder setPublishTimeRange(TimestampRange value)
Jobs published within a range specified by this filter are searched against.
.google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
-
setPublishTimeRange
public JobQuery.Builder setPublishTimeRange(TimestampRange.Builder builderForValue)
Jobs published within a range specified by this filter are searched against.
.google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
-
mergePublishTimeRange
public JobQuery.Builder mergePublishTimeRange(TimestampRange value)
Jobs published within a range specified by this filter are searched against.
.google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
-
clearPublishTimeRange
public JobQuery.Builder clearPublishTimeRange()
Jobs published within a range specified by this filter are searched against.
.google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
-
getPublishTimeRangeBuilder
public TimestampRange.Builder getPublishTimeRangeBuilder()
Jobs published within a range specified by this filter are searched against.
.google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
-
getPublishTimeRangeOrBuilder
public TimestampRangeOrBuilder getPublishTimeRangeOrBuilder()
Jobs published within a range specified by this filter are searched against.
.google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
- Specified by:
getPublishTimeRangeOrBuilder
in interfaceJobQueryOrBuilder
-
getExcludedJobsList
public com.google.protobuf.ProtocolStringList getExcludedJobsList()
This filter specifies a list of job names to be excluded during search. At most 400 excluded job names are allowed.
repeated string excluded_jobs = 13;
- Specified by:
getExcludedJobsList
in interfaceJobQueryOrBuilder
- Returns:
- A list containing the excludedJobs.
-
getExcludedJobsCount
public int getExcludedJobsCount()
This filter specifies a list of job names to be excluded during search. At most 400 excluded job names are allowed.
repeated string excluded_jobs = 13;
- Specified by:
getExcludedJobsCount
in interfaceJobQueryOrBuilder
- Returns:
- The count of excludedJobs.
-
getExcludedJobs
public String getExcludedJobs(int index)
This filter specifies a list of job names to be excluded during search. At most 400 excluded job names are allowed.
repeated string excluded_jobs = 13;
- Specified by:
getExcludedJobs
in interfaceJobQueryOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The excludedJobs at the given index.
-
getExcludedJobsBytes
public com.google.protobuf.ByteString getExcludedJobsBytes(int index)
This filter specifies a list of job names to be excluded during search. At most 400 excluded job names are allowed.
repeated string excluded_jobs = 13;
- Specified by:
getExcludedJobsBytes
in interfaceJobQueryOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the excludedJobs at the given index.
-
setExcludedJobs
public JobQuery.Builder setExcludedJobs(int index, String value)
This filter specifies a list of job names to be excluded during search. At most 400 excluded job names are allowed.
repeated string excluded_jobs = 13;
- Parameters:
index
- The index to set the value at.value
- The excludedJobs to set.- Returns:
- This builder for chaining.
-
addExcludedJobs
public JobQuery.Builder addExcludedJobs(String value)
This filter specifies a list of job names to be excluded during search. At most 400 excluded job names are allowed.
repeated string excluded_jobs = 13;
- Parameters:
value
- The excludedJobs to add.- Returns:
- This builder for chaining.
-
addAllExcludedJobs
public JobQuery.Builder addAllExcludedJobs(Iterable<String> values)
This filter specifies a list of job names to be excluded during search. At most 400 excluded job names are allowed.
repeated string excluded_jobs = 13;
- Parameters:
values
- The excludedJobs to add.- Returns:
- This builder for chaining.
-
clearExcludedJobs
public JobQuery.Builder clearExcludedJobs()
This filter specifies a list of job names to be excluded during search. At most 400 excluded job names are allowed.
repeated string excluded_jobs = 13;
- Returns:
- This builder for chaining.
-
addExcludedJobsBytes
public JobQuery.Builder addExcludedJobsBytes(com.google.protobuf.ByteString value)
This filter specifies a list of job names to be excluded during search. At most 400 excluded job names are allowed.
repeated string excluded_jobs = 13;
- Parameters:
value
- The bytes of the excludedJobs to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final JobQuery.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<JobQuery.Builder>
-
mergeUnknownFields
public final JobQuery.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<JobQuery.Builder>
-
-