From 87d6cc4e1496adec59f820ea9820553994db02d0 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Sat, 17 Aug 2019 01:00:30 -0700 Subject: [PATCH] Regenerate talent client --- .../cloud/talent/v4beta1/CommonProto.java | 38 +- .../com/google/cloud/talent/v4beta1/Job.java | 42 +- .../cloud/talent/v4beta1/JobOrBuilder.java | 12 +- .../talent/v4beta1/JobResourceProto.java | 60 +- .../cloud/talent/v4beta1/JobServiceProto.java | 289 +++--- .../cloud/talent/v4beta1/LocationFilter.java | 73 +- .../v4beta1/LocationFilterOrBuilder.java | 18 +- .../cloud/talent/v4beta1/ProfileQuery.java | 851 +++++++++++++++++- .../talent/v4beta1/ProfileQueryOrBuilder.java | 185 +++- .../talent/v4beta1/SearchProfilesRequest.java | 28 +- .../SearchProfilesRequestOrBuilder.java | 8 +- .../cloud/talent/v4beta1/Visibility.java | 1 + .../google/cloud/talent/v4beta1/common.proto | 4 + .../google/cloud/talent/v4beta1/filters.proto | 50 +- .../google/cloud/talent/v4beta1/job.proto | 6 +- .../cloud/talent/v4beta1/job_service.proto | 1 - .../talent/v4beta1/profile_service.proto | 4 +- .../google-cloud-talent/synth.metadata | 6 +- 18 files changed, 1362 insertions(+), 314 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java index f98f8810af92..18e0a54a7677 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java @@ -203,27 +203,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "N\020\035\022 \n\034TRANSPORTATION_AND_LOGISTICS\020\036*e\n" + "\rPostingRegion\022\036\n\032POSTING_REGION_UNSPECI" + "FIED\020\000\022\027\n\023ADMINISTRATIVE_AREA\020\001\022\n\n\006NATIO" - + "N\020\002\022\017\n\013TELECOMMUTE\020\003*j\n\nVisibility\022\032\n\026VI" + + "N\020\002\022\017\n\013TELECOMMUTE\020\003*n\n\nVisibility\022\032\n\026VI" + "SIBILITY_UNSPECIFIED\020\000\022\020\n\014ACCOUNT_ONLY\020\001" + "\022\026\n\022SHARED_WITH_GOOGLE\020\002\022\026\n\022SHARED_WITH_" - + "PUBLIC\020\003*Z\n\020ContactInfoUsage\022\"\n\036CONTACT_" - + "INFO_USAGE_UNSPECIFIED\020\000\022\014\n\010PERSONAL\020\001\022\010" - + "\n\004WORK\020\002\022\n\n\006SCHOOL\020\003*q\n\020HtmlSanitization" - + "\022!\n\035HTML_SANITIZATION_UNSPECIFIED\020\000\022\036\n\032H" - + "TML_SANITIZATION_DISABLED\020\001\022\032\n\026SIMPLE_FO" - + "RMATTING_ONLY\020\002*c\n\rCommuteMethod\022\036\n\032COMM" - + "UTE_METHOD_UNSPECIFIED\020\000\022\013\n\007DRIVING\020\001\022\013\n" - + "\007TRANSIT\020\002\022\013\n\007WALKING\020\003\022\013\n\007CYCLING\020\004*\242\001\n" - + "\025SkillProficiencyLevel\022\'\n#SKILL_PROFICIE" - + "NCY_LEVEL_UNSPECIFIED\020\000\022\r\n\tUNSKILLED\020\006\022\031" - + "\n\025FUNDAMENTAL_AWARENESS\020\001\022\n\n\006NOVICE\020\002\022\020\n" - + "\014INTERMEDIATE\020\003\022\014\n\010ADVANCED\020\004\022\n\n\006EXPERT\020" - + "\005*f\n\007Outcome\022\027\n\023OUTCOME_UNSPECIFIED\020\000\022\014\n" - + "\010POSITIVE\020\001\022\013\n\007NEUTRAL\020\002\022\014\n\010NEGATIVE\020\003\022\031" - + "\n\025OUTCOME_NOT_AVAILABLE\020\004By\n\037com.google." - + "cloud.talent.v4beta1B\013CommonProtoP\001ZAgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/talent/v4beta1;talent\242\002\003CTSb\006proto3" + + "PUBLIC\020\003\032\002\030\001*Z\n\020ContactInfoUsage\022\"\n\036CONT" + + "ACT_INFO_USAGE_UNSPECIFIED\020\000\022\014\n\010PERSONAL" + + "\020\001\022\010\n\004WORK\020\002\022\n\n\006SCHOOL\020\003*q\n\020HtmlSanitiza" + + "tion\022!\n\035HTML_SANITIZATION_UNSPECIFIED\020\000\022" + + "\036\n\032HTML_SANITIZATION_DISABLED\020\001\022\032\n\026SIMPL" + + "E_FORMATTING_ONLY\020\002*c\n\rCommuteMethod\022\036\n\032" + + "COMMUTE_METHOD_UNSPECIFIED\020\000\022\013\n\007DRIVING\020" + + "\001\022\013\n\007TRANSIT\020\002\022\013\n\007WALKING\020\003\022\013\n\007CYCLING\020\004" + + "*\242\001\n\025SkillProficiencyLevel\022\'\n#SKILL_PROF" + + "ICIENCY_LEVEL_UNSPECIFIED\020\000\022\r\n\tUNSKILLED" + + "\020\006\022\031\n\025FUNDAMENTAL_AWARENESS\020\001\022\n\n\006NOVICE\020" + + "\002\022\020\n\014INTERMEDIATE\020\003\022\014\n\010ADVANCED\020\004\022\n\n\006EXP" + + "ERT\020\005*f\n\007Outcome\022\027\n\023OUTCOME_UNSPECIFIED\020" + + "\000\022\014\n\010POSITIVE\020\001\022\013\n\007NEUTRAL\020\002\022\014\n\010NEGATIVE" + + "\020\003\022\031\n\025OUTCOME_NOT_AVAILABLE\020\004By\n\037com.goo" + + "gle.cloud.talent.v4beta1B\013CommonProtoP\001Z" + + "Agoogle.golang.org/genproto/googleapis/c" + + "loud/talent/v4beta1;talent\242\002\003CTSb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java index 38d239c4869a..9ed03951eacd 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java @@ -5392,14 +5392,16 @@ public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { * * *
-   * Optional. The visibility of the job.
+   * Deprecated. The job is only visible to the owner.
+   * The visibility of the job.
    * Defaults to
    * [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY]
    * if not specified.
    * 
