Class SearchJobsResponse.MatchingJob.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchJobsResponse.MatchingJob.Builder>
com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder
All Implemented Interfaces:
SearchJobsResponse.MatchingJobOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SearchJobsResponse.MatchingJob

public static final class SearchJobsResponse.MatchingJob.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchJobsResponse.MatchingJob.Builder> implements SearchJobsResponse.MatchingJobOrBuilder
 Job entry with metadata inside
 [SearchJobsResponse][google.cloud.talent.v4.SearchJobsResponse].
 
Protobuf type google.cloud.talent.v4.SearchJobsResponse.MatchingJob
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SearchJobsResponse.MatchingJob.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SearchJobsResponse.MatchingJob.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SearchJobsResponse.MatchingJob.Builder>
    • getDefaultInstanceForType

      public SearchJobsResponse.MatchingJob getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SearchJobsResponse.MatchingJob buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SearchJobsResponse.MatchingJob.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchJobsResponse.MatchingJob.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SearchJobsResponse.MatchingJob.Builder>
    • mergeFrom

      public SearchJobsResponse.MatchingJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchJobsResponse.MatchingJob.Builder>
      Throws:
      IOException
    • hasJob

      public boolean hasJob()
       Job resource that matches the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      .google.cloud.talent.v4.Job job = 1;
      Specified by:
      hasJob in interface SearchJobsResponse.MatchingJobOrBuilder
      Returns:
      Whether the job field is set.
    • getJob

      public Job getJob()
       Job resource that matches the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      .google.cloud.talent.v4.Job job = 1;
      Specified by:
      getJob in interface SearchJobsResponse.MatchingJobOrBuilder
      Returns:
      The job.
    • setJob

       Job resource that matches the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      .google.cloud.talent.v4.Job job = 1;
    • setJob

      public SearchJobsResponse.MatchingJob.Builder setJob(Job.Builder builderForValue)
       Job resource that matches the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      .google.cloud.talent.v4.Job job = 1;
    • mergeJob

       Job resource that matches the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      .google.cloud.talent.v4.Job job = 1;
    • clearJob

       Job resource that matches the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      .google.cloud.talent.v4.Job job = 1;
    • getJobBuilder

      public Job.Builder getJobBuilder()
       Job resource that matches the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      .google.cloud.talent.v4.Job job = 1;
    • getJobOrBuilder

      public JobOrBuilder getJobOrBuilder()
       Job resource that matches the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      .google.cloud.talent.v4.Job job = 1;
      Specified by:
      getJobOrBuilder in interface SearchJobsResponse.MatchingJobOrBuilder
    • 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;
      Specified by:
      getJobSummary in interface SearchJobsResponse.MatchingJobOrBuilder
      Returns:
      The jobSummary.
    • getJobSummaryBytes

      public com.google.protobuf.ByteString getJobSummaryBytes()
       A summary of the job with core information that's displayed on the search
       results listing page.
       
      string job_summary = 2;
      Specified by:
      getJobSummaryBytes in interface SearchJobsResponse.MatchingJobOrBuilder
      Returns:
      The bytes for jobSummary.
    • setJobSummary

      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;
      Parameters:
      value - The jobSummary to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setJobSummaryBytes

      public SearchJobsResponse.MatchingJob.Builder setJobSummaryBytes(com.google.protobuf.ByteString value)
       A summary of the job with core information that's displayed on the search
       results listing page.
       
      string job_summary = 2;
      Parameters:
      value - The bytes for jobSummary to set.
      Returns:
      This builder for chaining.
    • getJobTitleSnippet

      public String getJobTitleSnippet()
       Contains snippets of text from the
       [Job.title][google.cloud.talent.v4.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;
      Specified by:
      getJobTitleSnippet in interface SearchJobsResponse.MatchingJobOrBuilder
      Returns:
      The jobTitleSnippet.
    • getJobTitleSnippetBytes

      public com.google.protobuf.ByteString getJobTitleSnippetBytes()
       Contains snippets of text from the
       [Job.title][google.cloud.talent.v4.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;
      Specified by:
      getJobTitleSnippetBytes in interface SearchJobsResponse.MatchingJobOrBuilder
      Returns:
      The bytes for jobTitleSnippet.
    • setJobTitleSnippet

      public SearchJobsResponse.MatchingJob.Builder setJobTitleSnippet(String value)
       Contains snippets of text from the
       [Job.title][google.cloud.talent.v4.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;
      Parameters:
      value - The jobTitleSnippet to set.
      Returns:
      This builder for chaining.
    • clearJobTitleSnippet

      public SearchJobsResponse.MatchingJob.Builder clearJobTitleSnippet()
       Contains snippets of text from the
       [Job.title][google.cloud.talent.v4.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:
      This builder for chaining.
    • setJobTitleSnippetBytes

      public SearchJobsResponse.MatchingJob.Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value)
       Contains snippets of text from the
       [Job.title][google.cloud.talent.v4.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;
      Parameters:
      value - The bytes for jobTitleSnippet to set.
      Returns:
      This builder for chaining.
    • getSearchTextSnippet

      public String getSearchTextSnippet()
       Contains snippets of text from the
       [Job.description][google.cloud.talent.v4.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;
      Specified by:
      getSearchTextSnippet in interface SearchJobsResponse.MatchingJobOrBuilder
      Returns:
      The searchTextSnippet.
    • getSearchTextSnippetBytes

      public com.google.protobuf.ByteString getSearchTextSnippetBytes()
       Contains snippets of text from the
       [Job.description][google.cloud.talent.v4.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;
      Specified by:
      getSearchTextSnippetBytes in interface SearchJobsResponse.MatchingJobOrBuilder
      Returns:
      The bytes for searchTextSnippet.
    • setSearchTextSnippet

      public SearchJobsResponse.MatchingJob.Builder setSearchTextSnippet(String value)
       Contains snippets of text from the
       [Job.description][google.cloud.talent.v4.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;
      Parameters:
      value - The searchTextSnippet to set.
      Returns:
      This builder for chaining.
    • clearSearchTextSnippet

      public SearchJobsResponse.MatchingJob.Builder clearSearchTextSnippet()
       Contains snippets of text from the
       [Job.description][google.cloud.talent.v4.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:
      This builder for chaining.
    • setSearchTextSnippetBytes

      public SearchJobsResponse.MatchingJob.Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value)
       Contains snippets of text from the
       [Job.description][google.cloud.talent.v4.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;
      Parameters:
      value - The bytes for searchTextSnippet to set.
      Returns:
      This builder for chaining.
    • hasCommuteInfo

      public boolean hasCommuteInfo()
       Commute information which is generated based on specified
       [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
       
      .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
      Specified by:
      hasCommuteInfo in interface SearchJobsResponse.MatchingJobOrBuilder
      Returns:
      Whether the commuteInfo field is set.
    • getCommuteInfo

      public SearchJobsResponse.CommuteInfo getCommuteInfo()
       Commute information which is generated based on specified
       [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
       
      .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
      Specified by:
      getCommuteInfo in interface SearchJobsResponse.MatchingJobOrBuilder
      Returns:
      The commuteInfo.
    • setCommuteInfo

       Commute information which is generated based on specified
       [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
       
      .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
    • setCommuteInfo

       Commute information which is generated based on specified
       [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
       
      .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
    • mergeCommuteInfo

       Commute information which is generated based on specified
       [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
       
      .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
    • clearCommuteInfo

      public SearchJobsResponse.MatchingJob.Builder clearCommuteInfo()
       Commute information which is generated based on specified
       [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
       
      .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
    • getCommuteInfoBuilder

      public SearchJobsResponse.CommuteInfo.Builder getCommuteInfoBuilder()
       Commute information which is generated based on specified
       [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
       
      .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
    • getCommuteInfoOrBuilder

      public SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder()
       Commute information which is generated based on specified
       [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
       
      .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
      Specified by:
      getCommuteInfoOrBuilder in interface SearchJobsResponse.MatchingJobOrBuilder