Skip to content

Commit b1e181e

Browse files
docs: [jobs] marking keyword_searchable_job_custom_attributes on the company object as deprecated (#8739)
- [ ] Regenerate this pull request now. --- docs: marking company_size histogram facet as deprecated PiperOrigin-RevId: 486780805 Source-Link: https://togithub.com/googleapis/googleapis/commit/dbfdaa98937785ae4027631592b0755ced7c4aac Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/f72d409eabb57581b49d6b930fb5e684e1602258 Copy-Tag: eyJwIjoiamF2YS10YWxlbnQvLk93bEJvdC55YW1sIiwiaCI6ImY3MmQ0MDllYWJiNTc1ODFiNDlkNmI5MzBmYjVlNjg0ZTE2MDIyNTgifQ== BEGIN_NESTED_COMMIT docs: [jobs] marking keyword_searchable_job_custom_attributes on the company object as deprecated --- docs: marking company_size histogram facet as deprecated PiperOrigin-RevId: 486780715 Source-Link: https://togithub.com/googleapis/googleapis/commit/737555f00997fb0e60336c452a6922c5cb8c060a Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/d4bac364a85a02e78b91d57ed0de17aaab1bc621 Copy-Tag: eyJwIjoiamF2YS10YWxlbnQvLk93bEJvdC55YW1sIiwiaCI6ImQ0YmFjMzY0YTg1YTAyZTc4YjkxZDU3ZWQwZGUxN2FhYWIxYmM2MjEifQ== END_NESTED_COMMIT
1 parent 0f2a881 commit b1e181e

File tree

14 files changed

+373
-179
lines changed

14 files changed

+373
-179
lines changed

java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java

Lines changed: 87 additions & 13 deletions
Large diffs are not rendered by default.

java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ public interface CompanyOrBuilder
299299
*
300300
*
301301
* <pre>
302+
* This field is deprecated. Please set the searchability of the custom
303+
* attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
302304
* A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
303305
* corresponding `string_values` are used in keyword searches. Jobs with
304306
* `string_values` under these specified field keys are returned if any
@@ -307,15 +309,20 @@ public interface CompanyOrBuilder
307309
* and those keyword queries must be surrounded by quotes.
308310
* </pre>
309311
*
310-
* <code>repeated string keyword_searchable_job_custom_attributes = 11;</code>
312+
* <code>repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];</code>
311313
*
314+
* @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is
315+
* deprecated. See google/cloud/talent/v4/company.proto;l=107
312316
* @return A list containing the keywordSearchableJobCustomAttributes.
313317
*/
318+
@java.lang.Deprecated
314319
java.util.List<java.lang.String> getKeywordSearchableJobCustomAttributesList();
315320
/**
316321
*
317322
*
318323
* <pre>
324+
* This field is deprecated. Please set the searchability of the custom
325+
* attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
319326
* A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
320327
* corresponding `string_values` are used in keyword searches. Jobs with
321328
* `string_values` under these specified field keys are returned if any
@@ -324,15 +331,20 @@ public interface CompanyOrBuilder
324331
* and those keyword queries must be surrounded by quotes.
325332
* </pre>
326333
*
327-
* <code>repeated string keyword_searchable_job_custom_attributes = 11;</code>
334+
* <code>repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];</code>
328335
*
336+
* @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is
337+
* deprecated. See google/cloud/talent/v4/company.proto;l=107
329338
* @return The count of keywordSearchableJobCustomAttributes.
330339
*/
340+
@java.lang.Deprecated
331341
int getKeywordSearchableJobCustomAttributesCount();
332342
/**
333343
*
334344
*
335345
* <pre>
346+
* This field is deprecated. Please set the searchability of the custom
347+
* attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
336348
* A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
337349
* corresponding `string_values` are used in keyword searches. Jobs with
338350
* `string_values` under these specified field keys are returned if any
@@ -341,16 +353,21 @@ public interface CompanyOrBuilder
341353
* and those keyword queries must be surrounded by quotes.
342354
* </pre>
343355
*
344-
* <code>repeated string keyword_searchable_job_custom_attributes = 11;</code>
356+
* <code>repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];</code>
345357
*
358+
* @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is
359+
* deprecated. See google/cloud/talent/v4/company.proto;l=107
346360
* @param index The index of the element to return.
347361
* @return The keywordSearchableJobCustomAttributes at the given index.
348362
*/
363+
@java.lang.Deprecated
349364
java.lang.String getKeywordSearchableJobCustomAttributes(int index);
350365
/**
351366
*
352367
*
353368
* <pre>
369+
* This field is deprecated. Please set the searchability of the custom
370+
* attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
354371
* A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
355372
* corresponding `string_values` are used in keyword searches. Jobs with
356373
* `string_values` under these specified field keys are returned if any
@@ -359,11 +376,14 @@ public interface CompanyOrBuilder
359376
* and those keyword queries must be surrounded by quotes.
360377
* </pre>
361378
*
362-
* <code>repeated string keyword_searchable_job_custom_attributes = 11;</code>
379+
* <code>repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];</code>
363380
*
381+
* @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is
382+
* deprecated. See google/cloud/talent/v4/company.proto;l=107
364383
* @param index The index of the value to return.
365384
* @return The bytes of the keywordSearchableJobCustomAttributes at the given index.
366385
*/
386+
@java.lang.Deprecated
367387
com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index);
368388

