From 0cb2c02a4d32955ab3ae491d16edad42cd17c98f Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 26 Jul 2022 19:20:28 +0000 Subject: [PATCH] chore(bazel): update protobuf to v3.21.3 (#688) - [ ] Regenerate this pull request now. chore(bazel): update gax-java to 2.18.4 PiperOrigin-RevId: 463115700 Source-Link: https://github.com/googleapis/googleapis/commit/52130a9c3c289e6bc4ab1784bdde6081abdf3dd9 Source-Link: https://github.com/googleapis/googleapis-gen/commit/6a4d9d9bb3afb20b0f5fa4f5d9f6740b1d0eb19a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmE0ZDlkOWJiM2FmYjIwYjBmNWZhNGY1ZDlmNjc0MGIxZDBlYjE5YSJ9 --- .../com/google/webrisk/v1/ComputeThreatListDiffRequest.java | 4 ++-- .../java/com/google/webrisk/v1/SearchHashesRequest.java | 4 ++-- .../java/com/google/webrisk/v1/SearchHashesResponse.java | 4 ++-- .../main/java/com/google/webrisk/v1/SearchUrisRequest.java | 4 ++-- .../main/java/com/google/webrisk/v1/SearchUrisResponse.java | 4 ++-- .../webrisk/v1beta1/ComputeThreatListDiffRequest.java | 4 ++-- .../com/google/webrisk/v1beta1/SearchHashesRequest.java | 4 ++-- .../com/google/webrisk/v1beta1/SearchHashesResponse.java | 4 ++-- .../java/com/google/webrisk/v1beta1/SearchUrisRequest.java | 4 ++-- .../java/com/google/webrisk/v1beta1/SearchUrisResponse.java | 4 ++-- ...peBytestringComputethreatlistdiffrequestconstraints.java | 6 ++---- ...peBytestringComputethreatlistdiffrequestconstraints.java | 6 ++---- .../SyncSearchHashesBytestringListthreattype.java | 6 ++---- .../searchuris/SyncSearchUrisStringListthreattype.java | 3 +-- 14 files changed, 27 insertions(+), 34 deletions(-) diff --git a/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffRequest.java b/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffRequest.java index bdfc0c72..c354ccaf 100644 --- a/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffRequest.java +++ b/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffRequest.java @@ -1177,8 +1177,8 @@ public int getSupportedCompressionsValue(int index) { * * repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3; * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of supportedCompressions at the given index. + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for supportedCompressions to set. * @return This builder for chaining. */ public Builder setSupportedCompressionsValue(int index, int value) { diff --git a/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchHashesRequest.java b/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchHashesRequest.java index 8d7cc1c8..edcd2dfc 100644 --- a/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchHashesRequest.java +++ b/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchHashesRequest.java @@ -875,8 +875,8 @@ public int getThreatTypesValue(int index) { * repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED]; * * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of threatTypes at the given index. + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for threatTypes to set. * @return This builder for chaining. */ public Builder setThreatTypesValue(int index, int value) { diff --git a/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchHashesResponse.java b/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchHashesResponse.java index 13a65354..8244cac3 100644 --- a/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchHashesResponse.java +++ b/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchHashesResponse.java @@ -1141,8 +1141,8 @@ public int getThreatTypesValue(int index) { * * repeated .google.cloud.webrisk.v1.ThreatType threat_types = 1; * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of threatTypes at the given index. + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for threatTypes to set. * @return This builder for chaining. */ public Builder setThreatTypesValue(int index, int value) { diff --git a/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchUrisRequest.java b/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchUrisRequest.java index f9aa4e57..38f46067 100644 --- a/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchUrisRequest.java +++ b/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchUrisRequest.java @@ -955,8 +955,8 @@ public int getThreatTypesValue(int index) { * repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED]; * * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of threatTypes at the given index. + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for threatTypes to set. * @return This builder for chaining. */ public Builder setThreatTypesValue(int index, int value) { diff --git a/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchUrisResponse.java b/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchUrisResponse.java index 77ce4e7e..2788f81f 100644 --- a/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchUrisResponse.java +++ b/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchUrisResponse.java @@ -1048,8 +1048,8 @@ public int getThreatTypesValue(int index) { * * repeated .google.cloud.webrisk.v1.ThreatType threat_types = 1; * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of threatTypes at the given index. + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for threatTypes to set. * @return This builder for chaining. */ public Builder setThreatTypesValue(int index, int value) { diff --git a/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffRequest.java b/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffRequest.java index 6320dcef..2d6191d7 100644 --- a/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffRequest.java +++ b/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffRequest.java @@ -1205,8 +1205,8 @@ public int getSupportedCompressionsValue(int index) { * repeated .google.cloud.webrisk.v1beta1.CompressionType supported_compressions = 3; * * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of supportedCompressions at the given index. + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for supportedCompressions to set. * @return This builder for chaining. */ public Builder setSupportedCompressionsValue(int index, int value) { diff --git a/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesRequest.java b/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesRequest.java index 9930b353..415416a8 100644 --- a/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesRequest.java +++ b/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesRequest.java @@ -876,8 +876,8 @@ public int getThreatTypesValue(int index) { * repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED]; * * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of threatTypes at the given index. + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for threatTypes to set. * @return This builder for chaining. */ public Builder setThreatTypesValue(int index, int value) { diff --git a/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesResponse.java b/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesResponse.java index 5e1c7cb5..5cff5133 100644 --- a/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesResponse.java +++ b/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesResponse.java @@ -1143,8 +1143,8 @@ public int getThreatTypesValue(int index) { * * repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1; * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of threatTypes at the given index. + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for threatTypes to set. * @return This builder for chaining. */ public Builder setThreatTypesValue(int index, int value) { diff --git a/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisRequest.java b/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisRequest.java index 9dcdac77..cd26569e 100644 --- a/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisRequest.java +++ b/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisRequest.java @@ -957,8 +957,8 @@ public int getThreatTypesValue(int index) { * repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED]; * * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of threatTypes at the given index. + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for threatTypes to set. * @return This builder for chaining. */ public Builder setThreatTypesValue(int index, int value) { diff --git a/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisResponse.java b/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisResponse.java index 76248db8..1f3c18da 100644 --- a/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisResponse.java +++ b/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisResponse.java @@ -1049,8 +1049,8 @@ public int getThreatTypesValue(int index) { * * repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1; * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of threatTypes at the given index. + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for threatTypes to set. * @return This builder for chaining. */ public Builder setThreatTypesValue(int index, int value) { diff --git a/samples/snippets/generated/com/google/cloud/webrisk/v1/webriskserviceclient/computethreatlistdiff/SyncComputeThreatListDiffThreattypeBytestringComputethreatlistdiffrequestconstraints.java b/samples/snippets/generated/com/google/cloud/webrisk/v1/webriskserviceclient/computethreatlistdiff/SyncComputeThreatListDiffThreattypeBytestringComputethreatlistdiffrequestconstraints.java index 9f306fb9..89ba1552 100644 --- a/samples/snippets/generated/com/google/cloud/webrisk/v1/webriskserviceclient/computethreatlistdiff/SyncComputeThreatListDiffThreattypeBytestringComputethreatlistdiffrequestconstraints.java +++ b/samples/snippets/generated/com/google/cloud/webrisk/v1/webriskserviceclient/computethreatlistdiff/SyncComputeThreatListDiffThreattypeBytestringComputethreatlistdiffrequestconstraints.java @@ -16,8 +16,7 @@ package com.google.cloud.webrisk.v1.samples; -// [START -// webrisk_v1_generated_webriskserviceclient_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync] +// [START webrisk_v1_generated_webriskserviceclient_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync] import com.google.cloud.webrisk.v1.WebRiskServiceClient; import com.google.protobuf.ByteString; import com.google.webrisk.v1.ComputeThreatListDiffRequest; @@ -45,5 +44,4 @@ public static void main(String[] args) throws Exception { } } } -// [END -// webrisk_v1_generated_webriskserviceclient_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync] +// [END webrisk_v1_generated_webriskserviceclient_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync] diff --git a/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/computethreatlistdiff/SyncComputeThreatListDiffThreattypeBytestringComputethreatlistdiffrequestconstraints.java b/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/computethreatlistdiff/SyncComputeThreatListDiffThreattypeBytestringComputethreatlistdiffrequestconstraints.java index 381a0f91..269863cb 100644 --- a/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/computethreatlistdiff/SyncComputeThreatListDiffThreattypeBytestringComputethreatlistdiffrequestconstraints.java +++ b/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/computethreatlistdiff/SyncComputeThreatListDiffThreattypeBytestringComputethreatlistdiffrequestconstraints.java @@ -16,8 +16,7 @@ package com.google.cloud.webrisk.v1beta1.samples; -// [START -// webrisk_v1beta1_generated_webriskservicev1beta1client_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync] +// [START webrisk_v1beta1_generated_webriskservicev1beta1client_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync] import com.google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client; import com.google.protobuf.ByteString; import com.google.webrisk.v1beta1.ComputeThreatListDiffRequest; @@ -46,5 +45,4 @@ public static void main(String[] args) throws Exception { } } } -// [END -// webrisk_v1beta1_generated_webriskservicev1beta1client_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync] +// [END webrisk_v1beta1_generated_webriskservicev1beta1client_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync] diff --git a/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/searchhashes/SyncSearchHashesBytestringListthreattype.java b/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/searchhashes/SyncSearchHashesBytestringListthreattype.java index e18a0f32..d491621f 100644 --- a/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/searchhashes/SyncSearchHashesBytestringListthreattype.java +++ b/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/searchhashes/SyncSearchHashesBytestringListthreattype.java @@ -16,8 +16,7 @@ package com.google.cloud.webrisk.v1beta1.samples; -// [START -// webrisk_v1beta1_generated_webriskservicev1beta1client_searchhashes_bytestringlistthreattype_sync] +// [START webrisk_v1beta1_generated_webriskservicev1beta1client_searchhashes_bytestringlistthreattype_sync] import com.google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client; import com.google.protobuf.ByteString; import com.google.webrisk.v1beta1.SearchHashesResponse; @@ -43,5 +42,4 @@ public static void syncSearchHashesBytestringListthreattype() throws Exception { } } } -// [END -// webrisk_v1beta1_generated_webriskservicev1beta1client_searchhashes_bytestringlistthreattype_sync] +// [END webrisk_v1beta1_generated_webriskservicev1beta1client_searchhashes_bytestringlistthreattype_sync] diff --git a/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/searchuris/SyncSearchUrisStringListthreattype.java b/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/searchuris/SyncSearchUrisStringListthreattype.java index 575f50cf..a8a1880a 100644 --- a/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/searchuris/SyncSearchUrisStringListthreattype.java +++ b/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/searchuris/SyncSearchUrisStringListthreattype.java @@ -16,8 +16,7 @@ package com.google.cloud.webrisk.v1beta1.samples; -// [START -// webrisk_v1beta1_generated_webriskservicev1beta1client_searchuris_stringlistthreattype_sync] +// [START webrisk_v1beta1_generated_webriskservicev1beta1client_searchuris_stringlistthreattype_sync] import com.google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client; import com.google.webrisk.v1beta1.SearchUrisResponse; import com.google.webrisk.v1beta1.ThreatType;