Class SearchJobsResponse.MatchingJob.Builder (2.56.0)

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

Job entry with metadata inside SearchJobsResponse.

Protobuf type google.cloud.talent.v4.SearchJobsResponse.MatchingJob

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchJobsResponse.MatchingJob build()
Returns
Type Description
SearchJobsResponse.MatchingJob

buildPartial()

public SearchJobsResponse.MatchingJob buildPartial()
Returns
Type Description
SearchJobsResponse.MatchingJob

clear()

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

clearCommuteInfo()

public SearchJobsResponse.MatchingJob.Builder clearCommuteInfo()

Commute information which is generated based on specified CommuteFilter.

.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;

Returns
Type Description
SearchJobsResponse.MatchingJob.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearJob()

public SearchJobsResponse.MatchingJob.Builder clearJob()

Job resource that matches the specified SearchJobsRequest.

.google.cloud.talent.v4.Job job = 1;

Returns
Type Description
SearchJobsResponse.MatchingJob.Builder

clearJobSummary()

public SearchJobsResponse.MatchingJob.Builder clearJobSummary()

A summary of the job with core information that's displayed on the search results listing page.

string job_summary = 2;

Returns
Type Description
SearchJobsResponse.MatchingJob.Builder

This builder for chaining.

clearJobTitleSnippet()

public SearchJobsResponse.MatchingJob.Builder clearJobTitleSnippet()

Contains snippets of text from the Job.title field most closely matching a search query's keywords, if available. The matching query keywords are enclosed in HTML bold tags.

string job_title_snippet = 3;

Returns
Type Description
SearchJobsResponse.MatchingJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSearchTextSnippet()

public SearchJobsResponse.MatchingJob.Builder clearSearchTextSnippet()

Contains snippets of text from the Job.description and similar fields that most closely match a search query's keywords, if available. All HTML tags in the original fields are stripped when returned in this field, and matching query keywords are enclosed in HTML bold tags.

string search_text_snippet = 4;

Returns
Type Description
SearchJobsResponse.MatchingJob.Builder

This builder for chaining.

clone()

public SearchJobsResponse.MatchingJob.Builder clone()
Returns
Type Description
SearchJobsResponse.MatchingJob.Builder
Overrides

getCommuteInfo()

public SearchJobsResponse.CommuteInfo getCommuteInfo()

Commute information which is generated based on specified CommuteFilter.

.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;

Returns
Type Description
SearchJobsResponse.CommuteInfo

The commuteInfo.

getCommuteInfoBuilder()

public SearchJobsResponse.CommuteInfo.Builder getCommuteInfoBuilder()

Commute information which is generated based on specified CommuteFilter.

.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;

Returns
Type Description
SearchJobsResponse.CommuteInfo.Builder

getCommuteInfoOrBuilder()

public SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder()

Commute information which is generated based on specified CommuteFilter.

.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;

Returns
Type Description
SearchJobsResponse.CommuteInfoOrBuilder

getDefaultInstanceForType()

public SearchJobsResponse.MatchingJob getDefaultInstanceForType()
Returns
Type Description
SearchJobsResponse.MatchingJob

getDescriptorForType()

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

getJob()

public Job getJob()

Job resource that matches the specified SearchJobsRequest.

.google.cloud.talent.v4.Job job = 1;

Returns
Type Description
Job

The job.

getJobBuilder()

public Job.Builder getJobBuilder()

Job resource that matches the specified SearchJobsRequest.

.google.cloud.talent.v4.Job job = 1;

Returns
Type Description
Job.Builder

getJobOrBuilder()

public JobOrBuilder getJobOrBuilder()

Job resource that matches the specified SearchJobsRequest.

.google.cloud.talent.v4.Job job = 1;

Returns
Type Description
JobOrBuilder

getJobSummary()

public String getJobSummary()

A summary of the job with core information that's displayed on the search results listing page.

string job_summary = 2;

Returns
Type Description
String

The jobSummary.

getJobSummaryBytes()

public ByteString getJobSummaryBytes()

A summary of the job with core information that's displayed on the search results listing page.

string job_summary = 2;

Returns
Type Description
ByteString

The bytes for jobSummary.

getJobTitleSnippet()

public String getJobTitleSnippet()

Contains snippets of text from the Job.title field most closely matching a search query's keywords, if available. The matching query keywords are enclosed in HTML bold tags.

string job_title_snippet = 3;

Returns
Type Description
String

The jobTitleSnippet.

getJobTitleSnippetBytes()

public ByteString getJobTitleSnippetBytes()

Contains snippets of text from the Job.title field most closely matching a search query's keywords, if available. The matching query keywords are enclosed in HTML bold tags.

string job_title_snippet = 3;

Returns
Type Description
ByteString

The bytes for jobTitleSnippet.

getSearchTextSnippet()

public String getSearchTextSnippet()

Contains snippets of text from the Job.description and similar fields that most closely match a search query's keywords, if available. All HTML tags in the original fields are stripped when returned in this field, and matching query keywords are enclosed in HTML bold tags.

string search_text_snippet = 4;

Returns
Type Description
String

The searchTextSnippet.

