public final class SearchJobsResponse extends GeneratedMessageV3 implements SearchJobsResponseOrBuilder
Response for SearchJob method.
Protobuf type google.cloud.talent.v4.SearchJobsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER
public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER
public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LOCATION_FILTERS_FIELD_NUMBER
public static final int LOCATION_FILTERS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MATCHING_JOBS_FIELD_NUMBER
public static final int MATCHING_JOBS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int METADATA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SPELL_CORRECTION_FIELD_NUMBER
public static final int SPELL_CORRECTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TOTAL_SIZE_FIELD_NUMBER
public static final int TOTAL_SIZE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SearchJobsResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SearchJobsResponse.Builder newBuilder()
newBuilder(SearchJobsResponse prototype)
public static SearchJobsResponse.Builder newBuilder(SearchJobsResponse prototype)
public static SearchJobsResponse parseDelimitedFrom(InputStream input)
public static SearchJobsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SearchJobsResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchJobsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SearchJobsResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchJobsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchJobsResponse parseFrom(CodedInputStream input)
public static SearchJobsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchJobsResponse parseFrom(InputStream input)
public static SearchJobsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SearchJobsResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchJobsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SearchJobsResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 |
---|
Type | Description |
int | The broadenedQueryJobsCount.
|
getDefaultInstanceForType()
public SearchJobsResponse getDefaultInstanceForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
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 |
---|
Name | Description |
index | int
|
getMatchingJobsCount()
public int getMatchingJobsCount()
The Job entities that match the specified
SearchJobsRequest.
repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1;
Returns |
---|
Type | Description |
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
List<? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> | |
public ResponseMetadata getMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 7;
public ResponseMetadataOrBuilder getMetadataOrBuilder()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 7;
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 |
---|
Type | Description |
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 |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<SearchJobsResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSpellCorrection()
public SpellingCorrection getSpellCorrection()
The spell checking result, and correction.
.google.cloud.talent.v4.SpellingCorrection spell_correction = 9;
getSpellCorrectionOrBuilder()
public SpellingCorrectionOrBuilder getSpellCorrectionOrBuilder()
The spell checking result, and correction.
.google.cloud.talent.v4.SpellingCorrection spell_correction = 9;
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 |
---|
Type | Description |
int | The totalSize.
|
public boolean hasMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 7;
Returns |
---|
Type | Description |
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 |
---|
Type | Description |
boolean | Whether the spellCorrection field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SearchJobsResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchJobsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SearchJobsResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides