Class SearchJobsResponse.MatchingJob.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public SearchJobsResponse.MatchingJob 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SearchJobsResponse.MatchingJob.Builder>
      • 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

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

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

        public SearchJobsResponse.MatchingJob.Builder 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;
      • 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.
      • 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;