getSearchTextSnippetBytes()

public ByteString getSearchTextSnippetBytes()

Contains snippets of text from the Job.description and similar fields that most closely match a search query's keywords, if available. All HTML tags in the original fields are stripped when returned in this field, and matching query keywords are enclosed in HTML bold tags.

string search_text_snippet = 4;

Returns
Type Description
ByteString

The bytes for searchTextSnippet.

hasCommuteInfo()

public boolean hasCommuteInfo()

Commute information which is generated based on specified CommuteFilter.

.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;

Returns
Type Description
boolean

Whether the commuteInfo field is set.

hasJob()

public boolean hasJob()

Job resource that matches the specified SearchJobsRequest.

.google.cloud.talent.v4.Job job = 1;

Returns
Type Description
boolean

Whether the job field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCommuteInfo(SearchJobsResponse.CommuteInfo value)

public SearchJobsResponse.MatchingJob.Builder mergeCommuteInfo(SearchJobsResponse.CommuteInfo value)

Commute information which is generated based on specified CommuteFilter.

.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;

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

mergeFrom(SearchJobsResponse.MatchingJob other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeJob(Job value)

public SearchJobsResponse.MatchingJob.Builder mergeJob(Job value)

Job resource that matches the specified SearchJobsRequest.

.google.cloud.talent.v4.Job job = 1;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommuteInfo(SearchJobsResponse.CommuteInfo value)

public SearchJobsResponse.MatchingJob.Builder setCommuteInfo(SearchJobsResponse.CommuteInfo value)

Commute information which is generated based on specified CommuteFilter.

.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;

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

setCommuteInfo(SearchJobsResponse.CommuteInfo.Builder builderForValue)

public SearchJobsResponse.MatchingJob.Builder setCommuteInfo(SearchJobsResponse.CommuteInfo.Builder builderForValue)

Commute information which is generated based on specified CommuteFilter.

.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setJob(Job value)

public SearchJobsResponse.MatchingJob.Builder setJob(Job value)

Job resource that matches the specified SearchJobsRequest.

.google.cloud.talent.v4.Job job = 1;

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

setJob(Job.Builder builderForValue)

public SearchJobsResponse.MatchingJob.Builder setJob(Job.Builder builderForValue)

Job resource that matches the specified SearchJobsRequest.

.google.cloud.talent.v4.Job job = 1;

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

setJobSummary(String value)

public SearchJobsResponse.MatchingJob.Builder setJobSummary(String value)

A summary of the job with core information that's displayed on the search results listing page.

string job_summary = 2;

Parameter
Name Description
value String

The jobSummary to set.

Returns
Type Description
SearchJobsResponse.MatchingJob.Builder

This builder for chaining.

setJobSummaryBytes(ByteString value)

public SearchJobsResponse.MatchingJob.Builder setJobSummaryBytes(ByteString value)

A summary of the job with core information that's displayed on the search results listing page.

string job_summary = 2;

Parameter
Name Description
value ByteString

The bytes for jobSummary to set.

Returns
Type Description
SearchJobsResponse.MatchingJob.Builder

This builder for chaining.

setJobTitleSnippet(String value)

public SearchJobsResponse.MatchingJob.Builder setJobTitleSnippet(String value)

Contains snippets of text from the Job.title field most closely matching a search query's keywords, if available. The matching query keywords are enclosed in HTML bold tags.

string job_title_snippet = 3;

Parameter
Name Description
value String

The jobTitleSnippet to set.

Returns
Type Description
SearchJobsResponse.MatchingJob.Builder

This builder for chaining.

setJobTitleSnippetBytes(ByteString value)

public SearchJobsResponse.MatchingJob.Builder setJobTitleSnippetBytes(ByteString value)

Contains snippets of text from the Job.title field most closely matching a search query's keywords, if available. The matching query keywords are enclosed in HTML bold tags.

string job_title_snippet = 3;

Parameter
Name Description
value ByteString

The bytes for jobTitleSnippet to set.

Returns
Type Description
SearchJobsResponse.MatchingJob.Builder

This builder for chaining.

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

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

setSearchTextSnippet(String value)

public SearchJobsResponse.MatchingJob.Builder setSearchTextSnippet(String value)

Contains snippets of text from the Job.description and similar fields that most closely match a search query's keywords, if available. All HTML tags in the original fields are stripped when returned in this field, and matching query keywords are enclosed in HTML bold tags.

string search_text_snippet = 4;

Parameter
Name Description
value String

The searchTextSnippet to set.

Returns
Type Description
SearchJobsResponse.MatchingJob.Builder

This builder for chaining.

setSearchTextSnippetBytes(ByteString value)

public SearchJobsResponse.MatchingJob.Builder setSearchTextSnippetBytes(ByteString value)

Contains snippets of text from the Job.description and similar fields that most closely match a search query's keywords, if available. All HTML tags in the original fields are stripped when returned in this field, and matching query keywords are enclosed in HTML bold tags.

string search_text_snippet = 4;

Parameter
Name Description
value ByteString

The bytes for searchTextSnippet to set.

Returns
Type Description
SearchJobsResponse.MatchingJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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