Class SearchJobsResponse (2.13.0)

public final class SearchJobsResponse extends GeneratedMessageV3 implements SearchJobsResponseOrBuilder

Response for SearchJob method.

Protobuf type google.cloud.talent.v4.SearchJobsResponse

Static Fields

BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER

public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER

public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FILTERS_FIELD_NUMBER

public static final int LOCATION_FILTERS_FIELD_NUMBER
Field Value
TypeDescription
int

MATCHING_JOBS_FIELD_NUMBER

public static final int MATCHING_JOBS_FIELD_NUMBER
Field Value
TypeDescription
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SPELL_CORRECTION_FIELD_NUMBER

public static final int SPELL_CORRECTION_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_SIZE_FIELD_NUMBER

public static final int TOTAL_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SearchJobsResponse getDefaultInstance()
Returns
TypeDescription
SearchJobsResponse

getDescriptor()

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

newBuilder()

public static SearchJobsResponse.Builder newBuilder()
Returns
TypeDescription
SearchJobsResponse.Builder

newBuilder(SearchJobsResponse prototype)

public static SearchJobsResponse.Builder newBuilder(SearchJobsResponse prototype)
Parameter
NameDescription
prototypeSearchJobsResponse
Returns
TypeDescription
SearchJobsResponse.Builder

parseDelimitedFrom(InputStream input)

public static SearchJobsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchJobsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchJobsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchJobsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SearchJobsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SearchJobsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchJobsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchJobsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchJobsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SearchJobsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchJobsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchJobsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchJobsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SearchJobsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchJobsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchJobsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SearchJobsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchJobsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchJobsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchJobsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SearchJobsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SearchJobsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchJobsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchJobsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SearchJobsResponse> parser()
Returns
TypeDescription
Parser<SearchJobsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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;

Returns
TypeDescription
int

The broadenedQueryJobsCount.

getDefaultInstanceForType()

public SearchJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchJobsResponse

getHistogramQueryResults(int index)

public HistogramQueryResult getHistogramQueryResults(int index)

The histogram results that match with specified SearchJobsRequest.histogram_queries.

repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
HistogramQueryResult

getHistogramQueryResultsCount()

public int getHistogramQueryResultsCount()

The histogram results that match with specified SearchJobsRequest.histogram_queries.

repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;

Returns
TypeDescription
int

getHistogramQueryResultsList()

public List<HistogramQueryResult> getHistogramQueryResultsList()

The histogram results that match with specified SearchJobsRequest.histogram_queries.

repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;

Returns
TypeDescription
List<HistogramQueryResult>

getHistogramQueryResultsOrBuilder(int index)

public HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder(int index)

The histogram results that match with specified SearchJobsRequest.histogram_queries.

repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
HistogramQueryResultOrBuilder

getHistogramQueryResultsOrBuilderList()

public List<? extends HistogramQueryResultOrBuilder> getHistogramQueryResultsOrBuilderList()

The histogram results that match with specified SearchJobsRequest.histogram_queries.

repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;

Returns
TypeDescription
List<? extends com.google.cloud.talent.v4.HistogramQueryResultOrBuilder>

getLocationFilters(int index)

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 is Location.LocationType.LOCATION_TYPE_UNSPECIFIED.

repeated .google.cloud.talent.v4.Location location_filters = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Location

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 is Location.LocationType.LOCATION_TYPE_UNSPECIFIED.

repeated .google.cloud.talent.v4.Location location_filters = 4;

Returns
TypeDescription
int

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 is Location.LocationType.LOCATION_TYPE_UNSPECIFIED.

repeated .google.cloud.talent.v4.Location location_filters = 4;

Returns
TypeDescription
List<Location>

getLocationFiltersOrBuilder(int index)

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 is Location.LocationType.LOCATION_TYPE_UNSPECIFIED.

repeated .google.cloud.talent.v4.Location location_filters = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
LocationOrBuilder

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 is Location.LocationType.LOCATION_TYPE_UNSPECIFIED.

repeated .google.cloud.talent.v4.Location location_filters = 4;

Returns
TypeDescription
List<? extends com.google.cloud.talent.v4.LocationOrBuilder>

getMatchingJobs(int index)

public SearchJobsResponse.MatchingJob getMatchingJobs(int index)

The Job entities that match the specified SearchJobsRequest.

repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchJobsResponse.MatchingJob

getMatchingJobsCount()

public int getMatchingJobsCount()

The Job entities that match the specified SearchJobsRequest.

repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;

Returns
TypeDescription
int

getMatchingJobsList()

public List<SearchJobsResponse.MatchingJob> getMatchingJobsList()

The Job entities that match the specified SearchJobsRequest.

repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;

Returns
TypeDescription
List<MatchingJob>

getMatchingJobsOrBuilder(int index)

public SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder(int index)

The Job entities that match the specified SearchJobsRequest.

repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchJobsResponse.MatchingJobOrBuilder

getMatchingJobsOrBuilderList()

public List<? extends SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsOrBuilderList()

The Job entities that match the specified SearchJobsRequest.

repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder>

getMetadata()

public ResponseMetadata getMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.ResponseMetadata metadata = 7;

Returns
TypeDescription
ResponseMetadata

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;

Returns
TypeDescription
ResponseMetadataOrBuilder

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;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<SearchJobsResponse> getParserForType()
Returns
TypeDescription
Parser<SearchJobsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSpellCorrection()

public SpellingCorrection getSpellCorrection()

The spell checking result, and correction.

.google.cloud.talent.v4.SpellingCorrection spell_correction = 9;

Returns
TypeDescription
SpellingCorrection

The spellCorrection.

getSpellCorrectionOrBuilder()

public SpellingCorrectionOrBuilder getSpellCorrectionOrBuilder()

The spell checking result, and correction.

.google.cloud.talent.v4.SpellingCorrection spell_correction = 9;

Returns
TypeDescription
SpellingCorrectionOrBuilder

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;

Returns
TypeDescription
int

The totalSize.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasMetadata()

public boolean hasMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.ResponseMetadata metadata = 7;

Returns
TypeDescription
boolean

Whether the metadata field is set.

hasSpellCorrection()

public boolean hasSpellCorrection()

The spell checking result, and correction.

.google.cloud.talent.v4.SpellingCorrection spell_correction = 9;

Returns
TypeDescription
boolean

Whether the spellCorrection field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SearchJobsResponse.Builder newBuilderForType()
Returns
TypeDescription
SearchJobsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchJobsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SearchJobsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SearchJobsResponse.Builder toBuilder()
Returns
TypeDescription
SearchJobsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException