From d62a468d7c76a719285ed0d8ad0c084293ff402d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 25 Aug 2021 16:46:11 -0700 Subject: [PATCH] feat: Add new commute methods in Search APIs (#581) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/cfe23969-ffdc-4497-a8c8-67b3b199aeaa/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) PiperOrigin-RevId: 391131412 Source-Link: https://github.com/googleapis/googleapis/commit/a6c8dc7f72206eaff566f22593213cd9196d2bf2 feat: Add new histogram type 'publish_time_in_day' feat: Support filtering by requisitionId is ListJobs API --- .../cloud/talent/v4/JobServiceClient.java | 12 +- .../google/cloud/talent/v4/CommonProto.java | 11 +- .../google/cloud/talent/v4/CommuteMethod.java | 71 ++++++++++- .../java/com/google/cloud/talent/v4/Job.java | 104 +++++++++++++++ .../google/cloud/talent/v4/JobOrBuilder.java | 32 +++++ .../com/google/cloud/talent/v4/JobQuery.java | 14 +-- .../cloud/talent/v4/JobQueryOrBuilder.java | 4 +- .../cloud/talent/v4/ListJobsRequest.java | 42 +++++-- .../talent/v4/ListJobsRequestOrBuilder.java | 12 +- .../cloud/talent/v4/LocationFilter.java | 119 ++++++++++-------- .../talent/v4/LocationFilterOrBuilder.java | 34 ++--- .../cloud/talent/v4/SearchJobsRequest.java | 115 +++++++++++++---- .../talent/v4/SearchJobsRequestOrBuilder.java | 25 +++- .../proto/google/cloud/talent/v4/common.proto | 13 +- .../google/cloud/talent/v4/filters.proto | 20 +-- .../proto/google/cloud/talent/v4/job.proto | 9 ++ .../google/cloud/talent/v4/job_service.proto | 12 +- synth.metadata | 8 +- 18 files changed, 525 insertions(+), 132 deletions(-) diff --git a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java index abe1c0f2..4f219b50 100644 --- a/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java +++ b/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java @@ -976,16 +976,20 @@ public final UnaryCallable batchDeleteJobsCal *

Supported operator: =, AND *

The fields eligible for filtering are: *

+ *

At least one of `companyName` and `requisitionId` must present or an INVALID_ARGUMENT + * error is thrown. *

Sample Query: *

* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -1022,16 +1026,20 @@ public final ListJobsPagedResponse listJobs(TenantName parent, String filter) { *

Supported operator: =, AND *

The fields eligible for filtering are: *

+ *

At least one of `companyName` and `requisitionId` must present or an INVALID_ARGUMENT + * error is thrown. *

Sample Query: *

* * @throws com.google.api.gax.rpc.ApiException if the remote call fails diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java index d4ca8c52..a9062992 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java @@ -209,12 +209,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_PUBLIC\020\003\032\002\030\001*q\n\020HtmlSanitization\022!\n\035HTM" + "L_SANITIZATION_UNSPECIFIED\020\000\022\036\n\032HTML_SAN" + "ITIZATION_DISABLED\020\001\022\032\n\026SIMPLE_FORMATTIN" - + "G_ONLY\020\002*I\n\rCommuteMethod\022\036\n\032COMMUTE_MET" + + "G_ONLY\020\002*{\n\rCommuteMethod\022\036\n\032COMMUTE_MET" + "HOD_UNSPECIFIED\020\000\022\013\n\007DRIVING\020\001\022\013\n\007TRANSI" - + "T\020\002Bo\n\032com.google.cloud.talent.v4B\013Commo" - + "nProtoP\001Z - * Method for commute. + * Method for commute. Walking, biking and wheelchair accessible transit is + * still in the Preview stage. * * * Protobuf enum {@code google.cloud.talent.v4.CommuteMethod} @@ -59,6 +60,37 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { * TRANSIT = 2; */ TRANSIT(2), + /** + * + * + *
+   * Commute time is calculated based on walking time.
+   * 
+ * + * WALKING = 3; + */ + WALKING(3), + /** + * + * + *
+   * Commute time is calculated based on biking time.
+   * 
+ * + * CYCLING = 4; + */ + CYCLING(4), + /** + * + * + *
+   * Commute time is calculated based on public transit that is wheelchair
+   * accessible.
+   * 
+ * + * TRANSIT_ACCESSIBLE = 5; + */ + TRANSIT_ACCESSIBLE(5), UNRECOGNIZED(-1), ; @@ -93,6 +125,37 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { * TRANSIT = 2; */ public static final int TRANSIT_VALUE = 2; + /** + * + * + *
+   * Commute time is calculated based on walking time.
+   * 
+ * + * WALKING = 3; + */ + public static final int WALKING_VALUE = 3; + /** + * + * + *
+   * Commute time is calculated based on biking time.
+   * 
+ * + * CYCLING = 4; + */ + public static final int CYCLING_VALUE = 4; + /** + * + * + *
+   * Commute time is calculated based on public transit that is wheelchair
+   * accessible.
+   * 
+ * + * TRANSIT_ACCESSIBLE = 5; + */ + public static final int TRANSIT_ACCESSIBLE_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -124,6 +187,12 @@ public static CommuteMethod forNumber(int value) { return DRIVING; case 2: return TRANSIT; + case 3: + return WALKING; + case 4: + return CYCLING; + case 5: + return TRANSIT_ACCESSIBLE; default: return null; } diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java index bb472dfe..28670032 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java @@ -4544,6 +4544,14 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -4570,6 +4578,14 @@ public com.google.protobuf.ProtocolStringList getAddressesList() { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -4596,6 +4612,14 @@ public int getAddressesCount() { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -4623,6 +4647,14 @@ public java.lang.String getAddresses(int index) { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -7880,6 +7912,14 @@ private void ensureAddressesIsMutable() { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -7906,6 +7946,14 @@ public com.google.protobuf.ProtocolStringList getAddressesList() { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -7932,6 +7980,14 @@ public int getAddressesCount() { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -7959,6 +8015,14 @@ public java.lang.String getAddresses(int index) { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -7986,6 +8050,14 @@ public com.google.protobuf.ByteString getAddressesBytes(int index) { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -8020,6 +8092,14 @@ public Builder setAddresses(int index, java.lang.String value) { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -8053,6 +8133,14 @@ public Builder addAddresses(java.lang.String value) { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -8083,6 +8171,14 @@ public Builder addAllAddresses(java.lang.Iterable values) { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -8112,6 +8208,14 @@ public Builder clearAddresses() { * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java index 0789cd75..e26641f8 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java @@ -214,6 +214,14 @@ public interface JobOrBuilder * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -238,6 +246,14 @@ public interface JobOrBuilder * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -262,6 +278,14 @@ public interface JobOrBuilder * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * @@ -287,6 +311,14 @@ public interface JobOrBuilder * be preserved, a custom field should be used for storage. It is also * suggested to group the locations that close to each other in the same job * for better search experience. + * Jobs with multiple addresses must have their addresses with the same + * [LocationType][] to allow location filtering to work properly. (For + * example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + * CA, USA" and "London, UK" may not have location filters applied correctly + * at search time since the first is a [LocationType.STREET_ADDRESS][] and the + * second is a [LocationType.LOCALITY][].) If a job needs to have multiple + * addresses, it is suggested to split it into multiple jobs with same + * LocationTypes. * The maximum number of allowed characters is 500. * * diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQuery.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQuery.java index 75fe4027..42392cad 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQuery.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQuery.java @@ -967,7 +967,7 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil * Boolean expressions (AND/OR/NOT) are supported up to 3 levels of * nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 * comparisons or functions are allowed in the expression. The expression - * must be < 6000 bytes in length. + * must be < 10000 bytes in length. * Sample Query: * `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND * driving_years > 10` @@ -1006,7 +1006,7 @@ public java.lang.String getCustomAttributeFilter() { * Boolean expressions (AND/OR/NOT) are supported up to 3 levels of * nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 * comparisons or functions are allowed in the expression. The expression - * must be < 6000 bytes in length. + * must be < 10000 bytes in length. * Sample Query: * `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND * driving_years > 10` @@ -4041,7 +4041,7 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil * Boolean expressions (AND/OR/NOT) are supported up to 3 levels of * nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 * comparisons or functions are allowed in the expression. The expression - * must be < 6000 bytes in length. + * must be < 10000 bytes in length. * Sample Query: * `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND * driving_years > 10` @@ -4079,7 +4079,7 @@ public java.lang.String getCustomAttributeFilter() { * Boolean expressions (AND/OR/NOT) are supported up to 3 levels of * nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 * comparisons or functions are allowed in the expression. The expression - * must be < 6000 bytes in length. + * must be < 10000 bytes in length. * Sample Query: * `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND * driving_years > 10` @@ -4117,7 +4117,7 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { * Boolean expressions (AND/OR/NOT) are supported up to 3 levels of * nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 * comparisons or functions are allowed in the expression. The expression - * must be < 6000 bytes in length. + * must be < 10000 bytes in length. * Sample Query: * `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND * driving_years > 10` @@ -4154,7 +4154,7 @@ public Builder setCustomAttributeFilter(java.lang.String value) { * Boolean expressions (AND/OR/NOT) are supported up to 3 levels of * nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 * comparisons or functions are allowed in the expression. The expression - * must be < 6000 bytes in length. + * must be < 10000 bytes in length. * Sample Query: * `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND * driving_years > 10` @@ -4187,7 +4187,7 @@ public Builder clearCustomAttributeFilter() { * Boolean expressions (AND/OR/NOT) are supported up to 3 levels of * nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 * comparisons or functions are allowed in the expression. The expression - * must be < 6000 bytes in length. + * must be < 10000 bytes in length. * Sample Query: * `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND * driving_years > 10` diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java index e44c8b86..082bfc90 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java @@ -533,7 +533,7 @@ public interface JobQueryOrBuilder * Boolean expressions (AND/OR/NOT) are supported up to 3 levels of * nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 * comparisons or functions are allowed in the expression. The expression - * must be < 6000 bytes in length. + * must be < 10000 bytes in length. * Sample Query: * `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND * driving_years > 10` @@ -561,7 +561,7 @@ public interface JobQueryOrBuilder * Boolean expressions (AND/OR/NOT) are supported up to 3 levels of * nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 * comparisons or functions are allowed in the expression. The expression - * must be < 6000 bytes in length. + * must be < 10000 bytes in length. * Sample Query: * `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND * driving_years > 10` diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java index 7f22de40..e9067bba 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java @@ -206,16 +206,20 @@ public com.google.protobuf.ByteString getParentBytes() { * Required. The filter string specifies the jobs to be enumerated. * Supported operator: =, AND * The fields eligible for filtering are: - * * `companyName` (Required) + * * `companyName` * * `requisitionId` * * `status` Available values: OPEN, EXPIRED, ALL. Defaults to * OPEN if no value is specified. + * At least one of `companyName` and `requisitionId` must present or an + * INVALID_ARGUMENT error is thrown. * Sample Query: * * companyName = "projects/foo/tenants/bar/companies/baz" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * requisitionId = "req-1" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * status = "EXPIRED" + * * requisitionId = "req-1" + * * requisitionId = "req-1" AND status = "EXPIRED" * * * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -241,16 +245,20 @@ public java.lang.String getFilter() { * Required. The filter string specifies the jobs to be enumerated. * Supported operator: =, AND * The fields eligible for filtering are: - * * `companyName` (Required) + * * `companyName` * * `requisitionId` * * `status` Available values: OPEN, EXPIRED, ALL. Defaults to * OPEN if no value is specified. + * At least one of `companyName` and `requisitionId` must present or an + * INVALID_ARGUMENT error is thrown. * Sample Query: * * companyName = "projects/foo/tenants/bar/companies/baz" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * requisitionId = "req-1" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * status = "EXPIRED" + * * requisitionId = "req-1" + * * requisitionId = "req-1" AND status = "EXPIRED" * * * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -892,16 +900,20 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * Required. The filter string specifies the jobs to be enumerated. * Supported operator: =, AND * The fields eligible for filtering are: - * * `companyName` (Required) + * * `companyName` * * `requisitionId` * * `status` Available values: OPEN, EXPIRED, ALL. Defaults to * OPEN if no value is specified. + * At least one of `companyName` and `requisitionId` must present or an + * INVALID_ARGUMENT error is thrown. * Sample Query: * * companyName = "projects/foo/tenants/bar/companies/baz" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * requisitionId = "req-1" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * status = "EXPIRED" + * * requisitionId = "req-1" + * * requisitionId = "req-1" AND status = "EXPIRED" * * * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -926,16 +938,20 @@ public java.lang.String getFilter() { * Required. The filter string specifies the jobs to be enumerated. * Supported operator: =, AND * The fields eligible for filtering are: - * * `companyName` (Required) + * * `companyName` * * `requisitionId` * * `status` Available values: OPEN, EXPIRED, ALL. Defaults to * OPEN if no value is specified. + * At least one of `companyName` and `requisitionId` must present or an + * INVALID_ARGUMENT error is thrown. * Sample Query: * * companyName = "projects/foo/tenants/bar/companies/baz" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * requisitionId = "req-1" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * status = "EXPIRED" + * * requisitionId = "req-1" + * * requisitionId = "req-1" AND status = "EXPIRED" * * * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -960,16 +976,20 @@ public com.google.protobuf.ByteString getFilterBytes() { * Required. The filter string specifies the jobs to be enumerated. * Supported operator: =, AND * The fields eligible for filtering are: - * * `companyName` (Required) + * * `companyName` * * `requisitionId` * * `status` Available values: OPEN, EXPIRED, ALL. Defaults to * OPEN if no value is specified. + * At least one of `companyName` and `requisitionId` must present or an + * INVALID_ARGUMENT error is thrown. * Sample Query: * * companyName = "projects/foo/tenants/bar/companies/baz" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * requisitionId = "req-1" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * status = "EXPIRED" + * * requisitionId = "req-1" + * * requisitionId = "req-1" AND status = "EXPIRED" * * * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -993,16 +1013,20 @@ public Builder setFilter(java.lang.String value) { * Required. The filter string specifies the jobs to be enumerated. * Supported operator: =, AND * The fields eligible for filtering are: - * * `companyName` (Required) + * * `companyName` * * `requisitionId` * * `status` Available values: OPEN, EXPIRED, ALL. Defaults to * OPEN if no value is specified. + * At least one of `companyName` and `requisitionId` must present or an + * INVALID_ARGUMENT error is thrown. * Sample Query: * * companyName = "projects/foo/tenants/bar/companies/baz" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * requisitionId = "req-1" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * status = "EXPIRED" + * * requisitionId = "req-1" + * * requisitionId = "req-1" AND status = "EXPIRED" * * * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1022,16 +1046,20 @@ public Builder clearFilter() { * Required. The filter string specifies the jobs to be enumerated. * Supported operator: =, AND * The fields eligible for filtering are: - * * `companyName` (Required) + * * `companyName` * * `requisitionId` * * `status` Available values: OPEN, EXPIRED, ALL. Defaults to * OPEN if no value is specified. + * At least one of `companyName` and `requisitionId` must present or an + * INVALID_ARGUMENT error is thrown. * Sample Query: * * companyName = "projects/foo/tenants/bar/companies/baz" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * requisitionId = "req-1" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * status = "EXPIRED" + * * requisitionId = "req-1" + * * requisitionId = "req-1" AND status = "EXPIRED" * * * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java index 8c5ba727..75a2e0cb 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java @@ -63,16 +63,20 @@ public interface ListJobsRequestOrBuilder * Required. The filter string specifies the jobs to be enumerated. * Supported operator: =, AND * The fields eligible for filtering are: - * * `companyName` (Required) + * * `companyName` * * `requisitionId` * * `status` Available values: OPEN, EXPIRED, ALL. Defaults to * OPEN if no value is specified. + * At least one of `companyName` and `requisitionId` must present or an + * INVALID_ARGUMENT error is thrown. * Sample Query: * * companyName = "projects/foo/tenants/bar/companies/baz" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * requisitionId = "req-1" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * status = "EXPIRED" + * * requisitionId = "req-1" + * * requisitionId = "req-1" AND status = "EXPIRED" * * * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -87,16 +91,20 @@ public interface ListJobsRequestOrBuilder * Required. The filter string specifies the jobs to be enumerated. * Supported operator: =, AND * The fields eligible for filtering are: - * * `companyName` (Required) + * * `companyName` * * `requisitionId` * * `status` Available values: OPEN, EXPIRED, ALL. Defaults to * OPEN if no value is specified. + * At least one of `companyName` and `requisitionId` must present or an + * INVALID_ARGUMENT error is thrown. * Sample Query: * * companyName = "projects/foo/tenants/bar/companies/baz" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * requisitionId = "req-1" * * companyName = "projects/foo/tenants/bar/companies/baz" AND * status = "EXPIRED" + * * requisitionId = "req-1" + * * requisitionId = "req-1" AND status = "EXPIRED" * * * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java index 982f47fc..0e4a09ca 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java @@ -361,14 +361,17 @@ public com.google.protobuf.ByteString getAddressBytes() { * * *
-   * CLDR region code of the country/region of the address. This is used
-   * to address ambiguity of the user-input location, for example, "Liverpool"
-   * against "Liverpool, NY, US" or "Liverpool, UK".
-   * Set this field to bias location resolution toward a specific country
-   * or territory. If this field is not set, application behavior is biased
-   * toward the United States by default.
+   * CLDR region code of the country/region. This field may be used in two ways:
+   * 1) If telecommute preference is not set, this field is used address
+   * ambiguity of the user-input address. For example, "Liverpool" may refer to
+   * "Liverpool, NY, US" or "Liverpool, UK". This region code biases the
+   * address resolution toward a specific country or territory. If this field is
+   * not set, address resolution is biased toward the United States by default.
+   * 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the
+   * telecommute location filter will be limited to the region specified in this
+   * field. If this field is not set, the telecommute job locations will not be
    * See
-   * https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+   * https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html
    * for details. Example: "CH" for Switzerland.
    * 
* @@ -392,14 +395,17 @@ public java.lang.String getRegionCode() { * * *
-   * CLDR region code of the country/region of the address. This is used
-   * to address ambiguity of the user-input location, for example, "Liverpool"
-   * against "Liverpool, NY, US" or "Liverpool, UK".
-   * Set this field to bias location resolution toward a specific country
-   * or territory. If this field is not set, application behavior is biased
-   * toward the United States by default.
+   * CLDR region code of the country/region. This field may be used in two ways:
+   * 1) If telecommute preference is not set, this field is used address
+   * ambiguity of the user-input address. For example, "Liverpool" may refer to
+   * "Liverpool, NY, US" or "Liverpool, UK". This region code biases the
+   * address resolution toward a specific country or territory. If this field is
+   * not set, address resolution is biased toward the United States by default.
+   * 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the
+   * telecommute location filter will be limited to the region specified in this
+   * field. If this field is not set, the telecommute job locations will not be
    * See
-   * https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+   * https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html
    * for details. Example: "CH" for Switzerland.
    * 
* @@ -1072,14 +1078,17 @@ public Builder setAddressBytes(com.google.protobuf.ByteString value) { * * *
-     * CLDR region code of the country/region of the address. This is used
-     * to address ambiguity of the user-input location, for example, "Liverpool"
-     * against "Liverpool, NY, US" or "Liverpool, UK".
-     * Set this field to bias location resolution toward a specific country
-     * or territory. If this field is not set, application behavior is biased
-     * toward the United States by default.
+     * CLDR region code of the country/region. This field may be used in two ways:
+     * 1) If telecommute preference is not set, this field is used address
+     * ambiguity of the user-input address. For example, "Liverpool" may refer to
+     * "Liverpool, NY, US" or "Liverpool, UK". This region code biases the
+     * address resolution toward a specific country or territory. If this field is
+     * not set, address resolution is biased toward the United States by default.
+     * 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the
+     * telecommute location filter will be limited to the region specified in this
+     * field. If this field is not set, the telecommute job locations will not be
      * See
-     * https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+     * https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html
      * for details. Example: "CH" for Switzerland.
      * 
* @@ -1102,14 +1111,17 @@ public java.lang.String getRegionCode() { * * *
-     * CLDR region code of the country/region of the address. This is used
-     * to address ambiguity of the user-input location, for example, "Liverpool"
-     * against "Liverpool, NY, US" or "Liverpool, UK".
-     * Set this field to bias location resolution toward a specific country
-     * or territory. If this field is not set, application behavior is biased
-     * toward the United States by default.
+     * CLDR region code of the country/region. This field may be used in two ways:
+     * 1) If telecommute preference is not set, this field is used address
+     * ambiguity of the user-input address. For example, "Liverpool" may refer to
+     * "Liverpool, NY, US" or "Liverpool, UK". This region code biases the
+     * address resolution toward a specific country or territory. If this field is
+     * not set, address resolution is biased toward the United States by default.
+     * 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the
+     * telecommute location filter will be limited to the region specified in this
+     * field. If this field is not set, the telecommute job locations will not be
      * See
-     * https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+     * https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html
      * for details. Example: "CH" for Switzerland.
      * 
* @@ -1132,14 +1144,17 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { * * *
-     * CLDR region code of the country/region of the address. This is used
-     * to address ambiguity of the user-input location, for example, "Liverpool"
-     * against "Liverpool, NY, US" or "Liverpool, UK".
-     * Set this field to bias location resolution toward a specific country
-     * or territory. If this field is not set, application behavior is biased
-     * toward the United States by default.
+     * CLDR region code of the country/region. This field may be used in two ways:
+     * 1) If telecommute preference is not set, this field is used address
+     * ambiguity of the user-input address. For example, "Liverpool" may refer to
+     * "Liverpool, NY, US" or "Liverpool, UK". This region code biases the
+     * address resolution toward a specific country or territory. If this field is
+     * not set, address resolution is biased toward the United States by default.
+     * 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the
+     * telecommute location filter will be limited to the region specified in this
+     * field. If this field is not set, the telecommute job locations will not be
      * See
-     * https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+     * https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html
      * for details. Example: "CH" for Switzerland.
      * 
* @@ -1161,14 +1176,17 @@ public Builder setRegionCode(java.lang.String value) { * * *
-     * CLDR region code of the country/region of the address. This is used
-     * to address ambiguity of the user-input location, for example, "Liverpool"
-     * against "Liverpool, NY, US" or "Liverpool, UK".
-     * Set this field to bias location resolution toward a specific country
-     * or territory. If this field is not set, application behavior is biased
-     * toward the United States by default.
+     * CLDR region code of the country/region. This field may be used in two ways:
+     * 1) If telecommute preference is not set, this field is used address
+     * ambiguity of the user-input address. For example, "Liverpool" may refer to
+     * "Liverpool, NY, US" or "Liverpool, UK". This region code biases the
+     * address resolution toward a specific country or territory. If this field is
+     * not set, address resolution is biased toward the United States by default.
+     * 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the
+     * telecommute location filter will be limited to the region specified in this
+     * field. If this field is not set, the telecommute job locations will not be
      * See
-     * https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+     * https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html
      * for details. Example: "CH" for Switzerland.
      * 
* @@ -1186,14 +1204,17 @@ public Builder clearRegionCode() { * * *
-     * CLDR region code of the country/region of the address. This is used
-     * to address ambiguity of the user-input location, for example, "Liverpool"
-     * against "Liverpool, NY, US" or "Liverpool, UK".
-     * Set this field to bias location resolution toward a specific country
-     * or territory. If this field is not set, application behavior is biased
-     * toward the United States by default.
+     * CLDR region code of the country/region. This field may be used in two ways:
+     * 1) If telecommute preference is not set, this field is used address
+     * ambiguity of the user-input address. For example, "Liverpool" may refer to
+     * "Liverpool, NY, US" or "Liverpool, UK". This region code biases the
+     * address resolution toward a specific country or territory. If this field is
+     * not set, address resolution is biased toward the United States by default.
+     * 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the
+     * telecommute location filter will be limited to the region specified in this
+     * field. If this field is not set, the telecommute job locations will not be
      * See
-     * https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+     * https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html
      * for details. Example: "CH" for Switzerland.
      * 
* diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java index f1eb5418..6aa864ad 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java @@ -52,14 +52,17 @@ public interface LocationFilterOrBuilder * * *
-   * CLDR region code of the country/region of the address. This is used
-   * to address ambiguity of the user-input location, for example, "Liverpool"
-   * against "Liverpool, NY, US" or "Liverpool, UK".
-   * Set this field to bias location resolution toward a specific country
-   * or territory. If this field is not set, application behavior is biased
-   * toward the United States by default.
+   * CLDR region code of the country/region. This field may be used in two ways:
+   * 1) If telecommute preference is not set, this field is used address
+   * ambiguity of the user-input address. For example, "Liverpool" may refer to
+   * "Liverpool, NY, US" or "Liverpool, UK". This region code biases the
+   * address resolution toward a specific country or territory. If this field is
+   * not set, address resolution is biased toward the United States by default.
+   * 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the
+   * telecommute location filter will be limited to the region specified in this
+   * field. If this field is not set, the telecommute job locations will not be
    * See
-   * https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+   * https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html
    * for details. Example: "CH" for Switzerland.
    * 
* @@ -72,14 +75,17 @@ public interface LocationFilterOrBuilder * * *
-   * CLDR region code of the country/region of the address. This is used
-   * to address ambiguity of the user-input location, for example, "Liverpool"
-   * against "Liverpool, NY, US" or "Liverpool, UK".
-   * Set this field to bias location resolution toward a specific country
-   * or territory. If this field is not set, application behavior is biased
-   * toward the United States by default.
+   * CLDR region code of the country/region. This field may be used in two ways:
+   * 1) If telecommute preference is not set, this field is used address
+   * ambiguity of the user-input address. For example, "Liverpool" may refer to
+   * "Liverpool, NY, US" or "Liverpool, UK". This region code biases the
+   * address resolution toward a specific country or territory. If this field is
+   * not set, address resolution is biased toward the United States by default.
+   * 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the
+   * telecommute location filter will be limited to the region specified in this
+   * field. If this field is not set, the telecommute job locations will not be
    * See
-   * https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+   * https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html
    * for details. Example: "CH" for Switzerland.
    * 
* diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java index 90b21f02..ba0757b4 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java @@ -2152,6 +2152,9 @@ public boolean getEnableBroadening() { * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -2203,7 +2206,7 @@ public boolean getEnableBroadening() { * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -2243,6 +2246,9 @@ public java.util.List getHistogramQue * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -2294,7 +2300,7 @@ public java.util.List getHistogramQue * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -2335,6 +2341,9 @@ public java.util.List getHistogramQue * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -2386,7 +2395,7 @@ public java.util.List getHistogramQue * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -2426,6 +2435,9 @@ public int getHistogramQueriesCount() { * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -2477,7 +2489,7 @@ public int getHistogramQueriesCount() { * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -2517,6 +2529,9 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index) * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -2568,7 +2583,7 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index) * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -4349,6 +4364,9 @@ private void ensureHistogramQueriesIsMutable() { * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -4400,7 +4418,7 @@ private void ensureHistogramQueriesIsMutable() { * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -4443,6 +4461,9 @@ public java.util.List getHistogramQue * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -4494,7 +4515,7 @@ public java.util.List getHistogramQue * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -4537,6 +4558,9 @@ public int getHistogramQueriesCount() { * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -4588,7 +4612,7 @@ public int getHistogramQueriesCount() { * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -4631,6 +4655,9 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index) * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -4682,7 +4709,7 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index) * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -4731,6 +4758,9 @@ public Builder setHistogramQueries(int index, com.google.cloud.talent.v4.Histogr * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -4782,7 +4812,7 @@ public Builder setHistogramQueries(int index, com.google.cloud.talent.v4.Histogr * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -4829,6 +4859,9 @@ public Builder setHistogramQueries( * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -4880,7 +4913,7 @@ public Builder setHistogramQueries( * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -4929,6 +4962,9 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4.HistogramQuery val * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -4980,7 +5016,7 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4.HistogramQuery val * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -5029,6 +5065,9 @@ public Builder addHistogramQueries(int index, com.google.cloud.talent.v4.Histogr * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -5080,7 +5119,7 @@ public Builder addHistogramQueries(int index, com.google.cloud.talent.v4.Histogr * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -5127,6 +5166,9 @@ public Builder addHistogramQueries( * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -5178,7 +5220,7 @@ public Builder addHistogramQueries( * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -5225,6 +5267,9 @@ public Builder addHistogramQueries( * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -5276,7 +5321,7 @@ public Builder addHistogramQueries( * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -5323,6 +5368,9 @@ public Builder addAllHistogramQueries( * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -5374,7 +5422,7 @@ public Builder addAllHistogramQueries( * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -5420,6 +5468,9 @@ public Builder clearHistogramQueries() { * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -5471,7 +5522,7 @@ public Builder clearHistogramQueries() { * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -5517,6 +5568,9 @@ public Builder removeHistogramQueries(int index) { * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -5568,7 +5622,7 @@ public Builder removeHistogramQueries(int index) { * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -5607,6 +5661,9 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuil * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -5658,7 +5715,7 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuil * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -5702,6 +5759,9 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -5753,7 +5813,7 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -5797,6 +5857,9 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -5848,7 +5911,7 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -5888,6 +5951,9 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -5939,7 +6005,7 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -5979,6 +6045,9 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -6030,7 +6099,7 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java index 503e0d2d..c367297e 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java @@ -212,6 +212,9 @@ public interface SearchJobsRequestOrBuilder * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -263,7 +266,7 @@ public interface SearchJobsRequestOrBuilder * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -300,6 +303,9 @@ public interface SearchJobsRequestOrBuilder * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -351,7 +357,7 @@ public interface SearchJobsRequestOrBuilder * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -388,6 +394,9 @@ public interface SearchJobsRequestOrBuilder * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -439,7 +448,7 @@ public interface SearchJobsRequestOrBuilder * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -476,6 +485,9 @@ public interface SearchJobsRequestOrBuilder * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -527,7 +539,7 @@ public interface SearchJobsRequestOrBuilder * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; @@ -565,6 +577,9 @@ public interface SearchJobsRequestOrBuilder * "FULL_TIME", "PART_TIME". * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", * "MEDIUM", "BIG". + * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + * in days. + * Must specify list of numeric buckets in spec. * * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] * in months. * Must specify list of numeric buckets in spec. @@ -616,7 +631,7 @@ public interface SearchJobsRequestOrBuilder * bucket(100000, MAX)])` * * `count(string_custom_attribute["some-string-custom-attribute"])` * * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + * [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` * * * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7; diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto index d187a17f..d43e013f 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto @@ -404,7 +404,8 @@ enum HtmlSanitization { SIMPLE_FORMATTING_ONLY = 2; } -// Method for commute. +// Method for commute. Walking, biking and wheelchair accessible transit is +// still in the Preview stage. enum CommuteMethod { // Commute method isn't specified. COMMUTE_METHOD_UNSPECIFIED = 0; @@ -415,6 +416,16 @@ enum CommuteMethod { // Commute time is calculated based on public transit including bus, metro, // subway, and so on. TRANSIT = 2; + + // Commute time is calculated based on walking time. + WALKING = 3; + + // Commute time is calculated based on biking time. + CYCLING = 4; + + // Commute time is calculated based on public transit that is wheelchair + // accessible. + TRANSIT_ACCESSIBLE = 5; } // A resource that represents a location with full geographic information. diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto index a0063cab..5ead1a7c 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto @@ -131,7 +131,7 @@ message JobQuery { // Boolean expressions (AND/OR/NOT) are supported up to 3 levels of // nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 // comparisons or functions are allowed in the expression. The expression - // must be < 6000 bytes in length. + // must be < 10000 bytes in length. // // Sample Query: // `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND @@ -196,16 +196,20 @@ message LocationFilter { // The address name, such as "Mountain View" or "Bay Area". string address = 1; - // CLDR region code of the country/region of the address. This is used - // to address ambiguity of the user-input location, for example, "Liverpool" - // against "Liverpool, NY, US" or "Liverpool, UK". + // CLDR region code of the country/region. This field may be used in two ways: // - // Set this field to bias location resolution toward a specific country - // or territory. If this field is not set, application behavior is biased - // toward the United States by default. + // 1) If telecommute preference is not set, this field is used address + // ambiguity of the user-input address. For example, "Liverpool" may refer to + // "Liverpool, NY, US" or "Liverpool, UK". This region code biases the + // address resolution toward a specific country or territory. If this field is + // not set, address resolution is biased toward the United States by default. + // + // 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the + // telecommute location filter will be limited to the region specified in this + // field. If this field is not set, the telecommute job locations will not be // // See - // https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html + // https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html // for details. Example: "CH" for Switzerland. string region_code = 2; diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto index 4c24f430..f3a3a277 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto @@ -161,6 +161,15 @@ message Job { // suggested to group the locations that close to each other in the same job // for better search experience. // + // Jobs with multiple addresses must have their addresses with the same + // [LocationType][] to allow location filtering to work properly. (For + // example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, + // CA, USA" and "London, UK" may not have location filters applied correctly + // at search time since the first is a [LocationType.STREET_ADDRESS][] and the + // second is a [LocationType.LOCALITY][].) If a job needs to have multiple + // addresses, it is suggested to split it into multiple jobs with same + // LocationTypes. + // // The maximum number of allowed characters is 500. repeated string addresses = 6; diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto index 37642927..beb80176 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto @@ -246,11 +246,14 @@ message ListJobsRequest { // // The fields eligible for filtering are: // - // * `companyName` (Required) + // * `companyName` // * `requisitionId` // * `status` Available values: OPEN, EXPIRED, ALL. Defaults to // OPEN if no value is specified. // + // At least one of `companyName` and `requisitionId` must present or an + // INVALID_ARGUMENT error is thrown. + // // Sample Query: // // * companyName = "projects/foo/tenants/bar/companies/baz" @@ -258,6 +261,8 @@ message ListJobsRequest { // requisitionId = "req-1" // * companyName = "projects/foo/tenants/bar/companies/baz" AND // status = "EXPIRED" + // * requisitionId = "req-1" + // * requisitionId = "req-1" AND status = "EXPIRED" string filter = 2 [(google.api.field_behavior) = REQUIRED]; // The starting point of a query result. @@ -501,6 +506,9 @@ message SearchJobsRequest { // "FULL_TIME", "PART_TIME". // * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", // "MEDIUM", "BIG". + // * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] + // in days. + // Must specify list of numeric buckets in spec. // * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] // in months. // Must specify list of numeric buckets in spec. @@ -554,7 +562,7 @@ message SearchJobsRequest { // bucket(100000, MAX)])` // * `count(string_custom_attribute["some-string-custom-attribute"])` // * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - // [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` + // [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])` repeated HistogramQuery histogram_queries = 7; // The desired job attributes returned for jobs in the search response. diff --git a/synth.metadata b/synth.metadata index 50c30a71..ee965504 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,16 +11,16 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "d9eaf41de44d953458b18712a3f240bb4c564e48", - "internalRef": "388535346" + "sha": "a6c8dc7f72206eaff566f22593213cd9196d2bf2", + "internalRef": "391131412" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "d9eaf41de44d953458b18712a3f240bb4c564e48", - "internalRef": "388535346" + "sha": "a6c8dc7f72206eaff566f22593213cd9196d2bf2", + "internalRef": "391131412" } }, {