All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.jobs.v4.model.SearchJobsResponse Maven / Gradle / Ivy

There is a newer version: v4-rev20241217-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.jobs.v4.model;

/**
 * Response for SearchJob method.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud Talent Solution API. For a detailed explanation * see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class SearchJobsResponse extends com.google.api.client.json.GenericJson { /** * If query broadening is enabled, we may append additional results from the broadened query. This * number indicates how many of the jobs returned in the jobs field are from the broadened query. * These results are always at the end of the jobs list. In particular, a value of 0, or if the * field isn't set, all the jobs in the jobs list are from the original (without broadening) * query. If this field is non-zero, subsequent requests with offset after this result set should * contain all broadened results. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer broadenedQueryJobsCount; /** * The histogram results that match with specified SearchJobsRequest.histogram_queries. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List histogramQueryResults; static { // hack to force ProGuard to consider HistogramQueryResult used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(HistogramQueryResult.class); } /** * The location filters that the service applied to the specified query. If any filters are lat- * lng based, the Location.location_type is Location.LocationType.LOCATION_TYPE_UNSPECIFIED. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List locationFilters; static { // hack to force ProGuard to consider Location used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(Location.class); } /** * The Job entities that match the specified SearchJobsRequest. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List matchingJobs; static { // hack to force ProGuard to consider MatchingJob used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(MatchingJob.class); } /** * Additional information for the API invocation, such as the request tracking id. * The value may be {@code null}. */ @com.google.api.client.util.Key private ResponseMetadata metadata; /** * The token that specifies the starting position of the next page of results. This field is empty * if there are no more results. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String nextPageToken; /** * The spell checking result, and correction. * The value may be {@code null}. */ @com.google.api.client.util.Key private SpellingCorrection spellCorrection; /** * Number of jobs that match the specified query. Note: This size is precise only if the total is * less than 100,000. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer totalSize; /** * If query broadening is enabled, we may append additional results from the broadened query. This * number indicates how many of the jobs returned in the jobs field are from the broadened query. * These results are always at the end of the jobs list. In particular, a value of 0, or if the * field isn't set, all the jobs in the jobs list are from the original (without broadening) * query. If this field is non-zero, subsequent requests with offset after this result set should * contain all broadened results. * @return value or {@code null} for none */ public java.lang.Integer getBroadenedQueryJobsCount() { return broadenedQueryJobsCount; } /** * If query broadening is enabled, we may append additional results from the broadened query. This * number indicates how many of the jobs returned in the jobs field are from the broadened query. * These results are always at the end of the jobs list. In particular, a value of 0, or if the * field isn't set, all the jobs in the jobs list are from the original (without broadening) * query. If this field is non-zero, subsequent requests with offset after this result set should * contain all broadened results. * @param broadenedQueryJobsCount broadenedQueryJobsCount or {@code null} for none */ public SearchJobsResponse setBroadenedQueryJobsCount(java.lang.Integer broadenedQueryJobsCount) { this.broadenedQueryJobsCount = broadenedQueryJobsCount; return this; } /** * The histogram results that match with specified SearchJobsRequest.histogram_queries. * @return value or {@code null} for none */ public java.util.List getHistogramQueryResults() { return histogramQueryResults; } /** * The histogram results that match with specified SearchJobsRequest.histogram_queries. * @param histogramQueryResults histogramQueryResults or {@code null} for none */ public SearchJobsResponse setHistogramQueryResults(java.util.List histogramQueryResults) { this.histogramQueryResults = histogramQueryResults; return this; } /** * The location filters that the service applied to the specified query. If any filters are lat- * lng based, the Location.location_type is Location.LocationType.LOCATION_TYPE_UNSPECIFIED. * @return value or {@code null} for none */ public java.util.List getLocationFilters() { return locationFilters; } /** * The location filters that the service applied to the specified query. If any filters are lat- * lng based, the Location.location_type is Location.LocationType.LOCATION_TYPE_UNSPECIFIED. * @param locationFilters locationFilters or {@code null} for none */ public SearchJobsResponse setLocationFilters(java.util.List locationFilters) { this.locationFilters = locationFilters; return this; } /** * The Job entities that match the specified SearchJobsRequest. * @return value or {@code null} for none */ public java.util.List getMatchingJobs() { return matchingJobs; } /** * The Job entities that match the specified SearchJobsRequest. * @param matchingJobs matchingJobs or {@code null} for none */ public SearchJobsResponse setMatchingJobs(java.util.List matchingJobs) { this.matchingJobs = matchingJobs; return this; } /** * Additional information for the API invocation, such as the request tracking id. * @return value or {@code null} for none */ public ResponseMetadata getMetadata() { return metadata; } /** * Additional information for the API invocation, such as the request tracking id. * @param metadata metadata or {@code null} for none */ public SearchJobsResponse setMetadata(ResponseMetadata metadata) { this.metadata = metadata; return this; } /** * The token that specifies the starting position of the next page of results. This field is empty * if there are no more results. * @return value or {@code null} for none */ public java.lang.String getNextPageToken() { return nextPageToken; } /** * The token that specifies the starting position of the next page of results. This field is empty * if there are no more results. * @param nextPageToken nextPageToken or {@code null} for none */ public SearchJobsResponse setNextPageToken(java.lang.String nextPageToken) { this.nextPageToken = nextPageToken; return this; } /** * The spell checking result, and correction. * @return value or {@code null} for none */ public SpellingCorrection getSpellCorrection() { return spellCorrection; } /** * The spell checking result, and correction. * @param spellCorrection spellCorrection or {@code null} for none */ public SearchJobsResponse setSpellCorrection(SpellingCorrection spellCorrection) { this.spellCorrection = spellCorrection; return this; } /** * Number of jobs that match the specified query. Note: This size is precise only if the total is * less than 100,000. * @return value or {@code null} for none */ public java.lang.Integer getTotalSize() { return totalSize; } /** * Number of jobs that match the specified query. Note: This size is precise only if the total is * less than 100,000. * @param totalSize totalSize or {@code null} for none */ public SearchJobsResponse setTotalSize(java.lang.Integer totalSize) { this.totalSize = totalSize; return this; } @Override public SearchJobsResponse set(String fieldName, Object value) { return (SearchJobsResponse) super.set(fieldName, value); } @Override public SearchJobsResponse clone() { return (SearchJobsResponse) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy