Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 528806f

Browse files
feat(generator): update protoc to v3.15.3 (#421)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/4650efcc-2b5e-4632-92f4-e28824d4f0b4/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: googleapis/googleapis@f6dd7e4
1 parent 8e5bef4 commit 528806f

File tree

5 files changed

+99
-11
lines changed

5 files changed

+99
-11
lines changed

proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/PurgeProductsRequest.java

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,22 @@ public com.google.cloud.vision.v1.ProductSetPurgeConfig getProductSetPurgeConfig
239239
}
240240

241241
public static final int DELETE_ORPHAN_PRODUCTS_FIELD_NUMBER = 3;
242+
/**
243+
*
244+
*
245+
* <pre>
246+
* If delete_orphan_products is true, all Products that are not in any
247+
* ProductSet will be deleted.
248+
* </pre>
249+
*
250+
* <code>bool delete_orphan_products = 3;</code>
251+
*
252+
* @return Whether the deleteOrphanProducts field is set.
253+
*/
254+
@java.lang.Override
255+
public boolean hasDeleteOrphanProducts() {
256+
return targetCase_ == 3;
257+
}
242258
/**
243259
*
244260
*
@@ -960,6 +976,21 @@ public Builder clearProductSetPurgeConfig() {
960976
return productSetPurgeConfigBuilder_;
961977
}
962978

979+
/**
980+
*
981+
*
982+
* <pre>
983+
* If delete_orphan_products is true, all Products that are not in any
984+
* ProductSet will be deleted.
985+
* </pre>
986+
*
987+
* <code>bool delete_orphan_products = 3;</code>
988+
*
989+
* @return Whether the deleteOrphanProducts field is set.
990+
*/
991+
public boolean hasDeleteOrphanProducts() {
992+
return targetCase_ == 3;
993+
}
963994
/**
964995
*
965996
*

proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/PurgeProductsRequestOrBuilder.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,19 @@ public interface PurgeProductsRequestOrBuilder
5858
*/
5959
com.google.cloud.vision.v1.ProductSetPurgeConfigOrBuilder getProductSetPurgeConfigOrBuilder();
6060

61+
/**
62+
*
63+
*
64+
* <pre>
65+
* If delete_orphan_products is true, all Products that are not in any
66+
* ProductSet will be deleted.
67+
* </pre>
68+
*
69+
* <code>bool delete_orphan_products = 3;</code>
70+
*
71+
* @return Whether the deleteOrphanProducts field is set.
72+
*/
73+
boolean hasDeleteOrphanProducts();
6174
/**
6275
*
6376
*

proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/PurgeProductsRequest.java

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,22 @@ public com.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig getProductSetPurg
241241
}
242242

243243
public static final int DELETE_ORPHAN_PRODUCTS_FIELD_NUMBER = 3;
244+
/**
245+
*
246+
*
247+
* <pre>
248+
* If delete_orphan_products is true, all Products that are not in any
249+
* ProductSet will be deleted.
250+
* </pre>
251+
*
252+
* <code>bool delete_orphan_products = 3;</code>
253+
*
254+
* @return Whether the deleteOrphanProducts field is set.
255+
*/
256+
@java.lang.Override
257+
public boolean hasDeleteOrphanProducts() {
258+
return targetCase_ == 3;
259+
}
244260
/**
245261
*
246262
*
@@ -974,6 +990,21 @@ public Builder clearProductSetPurgeConfig() {
974990
return productSetPurgeConfigBuilder_;
975991
}
976992

993+
/**
994+
*
995+
*
996+
* <pre>
997+
* If delete_orphan_products is true, all Products that are not in any
998+
* ProductSet will be deleted.
999+
* </pre>
1000+
*
1001+
* <code>bool delete_orphan_products = 3;</code>
1002+
*
1003+
* @return Whether the deleteOrphanProducts field is set.
1004+
*/
1005+
public boolean hasDeleteOrphanProducts() {
1006+
return targetCase_ == 3;
1007+
}
9771008
/**
9781009
*
9791010
*

proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/PurgeProductsRequestOrBuilder.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,19 @@ public interface PurgeProductsRequestOrBuilder
5959
com.google.cloud.vision.v1p4beta1.ProductSetPurgeConfigOrBuilder
6060
getProductSetPurgeConfigOrBuilder();
6161

62+
/**
63+
*
64+
*
65+
* <pre>
66+
* If delete_orphan_products is true, all Products that are not in any
67+
* ProductSet will be deleted.
68+
* </pre>
69+
*
70+
* <code>bool delete_orphan_products = 3;</code>
71+
*
72+
* @return Whether the deleteOrphanProducts field is set.
73+
*/
74+
boolean hasDeleteOrphanProducts();
6275
/**
6376
*
6477
*

synth.metadata

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,47 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-vision.git",
7-
"sha": "c3d6e7bd7e544cbf035c903648eb43ee7958d57f"
7+
"sha": "8e5bef4599bad69c53490e450bddff22631c1f20"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
15-
"internalRef": "358516065"
14+
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
15+
"internalRef": "359781040"
1616
}
1717
},
1818
{
1919
"git": {
2020
"name": "googleapis",
2121
"remote": "https://github.com/googleapis/googleapis.git",
22-
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
23-
"internalRef": "358516065"
22+
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
23+
"internalRef": "359781040"
2424
}
2525
},
2626
{
2727
"git": {
2828
"name": "googleapis",
2929
"remote": "https://github.com/googleapis/googleapis.git",
30-
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
31-
"internalRef": "358516065"
30+
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
31+
"internalRef": "359781040"
3232
}
3333
},
3434
{
3535
"git": {
3636
"name": "googleapis",
3737
"remote": "https://github.com/googleapis/googleapis.git",
38-
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
39-
"internalRef": "358516065"
38+
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
39+
"internalRef": "359781040"
4040
}
4141
},
4242
{
4343
"git": {
4444
"name": "googleapis",
4545
"remote": "https://github.com/googleapis/googleapis.git",
46-
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
47-
"internalRef": "358516065"
46+
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
47+
"internalRef": "359781040"
4848
}
4949
},
5050
{

0 commit comments

Comments
 (0)