public final class SearchJobsResponse extends GeneratedMessageV3 implements SearchJobsResponseOrBuilder
Response for SearchJob method.
Protobuf type google.cloud.talent.v4beta1.SearchJobsResponse
Static Fields
BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER
public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER
Field Value
ESTIMATED_TOTAL_SIZE_FIELD_NUMBER
public static final int ESTIMATED_TOTAL_SIZE_FIELD_NUMBER
Field Value
HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER
public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER
Field Value
LOCATION_FILTERS_FIELD_NUMBER
public static final int LOCATION_FILTERS_FIELD_NUMBER
Field Value
MATCHING_JOBS_FIELD_NUMBER
public static final int MATCHING_JOBS_FIELD_NUMBER
Field Value
public static final int METADATA_FIELD_NUMBER
Field Value
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
SPELL_CORRECTION_FIELD_NUMBER
public static final int SPELL_CORRECTION_FIELD_NUMBER
Field Value
TOTAL_SIZE_FIELD_NUMBER
public static final int TOTAL_SIZE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SearchJobsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SearchJobsResponse.Builder newBuilder()
Returns
newBuilder(SearchJobsResponse prototype)
public static SearchJobsResponse.Builder newBuilder(SearchJobsResponse prototype)
Parameter
Returns
public static SearchJobsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchJobsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SearchJobsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchJobsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SearchJobsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchJobsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchJobsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SearchJobsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchJobsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchJobsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SearchJobsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchJobsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SearchJobsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBroadenedQueryJobsCount()
public int getBroadenedQueryJobsCount()
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.
int32 broadened_query_jobs_count = 8;
Returns
Type | Description |
int | The broadenedQueryJobsCount.
|
getDefaultInstanceForType()
public SearchJobsResponse getDefaultInstanceForType()
Returns
getEstimatedTotalSize()
public int getEstimatedTotalSize()
An estimation of the number of jobs that match the specified query.
This number isn't guaranteed to be accurate. For accurate results,
see SearchJobsRequest.require_precise_result_size.
int32 estimated_total_size = 5;
Returns
Type | Description |
int | The estimatedTotalSize.
|
getHistogramQueryResults(int index)
public HistogramQueryResult getHistogramQueryResults(int index)
The histogram results that match with specified
SearchJobsRequest.histogram_queries.
repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2;
Parameter
Returns
getHistogramQueryResultsCount()
public int getHistogramQueryResultsCount()
The histogram results that match with specified
SearchJobsRequest.histogram_queries.
repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2;
Returns
getHistogramQueryResultsList()
public List<HistogramQueryResult> getHistogramQueryResultsList()
The histogram results that match with specified
SearchJobsRequest.histogram_queries.
repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2;
Returns
getHistogramQueryResultsOrBuilder(int index)
public HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder(int index)
The histogram results that match with specified
SearchJobsRequest.histogram_queries.
repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2;
Parameter
Returns
getHistogramQueryResultsOrBuilderList()
public List<? extends HistogramQueryResultOrBuilder> getHistogramQueryResultsOrBuilderList()
The histogram results that match with specified
SearchJobsRequest.histogram_queries.
repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2;
Returns
Type | Description |
List<? extends com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> | |
getLocationFilters(int index)
public Location getLocationFilters(int index)
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.
repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
Parameter
Returns
getLocationFiltersCount()
public int getLocationFiltersCount()
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.
repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
Returns
getLocationFiltersList()
public List<Location> getLocationFiltersList()
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.
repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
Returns
getLocationFiltersOrBuilder(int index)
public LocationOrBuilder getLocationFiltersOrBuilder(int index)
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.
repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
Parameter
Returns
getLocationFiltersOrBuilderList()
public List<? extends LocationOrBuilder> getLocationFiltersOrBuilderList()
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.
repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
Returns
Type | Description |
List<? extends com.google.cloud.talent.v4beta1.LocationOrBuilder> | |
getMatchingJobs(int index)
public SearchJobsResponse.MatchingJob getMatchingJobs(int index)
The Job entities that match the specified SearchJobsRequest.
repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1;
Parameter
Returns
getMatchingJobsCount()
public int getMatchingJobsCount()
The Job entities that match the specified SearchJobsRequest.
repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1;
Returns
getMatchingJobsList()
public List<SearchJobsResponse.MatchingJob> getMatchingJobsList()
The Job entities that match the specified SearchJobsRequest.
repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1;
Returns
getMatchingJobsOrBuilder(int index)
public SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder(int index)
The Job entities that match the specified SearchJobsRequest.
repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1;
Parameter
Returns
getMatchingJobsOrBuilderList()
public List<? extends SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsOrBuilderList()
The Job entities that match the specified SearchJobsRequest.
repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1;
Returns
Type | Description |
List<? extends com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> | |
public ResponseMetadata getMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 7;
Returns
public ResponseMetadataOrBuilder getMetadataOrBuilder()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 7;
Returns
getNextPageToken()
public String getNextPageToken()
The token that specifies the starting position of the next page of results.
This field is empty if there are no more results.
string next_page_token = 3;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The token that specifies the starting position of the next page of results.
This field is empty if there are no more results.
string next_page_token = 3;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<SearchJobsResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSpellCorrection()
public SpellingCorrection getSpellCorrection()
The spell checking result, and correction.
.google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9;
Returns
getSpellCorrectionOrBuilder()
public SpellingCorrectionOrBuilder getSpellCorrectionOrBuilder()
The spell checking result, and correction.
.google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9;
Returns
getTotalSize()
public int getTotalSize()
The precise result count, which is available only if the client set
SearchJobsRequest.require_precise_result_size to true
, or if the
response is the last page of results. Otherwise, the value is -1
.
int32 total_size = 6;
Returns
Type | Description |
int | The totalSize.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 7;
Returns
Type | Description |
boolean | Whether the metadata field is set.
|
hasSpellCorrection()
public boolean hasSpellCorrection()
The spell checking result, and correction.
.google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9;
Returns
Type | Description |
boolean | Whether the spellCorrection field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SearchJobsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchJobsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SearchJobsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions