Class JobQuery

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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

@Generated public final class JobQuery extends com.google.protobuf.GeneratedMessage implements JobQueryOrBuilder
 The query required to perform a search query.
 
Protobuf type google.cloud.talent.v4.JobQuery
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    The query required to perform a search query.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).
    Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).
    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
    This filter specifies the company entities to search against.
    com.google.protobuf.ProtocolStringList
    This filter specifies the company entities to search against.
    This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name] of the jobs to search against.
    com.google.protobuf.ByteString
    This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name] of the jobs to search against.
    int
    This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name] of the jobs to search against.
    com.google.protobuf.ProtocolStringList
    This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name] of the jobs to search against.
    This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info].
    This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info].
    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.ByteString
    This filter specifies a structured syntax to match against the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
    static JobQuery
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    boolean
    This flag controls the spell-check feature.
    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].
    int
    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].
    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].
    int
    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].
    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].
    getExcludedJobs(int index)
    This filter specifies a list of job names to be excluded during search.
    com.google.protobuf.ByteString
    This filter specifies a list of job names to be excluded during search.
    int
    This filter specifies a list of job names to be excluded during search.
    com.google.protobuf.ProtocolStringList
    This filter specifies a list of job names to be excluded during search.
    getJobCategories(int index)
    The category filter specifies the categories of jobs to search against.
    int
    The category filter specifies the categories of jobs to search against.
    The category filter specifies the categories of jobs to search against.
    int
    The category filter specifies the categories of jobs to search against.
    The category filter specifies the categories of jobs to search against.
    getLanguageCodes(int index)
    This filter specifies the locale of jobs to search against, for example, "en-US".
    com.google.protobuf.ByteString
    This filter specifies the locale of jobs to search against, for example, "en-US".
    int
    This filter specifies the locale of jobs to search against, for example, "en-US".
    com.google.protobuf.ProtocolStringList
    This filter specifies the locale of jobs to search against, for example, "en-US".
    getLocationFilters(int index)
    The location filter specifies geo-regions containing the jobs to search against.
    int
    The location filter specifies geo-regions containing the jobs to search against.
    The location filter specifies geo-regions containing the jobs to search against.
    The location filter specifies geo-regions containing the jobs to search against.
    The location filter specifies geo-regions containing the jobs to search against.
    com.google.protobuf.Parser<JobQuery>
     
    Jobs published within a range specified by this filter are searched against.
    Jobs published within a range specified by this filter are searched against.
    The query string that matches against the job title, description, and location fields.
    com.google.protobuf.ByteString
    The query string that matches against the job title, description, and location fields.
    The language code of [query][google.cloud.talent.v4.JobQuery.query].
    com.google.protobuf.ByteString
    The language code of [query][google.cloud.talent.v4.JobQuery.query].
    int
     
    boolean
    Allows filtering jobs by commute time with different travel methods (for example, driving or public transit).
    boolean
    This search filter is applied only to [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info].
    int
     
    boolean
    Jobs published within a range specified by this filter are searched against.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(JobQuery prototype)
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static JobQuery
     
    static JobQuery
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static JobQuery
    parseFrom(byte[] data)
     
    static JobQuery
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static JobQuery
    parseFrom(com.google.protobuf.ByteString data)
     
    static JobQuery
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static JobQuery
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static JobQuery
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static JobQuery
     
    static JobQuery
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static JobQuery
     
    static JobQuery
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<JobQuery>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • QUERY_FIELD_NUMBER

      public static final int QUERY_FIELD_NUMBER
      See Also:
    • QUERY_LANGUAGE_CODE_FIELD_NUMBER

      public static final int QUERY_LANGUAGE_CODE_FIELD_NUMBER
      See Also:
    • COMPANIES_FIELD_NUMBER

      public static final int COMPANIES_FIELD_NUMBER
      See Also:
    • LOCATION_FILTERS_FIELD_NUMBER

      public static final int LOCATION_FILTERS_FIELD_NUMBER
      See Also:
    • JOB_CATEGORIES_FIELD_NUMBER

      public static final int JOB_CATEGORIES_FIELD_NUMBER
      See Also:
    • COMMUTE_FILTER_FIELD_NUMBER

      public static final int COMMUTE_FILTER_FIELD_NUMBER
      See Also:
    • COMPANY_DISPLAY_NAMES_FIELD_NUMBER

      public static final int COMPANY_DISPLAY_NAMES_FIELD_NUMBER
      See Also:
    • COMPENSATION_FILTER_FIELD_NUMBER

      public static final int COMPENSATION_FILTER_FIELD_NUMBER
      See Also:
    • CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER

      public static final int CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER
      See Also:
    • DISABLE_SPELL_CHECK_FIELD_NUMBER

      public static final int DISABLE_SPELL_CHECK_FIELD_NUMBER
      See Also:
    • EMPLOYMENT_TYPES_FIELD_NUMBER

      public static final int EMPLOYMENT_TYPES_FIELD_NUMBER
      See Also:
    • LANGUAGE_CODES_FIELD_NUMBER

      public static final int LANGUAGE_CODES_FIELD_NUMBER
      See Also:
    • PUBLISH_TIME_RANGE_FIELD_NUMBER

      public static final int PUBLISH_TIME_RANGE_FIELD_NUMBER
      See Also:
    • EXCLUDED_JOBS_FIELD_NUMBER

      public static final int EXCLUDED_JOBS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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 interface JobQueryOrBuilder
      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 interface JobQueryOrBuilder
      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:
      getQueryLanguageCode in interface JobQueryOrBuilder
      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:
      getQueryLanguageCodeBytes in interface JobQueryOrBuilder
      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:
      getCompaniesList in interface JobQueryOrBuilder
      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:
      getCompaniesCount in interface JobQueryOrBuilder
      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:
      getCompanies in interface JobQueryOrBuilder
      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:
      getCompaniesBytes in interface JobQueryOrBuilder
      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:
      getLocationFiltersList in interface JobQueryOrBuilder
    • 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:
      getLocationFiltersOrBuilderList in interface JobQueryOrBuilder
    • 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:
      getLocationFiltersCount in interface JobQueryOrBuilder
    • 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:
      getLocationFilters in interface JobQueryOrBuilder
    • 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:
      getLocationFiltersOrBuilder in interface JobQueryOrBuilder
    • 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:
      getJobCategoriesList in interface JobQueryOrBuilder
      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:
      getJobCategoriesCount in interface JobQueryOrBuilder
      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:
      getJobCategories in interface JobQueryOrBuilder
      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:
      getJobCategoriesValueList in interface JobQueryOrBuilder
      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:
      getJobCategoriesValue in interface JobQueryOrBuilder
      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:
      hasCommuteFilter in interface JobQueryOrBuilder
      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:
      getCommuteFilter in interface JobQueryOrBuilder
      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:
      getCommuteFilterOrBuilder in interface JobQueryOrBuilder
    • 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:
      getCompanyDisplayNamesList in interface JobQueryOrBuilder
      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:
      getCompanyDisplayNamesCount in interface JobQueryOrBuilder
      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:
      getCompanyDisplayNames in interface JobQueryOrBuilder
      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:
      getCompanyDisplayNamesBytes in interface JobQueryOrBuilder
      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:
      hasCompensationFilter in interface JobQueryOrBuilder
      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:
      getCompensationFilter in interface JobQueryOrBuilder
      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:
      getCompensationFilterOrBuilder in interface JobQueryOrBuilder
    • 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:
      getCustomAttributeFilter in interface JobQueryOrBuilder
      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:
      getCustomAttributeFilterBytes in interface JobQueryOrBuilder
      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:
      getDisableSpellCheck in interface JobQueryOrBuilder
      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:
      getEmploymentTypesList in interface JobQueryOrBuilder
      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:
      getEmploymentTypesCount in interface JobQueryOrBuilder
      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:
      getEmploymentTypes in interface JobQueryOrBuilder
      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:
      getEmploymentTypesValueList in interface JobQueryOrBuilder
      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:
      getEmploymentTypesValue in interface JobQueryOrBuilder
      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:
      getLanguageCodesList in interface JobQueryOrBuilder
      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 interface JobQueryOrBuilder
      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 interface JobQueryOrBuilder
      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 interface JobQueryOrBuilder
      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:
      hasPublishTimeRange in interface JobQueryOrBuilder
      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:
      getPublishTimeRange in interface JobQueryOrBuilder
      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:
      getPublishTimeRangeOrBuilder in interface JobQueryOrBuilder
    • 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 interface JobQueryOrBuilder
      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 interface JobQueryOrBuilder
      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 interface JobQueryOrBuilder
      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 interface JobQueryOrBuilder
      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:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static JobQuery.Builder newBuilder()
    • newBuilder

      public static JobQuery.Builder newBuilder(JobQuery prototype)
    • toBuilder

      public JobQuery.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected JobQuery.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static JobQuery getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<JobQuery> parser()
    • getParserForType

      public com.google.protobuf.Parser<JobQuery> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public JobQuery getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder