Class SearchJobsResponse.Builder

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

Response for SearchJob method.

Protobuf type google.cloud.talent.v4.SearchJobsResponse

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
NameDescription
valuesIterable<? extends com.google.cloud.talent.v4.HistogramQueryResult>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.talent.v4.Location>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob>
Returns
TypeDescription
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
NameDescription
valueHistogramQueryResult
Returns
TypeDescription
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
NameDescription
builderForValueHistogramQueryResult.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueHistogramQueryResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHistogramQueryResult.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueLocation
Returns
TypeDescription
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
NameDescription
builderForValueLocation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLocation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLocation.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueSearchJobsResponse.MatchingJob
Returns
TypeDescription
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
NameDescription
builderForValueSearchJobsResponse.MatchingJob.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSearchJobsResponse.MatchingJob
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSearchJobsResponse.MatchingJob.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SearchJobsResponse.MatchingJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchJobsResponse.Builder
Overrides

build()

public SearchJobsResponse build()
Returns
TypeDescription
SearchJobsResponse

buildPartial()

public SearchJobsResponse buildPartial()
Returns
TypeDescription
SearchJobsResponse

clear()

public SearchJobsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
SearchJobsResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SearchJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SearchJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchJobsResponse.Builder
Overrides

clearSpellCorrection()

public SearchJobsResponse.Builder clearSpellCorrection()

The spell checking result, and correction.

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

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

This builder for chaining.

clone()

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

The broadenedQueryJobsCount.

getDefaultInstanceForType()

public SearchJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchJobsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getSpellCorrection()

public SpellingCorrection getSpellCorrection()

The spell checking result, and correction.

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

Returns
TypeDescription
SpellingCorrection

The spellCorrection.

getSpellCorrectionBuilder()

public SpellingCorrection.Builder getSpellCorrectionBuilder()

The spell checking result, and correction.

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

Returns
TypeDescription
SpellingCorrection.Builder

getSpellCorrectionOrBuilder()

public SpellingCorrectionOrBuilder getSpellCorrectionOrBuilder()

The spell checking result, and correction.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the spellCorrection field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchJobsResponse other)

public SearchJobsResponse.Builder mergeFrom(SearchJobsResponse other)
Parameter
NameDescription
otherSearchJobsResponse
Returns
TypeDescription
SearchJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchJobsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchJobsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueResponseMetadata
Returns
TypeDescription
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
NameDescription
valueSpellingCorrection
Returns
TypeDescription
SearchJobsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueint

The broadenedQueryJobsCount to set.

Returns
TypeDescription
SearchJobsResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SearchJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueHistogramQueryResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHistogramQueryResult.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLocation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLocation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSearchJobsResponse.MatchingJob
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSearchJobsResponse.MatchingJob.Builder
Returns
TypeDescription
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
NameDescription
valueResponseMetadata
Returns
TypeDescription
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
NameDescription
builderForValueResponseMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSpellingCorrection
Returns
TypeDescription
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
NameDescription
builderForValueSpellingCorrection.Builder
Returns
TypeDescription
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
NameDescription
valueint

The totalSize to set.

Returns
TypeDescription
SearchJobsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchJobsResponse.Builder
Overrides