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

Commit 061720a

Browse files
feat(generator): update protoc to v3.15.3 (#394)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/03645e34-b7a2-470a-9ea5-23f9d034150c/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: googleapis/googleapis@f6dd7e4
1 parent 336dc1e commit 061720a

File tree

7 files changed

+211
-5
lines changed

7 files changed

+211
-5
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
3+
<differences>
4+
<difference>
5+
<differenceType>7012</differenceType>
6+
<className>com/google/cloud/language/v1/*OrBuilder</className>
7+
<method>* has*(*)</method>
8+
</difference>
9+
</differences>

proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Document.java

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,21 @@ public com.google.cloud.language.v1.Document.Type getType() {
376376
}
377377

378378
public static final int CONTENT_FIELD_NUMBER = 2;
379+
/**
380+
*
381+
*
382+
* <pre>
383+
* The content of the input in string format.
384+
* Cloud audit logging exempt since it is based on user data.
385+
* </pre>
386+
*
387+
* <code>string content = 2;</code>
388+
*
389+
* @return Whether the content field is set.
390+
*/
391+
public boolean hasContent() {
392+
return sourceCase_ == 2;
393+
}
379394
/**
380395
*
381396
*
@@ -434,6 +449,23 @@ public com.google.protobuf.ByteString getContentBytes() {
434449
}
435450

436451
public static final int GCS_CONTENT_URI_FIELD_NUMBER = 3;
452+
/**
453+
*
454+
*
455+
* <pre>
456+
* The Google Cloud Storage URI where the file content is located.
457+
* This URI must be of the form: gs://bucket_name/object_name. For more
458+
* details, see https://cloud.google.com/storage/docs/reference-uris.
459+
* NOTE: Cloud Storage object versioning is not supported.
460+
* </pre>
461+
*
462+
* <code>string gcs_content_uri = 3;</code>
463+
*
464+
* @return Whether the gcsContentUri field is set.
465+
*/
466+
public boolean hasGcsContentUri() {
467+
return sourceCase_ == 3;
468+
}
437469
/**
438470
*
439471
*
@@ -1061,6 +1093,22 @@ public Builder clearType() {
10611093
return this;
10621094
}
10631095

1096+
/**
1097+
*
1098+
*
1099+
* <pre>
1100+
* The content of the input in string format.
1101+
* Cloud audit logging exempt since it is based on user data.
1102+
* </pre>
1103+
*
1104+
* <code>string content = 2;</code>
1105+
*
1106+
* @return Whether the content field is set.
1107+
*/
1108+
@java.lang.Override
1109+
public boolean hasContent() {
1110+
return sourceCase_ == 2;
1111+
}
10641112
/**
10651113
*
10661114
*
@@ -1185,6 +1233,24 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) {
11851233
return this;
11861234
}
11871235

1236+
/**
1237+
*
1238+
*
1239+
* <pre>
1240+
* The Google Cloud Storage URI where the file content is located.
1241+
* This URI must be of the form: gs://bucket_name/object_name. For more
1242+
* details, see https://cloud.google.com/storage/docs/reference-uris.
1243+
* NOTE: Cloud Storage object versioning is not supported.
1244+
* </pre>
1245+
*
1246+
* <code>string gcs_content_uri = 3;</code>
1247+
*
1248+
* @return Whether the gcsContentUri field is set.
1249+
*/
1250+
@java.lang.Override
1251+
public boolean hasGcsContentUri() {
1252+
return sourceCase_ == 3;
1253+
}
11881254
/**
11891255
*
11901256
*

proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/DocumentOrBuilder.java

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,19 @@ public interface DocumentOrBuilder
5050
*/
5151
com.google.cloud.language.v1.Document.Type getType();
5252

53+
/**
54+
*
55+
*
56+
* <pre>
57+
* The content of the input in string format.
58+
* Cloud audit logging exempt since it is based on user data.
59+
* </pre>
60+
*
61+
* <code>string content = 2;</code>
62+
*
63+
* @return Whether the content field is set.
64+
*/
65+
boolean hasContent();
5366
/**
5467
*
5568
*
@@ -77,6 +90,21 @@ public interface DocumentOrBuilder
7790
*/
7891
com.google.protobuf.ByteString getContentBytes();
7992

93+
/**
94+
*
95+
*
96+
* <pre>
97+
* The Google Cloud Storage URI where the file content is located.
98+
* This URI must be of the form: gs://bucket_name/object_name. For more
99+
* details, see https://cloud.google.com/storage/docs/reference-uris.
100+
* NOTE: Cloud Storage object versioning is not supported.
101+
* </pre>
102+
*
103+
* <code>string gcs_content_uri = 3;</code>
104+
*
105+
* @return Whether the gcsContentUri field is set.
106+
*/
107+
boolean hasGcsContentUri();
80108
/**
81109
*
82110
*
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
3+
<differences>
4+
<difference>
5+
<differenceType>7012</differenceType>
6+
<className>com/google/cloud/language/v1beta2/*OrBuilder</className>
7+
<method>* has*(*)</method>
8+
</difference>
9+
</differences>

proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Document.java

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,21 @@ public com.google.cloud.language.v1beta2.Document.Type getType() {
376376
}
377377

378378
public static final int CONTENT_FIELD_NUMBER = 2;
379+
/**
380+
*
381+
*
382+
* <pre>
383+
* The content of the input in string format.
384+
* Cloud audit logging exempt since it is based on user data.
385+
* </pre>
386+
*
387+
* <code>string content = 2;</code>
388+
*
389+
* @return Whether the content field is set.
390+
*/
391+
public boolean hasContent() {
392+
return sourceCase_ == 2;
393+
}
379394
/**
380395
*
381396
*
@@ -434,6 +449,23 @@ public com.google.protobuf.ByteString getContentBytes() {
434449
}
435450

436451
public static final int GCS_CONTENT_URI_FIELD_NUMBER = 3;
452+
/**
453+
*
454+
*
455+
* <pre>
456+
* The Google Cloud Storage URI where the file content is located.
457+
* This URI must be of the form: gs://bucket_name/object_name. For more
458+
* details, see https://cloud.google.com/storage/docs/reference-uris.
459+
* NOTE: Cloud Storage object versioning is not supported.
460+
* </pre>
461+
*
462+
* <code>string gcs_content_uri = 3;</code>
463+
*
464+
* @return Whether the gcsContentUri field is set.
465+
*/
466+
public boolean hasGcsContentUri() {
467+
return sourceCase_ == 3;
468+
}
437469
/**
438470
*
439471
*
@@ -1063,6 +1095,22 @@ public Builder clearType() {
10631095
return this;
10641096
}
10651097

1098+
/**
1099+
*
1100+
*
1101+
* <pre>
1102+
* The content of the input in string format.
1103+
* Cloud audit logging exempt since it is based on user data.
1104+
* </pre>
1105+
*
1106+
* <code>string content = 2;</code>
1107+
*
1108+
* @return Whether the content field is set.
1109+
*/
1110+
@java.lang.Override
1111+
public boolean hasContent() {
1112+
return sourceCase_ == 2;
1113+
}
10661114
/**
10671115
*
10681116
*
@@ -1187,6 +1235,24 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) {
11871235
return this;
11881236
}
11891237

1238+
/**
1239+
*
1240+
*
1241+
* <pre>
1242+
* The Google Cloud Storage URI where the file content is located.
1243+
* This URI must be of the form: gs://bucket_name/object_name. For more
1244+
* details, see https://cloud.google.com/storage/docs/reference-uris.
1245+
* NOTE: Cloud Storage object versioning is not supported.
1246+
* </pre>
1247+
*
1248+
* <code>string gcs_content_uri = 3;</code>
1249+
*
1250+
* @return Whether the gcsContentUri field is set.
1251+
*/
1252+
@java.lang.Override
1253+
public boolean hasGcsContentUri() {
1254+
return sourceCase_ == 3;
1255+
}
11901256
/**
11911257
*
11921258
*

proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/DocumentOrBuilder.java

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,19 @@ public interface DocumentOrBuilder
5050
*/
5151
com.google.cloud.language.v1beta2.Document.Type getType();
5252

53+
/**
54+
*
55+
*
56+
* <pre>
57+
* The content of the input in string format.
58+
* Cloud audit logging exempt since it is based on user data.
59+
* </pre>
60+
*
61+
* <code>string content = 2;</code>
62+
*
63+
* @return Whether the content field is set.
64+
*/
65+
boolean hasContent();
5366
/**
5467
*
5568
*
@@ -77,6 +90,21 @@ public interface DocumentOrBuilder
7790
*/
7891
com.google.protobuf.ByteString getContentBytes();
7992

93+
/**
94+
*
95+
*
96+
* <pre>
97+
* The Google Cloud Storage URI where the file content is located.
98+
* This URI must be of the form: gs://bucket_name/object_name. For more
99+
* details, see https://cloud.google.com/storage/docs/reference-uris.
100+
* NOTE: Cloud Storage object versioning is not supported.
101+
* </pre>
102+
*
103+
* <code>string gcs_content_uri = 3;</code>
104+
*
105+
* @return Whether the gcsContentUri field is set.
106+
*/
107+
boolean hasGcsContentUri();
80108
/**
81109
*
82110
*

synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-language.git",
7-
"sha": "55d4321a5a10959eb3caf0f4fa9800ffb9fca2c9"
7+
"sha": "336dc1e3648e415bd2e4db688de4f39e79001311"
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
{

0 commit comments

Comments
 (0)