Class SearchJobsResponse.Builder (2.46.0)

public static final class SearchJobsResponse.Builder extends GeneratedMessageV3.Builder<SearchJobsResponse.Builder> implements SearchJobsResponseOrBuilder

Response for SearchJob method.

Protobuf type google.cloud.talent.v4.SearchJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllHistogramQueryResults(Iterable<? extends HistogramQueryResult> values)

public SearchJobsResponse.Builder addAllHistogramQueryResults(Iterable<? extends HistogramQueryResult> values)

The histogram results that match with specified SearchJobsRequest.histogram_queries.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.talent.v4.HistogramQueryResult>
Returns
Type Description
SearchJobsResponse.Builder

addAllLocationFilters(Iterable<? extends Location> values)

public SearchJobsResponse.Builder addAllLocationFilters(Iterable<? extends Location> values)

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
values Iterable<? extends com.google.cloud.talent.v4.Location>
Returns
Type Description
SearchJobsResponse.Builder

addAllMatchingJobs(Iterable<? extends SearchJobsResponse.MatchingJob> values)

public SearchJobsResponse.Builder addAllMatchingJobs(Iterable<? extends SearchJobsResponse.MatchingJob> values)

The Job entities that match the specified SearchJobsRequest.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob>
Returns
Type Description
SearchJobsResponse.Builder

addHistogramQueryResults(HistogramQueryResult value)

public SearchJobsResponse.Builder addHistogramQueryResults(HistogramQueryResult value)

The histogram results that match with specified SearchJobsRequest.histogram_queries.

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

Parameter
Name Description
value HistogramQueryResult
Returns
Type Description
SearchJobsResponse.Builder

addHistogramQueryResults(HistogramQueryResult.Builder builderForValue)

public SearchJobsResponse.Builder addHistogramQueryResults(HistogramQueryResult.Builder builderForValue)

The histogram results that match with specified SearchJobsRequest.histogram_queries.

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

Parameter
Name Description
builderForValue HistogramQueryResult.Builder
Returns
Type Description
SearchJobsResponse.Builder

addHistogramQueryResults(int index, HistogramQueryResult value)

public SearchJobsResponse.Builder addHistogramQueryResults(int index, HistogramQueryResult value)

The histogram results that match with specified SearchJobsRequest.histogram_queries.

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

Parameters
Name Description
index int
value HistogramQueryResult
Returns
Type Description
SearchJobsResponse.Builder

addHistogramQueryResults(int index, HistogramQueryResult.Builder builderForValue)

public SearchJobsResponse.Builder addHistogramQueryResults(int index, HistogramQueryResult.Builder builderForValue)

The histogram results that match with specified SearchJobsRequest.histogram_queries.

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

Parameters
Name Description
index int
builderForValue HistogramQueryResult.Builder
Returns
Type Description
SearchJobsResponse.Builder

addHistogramQueryResultsBuilder()

public HistogramQueryResult.Builder addHistogramQueryResultsBuilder()

The histogram results that match with specified SearchJobsRequest.histogram_queries.

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

Returns
Type Description
HistogramQueryResult.Builder

addHistogramQueryResultsBuilder(int index)