369389
/**

java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
4848
+ "google.cloud.talent.v4\032\037google/api/field"
4949
+ "_behavior.proto\032\031google/api/resource.pro"
5050
+ "to\032#google/cloud/talent/v4/common.proto\""
51-
+ "\304\004\n\007Company\022\014\n\004name\030\001 \001(\t\022\031\n\014display_nam"
51+
+ "\310\004\n\007Company\022\014\n\004name\030\001 \001(\t\022\031\n\014display_nam"
5252
+ "e\030\002 \001(\tB\003\340A\002\022\030\n\013external_id\030\003 \001(\tB\003\340A\002\0221"
5353
+ "\n\004size\030\004 \001(\0162#.google.cloud.talent.v4.Co"
5454
+ "mpanySize\022\034\n\024headquarters_address\030\005 \001(\t\022"
5555
+ "\025\n\rhiring_agency\030\006 \001(\010\022\020\n\010eeo_text\030\007 \001(\t"
5656
+ "\022\023\n\013website_uri\030\010 \001(\t\022\027\n\017career_site_uri"
57-
+ "\030\t \001(\t\022\021\n\timage_uri\030\n \001(\t\0220\n(keyword_sea"
58-
+ "rchable_job_custom_attributes\030\013 \003(\t\022F\n\014d"
59-
+ "erived_info\030\014 \001(\0132+.google.cloud.talent."
60-
+ "v4.Company.DerivedInfoB\003\340A\003\022\026\n\tsuspended"
61-
+ "\030\r \001(\010B\003\340A\003\032N\n\013DerivedInfo\022?\n\025headquarte"
62-
+ "rs_location\030\001 \001(\0132 .google.cloud.talent."
63-
+ "v4.Location:Y\352AV\n\033jobs.googleapis.com/Co"
64-
+ "mpany\0227projects/{project}/tenants/{tenan"
65-
+ "t}/companies/{company}Bp\n\032com.google.clo"
66-
+ "ud.talent.v4B\014CompanyProtoP\001Z<google.gol"
67-
+ "ang.org/genproto/googleapis/cloud/talent"
68-
+ "/v4;talent\242\002\003CTSb\006proto3"
57+
+ "\030\t \001(\t\022\021\n\timage_uri\030\n \001(\t\0224\n(keyword_sea"
58+
+ "rchable_job_custom_attributes\030\013 \003(\tB\002\030\001\022"
59+
+ "F\n\014derived_info\030\014 \001(\0132+.google.cloud.tal"
60+
+ "ent.v4.Company.DerivedInfoB\003\340A\003\022\026\n\tsuspe"
61+
+ "nded\030\r \001(\010B\003\340A\003\032N\n\013DerivedInfo\022?\n\025headqu"
62+
+ "arters_location\030\001 \001(\0132 .google.cloud.tal"
63+
+ "ent.v4.Location:Y\352AV\n\033jobs.googleapis.co"
64+
+ "m/Company\0227projects/{project}/tenants/{t"
65+
+ "enant}/companies/{company}Bp\n\032com.google"
66+
+ ".cloud.talent.v4B\014CompanyProtoP\001Z<google"
67+
+ ".golang.org/genproto/googleapis/cloud/ta"
68+
+ "lent/v4;talent\242\002\003CTSb\006proto3"
6969
};
7070
descriptor =
7171
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(

0 commit comments

Comments
 (0)