@@ -58,6 +58,7 @@ public final class GeneralSearchSample {
58
58
private static CloudTalentSolution talentSolutionClient =
59
59
JobServiceQuickstart .getTalentSolutionClient ();
60
60
61
+ // [START job_discovery_basic_keyword_search]
61
62
// [START basic_keyword_search]
62
63
63
64
/** Simple search jobs with keyword. */
@@ -95,7 +96,9 @@ public static void basicSearcJobs(String companyName, String query)
95
96
System .out .printf ("Simple search jobs results: %s\n " , searchJobsResponse );
96
97
}
97
98
// [END basic_keyword_search]
98
-
99
+ // [END job_discovery_basic_keyword_search]
100
+
101
+ // [START job_discovery_category_filter_search]
99
102
// [START category_filter]
100
103
101
104
/** Search on category filter. */
@@ -133,7 +136,9 @@ public static void categoryFilterSearch(String companyName, List<String> categor
133
136
System .out .printf ("Category search jobs results: %s\n " , searchJobsResponse );
134
137
}
135
138
// [END category_filter]
139
+ // [END job_discovery_category_filter_search]
136
140
141
+ // [START job_discovery_employment_types_filter_search]
137
142
// [START employment_types_filter]
138
143
139
144
/** Search on employment types. */
@@ -171,7 +176,9 @@ public static void employmentTypesSearch(String companyName, List<String> employ
171
176
System .out .printf ("Employee type search jobs results: %s\n " , searchJobsResponse );
172
177
}
173
178
// [END employment_types_filter]
179
+ // [END job_discovery_employment_types_filter_search]
174
180
181
+ // [START job_discovery_date_range_filter_search]
175
182
// [START date_range_filter]
176
183
177
184
/**
@@ -218,7 +225,9 @@ public static void dateRangeSearch(String companyName, String startTime, String
218
225
System .out .printf ("Search results on jobs with a date range: %s\n " , searchJobsResponse );
219
226
}
220
227
// [END date_range_filter]
228
+ // [END job_discovery_date_range_filter_search]
221
229
230
+ // [START job_discovery_language_code_filter_search]
222
231
// [START language_code_filter]
223
232
224
233
/** Search on language codes. */
@@ -256,7 +265,9 @@ public static void languageCodeSearch(String companyName, List<String> languageC
256
265
System .out .printf ("Search results on jobs with a language code: %s\n " , searchJobsResponse );
257
266
}
258
267
// [END language_code_filter]
268
+ // [END job_discovery_language_code_filter_search]
259
269
270
+ // [START job_discovery_company_display_name_search]
260
271
// [START company_display_name_filter]
261
272
262
273
/** Search on company display name. */
@@ -294,7 +305,9 @@ public static void companyDisplayNameSearch(String companyName, List<String> com
294
305
System .out .printf ("Search results by display name of company: %s\n " , searchJobsResponse );
295
306
}
296
307
// [END company_display_name_filter]
297
-
308
+ // [END job_discovery_company_display_name_search]
309
+
310
+ // [START job_discovery_compensation_search]
298
311
// [START compensation_filter]
299
312
300
313
/** Search on compensation. */
@@ -346,6 +359,7 @@ public static void compensationSearch(String companyName)
346
359
System .out .printf ("Search results by compensation: %s\n " , searchJobsResponse );
347
360
}
348
361
// [END compensation_filter]
362
+ // [END job_discovery_compensation_search]
349
363
350
364
public static void main (String ... args ) throws Exception {
351
365
Company companyToBeCreated = BasicCompanySample .generateCompany ().setDisplayName ("Google" );
0 commit comments