Class SearchJobsResponse (2.52.0)

public final class SearchJobsResponse extends GeneratedMessageV3 implements SearchJobsResponseOrBuilder

Response for SearchJob method.

Protobuf type google.cloud.talent.v4.SearchJobsResponse

Static Fields

BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER

public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER

public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_FILTERS_FIELD_NUMBER

public static final int LOCATION_FILTERS_FIELD_NUMBER
Field Value
Type Description
int

MATCHING_JOBS_FIELD_NUMBER

public static final int MATCHING_JOBS_FIELD_NUMBER
Field Value
Type Description
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

SPELL_CORRECTION_FIELD_NUMBER

public static final int SPELL_CORRECTION_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_SIZE_FIELD_NUMBER

public static final int TOTAL_SIZE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SearchJobsResponse getDefaultInstance()
Returns
Type Description
SearchJobsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SearchJobsResponse.Builder newBuilder()
Returns
Type Description
SearchJobsResponse.Builder

newBuilder(SearchJobsResponse prototype)

public static SearchJobsResponse.Builder newBuilder(SearchJobsResponse prototype)
Parameter
Name Description
prototype SearchJobsResponse
Returns
Type Description
SearchJobsResponse.Builder

parseDelimitedFrom(InputStream input)

public static SearchJobsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchJobsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchJobsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchJobsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SearchJobsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SearchJobsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchJobsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchJobsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchJobsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchJobsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchJobsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchJobsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchJobsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchJobsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchJobsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchJobsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SearchJobsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchJobsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchJobsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchJobsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SearchJobsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchJobsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchJobsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchJobsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SearchJobsResponse> parser()
Returns
Type Description
Parser<SearchJobsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
SearchJobsResponse

getHistogramQueryResults(int index)

public HistogramQueryResult getHistogramQueryResults(int index)

The histogram results that match with specified SearchJobsRequest.histogram_queries.

repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;

Parameter
Name Description
index int
Returns
Type Description
HistogramQueryResult

getHistogramQueryResultsCount()

public int getHistogramQueryResultsCount()

The histogram results that match with specified SearchJobsRequest.histogram_queries.

repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;

Returns
Type Description
int

getHistogramQueryResultsList()

public List<HistogramQueryResult> getHistogramQueryResultsList()

The histogram results that match with specified SearchJobsRequest.histogram_queries.

repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;

Returns
Type Description
List<HistogramQueryResult>

getHistogramQueryResultsOrBuilder(int index)

public HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder(int index)

The histogram results that match with specified SearchJobsRequest.histogram_queries.

repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;

Parameter
Name Description
index int
Returns
Type Description
HistogramQueryResultOrBuilder

getHistogramQueryResultsOrBuilderList()

public List<? extends HistogramQueryResultOrBuilder> getHistogramQueryResultsOrBuilderList()

The histogram results that match with specified SearchJobsRequest.histogram_queries.

repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;

Returns
Type Description
List<? extends com.google.cloud.talent.v4.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.v4.Location location_filters = 4;

Parameter
Name Description
index int
Returns
Type Description
Location

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.v4.Location location_filters = 4;

Returns
Type Description
int

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.v4.Location location_filters = 4;

Returns
Type Description
List<Location>

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.v4.Location location_filters = 4;

Parameter
Name Description
index int
Returns
Type Description
LocationOrBuilder

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.v4.Location location_filters = 4;

Returns
Type Description
List<? extends com.google.cloud.talent.v4.LocationOrBuilder>

getMatchingJobs(int index)

public SearchJobsResponse.MatchingJob getMatchingJobs(int index)

The Job entities that match the specified SearchJobsRequest.

repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchJobsResponse.MatchingJob

getMatchingJobsCount()

public int getMatchingJobsCount()

The Job entities that match the specified SearchJobsRequest.

repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;

Returns
Type Description
int

getMatchingJobsList()

public List<SearchJobsResponse.MatchingJob> getMatchingJobsList()

The Job entities that match the specified SearchJobsRequest.

repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;

Returns
Type Description
List<MatchingJob>

getMatchingJobsOrBuilder(int index)

public SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder(int index)

The Job entities that match the specified SearchJobsRequest.

repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchJobsResponse.MatchingJobOrBuilder

getMatchingJobsOrBuilderList()

public List<? extends SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsOrBuilderList()

The Job entities that match the specified SearchJobsRequest.

repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;

Returns
Type Description
List<? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder>

getMetadata()

public ResponseMetadata getMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.ResponseMetadata metadata = 7;

Returns
Type Description
ResponseMetadata

The metadata.

getMetadataOrBuilder()

public ResponseMetadataOrBuilder getMetadataOrBuilder()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.ResponseMetadata metadata = 7;

Returns
Type Description
ResponseMetadataOrBuilder

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
Type Description
Parser<SearchJobsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSpellCorrection()

public SpellingCorrection getSpellCorrection()

The spell checking result, and correction.

.google.cloud.talent.v4.SpellingCorrection spell_correction = 9;

Returns
Type Description
SpellingCorrection

The spellCorrection.

getSpellCorrectionOrBuilder()

public SpellingCorrectionOrBuilder getSpellCorrectionOrBuilder()

The spell checking result, and correction.

.google.cloud.talent.v4.SpellingCorrection spell_correction = 9;

Returns
Type Description
SpellingCorrectionOrBuilder

getTotalSize()

public int getTotalSize()

Number of jobs that match the specified query.

Note: This size is precise only if the total is less than 100,000.

int32 total_size = 6;

Returns
Type Description
int

The totalSize.

hasMetadata()

public boolean hasMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.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.v4.SpellingCorrection spell_correction = 9;

Returns
Type Description
boolean

Whether the spellCorrection field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SearchJobsResponse.Builder newBuilderForType()
Returns
Type Description
SearchJobsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchJobsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SearchJobsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SearchJobsResponse.Builder toBuilder()
Returns
Type Description
SearchJobsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException