Class SearchJobsResponse

  • All Implemented Interfaces:
    SearchJobsResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class SearchJobsResponse
    extends com.google.protobuf.GeneratedMessageV3
    implements SearchJobsResponseOrBuilder
     Response for SearchJob method.
     
    Protobuf type google.cloud.talent.v4.SearchJobsResponse
    See Also:
    Serialized Form
    • Field Detail

      • MATCHING_JOBS_FIELD_NUMBER

        public static final int MATCHING_JOBS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER

        public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NEXT_PAGE_TOKEN_FIELD_NUMBER

        public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOCATION_FILTERS_FIELD_NUMBER

        public static final int LOCATION_FILTERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TOTAL_SIZE_FIELD_NUMBER

        public static final int TOTAL_SIZE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER

        public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPELL_CORRECTION_FIELD_NUMBER

        public static final int SPELL_CORRECTION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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
      • 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
      • 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
      • 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.
      • 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.
      • isInitialized

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

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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​(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
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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