Skip to content

Commit c3bbf09

Browse files
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: googleapis/googleapis@52130a9 Source-Link: https://github.com/googleapis/googleapis-gen/commit/6a4d9d9bb3afb20b0f5fa4f5d9f6740b1d0eb19a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmE0ZDlkOWJiM2FmYjIwYjBmNWZhNGY1ZDlmNjc0MGIxZDBlYjE5YSJ9
1 parent 2febecb commit c3bbf09

File tree

14 files changed

+27
-34
lines changed

14 files changed

+27
-34
lines changed

java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffRequest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1177,8 +1177,8 @@ public int getSupportedCompressionsValue(int index) {
11771177
*
11781178
* <code>repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;</code>
11791179
*
1180-
* @param index The index of the value to return.
1181-
* @return The enum numeric value on the wire of supportedCompressions at the given index.
1180+
* @param index The index to set the value at.
1181+
* @param value The enum numeric value on the wire for supportedCompressions to set.
11821182
* @return This builder for chaining.
11831183
*/
11841184
public Builder setSupportedCompressionsValue(int index, int value) {

java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchHashesRequest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -875,8 +875,8 @@ public int getThreatTypesValue(int index) {
875875
* repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
876876
* </code>
877877
*
878-
* @param index The index of the value to return.
879-
* @return The enum numeric value on the wire of threatTypes at the given index.
878+
* @param index The index to set the value at.
879+
* @param value The enum numeric value on the wire for threatTypes to set.
880880
* @return This builder for chaining.
881881
*/
882882
public Builder setThreatTypesValue(int index, int value) {

java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchHashesResponse.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1141,8 +1141,8 @@ public int getThreatTypesValue(int index) {
11411141
*
11421142
* <code>repeated .google.cloud.webrisk.v1.ThreatType threat_types = 1;</code>
11431143
*
1144-
* @param index The index of the value to return.
1145-
* @return The enum numeric value on the wire of threatTypes at the given index.
1144+
* @param index The index to set the value at.
1145+
* @param value The enum numeric value on the wire for threatTypes to set.
11461146
* @return This builder for chaining.
11471147
*/
11481148
public Builder setThreatTypesValue(int index, int value) {

java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchUrisRequest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -955,8 +955,8 @@ public int getThreatTypesValue(int index) {
955955
* repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
956956
* </code>
957957
*
958-
* @param index The index of the value to return.
959-
* @return The enum numeric value on the wire of threatTypes at the given index.
958+
* @param index The index to set the value at.
959+
* @param value The enum numeric value on the wire for threatTypes to set.
960960
* @return This builder for chaining.
961961
*/
962962
public Builder setThreatTypesValue(int index, int value) {

java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchUrisResponse.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1048,8 +1048,8 @@ public int getThreatTypesValue(int index) {
10481048
*
10491049
* <code>repeated .google.cloud.webrisk.v1.ThreatType threat_types = 1;</code>
10501050
*
1051-
* @param index The index of the value to return.
1052-
* @return The enum numeric value on the wire of threatTypes at the given index.
1051+
* @param index The index to set the value at.
1052+
* @param value The enum numeric value on the wire for threatTypes to set.
10531053
* @return This builder for chaining.
10541054
*/
10551055
public Builder setThreatTypesValue(int index, int value) {

java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffRequest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1205,8 +1205,8 @@ public int getSupportedCompressionsValue(int index) {
12051205
* <code>repeated .google.cloud.webrisk.v1beta1.CompressionType supported_compressions = 3;
12061206
* </code>
12071207
*
1208-
* @param index The index of the value to return.
1209-
* @return The enum numeric value on the wire of supportedCompressions at the given index.
1208+
* @param index The index to set the value at.
1209+
* @param value The enum numeric value on the wire for supportedCompressions to set.
12101210
* @return This builder for chaining.
12111211
*/
12121212
public Builder setSupportedCompressionsValue(int index, int value) {

java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesRequest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -876,8 +876,8 @@ public int getThreatTypesValue(int index) {
876876
* repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
877877
* </code>
878878
*
879-
* @param index The index of the value to return.
880-
* @return The enum numeric value on the wire of threatTypes at the given index.
879+
* @param index The index to set the value at.
880+
* @param value The enum numeric value on the wire for threatTypes to set.
881881
* @return This builder for chaining.
882882
*/
883883
public Builder setThreatTypesValue(int index, int value) {

java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesResponse.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1143,8 +1143,8 @@ public int getThreatTypesValue(int index) {
11431143
*
11441144
* <code>repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;</code>
11451145
*
1146-
* @param index The index of the value to return.
1147-
* @return The enum numeric value on the wire of threatTypes at the given index.
1146+
* @param index The index to set the value at.
1147+
* @param value The enum numeric value on the wire for threatTypes to set.
11481148
* @return This builder for chaining.
11491149
*/
11501150
public Builder setThreatTypesValue(int index, int value) {

java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisRequest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -957,8 +957,8 @@ public int getThreatTypesValue(int index) {
957957
* repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
958958
* </code>
959959
*
960-
* @param index The index of the value to return.
961-
* @return The enum numeric value on the wire of threatTypes at the given index.
960+
* @param index The index to set the value at.
961+
* @param value The enum numeric value on the wire for threatTypes to set.
962962
* @return This builder for chaining.
963963
*/
964964
public Builder setThreatTypesValue(int index, int value) {

java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisResponse.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1049,8 +1049,8 @@ public int getThreatTypesValue(int index) {
10491049
*
10501050
* <code>repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;</code>
10511051
*
1052-
* @param index The index of the value to return.
1053-
* @return The enum numeric value on the wire of threatTypes at the given index.
1052+
* @param index The index to set the value at.
1053+
* @param value The enum numeric value on the wire for threatTypes to set.
10541054
* @return This builder for chaining.
10551055
*/
10561056
public Builder setThreatTypesValue(int index, int value) {

java-webrisk/samples/snippets/generated/com/google/cloud/webrisk/v1/webriskserviceclient/computethreatlistdiff/SyncComputeThreatListDiffThreattypeBytestringComputethreatlistdiffrequestconstraints.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
package com.google.cloud.webrisk.v1.samples;
1818

19-
// [START
20-
// webrisk_v1_generated_webriskserviceclient_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync]
19+
// [START webrisk_v1_generated_webriskserviceclient_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync]
2120
import com.google.cloud.webrisk.v1.WebRiskServiceClient;
2221
import com.google.protobuf.ByteString;
2322
import com.google.webrisk.v1.ComputeThreatListDiffRequest;
@@ -45,5 +44,4 @@ public static void main(String[] args) throws Exception {
4544
}
4645
}
4746
}
48-
// [END
49-
// webrisk_v1_generated_webriskserviceclient_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync]
47+
// [END webrisk_v1_generated_webriskserviceclient_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync]

java-webrisk/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/computethreatlistdiff/SyncComputeThreatListDiffThreattypeBytestringComputethreatlistdiffrequestconstraints.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
package com.google.cloud.webrisk.v1beta1.samples;
1818

19-
// [START
20-
// webrisk_v1beta1_generated_webriskservicev1beta1client_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync]
19+
// [START webrisk_v1beta1_generated_webriskservicev1beta1client_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync]
2120
import com.google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client;
2221
import com.google.protobuf.ByteString;
2322
import com.google.webrisk.v1beta1.ComputeThreatListDiffRequest;
@@ -46,5 +45,4 @@ public static void main(String[] args) throws Exception {
4645
}
4746
}
4847
}
49-
// [END
50-
// webrisk_v1beta1_generated_webriskservicev1beta1client_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync]
48+
// [END webrisk_v1beta1_generated_webriskservicev1beta1client_computethreatlistdiff_threattypebytestringcomputethreatlistdiffrequestconstraints_sync]

java-webrisk/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/searchhashes/SyncSearchHashesBytestringListthreattype.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
package com.google.cloud.webrisk.v1beta1.samples;
1818

19-
// [START
20-
// webrisk_v1beta1_generated_webriskservicev1beta1client_searchhashes_bytestringlistthreattype_sync]
19+
// [START webrisk_v1beta1_generated_webriskservicev1beta1client_searchhashes_bytestringlistthreattype_sync]
2120
import com.google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client;
2221
import com.google.protobuf.ByteString;
2322
import com.google.webrisk.v1beta1.SearchHashesResponse;
@@ -43,5 +42,4 @@ public static void syncSearchHashesBytestringListthreattype() throws Exception {
4342
}
4443
}
4544
}
46-
// [END
47-
// webrisk_v1beta1_generated_webriskservicev1beta1client_searchhashes_bytestringlistthreattype_sync]
45+
// [END webrisk_v1beta1_generated_webriskservicev1beta1client_searchhashes_bytestringlistthreattype_sync]

java-webrisk/samples/snippets/generated/com/google/cloud/webrisk/v1beta1/webriskservicev1beta1client/searchuris/SyncSearchUrisStringListthreattype.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
package com.google.cloud.webrisk.v1beta1.samples;
1818

19-
// [START
20-
// webrisk_v1beta1_generated_webriskservicev1beta1client_searchuris_stringlistthreattype_sync]
19+
// [START webrisk_v1beta1_generated_webriskservicev1beta1client_searchuris_stringlistthreattype_sync]
2120
import com.google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client;
2221
import com.google.webrisk.v1beta1.SearchUrisResponse;
2322
import com.google.webrisk.v1beta1.ThreatType;

0 commit comments

Comments
 (0)