Package com.google.cloud.talent.v4
Class JobQuery
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.talent.v4.JobQuery
-
- All Implemented Interfaces:
JobQueryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class JobQuery extends com.google.protobuf.GeneratedMessageV3 implements JobQueryOrBuilder
The query required to perform a search query.
Protobuf typegoogle.cloud.talent.v4.JobQuery- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJobQuery.BuilderThe query required to perform a search query.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOMMUTE_FILTER_FIELD_NUMBERstatic intCOMPANIES_FIELD_NUMBERstatic intCOMPANY_DISPLAY_NAMES_FIELD_NUMBERstatic intCOMPENSATION_FILTER_FIELD_NUMBERstatic intCUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBERstatic intDISABLE_SPELL_CHECK_FIELD_NUMBERstatic intEMPLOYMENT_TYPES_FIELD_NUMBERstatic intEXCLUDED_JOBS_FIELD_NUMBERstatic intJOB_CATEGORIES_FIELD_NUMBERstatic intLANGUAGE_CODES_FIELD_NUMBERstatic intLOCATION_FILTERS_FIELD_NUMBERstatic intPUBLISH_TIME_RANGE_FIELD_NUMBERstatic intQUERY_FIELD_NUMBERstatic intQUERY_LANGUAGE_CODE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)CommuteFiltergetCommuteFilter()Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).CommuteFilterOrBuildergetCommuteFilterOrBuilder()Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).StringgetCompanies(int index)This filter specifies the company entities to search against.com.google.protobuf.ByteStringgetCompaniesBytes(int index)This filter specifies the company entities to search against.intgetCompaniesCount()This filter specifies the company entities to search against.com.google.protobuf.ProtocolStringListgetCompaniesList()This filter specifies the company entities to search against.StringgetCompanyDisplayNames(int index)This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name] of the jobs to search against.com.google.protobuf.ByteStringgetCompanyDisplayNamesBytes(int index)This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name] of the jobs to search against.intgetCompanyDisplayNamesCount()This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name] of the jobs to search against.com.google.protobuf.ProtocolStringListgetCompanyDisplayNamesList()This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name] of the jobs to search against.CompensationFiltergetCompensationFilter()This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info].CompensationFilterOrBuildergetCompensationFilterOrBuilder()This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info].StringgetCustomAttributeFilter()This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.com.google.protobuf.ByteStringgetCustomAttributeFilterBytes()This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.static JobQuerygetDefaultInstance()JobQuerygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetDisableSpellCheck()This flag controls the spell-check feature.EmploymentTypegetEmploymentTypes(int index)The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].intgetEmploymentTypesCount()The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.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.v4.EmploymentType.FULL_TIME].intgetEmploymentTypesValue(int index)The employment type filter specifies the employment type of jobs to search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.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.v4.EmploymentType.FULL_TIME].StringgetExcludedJobs(int index)This filter specifies a list of job names to be excluded during search.com.google.protobuf.ByteStringgetExcludedJobsBytes(int index)This filter specifies a list of job names to be excluded during search.intgetExcludedJobsCount()This filter specifies a list of job names to be excluded during search.com.google.protobuf.ProtocolStringListgetExcludedJobsList()This filter specifies a list of job names to be excluded during search.JobCategorygetJobCategories(int index)The category filter specifies the categories of jobs to search against.intgetJobCategoriesCount()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.intgetJobCategoriesValue(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.StringgetLanguageCodes(int index)This filter specifies the locale of jobs to search against, for example, "en-US".com.google.protobuf.ByteStringgetLanguageCodesBytes(int index)This filter specifies the locale of jobs to search against, for example, "en-US".intgetLanguageCodesCount()This filter specifies the locale of jobs to search against, for example, "en-US".com.google.protobuf.ProtocolStringListgetLanguageCodesList()This filter specifies the locale of jobs to search against, for example, "en-US".LocationFiltergetLocationFilters(int index)The location filter specifies geo-regions containing the jobs to search against.intgetLocationFiltersCount()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.LocationFilterOrBuildergetLocationFiltersOrBuilder(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.com.google.protobuf.Parser<JobQuery>getParserForType()TimestampRangegetPublishTimeRange()Jobs published within a range specified by this filter are searched against.TimestampRangeOrBuildergetPublishTimeRangeOrBuilder()Jobs published within a range specified by this filter are searched against.StringgetQuery()The query string that matches against the job title, description, and location fields.com.google.protobuf.ByteStringgetQueryBytes()The query string that matches against the job title, description, and location fields.StringgetQueryLanguageCode()The language code of [query][google.cloud.talent.v4.JobQuery.query].com.google.protobuf.ByteStringgetQueryLanguageCodeBytes()The language code of [query][google.cloud.talent.v4.JobQuery.query].intgetSerializedSize()booleanhasCommuteFilter()Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).booleanhasCompensationFilter()This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info].inthashCode()booleanhasPublishTimeRange()Jobs published within a range specified by this filter are searched against.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static JobQuery.BuildernewBuilder()static JobQuery.BuildernewBuilder(JobQuery prototype)JobQuery.BuildernewBuilderForType()protected JobQuery.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static JobQueryparseDelimitedFrom(InputStream input)static JobQueryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobQueryparseFrom(byte[] data)static JobQueryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobQueryparseFrom(com.google.protobuf.ByteString data)static JobQueryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobQueryparseFrom(com.google.protobuf.CodedInputStream input)static JobQueryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobQueryparseFrom(InputStream input)static JobQueryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobQueryparseFrom(ByteBuffer data)static JobQueryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<JobQuery>parser()JobQuery.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_LANGUAGE_CODE_FIELD_NUMBER
public static final int QUERY_LANGUAGE_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPANIES_FIELD_NUMBER
public static final int COMPANIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCATION_FILTERS_FIELD_NUMBER
public static final int LOCATION_FILTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JOB_CATEGORIES_FIELD_NUMBER
public static final int JOB_CATEGORIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMUTE_FILTER_FIELD_NUMBER
public static final int COMMUTE_FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPANY_DISPLAY_NAMES_FIELD_NUMBER
public static final int COMPANY_DISPLAY_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPENSATION_FILTER_FIELD_NUMBER
public static final int COMPENSATION_FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER
public static final int CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLE_SPELL_CHECK_FIELD_NUMBER
public static final int DISABLE_SPELL_CHECK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EMPLOYMENT_TYPES_FIELD_NUMBER
public static final int EMPLOYMENT_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANGUAGE_CODES_FIELD_NUMBER
public static final int LANGUAGE_CODES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBLISH_TIME_RANGE_FIELD_NUMBER
public static final int PUBLISH_TIME_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXCLUDED_JOBS_FIELD_NUMBER
public static final int EXCLUDED_JOBS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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:
getQueryin 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:
getQueryBytesin interfaceJobQueryOrBuilder- Returns:
- The bytes for query.
-
getQueryLanguageCode
public String getQueryLanguageCode()
The language code of [query][google.cloud.talent.v4.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:
getQueryLanguageCodein interfaceJobQueryOrBuilder- Returns:
- The queryLanguageCode.
-
getQueryLanguageCodeBytes
public com.google.protobuf.ByteString getQueryLanguageCodeBytes()
The language code of [query][google.cloud.talent.v4.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:
getQueryLanguageCodeBytesin interfaceJobQueryOrBuilder- Returns:
- The bytes for queryLanguageCode.
-
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". At most 20 company filters are allowed.repeated string companies = 2;- Specified by:
getCompaniesListin 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". At most 20 company filters are allowed.repeated string companies = 2;- Specified by:
getCompaniesCountin 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". At most 20 company filters are allowed.repeated string companies = 2;- Specified by:
getCompaniesin 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". At most 20 company filters are allowed.repeated string companies = 2;- Specified by:
getCompaniesBytesin interfaceJobQueryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the companies at the given index.
-
getLocationFiltersList
public List<LocationFilter> getLocationFiltersList()
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4.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.v4.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.v4.LocationFilter location_filters = 3;- Specified by:
getLocationFiltersListin interfaceJobQueryOrBuilder
-
getLocationFiltersOrBuilderList
public List<? extends LocationFilterOrBuilder> getLocationFiltersOrBuilderList()
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4.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.v4.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.v4.LocationFilter location_filters = 3;- Specified by:
getLocationFiltersOrBuilderListin interfaceJobQueryOrBuilder
-
getLocationFiltersCount
public int getLocationFiltersCount()
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4.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.v4.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.v4.LocationFilter location_filters = 3;- Specified by:
getLocationFiltersCountin interfaceJobQueryOrBuilder
-
getLocationFilters
public LocationFilter getLocationFilters(int index)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4.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.v4.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.v4.LocationFilter location_filters = 3;- Specified by:
getLocationFiltersin interfaceJobQueryOrBuilder
-
getLocationFiltersOrBuilder
public LocationFilterOrBuilder getLocationFiltersOrBuilder(int index)
The location filter specifies geo-regions containing the jobs to search against. See [LocationFilter][google.cloud.talent.v4.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.v4.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.v4.LocationFilter location_filters = 3;- Specified by:
getLocationFiltersOrBuilderin interfaceJobQueryOrBuilder
-
getJobCategoriesList
public List<JobCategory> getJobCategoriesList()
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4.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.v4.JobCategory job_categories = 4;- Specified by:
getJobCategoriesListin 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.v4.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.v4.JobCategory job_categories = 4;- Specified by:
getJobCategoriesCountin 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.v4.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.v4.JobCategory job_categories = 4;- Specified by:
getJobCategoriesin interfaceJobQueryOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The jobCategories at the given index.
-
getJobCategoriesValueList
public List<Integer> getJobCategoriesValueList()
The category filter specifies the categories of jobs to search against. See [JobCategory][google.cloud.talent.v4.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.v4.JobCategory job_categories = 4;- Specified by:
getJobCategoriesValueListin 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.v4.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.v4.JobCategory job_categories = 4;- Specified by:
getJobCategoriesValuein interfaceJobQueryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of jobCategories at the given index.
-
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.v4.CommuteMethod]. In this case, [location_filters][google.cloud.talent.v4.JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time.
.google.cloud.talent.v4.CommuteFilter commute_filter = 5;- Specified by:
hasCommuteFilterin 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.v4.CommuteMethod]. In this case, [location_filters][google.cloud.talent.v4.JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time.
.google.cloud.talent.v4.CommuteFilter commute_filter = 5;- Specified by:
getCommuteFilterin interfaceJobQueryOrBuilder- Returns:
- The commuteFilter.
-
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.v4.CommuteMethod]. In this case, [location_filters][google.cloud.talent.v4.JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time.
.google.cloud.talent.v4.CommuteFilter commute_filter = 5;- Specified by:
getCommuteFilterOrBuilderin interfaceJobQueryOrBuilder
-
getCompanyDisplayNamesList
public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList()
This filter specifies the company [Company.display_name][google.cloud.talent.v4.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:
getCompanyDisplayNamesListin interfaceJobQueryOrBuilder- Returns:
- A list containing the companyDisplayNames.
-
getCompanyDisplayNamesCount
public int getCompanyDisplayNamesCount()
This filter specifies the company [Company.display_name][google.cloud.talent.v4.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:
getCompanyDisplayNamesCountin interfaceJobQueryOrBuilder- Returns:
- The count of companyDisplayNames.
-
getCompanyDisplayNames
public String getCompanyDisplayNames(int index)
This filter specifies the company [Company.display_name][google.cloud.talent.v4.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:
getCompanyDisplayNamesin 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.v4.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:
getCompanyDisplayNamesBytesin interfaceJobQueryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the companyDisplayNames at the given index.
-
hasCompensationFilter
public boolean hasCompensationFilter()
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4.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.v4.CompensationFilter compensation_filter = 7;- Specified by:
hasCompensationFilterin 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.v4.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.v4.CompensationFilter compensation_filter = 7;- Specified by:
getCompensationFilterin interfaceJobQueryOrBuilder- Returns:
- The compensationFilter.
-
getCompensationFilterOrBuilder
public CompensationFilterOrBuilder getCompensationFilterOrBuilder()
This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4.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.v4.CompensationFilter compensation_filter = 7;- Specified by:
getCompensationFilterOrBuilderin interfaceJobQueryOrBuilder
-
getCustomAttributeFilter
public String getCustomAttributeFilter()
This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4.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:
getCustomAttributeFilterin 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.v4.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:
getCustomAttributeFilterBytesin interfaceJobQueryOrBuilder- Returns:
- The bytes for customAttributeFilter.
-
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:
getDisableSpellCheckin interfaceJobQueryOrBuilder- Returns:
- The disableSpellCheck.
-
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.v4.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.v4.EmploymentType employment_types = 10;- Specified by:
getEmploymentTypesListin 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.v4.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.v4.EmploymentType employment_types = 10;- Specified by:
getEmploymentTypesCountin 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.v4.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.v4.EmploymentType employment_types = 10;- Specified by:
getEmploymentTypesin interfaceJobQueryOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The employmentTypes at the given index.
-
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.v4.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.v4.EmploymentType employment_types = 10;- Specified by:
getEmploymentTypesValueListin 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.v4.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.v4.EmploymentType employment_types = 10;- Specified by:
getEmploymentTypesValuein interfaceJobQueryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of employmentTypes at the given index.
-
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:
getLanguageCodesListin 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:
getLanguageCodesCountin 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:
getLanguageCodesin 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:
getLanguageCodesBytesin interfaceJobQueryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the languageCodes at the given index.
-
hasPublishTimeRange
public boolean hasPublishTimeRange()
Jobs published within a range specified by this filter are searched against.
.google.cloud.talent.v4.TimestampRange publish_time_range = 12;- Specified by:
hasPublishTimeRangein 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.v4.TimestampRange publish_time_range = 12;- Specified by:
getPublishTimeRangein interfaceJobQueryOrBuilder- Returns:
- The publishTimeRange.
-
getPublishTimeRangeOrBuilder
public TimestampRangeOrBuilder getPublishTimeRangeOrBuilder()
Jobs published within a range specified by this filter are searched against.
.google.cloud.talent.v4.TimestampRange publish_time_range = 12;- Specified by:
getPublishTimeRangeOrBuilderin 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:
getExcludedJobsListin 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:
getExcludedJobsCountin 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:
getExcludedJobsin 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:
getExcludedJobsBytesin interfaceJobQueryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludedJobs at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static JobQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static JobQuery parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static JobQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static JobQuery parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static JobQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static JobQuery parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static JobQuery parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static JobQuery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static JobQuery parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static JobQuery parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static JobQuery parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static JobQuery parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public JobQuery.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static JobQuery.Builder newBuilder()
-
newBuilder
public static JobQuery.Builder newBuilder(JobQuery prototype)
-
toBuilder
public JobQuery.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected JobQuery.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static JobQuery getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<JobQuery> parser()
-
getParserForType
public com.google.protobuf.Parser<JobQuery> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public JobQuery getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-