Class SearchJobsResponse.MatchingJob.Builder (2.24.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.v4beta1.SearchJobsResponse.MatchingJob

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchJobsResponse.MatchingJob build()
Returns
TypeDescription
SearchJobsResponse.MatchingJob

buildPartial()

public SearchJobsResponse.MatchingJob buildPartial()
Returns
TypeDescription
SearchJobsResponse.MatchingJob

clear()

public SearchJobsResponse.MatchingJob.Builder clear()
Returns
TypeDescription
SearchJobsResponse.MatchingJob.Builder
Overrides

clearCommuteInfo()

public SearchJobsResponse.MatchingJob.Builder clearCommuteInfo()

Commute information which is generated based on specified CommuteFilter.

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

Returns
TypeDescription
SearchJobsResponse.MatchingJob.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchJobsResponse.MatchingJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchJobsResponse.MatchingJob.Builder
Overrides

clearJob()

public SearchJobsResponse.MatchingJob.Builder clearJob()

Job resource that matches the specified SearchJobsRequest.

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

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchJobsResponse.MatchingJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SearchJobsResponse.MatchingJob.Builder

This builder for chaining.

clone()

public SearchJobsResponse.MatchingJob.Builder clone()
Returns
TypeDescription
SearchJobsResponse.MatchingJob.Builder
Overrides

getCommuteInfo()

public SearchJobsResponse.CommuteInfo getCommuteInfo()

Commute information which is generated based on specified CommuteFilter.

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

Returns
TypeDescription
SearchJobsResponse.CommuteInfo

The commuteInfo.

getCommuteInfoBuilder()

public SearchJobsResponse.CommuteInfo.Builder getCommuteInfoBuilder()

Commute information which is generated based on specified CommuteFilter.

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

Returns
TypeDescription
SearchJobsResponse.CommuteInfo.Builder

getCommuteInfoOrBuilder()

public SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder()

Commute information which is generated based on specified CommuteFilter.

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

Returns
TypeDescription
SearchJobsResponse.CommuteInfoOrBuilder

getDefaultInstanceForType()

public SearchJobsResponse.MatchingJob getDefaultInstanceForType()
Returns
TypeDescription
SearchJobsResponse.MatchingJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJob()

public Job getJob()

Job resource that matches the specified SearchJobsRequest.

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

Returns
TypeDescription
Job

The job.

getJobBuilder()

public Job.Builder getJobBuilder()

Job resource that matches the specified SearchJobsRequest.

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

Returns
TypeDescription
Job.Builder

getJobOrBuilder()

public JobOrBuilder getJobOrBuilder()

Job resource that matches the specified SearchJobsRequest.

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

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

The bytes for searchTextSnippet.

hasCommuteInfo()

public boolean hasCommuteInfo()

Commute information which is generated based on specified CommuteFilter.

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

Returns
TypeDescription
boolean

Whether the commuteInfo field is set.

hasJob()

public boolean hasJob()

Job resource that matches the specified SearchJobsRequest.

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

Returns
TypeDescription
boolean

Whether the job field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;

Parameter
NameDescription
valueSearchJobsResponse.CommuteInfo
Returns
TypeDescription
SearchJobsResponse.MatchingJob.Builder

mergeFrom(SearchJobsResponse.MatchingJob other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SearchJobsResponse.MatchingJob.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchJobsResponse.MatchingJob.Builder
Overrides

mergeJob(Job value)

public SearchJobsResponse.MatchingJob.Builder mergeJob(Job value)

Job resource that matches the specified SearchJobsRequest.

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

Parameter
NameDescription
valueJob
Returns
TypeDescription
SearchJobsResponse.MatchingJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchJobsResponse.MatchingJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;

Parameter
NameDescription
valueSearchJobsResponse.CommuteInfo
Returns
TypeDescription
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.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;

Parameter
NameDescription
builderForValueSearchJobsResponse.CommuteInfo.Builder
Returns
TypeDescription
SearchJobsResponse.MatchingJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJob(Job value)

public SearchJobsResponse.MatchingJob.Builder setJob(Job value)

Job resource that matches the specified SearchJobsRequest.

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

Parameter
NameDescription
valueJob
Returns
TypeDescription
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.v4beta1.Job job = 1;

Parameter
NameDescription
builderForValueJob.Builder
Returns
TypeDescription
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
NameDescription
valueString

The jobSummary to set.

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

The bytes for jobSummary to set.

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

The jobTitleSnippet to set.

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

The bytes for jobTitleSnippet to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The searchTextSnippet to set.

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

The bytes for searchTextSnippet to set.

Returns
TypeDescription
SearchJobsResponse.MatchingJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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