* - * .google.cloud.talent.v4beta1.Visibility visibility = 21; + * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; */ + @java.lang.Deprecated public int getVisibilityValue() { return visibility_; } @@ -5407,14 +5409,16 @@ public int getVisibilityValue() { * * *
-   * Optional. The visibility of the job.
+   * Deprecated. The job is only visible to the owner.
+   * The visibility of the job.
    * Defaults to
    * [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY]
    * if not specified.
    * 
* - * .google.cloud.talent.v4beta1.Visibility visibility = 21; + * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; */ + @java.lang.Deprecated public com.google.cloud.talent.v4beta1.Visibility getVisibility() { @SuppressWarnings("deprecation") com.google.cloud.talent.v4beta1.Visibility result = @@ -9946,14 +9950,16 @@ public Builder clearPostingRegion() { * * *
-     * Optional. The visibility of the job.
+     * Deprecated. The job is only visible to the owner.
+     * The visibility of the job.
      * Defaults to
      * [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY]
      * if not specified.
      * 
* - * .google.cloud.talent.v4beta1.Visibility visibility = 21; + * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; */ + @java.lang.Deprecated public int getVisibilityValue() { return visibility_; } @@ -9961,14 +9967,16 @@ public int getVisibilityValue() { * * *
-     * Optional. The visibility of the job.
+     * Deprecated. The job is only visible to the owner.
+     * The visibility of the job.
      * Defaults to
      * [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY]
      * if not specified.
      * 
* - * .google.cloud.talent.v4beta1.Visibility visibility = 21; + * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; */ + @java.lang.Deprecated public Builder setVisibilityValue(int value) { visibility_ = value; onChanged(); @@ -9978,14 +9986,16 @@ public Builder setVisibilityValue(int value) { * * *
-     * Optional. The visibility of the job.
+     * Deprecated. The job is only visible to the owner.
+     * The visibility of the job.
      * Defaults to
      * [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY]
      * if not specified.
      * 
* - * .google.cloud.talent.v4beta1.Visibility visibility = 21; + * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; */ + @java.lang.Deprecated public com.google.cloud.talent.v4beta1.Visibility getVisibility() { @SuppressWarnings("deprecation") com.google.cloud.talent.v4beta1.Visibility result = @@ -9996,14 +10006,16 @@ public com.google.cloud.talent.v4beta1.Visibility getVisibility() { * * *
-     * Optional. The visibility of the job.
+     * Deprecated. The job is only visible to the owner.
+     * The visibility of the job.
      * Defaults to
      * [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY]
      * if not specified.
      * 
* - * .google.cloud.talent.v4beta1.Visibility visibility = 21; + * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; */ + @java.lang.Deprecated public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) { if (value == null) { throw new NullPointerException(); @@ -10017,14 +10029,16 @@ public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) { * * *
-     * Optional. The visibility of the job.
+     * Deprecated. The job is only visible to the owner.
+     * The visibility of the job.
      * Defaults to
      * [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY]
      * if not specified.
      * 
* - * .google.cloud.talent.v4beta1.Visibility visibility = 21; + * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; */ + @java.lang.Deprecated public Builder clearVisibility() { visibility_ = 0; diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java index f94f7575b163..c5399ada36d7 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java @@ -857,27 +857,31 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( * * *
-   * Optional. The visibility of the job.
+   * Deprecated. The job is only visible to the owner.
+   * The visibility of the job.
    * Defaults to
    * [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY]
    * if not specified.
    * 
* - * .google.cloud.talent.v4beta1.Visibility visibility = 21; + * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; */ + @java.lang.Deprecated int getVisibilityValue(); /** * * *
-   * Optional. The visibility of the job.
+   * Deprecated. The job is only visible to the owner.
+   * The visibility of the job.
    * Defaults to
    * [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY]
    * if not specified.
    * 
* - * .google.cloud.talent.v4beta1.Visibility visibility = 21; + * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; */ + @java.lang.Deprecated com.google.cloud.talent.v4beta1.Visibility getVisibility(); /** diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java index 9304fcd9eee3..147bc22fb8d2 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java @@ -46,7 +46,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/annotations.proto\032(google/cloud/talent/" + "v4beta1/common.proto\032\037google/protobuf/ti" + "mestamp.proto\032 google/type/postal_addres" - + "s.proto\"\247\016\n\003Job\022\014\n\004name\030\001 \001(\t\022\017\n\007company" + + "s.proto\"\253\016\n\003Job\022\014\n\004name\030\001 \001(\t\022\017\n\007company" + "\030\002 \001(\t\022\026\n\016requisition_id\030\003 \001(\t\022\r\n\005title\030" + "\004 \001(\t\022\023\n\013description\030\005 \001(\t\022\021\n\taddresses\030" + "\006 \003(\t\022J\n\020application_info\030\007 \001(\01320.google" @@ -66,36 +66,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "promotion_value\030\021 \001(\005\022\026\n\016qualifications\030" + "\022 \001(\t\022\030\n\020responsibilities\030\023 \001(\t\022B\n\016posti" + "ng_region\030\024 \001(\0162*.google.cloud.talent.v4" - + "beta1.PostingRegion\022;\n\nvisibility\030\025 \001(\0162" + + "beta1.PostingRegion\022?\n\nvisibility\030\025 \001(\0162" + "\'.google.cloud.talent.v4beta1.Visibility" - + "\0222\n\016job_start_time\030\026 \001(\0132\032.google.protob" - + "uf.Timestamp\0220\n\014job_end_time\030\027 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\0228\n\024posting_publis" - + "h_time\030\030 \001(\0132\032.google.protobuf.Timestamp" - + "\0227\n\023posting_expire_time\030\031 \001(\0132\032.google.p" - + "rotobuf.Timestamp\0227\n\023posting_create_time" - + "\030\032 \001(\0132\032.google.protobuf.Timestamp\0227\n\023po" - + "sting_update_time\030\033 \001(\0132\032.google.protobu" - + "f.Timestamp\022\034\n\024company_display_name\030\034 \001(" - + "\t\022B\n\014derived_info\030\035 \001(\0132,.google.cloud.t" - + "alent.v4beta1.Job.DerivedInfo\022N\n\022process" - + "ing_options\030\036 \001(\01322.google.cloud.talent." - + "v4beta1.Job.ProcessingOptions\032D\n\017Applica" - + "tionInfo\022\016\n\006emails\030\001 \003(\t\022\023\n\013instruction\030" - + "\002 \001(\t\022\014\n\004uris\030\003 \003(\t\032\211\001\n\013DerivedInfo\0228\n\tl" - + "ocations\030\001 \003(\0132%.google.cloud.talent.v4b" - + "eta1.Location\022@\n\016job_categories\030\003 \003(\0162(." - + "google.cloud.talent.v4beta1.JobCategory\032" - + "\210\001\n\021ProcessingOptions\022)\n!disable_street_" - + "address_resolution\030\001 \001(\010\022H\n\021html_sanitiz" - + "ation\030\002 \001(\0162-.google.cloud.talent.v4beta" - + "1.HtmlSanitization\032e\n\025CustomAttributesEn" - + "try\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google" - + ".cloud.talent.v4beta1.CustomAttribute:\0028" - + "\001B~\n\037com.google.cloud.talent.v4beta1B\020Jo" - + "bResourceProtoP\001ZAgoogle.golang.org/genp" - + "roto/googleapis/cloud/talent/v4beta1;tal" - + "ent\242\002\003CTSb\006proto3" + + "B\002\030\001\0222\n\016job_start_time\030\026 \001(\0132\032.google.pr" + + "otobuf.Timestamp\0220\n\014job_end_time\030\027 \001(\0132\032" + + ".google.protobuf.Timestamp\0228\n\024posting_pu" + + "blish_time\030\030 \001(\0132\032.google.protobuf.Times" + + "tamp\0227\n\023posting_expire_time\030\031 \001(\0132\032.goog" + + "le.protobuf.Timestamp\0227\n\023posting_create_" + + "time\030\032 \001(\0132\032.google.protobuf.Timestamp\0227" + + "\n\023posting_update_time\030\033 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022\034\n\024company_display_name\030" + + "\034 \001(\t\022B\n\014derived_info\030\035 \001(\0132,.google.clo" + + "ud.talent.v4beta1.Job.DerivedInfo\022N\n\022pro" + + "cessing_options\030\036 \001(\01322.google.cloud.tal" + + "ent.v4beta1.Job.ProcessingOptions\032D\n\017App" + + "licationInfo\022\016\n\006emails\030\001 \003(\t\022\023\n\013instruct" + + "ion\030\002 \001(\t\022\014\n\004uris\030\003 \003(\t\032\211\001\n\013DerivedInfo\022" + + "8\n\tlocations\030\001 \003(\0132%.google.cloud.talent" + + ".v4beta1.Location\022@\n\016job_categories\030\003 \003(" + + "\0162(.google.cloud.talent.v4beta1.JobCateg" + + "ory\032\210\001\n\021ProcessingOptions\022)\n!disable_str" + + "eet_address_resolution\030\001 \001(\010\022H\n\021html_san" + + "itization\030\002 \001(\0162-.google.cloud.talent.v4" + + "beta1.HtmlSanitization\032e\n\025CustomAttribut" + + "esEntry\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.go" + + "ogle.cloud.talent.v4beta1.CustomAttribut" + + "e:\0028\001B~\n\037com.google.cloud.talent.v4beta1" + + "B\020JobResourceProtoP\001ZAgoogle.golang.org/" + + "genproto/googleapis/cloud/talent/v4beta1" + + ";talent\242\002\003CTSb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java index 9f2e5f7e9f11..e50d8aafc7c9 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java @@ -80,150 +80,149 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n-google/cloud/talent/v4beta1/job_servic" + "e.proto\022\033google.cloud.talent.v4beta1\032\034go" + "ogle/api/annotations.proto\032\027google/api/c" - + "lient.proto\032\'google/cloud/talent/v4beta1" - + "/batch.proto\032(google/cloud/talent/v4beta" - + "1/common.proto\032)google/cloud/talent/v4be" - + "ta1/filters.proto\032+google/cloud/talent/v" - + "4beta1/histogram.proto\032%google/cloud/tal" - + "ent/v4beta1/job.proto\032#google/longrunnin" - + "g/operations.proto\032\031google/protobuf/any." - + "proto\032\036google/protobuf/duration.proto\032\033g" - + "oogle/protobuf/empty.proto\032 google/proto" - + "buf/field_mask.proto\"Q\n\020CreateJobRequest" - + "\022\016\n\006parent\030\001 \001(\t\022-\n\003job\030\002 \001(\0132 .google.c" - + "loud.talent.v4beta1.Job\"\035\n\rGetJobRequest" - + "\022\014\n\004name\030\001 \001(\t\"r\n\020UpdateJobRequest\022-\n\003jo" - + "b\030\001 \001(\0132 .google.cloud.talent.v4beta1.Jo" - + "b\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" - + ".FieldMask\" \n\020DeleteJobRequest\022\014\n\004name\030\001" - + " \001(\t\"8\n\026BatchDeleteJobsRequest\022\016\n\006parent" - + "\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\"\220\001\n\017ListJobsReque" - + "st\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\022\n\npa" - + "ge_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\0226\n\010job" - + "_view\030\005 \001(\0162$.google.cloud.talent.v4beta" - + "1.JobView\"\234\001\n\020ListJobsResponse\022.\n\004jobs\030\001" - + " \003(\0132 .google.cloud.talent.v4beta1.Job\022\027" - + "\n\017next_page_token\030\002 \001(\t\022?\n\010metadata\030\003 \001(" - + "\0132-.google.cloud.talent.v4beta1.Response" - + "Metadata\"\240\t\n\021SearchJobsRequest\022\016\n\006parent" - + "\030\001 \001(\t\022N\n\013search_mode\030\002 \001(\01629.google.clo" - + "ud.talent.v4beta1.SearchJobsRequest.Sear" - + "chMode\022F\n\020request_metadata\030\003 \001(\0132,.googl" - + "e.cloud.talent.v4beta1.RequestMetadata\0228" - + "\n\tjob_query\030\004 \001(\0132%.google.cloud.talent." - + "v4beta1.JobQuery\022\031\n\021enable_broadening\030\005 " - + "\001(\010\022#\n\033require_precise_result_size\030\006 \001(\010" - + "\022F\n\021histogram_queries\030\007 \003(\0132+.google.clo" - + "ud.talent.v4beta1.HistogramQuery\0226\n\010job_" - + "view\030\010 \001(\0162$.google.cloud.talent.v4beta1" - + ".JobView\022\016\n\006offset\030\t \001(\005\022\021\n\tpage_size\030\n " - + "\001(\005\022\022\n\npage_token\030\013 \001(\t\022\020\n\010order_by\030\014 \001(" - + "\t\022b\n\025diversification_level\030\r \001(\0162C.googl" - + "e.cloud.talent.v4beta1.SearchJobsRequest" - + ".DiversificationLevel\022]\n\023custom_ranking_" - + "info\030\016 \001(\0132@.google.cloud.talent.v4beta1" - + ".SearchJobsRequest.CustomRankingInfo\022\035\n\025" - + "disable_keyword_match\030\020 \001(\010\032\220\002\n\021CustomRa" - + "nkingInfo\022j\n\020importance_level\030\001 \001(\0162P.go" - + "ogle.cloud.talent.v4beta1.SearchJobsRequ" - + "est.CustomRankingInfo.ImportanceLevel\022\032\n" - + "\022ranking_expression\030\002 \001(\t\"s\n\017ImportanceL" - + "evel\022 \n\034IMPORTANCE_LEVEL_UNSPECIFIED\020\000\022\010" - + "\n\004NONE\020\001\022\007\n\003LOW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022" - + "\010\n\004HIGH\020\005\022\013\n\007EXTREME\020\006\"R\n\nSearchMode\022\033\n\027" - + "SEARCH_MODE_UNSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020" - + "\001\022\027\n\023FEATURED_JOB_SEARCH\020\002\"W\n\024Diversific" - + "ationLevel\022%\n!DIVERSIFICATION_LEVEL_UNSP" - + "ECIFIED\020\000\022\014\n\010DISABLED\020\001\022\n\n\006SIMPLE\020\002\"\327\006\n\022" - + "SearchJobsResponse\022R\n\rmatching_jobs\030\001 \003(" - + "\0132;.google.cloud.talent.v4beta1.SearchJo" - + "bsResponse.MatchingJob\022R\n\027histogram_quer" - + "y_results\030\002 \003(\01321.google.cloud.talent.v4" - + "beta1.HistogramQueryResult\022\027\n\017next_page_" - + "token\030\003 \001(\t\022?\n\020location_filters\030\004 \003(\0132%." - + "google.cloud.talent.v4beta1.Location\022\034\n\024" - + "estimated_total_size\030\005 \001(\005\022\022\n\ntotal_size" - + "\030\006 \001(\005\022?\n\010metadata\030\007 \001(\0132-.google.cloud." - + "talent.v4beta1.ResponseMetadata\022\"\n\032broad" - + "ened_query_jobs_count\030\010 \001(\005\022I\n\020spell_cor" - + "rection\030\t \001(\0132/.google.cloud.talent.v4be" - + "ta1.SpellingCorrection\032\334\001\n\013MatchingJob\022-" - + "\n\003job\030\001 \001(\0132 .google.cloud.talent.v4beta" - + "1.Job\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_title_" - + "snippet\030\003 \001(\t\022\033\n\023search_text_snippet\030\004 \001" - + "(\t\022Q\n\014commute_info\030\005 \001(\0132;.google.cloud." - + "talent.v4beta1.SearchJobsResponse.Commut" - + "eInfo\032~\n\013CommuteInfo\022;\n\014job_location\030\001 \001" - + "(\0132%.google.cloud.talent.v4beta1.Locatio" - + "n\0222\n\017travel_duration\030\002 \001(\0132\031.google.prot" - + "obuf.Duration\"X\n\026BatchCreateJobsRequest\022" - + "\016\n\006parent\030\001 \001(\t\022.\n\004jobs\030\002 \003(\0132 .google.c" - + "loud.talent.v4beta1.Job\"\211\001\n\026BatchUpdateJ" - + "obsRequest\022\016\n\006parent\030\001 \001(\t\022.\n\004jobs\030\002 \003(\013" - + "2 .google.cloud.talent.v4beta1.Job\022/\n\013up" - + "date_mask\030\003 \001(\0132\032.google.protobuf.FieldM" - + "ask*v\n\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000" - + "\022\024\n\020JOB_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIM" - + "AL\020\002\022\022\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FUL" - + "L\020\0042\220\021\n\nJobService\022\274\001\n\tCreateJob\022-.googl" - + "e.cloud.talent.v4beta1.CreateJobRequest\032" - + " .google.cloud.talent.v4beta1.Job\"^\202\323\344\223\002" - + "X\"+/v4beta1/{parent=projects/*/tenants/*" - + "}/jobs:\001*Z&\"!/v4beta1/{parent=projects/*" - + "}/jobs:\001*\022\260\001\n\006GetJob\022*.google.cloud.tale" - + "nt.v4beta1.GetJobRequest\032 .google.cloud." - + "talent.v4beta1.Job\"X\202\323\344\223\002R\022+/v4beta1/{na" - + "me=projects/*/tenants/*/jobs/*}Z#\022!/v4be" - + "ta1/{name=projects/*/jobs/*}\022\304\001\n\tUpdateJ" - + "ob\022-.google.cloud.talent.v4beta1.UpdateJ" - + "obRequest\032 .google.cloud.talent.v4beta1." - + "Job\"f\202\323\344\223\002`2//v4beta1/{job.name=projects" - + "/*/tenants/*/jobs/*}:\001*Z*2%/v4beta1/{job" - + ".name=projects/*/jobs/*}:\001*\022\254\001\n\tDeleteJo" - + "b\022-.google.cloud.talent.v4beta1.DeleteJo" - + "bRequest\032\026.google.protobuf.Empty\"X\202\323\344\223\002R" - + "*+/v4beta1/{name=projects/*/tenants/*/jo" - + "bs/*}Z#*!/v4beta1/{name=projects/*/jobs/" - + "*}\022\301\001\n\010ListJobs\022,.google.cloud.talent.v4" - + "beta1.ListJobsRequest\032-.google.cloud.tal" - + "ent.v4beta1.ListJobsResponse\"X\202\323\344\223\002R\022+/v" - + "4beta1/{parent=projects/*/tenants/*}/job" - + "sZ#\022!/v4beta1/{parent=projects/*}/jobs\022\323" - + "\001\n\017BatchDeleteJobs\0223.google.cloud.talent" - + ".v4beta1.BatchDeleteJobsRequest\032\026.google" - + ".protobuf.Empty\"s\202\323\344\223\002m\"7/v4beta1/{paren" - + "t=projects/*/tenants/*}/jobs:batchDelete" - + ":\001*Z/\"-/v4beta1/{parent=projects/*}/jobs" - + ":batchDelete\022\333\001\n\nSearchJobs\022..google.clo" - + "ud.talent.v4beta1.SearchJobsRequest\032/.go" - + "ogle.cloud.talent.v4beta1.SearchJobsResp" - + "onse\"l\202\323\344\223\002f\"2/v4beta1/{parent=projects/" - + "*/tenants/*}/jobs:search:\001*Z-\"(/v4beta1/" - + "{parent=projects/*}/jobs:search:\001*\022\363\001\n\022S" - + "earchJobsForAlert\022..google.cloud.talent." - + "v4beta1.SearchJobsRequest\032/.google.cloud" - + ".talent.v4beta1.SearchJobsResponse\"|\202\323\344\223" - + "\002v\":/v4beta1/{parent=projects/*/tenants/" - + "*}/jobs:searchForAlert:\001*Z5\"0/v4beta1/{p" - + "arent=projects/*}/jobs:searchForAlert:\001*" - + "\022\335\001\n\017BatchCreateJobs\0223.google.cloud.tale" - + "nt.v4beta1.BatchCreateJobsRequest\032\035.goog" - + "le.longrunning.Operation\"v\202\323\344\223\002p\"7/v4bet" - + "a1/{parent=projects/*/tenants/*}/jobs:ba" - + "tchCreate:\001*Z2\"-/v4beta1/{parent=project" - + "s/*}/jobs:batchCreate:\001*\022\335\001\n\017BatchUpdate" - + "Jobs\0223.google.cloud.talent.v4beta1.Batch" - + "UpdateJobsRequest\032\035.google.longrunning.O" - + "peration\"v\202\323\344\223\002p\"7/v4beta1/{parent=proje" - + "cts/*/tenants/*}/jobs:batchUpdate:\001*Z2\"-" - + "/v4beta1/{parent=projects/*}/jobs:batchU" - + "pdate:\001*\032l\312A\023jobs.googleapis.com\322AShttps" - + "://www.googleapis.com/auth/cloud-platfor" - + "m,https://www.googleapis.com/auth/jobsB}" - + "\n\037com.google.cloud.talent.v4beta1B\017JobSe" - + "rviceProtoP\001ZAgoogle.golang.org/genproto" - + "/googleapis/cloud/talent/v4beta1;talent\242" - + "\002\003CTSb\006proto3" + + "lient.proto\032(google/cloud/talent/v4beta1" + + "/common.proto\032)google/cloud/talent/v4bet" + + "a1/filters.proto\032+google/cloud/talent/v4" + + "beta1/histogram.proto\032%google/cloud/tale" + + "nt/v4beta1/job.proto\032#google/longrunning" + + "/operations.proto\032\031google/protobuf/any.p" + + "roto\032\036google/protobuf/duration.proto\032\033go" + + "ogle/protobuf/empty.proto\032 google/protob" + + "uf/field_mask.proto\"Q\n\020CreateJobRequest\022" + + "\016\n\006parent\030\001 \001(\t\022-\n\003job\030\002 \001(\0132 .google.cl" + + "oud.talent.v4beta1.Job\"\035\n\rGetJobRequest\022" + + "\014\n\004name\030\001 \001(\t\"r\n\020UpdateJobRequest\022-\n\003job" + + "\030\001 \001(\0132 .google.cloud.talent.v4beta1.Job" + + "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMask\" \n\020DeleteJobRequest\022\014\n\004name\030\001 " + + "\001(\t\"8\n\026BatchDeleteJobsRequest\022\016\n\006parent\030" + + "\001 \001(\t\022\016\n\006filter\030\002 \001(\t\"\220\001\n\017ListJobsReques" + + "t\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\022\n\npag" + + "e_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\0226\n\010job_" + + "view\030\005 \001(\0162$.google.cloud.talent.v4beta1" + + ".JobView\"\234\001\n\020ListJobsResponse\022.\n\004jobs\030\001 " + + "\003(\0132 .google.cloud.talent.v4beta1.Job\022\027\n" + + "\017next_page_token\030\002 \001(\t\022?\n\010metadata\030\003 \001(\013" + + "2-.google.cloud.talent.v4beta1.ResponseM" + + "etadata\"\240\t\n\021SearchJobsRequest\022\016\n\006parent\030" + + "\001 \001(\t\022N\n\013search_mode\030\002 \001(\01629.google.clou" + + "d.talent.v4beta1.SearchJobsRequest.Searc" + + "hMode\022F\n\020request_metadata\030\003 \001(\0132,.google" + + ".cloud.talent.v4beta1.RequestMetadata\0228\n" + + "\tjob_query\030\004 \001(\0132%.google.cloud.talent.v" + + "4beta1.JobQuery\022\031\n\021enable_broadening\030\005 \001" + + "(\010\022#\n\033require_precise_result_size\030\006 \001(\010\022" + + "F\n\021histogram_queries\030\007 \003(\0132+.google.clou" + + "d.talent.v4beta1.HistogramQuery\0226\n\010job_v" + + "iew\030\010 \001(\0162$.google.cloud.talent.v4beta1." + + "JobView\022\016\n\006offset\030\t \001(\005\022\021\n\tpage_size\030\n \001" + + "(\005\022\022\n\npage_token\030\013 \001(\t\022\020\n\010order_by\030\014 \001(\t" + + "\022b\n\025diversification_level\030\r \001(\0162C.google" + + ".cloud.talent.v4beta1.SearchJobsRequest." + + "DiversificationLevel\022]\n\023custom_ranking_i" + + "nfo\030\016 \001(\0132@.google.cloud.talent.v4beta1." + + "SearchJobsRequest.CustomRankingInfo\022\035\n\025d" + + "isable_keyword_match\030\020 \001(\010\032\220\002\n\021CustomRan" + + "kingInfo\022j\n\020importance_level\030\001 \001(\0162P.goo" + + "gle.cloud.talent.v4beta1.SearchJobsReque" + + "st.CustomRankingInfo.ImportanceLevel\022\032\n\022" + + "ranking_expression\030\002 \001(\t\"s\n\017ImportanceLe" + + "vel\022 \n\034IMPORTANCE_LEVEL_UNSPECIFIED\020\000\022\010\n" + + "\004NONE\020\001\022\007\n\003LOW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010" + + "\n\004HIGH\020\005\022\013\n\007EXTREME\020\006\"R\n\nSearchMode\022\033\n\027S" + + "EARCH_MODE_UNSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001" + + "\022\027\n\023FEATURED_JOB_SEARCH\020\002\"W\n\024Diversifica" + + "tionLevel\022%\n!DIVERSIFICATION_LEVEL_UNSPE" + + "CIFIED\020\000\022\014\n\010DISABLED\020\001\022\n\n\006SIMPLE\020\002\"\327\006\n\022S" + + "earchJobsResponse\022R\n\rmatching_jobs\030\001 \003(\013" + + "2;.google.cloud.talent.v4beta1.SearchJob" + + "sResponse.MatchingJob\022R\n\027histogram_query" + + "_results\030\002 \003(\01321.google.cloud.talent.v4b" + + "eta1.HistogramQueryResult\022\027\n\017next_page_t" + + "oken\030\003 \001(\t\022?\n\020location_filters\030\004 \003(\0132%.g" + + "oogle.cloud.talent.v4beta1.Location\022\034\n\024e" + + "stimated_total_size\030\005 \001(\005\022\022\n\ntotal_size\030" + + "\006 \001(\005\022?\n\010metadata\030\007 \001(\0132-.google.cloud.t" + + "alent.v4beta1.ResponseMetadata\022\"\n\032broade" + + "ned_query_jobs_count\030\010 \001(\005\022I\n\020spell_corr" + + "ection\030\t \001(\0132/.google.cloud.talent.v4bet" + + "a1.SpellingCorrection\032\334\001\n\013MatchingJob\022-\n" + + "\003job\030\001 \001(\0132 .google.cloud.talent.v4beta1" + + ".Job\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_title_s" + + "nippet\030\003 \001(\t\022\033\n\023search_text_snippet\030\004 \001(" + + "\t\022Q\n\014commute_info\030\005 \001(\0132;.google.cloud.t" + + "alent.v4beta1.SearchJobsResponse.Commute" + + "Info\032~\n\013CommuteInfo\022;\n\014job_location\030\001 \001(" + + "\0132%.google.cloud.talent.v4beta1.Location" + + "\0222\n\017travel_duration\030\002 \001(\0132\031.google.proto" + + "buf.Duration\"X\n\026BatchCreateJobsRequest\022\016" + + "\n\006parent\030\001 \001(\t\022.\n\004jobs\030\002 \003(\0132 .google.cl" + + "oud.talent.v4beta1.Job\"\211\001\n\026BatchUpdateJo" + + "bsRequest\022\016\n\006parent\030\001 \001(\t\022.\n\004jobs\030\002 \003(\0132" + + " .google.cloud.talent.v4beta1.Job\022/\n\013upd" + + "ate_mask\030\003 \001(\0132\032.google.protobuf.FieldMa" + + "sk*v\n\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000\022" + + "\024\n\020JOB_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIMA" + + "L\020\002\022\022\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FULL" + + "\020\0042\220\021\n\nJobService\022\274\001\n\tCreateJob\022-.google" + + ".cloud.talent.v4beta1.CreateJobRequest\032 " + + ".google.cloud.talent.v4beta1.Job\"^\202\323\344\223\002X" + + "\"+/v4beta1/{parent=projects/*/tenants/*}" + + "/jobs:\001*Z&\"!/v4beta1/{parent=projects/*}" + + "/jobs:\001*\022\260\001\n\006GetJob\022*.google.cloud.talen" + + "t.v4beta1.GetJobRequest\032 .google.cloud.t" + + "alent.v4beta1.Job\"X\202\323\344\223\002R\022+/v4beta1/{nam" + + "e=projects/*/tenants/*/jobs/*}Z#\022!/v4bet" + + "a1/{name=projects/*/jobs/*}\022\304\001\n\tUpdateJo" + + "b\022-.google.cloud.talent.v4beta1.UpdateJo" + + "bRequest\032 .google.cloud.talent.v4beta1.J" + + "ob\"f\202\323\344\223\002`2//v4beta1/{job.name=projects/" + + "*/tenants/*/jobs/*}:\001*Z*2%/v4beta1/{job." + + "name=projects/*/jobs/*}:\001*\022\254\001\n\tDeleteJob" + + "\022-.google.cloud.talent.v4beta1.DeleteJob" + + "Request\032\026.google.protobuf.Empty\"X\202\323\344\223\002R*" + + "+/v4beta1/{name=projects/*/tenants/*/job" + + "s/*}Z#*!/v4beta1/{name=projects/*/jobs/*" + + "}\022\301\001\n\010ListJobs\022,.google.cloud.talent.v4b" + + "eta1.ListJobsRequest\032-.google.cloud.tale" + + "nt.v4beta1.ListJobsResponse\"X\202\323\344\223\002R\022+/v4" + + "beta1/{parent=projects/*/tenants/*}/jobs" + + "Z#\022!/v4beta1/{parent=projects/*}/jobs\022\323\001" + + "\n\017BatchDeleteJobs\0223.google.cloud.talent." + + "v4beta1.BatchDeleteJobsRequest\032\026.google." + + "protobuf.Empty\"s\202\323\344\223\002m\"7/v4beta1/{parent" + + "=projects/*/tenants/*}/jobs:batchDelete:" + + "\001*Z/\"-/v4beta1/{parent=projects/*}/jobs:" + + "batchDelete\022\333\001\n\nSearchJobs\022..google.clou" + + "d.talent.v4beta1.SearchJobsRequest\032/.goo" + + "gle.cloud.talent.v4beta1.SearchJobsRespo" + + "nse\"l\202\323\344\223\002f\"2/v4beta1/{parent=projects/*" + + "/tenants/*}/jobs:search:\001*Z-\"(/v4beta1/{" + + "parent=projects/*}/jobs:search:\001*\022\363\001\n\022Se" + + "archJobsForAlert\022..google.cloud.talent.v" + + "4beta1.SearchJobsRequest\032/.google.cloud." + + "talent.v4beta1.SearchJobsResponse\"|\202\323\344\223\002" + + "v\":/v4beta1/{parent=projects/*/tenants/*" + + "}/jobs:searchForAlert:\001*Z5\"0/v4beta1/{pa" + + "rent=projects/*}/jobs:searchForAlert:\001*\022" + + "\335\001\n\017BatchCreateJobs\0223.google.cloud.talen" + + "t.v4beta1.BatchCreateJobsRequest\032\035.googl" + + "e.longrunning.Operation\"v\202\323\344\223\002p\"7/v4beta" + + "1/{parent=projects/*/tenants/*}/jobs:bat" + + "chCreate:\001*Z2\"-/v4beta1/{parent=projects" + + "/*}/jobs:batchCreate:\001*\022\335\001\n\017BatchUpdateJ" + + "obs\0223.google.cloud.talent.v4beta1.BatchU" + + "pdateJobsRequest\032\035.google.longrunning.Op" + + "eration\"v\202\323\344\223\002p\"7/v4beta1/{parent=projec" + + "ts/*/tenants/*}/jobs:batchUpdate:\001*Z2\"-/" + + "v4beta1/{parent=projects/*}/jobs:batchUp" + + "date:\001*\032l\312A\023jobs.googleapis.com\322AShttps:" + + "//www.googleapis.com/auth/cloud-platform" + + ",https://www.googleapis.com/auth/jobsB}\n" + + "\037com.google.cloud.talent.v4beta1B\017JobSer" + + "viceProtoP\001ZAgoogle.golang.org/genproto/" + + "googleapis/cloud/talent/v4beta1;talent\242\002" + + "\003CTSb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -238,7 +237,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), com.google.api.ClientProto.getDescriptor(), - com.google.cloud.talent.v4beta1.BatchProto.getDescriptor(), com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(), com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(), @@ -399,7 +397,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); - com.google.cloud.talent.v4beta1.BatchProto.getDescriptor(); com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(); com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(); diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java index 728efe0ec0bd..d8fc14773526 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java @@ -136,7 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Specify whether including telecommute jobs.
+   * Specify whether to include telecommute jobs.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference} @@ -390,8 +390,8 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { * * *
-   * Optional. The latitude and longitude of the geographic center from which to
-   * search. This field's ignored if `address` is provided.
+   * Optional. The latitude and longitude of the geographic center to search
+   * from. This field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; @@ -403,8 +403,8 @@ public boolean hasLatLng() { * * *
-   * Optional. The latitude and longitude of the geographic center from which to
-   * search. This field's ignored if `address` is provided.
+   * Optional. The latitude and longitude of the geographic center to search
+   * from. This field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; @@ -416,8 +416,8 @@ public com.google.type.LatLng getLatLng() { * * *
-   * Optional. The latitude and longitude of the geographic center from which to
-   * search. This field's ignored if `address` is provided.
+   * Optional. The latitude and longitude of the geographic center to search
+   * from. This field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; @@ -433,8 +433,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * *
    * Optional. The distance_in_miles is applied when the location being searched
-   * for is identified as a city or smaller. When the location being searched
-   * for is a state or larger, this field is ignored.
+   * for is identified as a city or smaller. This field is ignored if the
+   * location being searched for is a state or larger.
    * 
* * double distance_in_miles = 4; @@ -467,6 +467,7 @@ public double getDistanceInMiles() { * such as "Mountain View" or "telecommuting" jobs. However, when used in * combination with other location filters, telecommuting jobs can be * treated as less relevant than other jobs in the search response. + * This field is only used for job search requests. * * * @@ -498,6 +499,7 @@ public int getTelecommutePreferenceValue() { * such as "Mountain View" or "telecommuting" jobs. However, when used in * combination with other location filters, telecommuting jobs can be * treated as less relevant than other jobs in the search response. + * This field is only used for job search requests. * * * @@ -1189,8 +1191,8 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The latitude and longitude of the geographic center from which to
-     * search. This field's ignored if `address` is provided.
+     * Optional. The latitude and longitude of the geographic center to search
+     * from. This field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; @@ -1202,8 +1204,8 @@ public boolean hasLatLng() { * * *
-     * Optional. The latitude and longitude of the geographic center from which to
-     * search. This field's ignored if `address` is provided.
+     * Optional. The latitude and longitude of the geographic center to search
+     * from. This field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; @@ -1219,8 +1221,8 @@ public com.google.type.LatLng getLatLng() { * * *
-     * Optional. The latitude and longitude of the geographic center from which to
-     * search. This field's ignored if `address` is provided.
+     * Optional. The latitude and longitude of the geographic center to search
+     * from. This field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; @@ -1242,8 +1244,8 @@ public Builder setLatLng(com.google.type.LatLng value) { * * *
-     * Optional. The latitude and longitude of the geographic center from which to
-     * search. This field's ignored if `address` is provided.
+     * Optional. The latitude and longitude of the geographic center to search
+     * from. This field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; @@ -1262,8 +1264,8 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { * * *
-     * Optional. The latitude and longitude of the geographic center from which to
-     * search. This field's ignored if `address` is provided.
+     * Optional. The latitude and longitude of the geographic center to search
+     * from. This field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; @@ -1286,8 +1288,8 @@ public Builder mergeLatLng(com.google.type.LatLng value) { * * *
-     * Optional. The latitude and longitude of the geographic center from which to
-     * search. This field's ignored if `address` is provided.
+     * Optional. The latitude and longitude of the geographic center to search
+     * from. This field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; @@ -1307,8 +1309,8 @@ public Builder clearLatLng() { * * *
-     * Optional. The latitude and longitude of the geographic center from which to
-     * search. This field's ignored if `address` is provided.
+     * Optional. The latitude and longitude of the geographic center to search
+     * from. This field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; @@ -1322,8 +1324,8 @@ public com.google.type.LatLng.Builder getLatLngBuilder() { * * *
-     * Optional. The latitude and longitude of the geographic center from which to
-     * search. This field's ignored if `address` is provided.
+     * Optional. The latitude and longitude of the geographic center to search
+     * from. This field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; @@ -1339,8 +1341,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * * *
-     * Optional. The latitude and longitude of the geographic center from which to
-     * search. This field's ignored if `address` is provided.
+     * Optional. The latitude and longitude of the geographic center to search
+     * from. This field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; @@ -1365,8 +1367,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * *
      * Optional. The distance_in_miles is applied when the location being searched
-     * for is identified as a city or smaller. When the location being searched
-     * for is a state or larger, this field is ignored.
+     * for is identified as a city or smaller. This field is ignored if the
+     * location being searched for is a state or larger.
      * 
* * double distance_in_miles = 4; @@ -1379,8 +1381,8 @@ public double getDistanceInMiles() { * *
      * Optional. The distance_in_miles is applied when the location being searched
-     * for is identified as a city or smaller. When the location being searched
-     * for is a state or larger, this field is ignored.
+     * for is identified as a city or smaller. This field is ignored if the
+     * location being searched for is a state or larger.
      * 
* * double distance_in_miles = 4; @@ -1396,8 +1398,8 @@ public Builder setDistanceInMiles(double value) { * *
      * Optional. The distance_in_miles is applied when the location being searched
-     * for is identified as a city or smaller. When the location being searched
-     * for is a state or larger, this field is ignored.
+     * for is identified as a city or smaller. This field is ignored if the
+     * location being searched for is a state or larger.
      * 
* * double distance_in_miles = 4; @@ -1432,6 +1434,7 @@ public Builder clearDistanceInMiles() { * such as "Mountain View" or "telecommuting" jobs. However, when used in * combination with other location filters, telecommuting jobs can be * treated as less relevant than other jobs in the search response. + * This field is only used for job search requests. * * * @@ -1463,6 +1466,7 @@ public int getTelecommutePreferenceValue() { * such as "Mountain View" or "telecommuting" jobs. However, when used in * combination with other location filters, telecommuting jobs can be * treated as less relevant than other jobs in the search response. + * This field is only used for job search requests. * * * @@ -1496,6 +1500,7 @@ public Builder setTelecommutePreferenceValue(int value) { * such as "Mountain View" or "telecommuting" jobs. However, when used in * combination with other location filters, telecommuting jobs can be * treated as less relevant than other jobs in the search response. + * This field is only used for job search requests. * * * @@ -1534,6 +1539,7 @@ public Builder setTelecommutePreferenceValue(int value) { * such as "Mountain View" or "telecommuting" jobs. However, when used in * combination with other location filters, telecommuting jobs can be * treated as less relevant than other jobs in the search response. + * This field is only used for job search requests. * * * @@ -1572,6 +1578,7 @@ public Builder setTelecommutePreference( * such as "Mountain View" or "telecommuting" jobs. However, when used in * combination with other location filters, telecommuting jobs can be * treated as less relevant than other jobs in the search response. + * This field is only used for job search requests. * * * diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java index 91ea2ed7abe3..924d55249d7f 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java @@ -72,8 +72,8 @@ public interface LocationFilterOrBuilder * * *
-   * Optional. The latitude and longitude of the geographic center from which to
-   * search. This field's ignored if `address` is provided.
+   * Optional. The latitude and longitude of the geographic center to search
+   * from. This field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; @@ -83,8 +83,8 @@ public interface LocationFilterOrBuilder * * *
-   * Optional. The latitude and longitude of the geographic center from which to
-   * search. This field's ignored if `address` is provided.
+   * Optional. The latitude and longitude of the geographic center to search
+   * from. This field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; @@ -94,8 +94,8 @@ public interface LocationFilterOrBuilder * * *
-   * Optional. The latitude and longitude of the geographic center from which to
-   * search. This field's ignored if `address` is provided.
+   * Optional. The latitude and longitude of the geographic center to search
+   * from. This field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; @@ -107,8 +107,8 @@ public interface LocationFilterOrBuilder * *
    * Optional. The distance_in_miles is applied when the location being searched
-   * for is identified as a city or smaller. When the location being searched
-   * for is a state or larger, this field is ignored.
+   * for is identified as a city or smaller. This field is ignored if the
+   * location being searched for is a state or larger.
    * 
* * double distance_in_miles = 4; @@ -137,6 +137,7 @@ public interface LocationFilterOrBuilder * such as "Mountain View" or "telecommuting" jobs. However, when used in * combination with other location filters, telecommuting jobs can be * treated as less relevant than other jobs in the search response. + * This field is only used for job search requests. * * * @@ -166,6 +167,7 @@ public interface LocationFilterOrBuilder * such as "Mountain View" or "telecommuting" jobs. However, when used in * combination with other location filters, telecommuting jobs can be * treated as less relevant than other jobs in the search response. + * This field is only used for job search requests. * * * diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileQuery.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileQuery.java index c06964c6a2fc..6f4ebe2e7273 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileQuery.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileQuery.java @@ -392,7 +392,42 @@ public com.google.protobuf.ByteString getQueryBytes() { * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -429,7 +464,42 @@ public java.util.List getLocatio * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -467,7 +537,42 @@ public java.util.List getLocatio * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -504,7 +609,42 @@ public int getLocationFiltersCount() { * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -541,7 +681,42 @@ public com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int ind * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -2823,7 +2998,42 @@ private void ensureLocationFiltersIsMutable() { * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -2864,7 +3074,42 @@ public java.util.List getLocatio * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -2905,7 +3150,42 @@ public int getLocationFiltersCount() { * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -2946,7 +3226,42 @@ public com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int ind * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -2994,7 +3309,42 @@ public Builder setLocationFilters( * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3039,7 +3389,42 @@ public Builder setLocationFilters( * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3086,7 +3471,42 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.LocationFilter * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3134,7 +3554,42 @@ public Builder addLocationFilters( * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3179,7 +3634,42 @@ public Builder addLocationFilters( * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3224,7 +3714,42 @@ public Builder addLocationFilters( * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3269,7 +3794,42 @@ public Builder addAllLocationFilters( * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3313,7 +3873,42 @@ public Builder clearLocationFilters() { * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3357,7 +3952,42 @@ public Builder removeLocationFilters(int index) { * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3395,7 +4025,42 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder getLocationFilters * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3437,7 +4102,42 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3479,7 +4179,42 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3517,7 +4252,42 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -3556,7 +4326,42 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileQueryOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileQueryOrBuilder.java index 909fbb2d1c12..146266e939ac 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileQueryOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileQueryOrBuilder.java @@ -60,7 +60,42 @@ public interface ProfileQueryOrBuilder * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -95,7 +130,42 @@ public interface ProfileQueryOrBuilder * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -130,7 +200,42 @@ public interface ProfileQueryOrBuilder * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -165,7 +270,42 @@ public interface ProfileQueryOrBuilder * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; @@ -201,7 +341,42 @@ public interface ProfileQueryOrBuilder * If * [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] * is specified, the result doesn't contain profiles from that location. - * For example, search for profiles with addresses in "New York City". + * If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is provided, the + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + * point (latitude and longitude), and radius are automatically detected by + * the Google Maps Geocoding API and included as well. If + * [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + * is not recognized as a location, the filter falls back to keyword search. + * If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + * [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + * [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + * or + * [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + * or location is recognized but a radius can not be determined by the + * geo-coder, the filter is performed against the detected location name + * (using exact text matching). Otherwise, the filter is performed against the + * detected center point and a radius. The largest value from among the + * following options is automatically set as the radius value: + * 1. 10 miles. + * 2. Detected location radius + + * [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + * 3. If the detected + * [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + * [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + * [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + * [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + * or + * [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + * the following two values are calculated and the larger of the two is + * compared to #1 and #2, above: + * - Calculated radius of the city (from the city center) that contains the + * geo-coded location. + * - Distance from the city center (of the city containing the geo-coded + * location) to the detected location center + 0.5 miles. * * * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 2; diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesRequest.java index 0db24dffabc6..3ce2031f948a 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesRequest.java @@ -449,11 +449,11 @@ public boolean getDisableSpellCheck() { * Supported options are: * * "relevance desc": By descending relevance, as determined by the API * algorithms. - * * "update_time desc": Sort by + * * "update_date desc": Sort by * [Profile.update_time][google.cloud.talent.v4beta1.Profile.update_time] in * descending order * (recently updated profiles first). - * * "create_time desc": Sort by + * * "create_date desc": Sort by * [Profile.create_time][google.cloud.talent.v4beta1.Profile.create_time] in * descending order * (recently created profiles first). @@ -495,11 +495,11 @@ public java.lang.String getOrderBy() { * Supported options are: * * "relevance desc": By descending relevance, as determined by the API * algorithms. - * * "update_time desc": Sort by + * * "update_date desc": Sort by * [Profile.update_time][google.cloud.talent.v4beta1.Profile.update_time] in * descending order * (recently updated profiles first). - * * "create_time desc": Sort by + * * "create_date desc": Sort by * [Profile.create_time][google.cloud.talent.v4beta1.Profile.create_time] in * descending order * (recently created profiles first). @@ -2432,11 +2432,11 @@ public Builder clearDisableSpellCheck() { * Supported options are: * * "relevance desc": By descending relevance, as determined by the API * algorithms. - * * "update_time desc": Sort by + * * "update_date desc": Sort by * [Profile.update_time][google.cloud.talent.v4beta1.Profile.update_time] in * descending order * (recently updated profiles first). - * * "create_time desc": Sort by + * * "create_date desc": Sort by * [Profile.create_time][google.cloud.talent.v4beta1.Profile.create_time] in * descending order * (recently created profiles first). @@ -2478,11 +2478,11 @@ public java.lang.String getOrderBy() { * Supported options are: * * "relevance desc": By descending relevance, as determined by the API * algorithms. - * * "update_time desc": Sort by + * * "update_date desc": Sort by * [Profile.update_time][google.cloud.talent.v4beta1.Profile.update_time] in * descending order * (recently updated profiles first). - * * "create_time desc": Sort by + * * "create_date desc": Sort by * [Profile.create_time][google.cloud.talent.v4beta1.Profile.create_time] in * descending order * (recently created profiles first). @@ -2524,11 +2524,11 @@ public com.google.protobuf.ByteString getOrderByBytes() { * Supported options are: * * "relevance desc": By descending relevance, as determined by the API * algorithms. - * * "update_time desc": Sort by + * * "update_date desc": Sort by * [Profile.update_time][google.cloud.talent.v4beta1.Profile.update_time] in * descending order * (recently updated profiles first). - * * "create_time desc": Sort by + * * "create_date desc": Sort by * [Profile.create_time][google.cloud.talent.v4beta1.Profile.create_time] in * descending order * (recently created profiles first). @@ -2568,11 +2568,11 @@ public Builder setOrderBy(java.lang.String value) { * Supported options are: * * "relevance desc": By descending relevance, as determined by the API * algorithms. - * * "update_time desc": Sort by + * * "update_date desc": Sort by * [Profile.update_time][google.cloud.talent.v4beta1.Profile.update_time] in * descending order * (recently updated profiles first). - * * "create_time desc": Sort by + * * "create_date desc": Sort by * [Profile.create_time][google.cloud.talent.v4beta1.Profile.create_time] in * descending order * (recently created profiles first). @@ -2609,11 +2609,11 @@ public Builder clearOrderBy() { * Supported options are: * * "relevance desc": By descending relevance, as determined by the API * algorithms. - * * "update_time desc": Sort by + * * "update_date desc": Sort by * [Profile.update_time][google.cloud.talent.v4beta1.Profile.update_time] in * descending order * (recently updated profiles first). - * * "create_time desc": Sort by + * * "create_date desc": Sort by * [Profile.create_time][google.cloud.talent.v4beta1.Profile.create_time] in * descending order * (recently created profiles first). diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesRequestOrBuilder.java index db2ac2fd3048..069af544136c 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesRequestOrBuilder.java @@ -190,11 +190,11 @@ public interface SearchProfilesRequestOrBuilder * Supported options are: * * "relevance desc": By descending relevance, as determined by the API * algorithms. - * * "update_time desc": Sort by + * * "update_date desc": Sort by * [Profile.update_time][google.cloud.talent.v4beta1.Profile.update_time] in * descending order * (recently updated profiles first). - * * "create_time desc": Sort by + * * "create_date desc": Sort by * [Profile.create_time][google.cloud.talent.v4beta1.Profile.create_time] in * descending order * (recently created profiles first). @@ -226,11 +226,11 @@ public interface SearchProfilesRequestOrBuilder * Supported options are: * * "relevance desc": By descending relevance, as determined by the API * algorithms. - * * "update_time desc": Sort by + * * "update_date desc": Sort by * [Profile.update_time][google.cloud.talent.v4beta1.Profile.update_time] in * descending order * (recently updated profiles first). - * * "create_time desc": Sort by + * * "create_date desc": Sort by * [Profile.create_time][google.cloud.talent.v4beta1.Profile.create_time] in * descending order * (recently created profiles first). diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java index b33820b92094..c22c1adb8920 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java @@ -7,6 +7,7 @@ * * *
+ * Deprecated. All resources are only visible to the owner.
  * An enum that represents who has view access to the resource.
  * 
* diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto index d364c112d0aa..6294f4a59105 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto @@ -442,8 +442,12 @@ enum PostingRegion { TELECOMMUTE = 3; } +// Deprecated. All resources are only visible to the owner. +// // An enum that represents who has view access to the resource. enum Visibility { + option deprecated = true; + // Default value. VISIBILITY_UNSPECIFIED = 0; diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto index 9ebd6c205a24..bc81003da0ad 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto @@ -222,7 +222,43 @@ message ProfileQuery { // [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] // is specified, the result doesn't contain profiles from that location. // - // For example, search for profiles with addresses in "New York City". + // If + // [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + // is provided, the + // [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center + // point (latitude and longitude), and radius are automatically detected by + // the Google Maps Geocoding API and included as well. If + // [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] + // is not recognized as a location, the filter falls back to keyword search. + // + // If the detected + // [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is + // [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], + // [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], + // or + // [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], + // or location is recognized but a radius can not be determined by the + // geo-coder, the filter is performed against the detected location name + // (using exact text matching). Otherwise, the filter is performed against the + // detected center point and a radius. The largest value from among the + // following options is automatically set as the radius value: + // 1. 10 miles. + // 2. Detected location radius + + // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. + // 3. If the detected + // [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of + // [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY], + // [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2], + // [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], + // [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE], + // or + // [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS], + // the following two values are calculated and the larger of the two is + // compared to #1 and #2, above: + // - Calculated radius of the city (from the city center) that contains the + // geo-coded location. + // - Distance from the city center (of the city containing the geo-coded + // location) to the detected location center + 0.5 miles. repeated LocationFilter location_filters = 2; // Optional. Job title filter specifies job titles of profiles to match on. @@ -376,7 +412,7 @@ message ProfileQuery { // // Geographic region of the search. message LocationFilter { - // Specify whether including telecommute jobs. + // Specify whether to include telecommute jobs. enum TelecommutePreference { // Default value if the telecommute preference isn't specified. TELECOMMUTE_PREFERENCE_UNSPECIFIED = 0; @@ -405,13 +441,13 @@ message LocationFilter { // Note that this filter is not applicable for Profile Search related queries. string region_code = 2; - // Optional. The latitude and longitude of the geographic center from which to - // search. This field's ignored if `address` is provided. + // Optional. The latitude and longitude of the geographic center to search + // from. This field is ignored if `address` is provided. google.type.LatLng lat_lng = 3; // Optional. The distance_in_miles is applied when the location being searched - // for is identified as a city or smaller. When the location being searched - // for is a state or larger, this field is ignored. + // for is identified as a city or smaller. This field is ignored if the + // location being searched for is a state or larger. double distance_in_miles = 4; // Optional. Allows the client to return jobs without a @@ -433,6 +469,8 @@ message LocationFilter { // such as "Mountain View" or "telecommuting" jobs. However, when used in // combination with other location filters, telecommuting jobs can be // treated as less relevant than other jobs in the search response. + // + // This field is only used for job search requests. TelecommutePreference telecommute_preference = 5; // Optional. Whether to apply negation to the filter so profiles matching the diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto index b851d7961127..5c0837d093ec 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto @@ -285,12 +285,14 @@ message Job { // the same location level as this field is strongly recommended. PostingRegion posting_region = 20; - // Optional. The visibility of the job. + // Deprecated. The job is only visible to the owner. + // + // The visibility of the job. // // Defaults to // [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY] // if not specified. - Visibility visibility = 21; + Visibility visibility = 21 [deprecated = true]; // Optional. The start timestamp of the job in UTC time zone. Typically this // field is used for contracting engagements. Invalid timestamps are ignored. diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto index a79dcc502795..4b5d92046e92 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto @@ -19,7 +19,6 @@ package google.cloud.talent.v4beta1; import "google/api/annotations.proto"; import "google/api/client.proto"; -import "google/cloud/talent/v4beta1/batch.proto"; import "google/cloud/talent/v4beta1/common.proto"; import "google/cloud/talent/v4beta1/filters.proto"; import "google/cloud/talent/v4beta1/histogram.proto"; diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/profile_service.proto b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/profile_service.proto index 111a9f814589..67483ce176e5 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/profile_service.proto +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/profile_service.proto @@ -281,11 +281,11 @@ message SearchProfilesRequest { // // * "relevance desc": By descending relevance, as determined by the API // algorithms. - // * "update_time desc": Sort by + // * "update_date desc": Sort by // [Profile.update_time][google.cloud.talent.v4beta1.Profile.update_time] in // descending order // (recently updated profiles first). - // * "create_time desc": Sort by + // * "create_date desc": Sort by // [Profile.create_time][google.cloud.talent.v4beta1.Profile.create_time] in // descending order // (recently created profiles first). diff --git a/google-cloud-clients/google-cloud-talent/synth.metadata b/google-cloud-clients/google-cloud-talent/synth.metadata index 791d3c9deeeb..b12e3c23cbbb 100644 --- a/google-cloud-clients/google-cloud-talent/synth.metadata +++ b/google-cloud-clients/google-cloud-talent/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-08-09T07:58:44.631686Z", + "updateTime": "2019-08-17T08:00:30.652254Z", "sources": [ { "generator": { @@ -12,8 +12,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "8d3e3cba37e3fe136ea21f8b2237998387c73455", - "internalRef": "262392165" + "sha": "a1b85caabafb4669e5b40ef38b7d663856ab50f9", + "internalRef": "263867589" } } ],