Class SearchJobsResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.talent.v4.SearchJobsResponse
All Implemented Interfaces:
SearchJobsResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SearchJobsResponse extends com.google.protobuf.GeneratedMessage implements SearchJobsResponseOrBuilder
 Response for SearchJob method.
 
Protobuf type google.cloud.talent.v4.SearchJobsResponse
See Also:
  • Field Details

    • MATCHING_JOBS_FIELD_NUMBER

      public static final int MATCHING_JOBS_FIELD_NUMBER
      See Also:
    • HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER

      public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER
      See Also:
    • NEXT_PAGE_TOKEN_FIELD_NUMBER

      public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
      See Also:
    • LOCATION_FILTERS_FIELD_NUMBER

      public static final int LOCATION_FILTERS_FIELD_NUMBER
      See Also:
    • TOTAL_SIZE_FIELD_NUMBER

      public static final int TOTAL_SIZE_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER

      public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER
      See Also:
    • SPELL_CORRECTION_FIELD_NUMBER

      public static final int SPELL_CORRECTION_FIELD_NUMBER
      See Also:
  • 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
    • getMatchingJobsList

      public List<SearchJobsResponse.MatchingJob> getMatchingJobsList()
       The Job entities that match the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;
      Specified by:
      getMatchingJobsList in interface SearchJobsResponseOrBuilder
    • getMatchingJobsOrBuilderList

      public List<? extends SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsOrBuilderList()
       The Job entities that match the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;
      Specified by:
      getMatchingJobsOrBuilderList in interface SearchJobsResponseOrBuilder
    • getMatchingJobsCount

      public int getMatchingJobsCount()
       The Job entities that match the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;
      Specified by:
      getMatchingJobsCount in interface SearchJobsResponseOrBuilder
    • getMatchingJobs

      public SearchJobsResponse.MatchingJob getMatchingJobs(int index)
       The Job entities that match the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;
      Specified by:
      getMatchingJobs in interface SearchJobsResponseOrBuilder
    • getMatchingJobsOrBuilder

      public SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder(int index)
       The Job entities that match the specified
       [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
       
      repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;
      Specified by:
      getMatchingJobsOrBuilder in interface SearchJobsResponseOrBuilder
    • getHistogramQueryResultsList

      public List<HistogramQueryResult> getHistogramQueryResultsList()
       The histogram results that match with specified
       [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
       
      repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
      Specified by:
      getHistogramQueryResultsList in interface SearchJobsResponseOrBuilder
    • getHistogramQueryResultsOrBuilderList

      public List<? extends HistogramQueryResultOrBuilder> getHistogramQueryResultsOrBuilderList()
       The histogram results that match with specified
       [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
       
      repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
      Specified by:
      getHistogramQueryResultsOrBuilderList in interface SearchJobsResponseOrBuilder
    • getHistogramQueryResultsCount

      public int getHistogramQueryResultsCount()
       The histogram results that match with specified
       [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
       
      repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
      Specified by:
      getHistogramQueryResultsCount in interface SearchJobsResponseOrBuilder
    • getHistogramQueryResults

      public HistogramQueryResult getHistogramQueryResults(int index)
       The histogram results that match with specified
       [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
       
      repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
      Specified by:
      getHistogramQueryResults in interface SearchJobsResponseOrBuilder
    • getHistogramQueryResultsOrBuilder

      public HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder(int index)
       The histogram results that match with specified
       [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
       
      repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
      Specified by:
      getHistogramQueryResultsOrBuilder in interface SearchJobsResponseOrBuilder
    • 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;
      Specified by:
      getNextPageToken in interface SearchJobsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.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;
      Specified by:
      getNextPageTokenBytes in interface SearchJobsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • 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][google.cloud.talent.v4.Location.location_type] is
       [Location.LocationType.LOCATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED].
       
      repeated .google.cloud.talent.v4.Location location_filters = 4;
      Specified by:
      getLocationFiltersList in interface SearchJobsResponseOrBuilder
    • 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][google.cloud.talent.v4.Location.location_type] is
       [Location.LocationType.LOCATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED].
       
      repeated .google.cloud.talent.v4.Location location_filters = 4;
      Specified by:
      getLocationFiltersOrBuilderList in interface SearchJobsResponseOrBuilder
    • 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][google.cloud.talent.v4.Location.location_type] is
       [Location.LocationType.LOCATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED].
       
      repeated .google.cloud.talent.v4.Location location_filters = 4;
      Specified by:
      getLocationFiltersCount in interface SearchJobsResponseOrBuilder
    • getLocationFilters

      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][google.cloud.talent.v4.Location.location_type] is
       [Location.LocationType.LOCATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED].
       
      repeated .google.cloud.talent.v4.Location location_filters = 4;
      Specified by:
      getLocationFilters in interface SearchJobsResponseOrBuilder
    • getLocationFiltersOrBuilder

      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][google.cloud.talent.v4.Location.location_type] is
       [Location.LocationType.LOCATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED].
       
      repeated .google.cloud.talent.v4.Location location_filters = 4;
      Specified by:
      getLocationFiltersOrBuilder in interface SearchJobsResponseOrBuilder
    • 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;
      Specified by:
      getTotalSize in interface SearchJobsResponseOrBuilder
      Returns:
      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;
      Specified by:
      hasMetadata in interface SearchJobsResponseOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public ResponseMetadata getMetadata()
       Additional information for the API invocation, such as the request
       tracking id.
       
      .google.cloud.talent.v4.ResponseMetadata metadata = 7;
      Specified by:
      getMetadata in interface SearchJobsResponseOrBuilder
      Returns:
      The metadata.
    • getMetadataOrBuilder

      public ResponseMetadataOrBuilder getMetadataOrBuilder()
       Additional information for the API invocation, such as the request
       tracking id.
       
      .google.cloud.talent.v4.ResponseMetadata metadata = 7;
      Specified by:
      getMetadataOrBuilder in interface SearchJobsResponseOrBuilder
    • 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;
      Specified by:
      getBroadenedQueryJobsCount in interface SearchJobsResponseOrBuilder
      Returns:
      The broadenedQueryJobsCount.
    • hasSpellCorrection

      public boolean hasSpellCorrection()
       The spell checking result, and correction.
       
      .google.cloud.talent.v4.SpellingCorrection spell_correction = 9;
      Specified by:
      hasSpellCorrection in interface SearchJobsResponseOrBuilder
      Returns:
      Whether the spellCorrection field is set.
    • getSpellCorrection

      public SpellingCorrection getSpellCorrection()
       The spell checking result, and correction.
       
      .google.cloud.talent.v4.SpellingCorrection spell_correction = 9;
      Specified by:
      getSpellCorrection in interface SearchJobsResponseOrBuilder
      Returns:
      The spellCorrection.
    • getSpellCorrectionOrBuilder

      public SpellingCorrectionOrBuilder getSpellCorrectionOrBuilder()
       The spell checking result, and correction.
       
      .google.cloud.talent.v4.SpellingCorrection spell_correction = 9;
      Specified by:
      getSpellCorrectionOrBuilder in interface SearchJobsResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SearchJobsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchJobsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchJobsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchJobsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchJobsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchJobsResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchJobsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SearchJobsResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SearchJobsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchJobsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchJobsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SearchJobsResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SearchJobsResponse.Builder newBuilder()
    • newBuilder

      public static SearchJobsResponse.Builder newBuilder(SearchJobsResponse prototype)
    • toBuilder

      public SearchJobsResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SearchJobsResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SearchJobsResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SearchJobsResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<SearchJobsResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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