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

Commit 7b95029

Browse files
feat(generator): update protoc to v3.15.3 (#449)
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 6bd38b2 commit 7b95029

File tree

7 files changed

+101
-5
lines changed

7 files changed

+101
-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/translate/v3/*RequestOrBuilder</className>
7+
<method>* has*(*)</method>
8+
</difference>
9+
</differences>

proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/DetectLanguageRequest.java

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,20 @@ public com.google.protobuf.ByteString getModelBytes() {
330330
}
331331

332332
public static final int CONTENT_FIELD_NUMBER = 1;
333+
/**
334+
*
335+
*
336+
* <pre>
337+
* The content of the input stored as a string.
338+
* </pre>
339+
*
340+
* <code>string content = 1;</code>
341+
*
342+
* @return Whether the content field is set.
343+
*/
344+
public boolean hasContent() {
345+
return sourceCase_ == 1;
346+
}
333347
/**
334348
*
335349
*
@@ -1285,6 +1299,21 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) {
12851299
return this;
12861300
}
12871301

1302+
/**
1303+
*
1304+
*
1305+
* <pre>
1306+
* The content of the input stored as a string.
1307+
* </pre>
1308+
*
1309+
* <code>string content = 1;</code>
1310+
*
1311+
* @return Whether the content field is set.
1312+
*/
1313+
@java.lang.Override
1314+
public boolean hasContent() {
1315+
return sourceCase_ == 1;
1316+
}
12881317
/**
12891318
*
12901319
*

proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/DetectLanguageRequestOrBuilder.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,18 @@ public interface DetectLanguageRequestOrBuilder
101101
*/
102102
com.google.protobuf.ByteString getModelBytes();
103103

104+
/**
105+
*
106+
*
107+
* <pre>
108+
* The content of the input stored as a string.
109+
* </pre>
110+
*
111+
* <code>string content = 1;</code>
112+
*
113+
* @return Whether the content field is set.
114+
*/
115+
boolean hasContent();
104116
/**
105117
*
106118
*

proto-google-cloud-translate-v3beta1/clirr-ignored-differences.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,9 @@
1111
<className>com/google/cloud/translate/v3beta1/*RequestOrBuilder</className>
1212
<method>boolean contains*(*)</method>
1313
</difference>
14+
<difference>
15+
<differenceType>7012</differenceType>
16+
<className>com/google/cloud/translate/v3beta1/*RequestOrBuilder</className>
17+
<method>* has*(*)</method>
18+
</difference>
1419
</differences>

proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DetectLanguageRequest.java

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,20 @@ public com.google.protobuf.ByteString getModelBytes() {
330330
}
331331

332332
public static final int CONTENT_FIELD_NUMBER = 1;
333+
/**
334+
*
335+
*
336+
* <pre>
337+
* The content of the input stored as a string.
338+
* </pre>
339+
*
340+
* <code>string content = 1;</code>
341+
*
342+
* @return Whether the content field is set.
343+
*/
344+
public boolean hasContent() {
345+
return sourceCase_ == 1;
346+
}
333347
/**
334348
*
335349
*
@@ -1286,6 +1300,21 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) {
12861300
return this;
12871301
}
12881302

1303+
/**
1304+
*
1305+
*
1306+
* <pre>
1307+
* The content of the input stored as a string.
1308+
* </pre>
1309+
*
1310+
* <code>string content = 1;</code>
1311+
*
1312+
* @return Whether the content field is set.
1313+
*/
1314+
@java.lang.Override
1315+
public boolean hasContent() {
1316+
return sourceCase_ == 1;
1317+
}
12891318
/**
12901319
*
12911320
*

proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DetectLanguageRequestOrBuilder.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,18 @@ public interface DetectLanguageRequestOrBuilder
101101
*/
102102
com.google.protobuf.ByteString getModelBytes();
103103

104+
/**
105+
*
106+
*
107+
* <pre>
108+
* The content of the input stored as a string.
109+
* </pre>
110+
*
111+
* <code>string content = 1;</code>
112+
*
113+
* @return Whether the content field is set.
114+
*/
115+
boolean hasContent();
104116
/**
105117
*
106118
*

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-translate.git",
7-
"sha": "91ea78bd9bcc535dd8eabad721ed2039e49148f8"
7+
"sha": "6bd38b21886f474438678767bbbc0b4e9302d4af"
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)