public HistogramQueryResult.Builder addHistogramQueryResultsBuilder(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.Builder

addLocationFilters(Location value)

public SearchJobsResponse.Builder addLocationFilters(Location value)

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
value Location
Returns
Type Description
SearchJobsResponse.Builder

addLocationFilters(Location.Builder builderForValue)

public SearchJobsResponse.Builder addLocationFilters(Location.Builder builderForValue)

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
builderForValue Location.Builder
Returns
Type Description
SearchJobsResponse.Builder

addLocationFilters(int index, Location value)

public SearchJobsResponse.Builder addLocationFilters(int index, Location value)

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;

Parameters
Name Description
index int
value Location
Returns
Type Description
SearchJobsResponse.Builder

addLocationFilters(int index, Location.Builder builderForValue)

public SearchJobsResponse.Builder addLocationFilters(int index, Location.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Location.Builder
Returns
Type Description
SearchJobsResponse.Builder

addLocationFiltersBuilder()

public Location.Builder addLocationFiltersBuilder()

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
Location.Builder

addLocationFiltersBuilder(int index)

public Location.Builder addLocationFiltersBuilder(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.Builder

addMatchingJobs(SearchJobsResponse.MatchingJob value)

public SearchJobsResponse.Builder addMatchingJobs(SearchJobsResponse.MatchingJob value)

The Job entities that match the specified SearchJobsRequest.

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

Parameter
Name Description
value SearchJobsResponse.MatchingJob
Returns
Type Description
SearchJobsResponse.Builder

addMatchingJobs(SearchJobsResponse.MatchingJob.Builder builderForValue)

public SearchJobsResponse.Builder addMatchingJobs(SearchJobsResponse.MatchingJob.Builder builderForValue)

The Job entities that match the specified SearchJobsRequest.

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

Parameter
Name Description
builderForValue SearchJobsResponse.MatchingJob.Builder
Returns
Type Description
SearchJobsResponse.Builder

addMatchingJobs(int index, SearchJobsResponse.MatchingJob value)

public SearchJobsResponse.Builder addMatchingJobs(int index, SearchJobsResponse.MatchingJob value)

The Job entities that match the specified SearchJobsRequest.

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

Parameters
Name Description
index int
value SearchJobsResponse.MatchingJob
Returns
Type Description
SearchJobsResponse.Builder

addMatchingJobs(int index, SearchJobsResponse.MatchingJob.Builder builderForValue)

public SearchJobsResponse.Builder addMatchingJobs(int index, SearchJobsResponse.MatchingJob.Builder builderForValue)

The Job entities that match the specified SearchJobsRequest.

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

Parameters
Name Description
index int
builderForValue SearchJobsResponse.MatchingJob.Builder
Returns
Type Description
SearchJobsResponse.Builder

addMatchingJobsBuilder()

public SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder()

The Job entities that match the specified SearchJobsRequest.

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

Returns
Type Description
SearchJobsResponse.MatchingJob.Builder

addMatchingJobsBuilder(int index)

public SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchJobsResponse.Builder
Overrides

build()

public SearchJobsResponse build()
Returns
Type Description
SearchJobsResponse

buildPartial()

public SearchJobsResponse buildPartial()
Returns
Type Description
SearchJobsResponse

clear()

public SearchJobsResponse.Builder clear()
Returns
Type Description
SearchJobsResponse.Builder
Overrides

clearBroadenedQueryJobsCount()

public SearchJobsResponse.Builder clearBroadenedQueryJobsCount()

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
SearchJobsResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SearchJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchJobsResponse.Builder
Overrides

clearHistogramQueryResults()

public SearchJobsResponse.Builder clearHistogramQueryResults()

The histogram results that match with specified SearchJobsRequest.histogram_queries.

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

Returns
Type Description
SearchJobsResponse.Builder

clearLocationFilters()

public SearchJobsResponse.Builder clearLocationFilters()

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
SearchJobsResponse.Builder

clearMatchingJobs()

public SearchJobsResponse.Builder clearMatchingJobs()

The Job entities that match the specified SearchJobsRequest.

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

Returns
Type Description
SearchJobsResponse.Builder

clearMetadata()

public SearchJobsResponse.Builder clearMetadata()

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

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

Returns
Type Description
SearchJobsResponse.Builder

clearNextPageToken()

public SearchJobsResponse.Builder clearNextPageToken()

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
SearchJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchJobsResponse.Builder
Overrides

clearSpellCorrection()

public SearchJobsResponse.Builder clearSpellCorrection()

The spell checking result, and correction.

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

Returns
Type Description
SearchJobsResponse.Builder

clearTotalSize()

public SearchJobsResponse.Builder clearTotalSize()

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
SearchJobsResponse.Builder

This builder for chaining.

clone()

public SearchJobsResponse.Builder clone()
Returns
Type Description
SearchJobsResponse.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getHistogramQueryResultsBuilder(int index)

public HistogramQueryResult.Builder getHistogramQueryResultsBuilder(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.Builder

getHistogramQueryResultsBuilderList()

public List<HistogramQueryResult.Builder> getHistogramQueryResultsBuilderList()

The histogram results that match with specified SearchJobsRequest.histogram_queries.

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

Returns
Type Description
List<Builder>

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

getLocationFiltersBuilder(int index)

public Location.Builder getLocationFiltersBuilder(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.Builder

getLocationFiltersBuilderList()

public List<Location.Builder> getLocationFiltersBuilderList()

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<Builder>

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

getMatchingJobsBuilder(int index)

public SearchJobsResponse.MatchingJob.Builder getMatchingJobsBuilder(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.Builder

getMatchingJobsBuilderList()

public List<SearchJobsResponse.MatchingJob.Builder> getMatchingJobsBuilderList()

The Job entities that match the specified SearchJobsRequest.

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

Returns
Type Description
List<Builder>

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.

getMetadataBuilder()

public ResponseMetadata.Builder getMetadataBuilder()

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

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

Returns
Type Description
ResponseMetadata.Builder

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.

getSpellCorrection()

public SpellingCorrection getSpellCorrection()

The spell checking result, and correction.

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

Returns
Type Description
SpellingCorrection

The spellCorrection.

getSpellCorrectionBuilder()

public SpellingCorrection.Builder getSpellCorrectionBuilder()

The spell checking result, and correction.

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

Returns
Type Description
SpellingCorrection.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchJobsResponse other)

public SearchJobsResponse.Builder mergeFrom(SearchJobsResponse other)
Parameter
Name Description
other SearchJobsResponse
Returns
Type Description
SearchJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchJobsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchJobsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchJobsResponse.Builder
Overrides

mergeMetadata(ResponseMetadata value)

public SearchJobsResponse.Builder mergeMetadata(ResponseMetadata value)

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

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

Parameter
Name Description
value ResponseMetadata
Returns
Type Description
SearchJobsResponse.Builder

mergeSpellCorrection(SpellingCorrection value)

public SearchJobsResponse.Builder mergeSpellCorrection(SpellingCorrection value)

The spell checking result, and correction.

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

Parameter
Name Description
value SpellingCorrection
Returns
Type Description
SearchJobsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchJobsResponse.Builder
Overrides

removeHistogramQueryResults(int index)

public SearchJobsResponse.Builder removeHistogramQueryResults(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
SearchJobsResponse.Builder

removeLocationFilters(int index)

public SearchJobsResponse.Builder removeLocationFilters(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
SearchJobsResponse.Builder

removeMatchingJobs(int index)

public SearchJobsResponse.Builder removeMatchingJobs(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.Builder

setBroadenedQueryJobsCount(int value)

public SearchJobsResponse.Builder setBroadenedQueryJobsCount(int value)

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;

Parameter
Name Description
value int

The broadenedQueryJobsCount to set.

Returns
Type Description
SearchJobsResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SearchJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchJobsResponse.Builder
Overrides

setHistogramQueryResults(int index, HistogramQueryResult value)

public SearchJobsResponse.Builder setHistogramQueryResults(int index, HistogramQueryResult value)

The histogram results that match with specified SearchJobsRequest.histogram_queries.

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

Parameters
Name Description
index int
value HistogramQueryResult
Returns
Type Description
SearchJobsResponse.Builder

setHistogramQueryResults(int index, HistogramQueryResult.Builder builderForValue)

public SearchJobsResponse.Builder setHistogramQueryResults(int index, HistogramQueryResult.Builder builderForValue)

The histogram results that match with specified SearchJobsRequest.histogram_queries.

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

Parameters
Name Description
index int
builderForValue HistogramQueryResult.Builder
Returns
Type Description
SearchJobsResponse.Builder

setLocationFilters(int index, Location value)

public SearchJobsResponse.Builder setLocationFilters(int index, Location value)

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;

Parameters
Name Description
index int
value Location
Returns
Type Description
SearchJobsResponse.Builder

setLocationFilters(int index, Location.Builder builderForValue)

public SearchJobsResponse.Builder setLocationFilters(int index, Location.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Location.Builder
Returns
Type Description
SearchJobsResponse.Builder

setMatchingJobs(int index, SearchJobsResponse.MatchingJob value)

public SearchJobsResponse.Builder setMatchingJobs(int index, SearchJobsResponse.MatchingJob value)

The Job entities that match the specified SearchJobsRequest.

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

Parameters
Name Description
index int
value SearchJobsResponse.MatchingJob
Returns
Type Description
SearchJobsResponse.Builder

setMatchingJobs(int index, SearchJobsResponse.MatchingJob.Builder builderForValue)

public SearchJobsResponse.Builder setMatchingJobs(int index, SearchJobsResponse.MatchingJob.Builder builderForValue)

The Job entities that match the specified SearchJobsRequest.

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

Parameters
Name Description
index int
builderForValue SearchJobsResponse.MatchingJob.Builder
Returns
Type Description
SearchJobsResponse.Builder

setMetadata(ResponseMetadata value)

public SearchJobsResponse.Builder setMetadata(ResponseMetadata value)

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

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

Parameter
Name Description
value ResponseMetadata
Returns
Type Description
SearchJobsResponse.Builder

setMetadata(ResponseMetadata.Builder builderForValue)

public SearchJobsResponse.Builder setMetadata(ResponseMetadata.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ResponseMetadata.Builder
Returns
Type Description
SearchJobsResponse.Builder

setNextPageToken(String value)

public SearchJobsResponse.Builder setNextPageToken(String value)

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;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
SearchJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchJobsResponse.Builder setNextPageTokenBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
SearchJobsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchJobsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchJobsResponse.Builder
Overrides

setSpellCorrection(SpellingCorrection value)

public SearchJobsResponse.Builder setSpellCorrection(SpellingCorrection value)

The spell checking result, and correction.

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

Parameter
Name Description
value SpellingCorrection
Returns
Type Description
SearchJobsResponse.Builder

setSpellCorrection(SpellingCorrection.Builder builderForValue)

public SearchJobsResponse.Builder setSpellCorrection(SpellingCorrection.Builder builderForValue)

The spell checking result, and correction.

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

Parameter
Name Description
builderForValue SpellingCorrection.Builder
Returns
Type Description
SearchJobsResponse.Builder

setTotalSize(int value)

public SearchJobsResponse.Builder setTotalSize(int value)

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;

Parameter
Name Description
value int

The totalSize to set.

Returns
Type Description
SearchJobsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchJobsResponse.Builder
Overrides