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

Commit 59574d7

Browse files
feat(generator): update protoc to v3.15.3 (#457)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/20ff8108-4bb8-44d9-b386-bf2432a15754/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: googleapis/googleapis@f6dd7e4
1 parent 8ae33e6 commit 59574d7

24 files changed

+950
-5
lines changed

proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,23 @@ public com.google.protobuf.ByteString getParentBytes() {
262262
}
263263

264264
public static final int ENTITY_TYPE_BATCH_URI_FIELD_NUMBER = 2;
265+
/**
266+
*
267+
*
268+
* <pre>
269+
* The URI to a Google Cloud Storage file containing entity types to update
270+
* or create. The file format can either be a serialized proto (of
271+
* EntityBatch type) or a JSON object. Note: The URI must start with
272+
* "gs://".
273+
* </pre>
274+
*
275+
* <code>string entity_type_batch_uri = 2;</code>
276+
*
277+
* @return Whether the entityTypeBatchUri field is set.
278+
*/
279+
public boolean hasEntityTypeBatchUri() {
280+
return entityTypeBatchCase_ == 2;
281+
}
265282
/**
266283
*
267284
*
@@ -1049,6 +1066,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
10491066
return this;
10501067
}
10511068

1069+
/**
1070+
*
1071+
*
1072+
* <pre>
1073+
* The URI to a Google Cloud Storage file containing entity types to update
1074+
* or create. The file format can either be a serialized proto (of
1075+
* EntityBatch type) or a JSON object. Note: The URI must start with
1076+
* "gs://".
1077+
* </pre>
1078+
*
1079+
* <code>string entity_type_batch_uri = 2;</code>
1080+
*
1081+
* @return Whether the entityTypeBatchUri field is set.
1082+
*/
1083+
@java.lang.Override
1084+
public boolean hasEntityTypeBatchUri() {
1085+
return entityTypeBatchCase_ == 2;
1086+
}
10521087
/**
10531088
*
10541089
*

proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,21 @@ public interface BatchUpdateEntityTypesRequestOrBuilder
5454
*/
5555
com.google.protobuf.ByteString getParentBytes();
5656

57+
/**
58+
*
59+
*
60+
* <pre>
61+
* The URI to a Google Cloud Storage file containing entity types to update
62+
* or create. The file format can either be a serialized proto (of
63+
* EntityBatch type) or a JSON object. Note: The URI must start with
64+
* "gs://".
65+
* </pre>
66+
*
67+
* <code>string entity_type_batch_uri = 2;</code>
68+
*
69+
* @return Whether the entityTypeBatchUri field is set.
70+
*/
71+
boolean hasEntityTypeBatchUri();
5772
/**
5873
*
5974
*

proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,22 @@ public com.google.protobuf.ByteString getParentBytes() {
261261
}
262262

263263
public static final int INTENT_BATCH_URI_FIELD_NUMBER = 2;
264+
/**
265+
*
266+
*
267+
* <pre>
268+
* The URI to a Google Cloud Storage file containing intents to update or
269+
* create. The file format can either be a serialized proto (of IntentBatch
270+
* type) or JSON object. Note: The URI must start with "gs://".
271+
* </pre>
272+
*
273+
* <code>string intent_batch_uri = 2;</code>
274+
*
275+
* @return Whether the intentBatchUri field is set.
276+
*/
277+
public boolean hasIntentBatchUri() {
278+
return intentBatchCase_ == 2;
279+
}
264280
/**
265281
*
266282
*
@@ -1092,6 +1108,23 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
10921108
return this;
10931109
}
10941110

1111+
/**
1112+
*
1113+
*
1114+
* <pre>
1115+
* The URI to a Google Cloud Storage file containing intents to update or
1116+
* create. The file format can either be a serialized proto (of IntentBatch
1117+
* type) or JSON object. Note: The URI must start with "gs://".
1118+
* </pre>
1119+
*
1120+
* <code>string intent_batch_uri = 2;</code>
1121+
*
1122+
* @return Whether the intentBatchUri field is set.
1123+
*/
1124+
@java.lang.Override
1125+
public boolean hasIntentBatchUri() {
1126+
return intentBatchCase_ == 2;
1127+
}
10951128
/**
10961129
*
10971130
*

proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ public interface BatchUpdateIntentsRequestOrBuilder
5454
*/
5555
com.google.protobuf.ByteString getParentBytes();
5656

57+
/**
58+
*
59+
*
60+
* <pre>
61+
* The URI to a Google Cloud Storage file containing intents to update or
62+
* create. The file format can either be a serialized proto (of IntentBatch
63+
* type) or JSON object. Note: The URI must start with "gs://".
64+
* </pre>
65+
*
66+
* <code>string intent_batch_uri = 2;</code>
67+
*
68+
* @return Whether the intentBatchUri field is set.
69+
*/
70+
boolean hasIntentBatchUri();
5771
/**
5872
*
5973
*

proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,21 @@ public AgentCase getAgentCase() {
163163
}
164164

165165
public static final int AGENT_URI_FIELD_NUMBER = 1;
166+
/**
167+
*
168+
*
169+
* <pre>
170+
* The URI to a file containing the exported agent. This field is populated
171+
* only if `agent_uri` is specified in `ExportAgentRequest`.
172+
* </pre>
173+
*
174+
* <code>string agent_uri = 1;</code>
175+
*
176+
* @return Whether the agentUri field is set.
177+
*/
178+
public boolean hasAgentUri() {
179+
return agentCase_ == 1;
180+
}
166181
/**
167182
*
168183
*
@@ -221,6 +236,21 @@ public com.google.protobuf.ByteString getAgentUriBytes() {
221236
}
222237

223238
public static final int AGENT_CONTENT_FIELD_NUMBER = 2;
239+
/**
240+
*
241+
*
242+
* <pre>
243+
* Zip compressed raw byte content for agent.
244+
* </pre>
245+
*
246+
* <code>bytes agent_content = 2;</code>
247+
*
248+
* @return Whether the agentContent field is set.
249+
*/
250+
@java.lang.Override
251+
public boolean hasAgentContent() {
252+
return agentCase_ == 2;
253+
}
224254
/**
225255
*
226256
*
@@ -620,6 +650,22 @@ public Builder clearAgent() {
620650
return this;
621651
}
622652

653+
/**
654+
*
655+
*
656+
* <pre>
657+
* The URI to a file containing the exported agent. This field is populated
658+
* only if `agent_uri` is specified in `ExportAgentRequest`.
659+
* </pre>
660+
*
661+
* <code>string agent_uri = 1;</code>
662+
*
663+
* @return Whether the agentUri field is set.
664+
*/
665+
@java.lang.Override
666+
public boolean hasAgentUri() {
667+
return agentCase_ == 1;
668+
}
623669
/**
624670
*
625671
*
@@ -744,6 +790,20 @@ public Builder setAgentUriBytes(com.google.protobuf.ByteString value) {
744790
return this;
745791
}
746792

793+
/**
794+
*
795+
*
796+
* <pre>
797+
* Zip compressed raw byte content for agent.
798+
* </pre>
799+
*
800+
* <code>bytes agent_content = 2;</code>
801+
*
802+
* @return Whether the agentContent field is set.
803+
*/
804+
public boolean hasAgentContent() {
805+
return agentCase_ == 2;
806+
}
747807
/**
748808
*
749809
*

proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponseOrBuilder.java

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,19 @@ public interface ExportAgentResponseOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ExportAgentResponse)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* The URI to a file containing the exported agent. This field is populated
31+
* only if `agent_uri` is specified in `ExportAgentRequest`.
32+
* </pre>
33+
*
34+
* <code>string agent_uri = 1;</code>
35+
*
36+
* @return Whether the agentUri field is set.
37+
*/
38+
boolean hasAgentUri();
2639
/**
2740
*
2841
*
@@ -50,6 +63,18 @@ public interface ExportAgentResponseOrBuilder
5063
*/
5164
com.google.protobuf.ByteString getAgentUriBytes();
5265

66+
/**
67+
*
68+
*
69+
* <pre>
70+
* Zip compressed raw byte content for agent.
71+
* </pre>
72+
*
73+
* <code>bytes agent_content = 2;</code>
74+
*
75+
* @return Whether the agentContent field is set.
76+
*/
77+
boolean hasAgentContent();
5378
/**
5479
*
5580
*

proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,21 @@ public com.google.protobuf.ByteString getParentBytes() {
227227
}
228228

229229
public static final int AGENT_URI_FIELD_NUMBER = 2;
230+
/**
231+
*
232+
*
233+
* <pre>
234+
* The URI to a Google Cloud Storage file containing the agent to import.
235+
* Note: The URI must start with "gs://".
236+
* </pre>
237+
*
238+
* <code>string agent_uri = 2;</code>
239+
*
240+
* @return Whether the agentUri field is set.
241+
*/
242+
public boolean hasAgentUri() {
243+
return agentCase_ == 2;
244+
}
230245
/**
231246
*
232247
*
@@ -285,6 +300,21 @@ public com.google.protobuf.ByteString getAgentUriBytes() {
285300
}
286301

287302
public static final int AGENT_CONTENT_FIELD_NUMBER = 3;
303+
/**
304+
*
305+
*
306+
* <pre>
307+
* Zip compressed raw byte content for agent.
308+
* </pre>
309+
*
310+
* <code>bytes agent_content = 3;</code>
311+
*
312+
* @return Whether the agentContent field is set.
313+
*/
314+
@java.lang.Override
315+
public boolean hasAgentContent() {
316+
return agentCase_ == 3;
317+
}
288318
/**
289319
*
290320
*
@@ -821,6 +851,22 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
821851
return this;
822852
}
823853

854+
/**
855+
*
856+
*
857+
* <pre>
858+
* The URI to a Google Cloud Storage file containing the agent to import.
859+
* Note: The URI must start with "gs://".
860+
* </pre>
861+
*
862+
* <code>string agent_uri = 2;</code>
863+
*
864+
* @return Whether the agentUri field is set.
865+
*/
866+
@java.lang.Override
867+
public boolean hasAgentUri() {
868+
return agentCase_ == 2;
869+
}
824870
/**
825871
*
826872
*
@@ -945,6 +991,20 @@ public Builder setAgentUriBytes(com.google.protobuf.ByteString value) {
945991
return this;
946992
}
947993

994+
/**
995+
*
996+
*
997+
* <pre>
998+
* Zip compressed raw byte content for agent.
999+
* </pre>
1000+
*
1001+
* <code>bytes agent_content = 3;</code>
1002+
*
1003+
* @return Whether the agentContent field is set.
1004+
*/
1005+
public boolean hasAgentContent() {
1006+
return agentCase_ == 3;
1007+
}
9481008
/**
9491009
*
9501010
*

proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequestOrBuilder.java

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,19 @@ public interface ImportAgentRequestOrBuilder
5454
*/
5555
com.google.protobuf.ByteString getParentBytes();
5656

57+
/**
58+
*
59+
*
60+
* <pre>
61+
* The URI to a Google Cloud Storage file containing the agent to import.
62+
* Note: The URI must start with "gs://".
63+
* </pre>
64+
*
65+
* <code>string agent_uri = 2;</code>
66+
*
67+
* @return Whether the agentUri field is set.
68+
*/
69+
boolean hasAgentUri();
5770
/**
5871
*
5972
*
@@ -81,6 +94,18 @@ public interface ImportAgentRequestOrBuilder
8194
*/
8295
com.google.protobuf.ByteString getAgentUriBytes();
8396

97+
/**
98+
*
99+
*
100+
* <pre>
101+
* Zip compressed raw byte content for agent.
102+
* </pre>
103+
*
104+
* <code>bytes agent_content = 3;</code>
105+
*
106+
* @return Whether the agentContent field is set.
107+
*/
108+
boolean hasAgentContent();
84109
/**
85110
*
86111
*

0 commit comments

Comments
 (0)