Skip to content

Commit f548cca

Browse files
Regenerate dialogflow client
1 parent 7fc4b3b commit f548cca

File tree

8 files changed

+101
-101
lines changed

8 files changed

+101
-101
lines changed

google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ public final UnaryCallable<SearchAgentsRequest, SearchAgentsResponse> searchAgen
452452
* <pre><code>
453453
* try (AgentsClient agentsClient = AgentsClient.create()) {
454454
* ProjectName parent = ProjectName.of("[PROJECT]");
455-
* Empty response = agentsClient.trainAgentAsync(parent).get();
455+
* agentsClient.trainAgentAsync(parent).get();
456456
* }
457457
* </code></pre>
458458
*
@@ -481,7 +481,7 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(ProjectName parent)
481481
* <pre><code>
482482
* try (AgentsClient agentsClient = AgentsClient.create()) {
483483
* ProjectName parent = ProjectName.of("[PROJECT]");
484-
* Empty response = agentsClient.trainAgentAsync(parent.toString()).get();
484+
* agentsClient.trainAgentAsync(parent.toString()).get();
485485
* }
486486
* </code></pre>
487487
*
@@ -512,7 +512,7 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(String parent) {
512512
* TrainAgentRequest request = TrainAgentRequest.newBuilder()
513513
* .setParent(parent.toString())
514514
* .build();
515-
* Empty response = agentsClient.trainAgentAsync(request).get();
515+
* agentsClient.trainAgentAsync(request).get();
516516
* }
517517
* </code></pre>
518518
*
@@ -540,9 +540,9 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(TrainAgentRequest re
540540
* TrainAgentRequest request = TrainAgentRequest.newBuilder()
541541
* .setParent(parent.toString())
542542
* .build();
543-
* OperationFuture&lt;Operation&gt; future = agentsClient.trainAgentOperationCallable().futureCall(request);
543+
* OperationFuture&lt;Empty, Struct&gt; future = agentsClient.trainAgentOperationCallable().futureCall(request);
544544
* // Do something
545-
* Empty response = future.get();
545+
* future.get();
546546
* }
547547
* </code></pre>
548548
*/
@@ -683,7 +683,7 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(
683683
* ExportAgentRequest request = ExportAgentRequest.newBuilder()
684684
* .setParent(parent.toString())
685685
* .build();
686-
* OperationFuture&lt;Operation&gt; future = agentsClient.exportAgentOperationCallable().futureCall(request);
686+
* OperationFuture&lt;ExportAgentResponse, Struct&gt; future = agentsClient.exportAgentOperationCallable().futureCall(request);
687687
* // Do something
688688
* ExportAgentResponse response = future.get();
689689
* }
@@ -739,7 +739,7 @@ public final UnaryCallable<ExportAgentRequest, Operation> exportAgentCallable()
739739
* ImportAgentRequest request = ImportAgentRequest.newBuilder()
740740
* .setParent(parent.toString())
741741
* .build();
742-
* Empty response = agentsClient.importAgentAsync(request).get();
742+
* agentsClient.importAgentAsync(request).get();
743743
* }
744744
* </code></pre>
745745
*
@@ -770,9 +770,9 @@ public final OperationFuture<Empty, Struct> importAgentAsync(ImportAgentRequest
770770
* ImportAgentRequest request = ImportAgentRequest.newBuilder()
771771
* .setParent(parent.toString())
772772
* .build();
773-
* OperationFuture&lt;Operation&gt; future = agentsClient.importAgentOperationCallable().futureCall(request);
773+
* OperationFuture&lt;Empty, Struct&gt; future = agentsClient.importAgentOperationCallable().futureCall(request);
774774
* // Do something
775-
* Empty response = future.get();
775+
* future.get();
776776
* }
777777
* </code></pre>
778778
*/
@@ -827,7 +827,7 @@ public final UnaryCallable<ImportAgentRequest, Operation> importAgentCallable()
827827
* RestoreAgentRequest request = RestoreAgentRequest.newBuilder()
828828
* .setParent(parent.toString())
829829
* .build();
830-
* Empty response = agentsClient.restoreAgentAsync(request).get();
830+
* agentsClient.restoreAgentAsync(request).get();
831831
* }
832832
* </code></pre>
833833
*
@@ -858,9 +858,9 @@ public final OperationFuture<Empty, Struct> restoreAgentAsync(RestoreAgentReques
858858
* RestoreAgentRequest request = RestoreAgentRequest.newBuilder()
859859
* .setParent(parent.toString())
860860
* .build();
861-
* OperationFuture&lt;Operation&gt; future = agentsClient.restoreAgentOperationCallable().futureCall(request);
861+
* OperationFuture&lt;Empty, Struct&gt; future = agentsClient.restoreAgentOperationCallable().futureCall(request);
862862
* // Do something
863-
* Empty response = future.get();
863+
* future.get();
864864
* }
865865
* </code></pre>
866866
*/

google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ public final OperationFuture<BatchUpdateEntityTypesResponse, Struct> batchUpdate
959959
* BatchUpdateEntityTypesRequest request = BatchUpdateEntityTypesRequest.newBuilder()
960960
* .setParent(parent.toString())
961961
* .build();
962-
* OperationFuture&lt;Operation&gt; future = entityTypesClient.batchUpdateEntityTypesOperationCallable().futureCall(request);
962+
* OperationFuture&lt;BatchUpdateEntityTypesResponse, Struct&gt; future = entityTypesClient.batchUpdateEntityTypesOperationCallable().futureCall(request);
963963
* // Do something
964964
* BatchUpdateEntityTypesResponse response = future.get();
965965
* }
@@ -1012,7 +1012,7 @@ public final OperationFuture<BatchUpdateEntityTypesResponse, Struct> batchUpdate
10121012
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
10131013
* ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
10141014
* List&lt;String&gt; entityTypeNames = new ArrayList&lt;&gt;();
1015-
* Empty response = entityTypesClient.batchDeleteEntityTypesAsync(parent, entityTypeNames).get();
1015+
* entityTypesClient.batchDeleteEntityTypesAsync(parent, entityTypeNames).get();
10161016
* }
10171017
* </code></pre>
10181018
*
@@ -1048,7 +1048,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntityTypesAsync(
10481048
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
10491049
* ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
10501050
* List&lt;String&gt; entityTypeNames = new ArrayList&lt;&gt;();
1051-
* Empty response = entityTypesClient.batchDeleteEntityTypesAsync(parent.toString(), entityTypeNames).get();
1051+
* entityTypesClient.batchDeleteEntityTypesAsync(parent.toString(), entityTypeNames).get();
10521052
* }
10531053
* </code></pre>
10541054
*
@@ -1088,7 +1088,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntityTypesAsync(
10881088
* .setParent(parent.toString())
10891089
* .addAllEntityTypeNames(entityTypeNames)
10901090
* .build();
1091-
* Empty response = entityTypesClient.batchDeleteEntityTypesAsync(request).get();
1091+
* entityTypesClient.batchDeleteEntityTypesAsync(request).get();
10921092
* }
10931093
* </code></pre>
10941094
*
@@ -1119,9 +1119,9 @@ public final OperationFuture<Empty, Struct> batchDeleteEntityTypesAsync(
11191119
* .setParent(parent.toString())
11201120
* .addAllEntityTypeNames(entityTypeNames)
11211121
* .build();
1122-
* OperationFuture&lt;Operation&gt; future = entityTypesClient.batchDeleteEntityTypesOperationCallable().futureCall(request);
1122+
* OperationFuture&lt;Empty, Struct&gt; future = entityTypesClient.batchDeleteEntityTypesOperationCallable().futureCall(request);
11231123
* // Do something
1124-
* Empty response = future.get();
1124+
* future.get();
11251125
* }
11261126
* </code></pre>
11271127
*/
@@ -1172,7 +1172,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntityTypesAsync(
11721172
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
11731173
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
11741174
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
1175-
* Empty response = entityTypesClient.batchCreateEntitiesAsync(parent, entities).get();
1175+
* entityTypesClient.batchCreateEntitiesAsync(parent, entities).get();
11761176
* }
11771177
* </code></pre>
11781178
*
@@ -1207,7 +1207,7 @@ public final OperationFuture<Empty, Struct> batchCreateEntitiesAsync(
12071207
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
12081208
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
12091209
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
1210-
* Empty response = entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities).get();
1210+
* entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities).get();
12111211
* }
12121212
* </code></pre>
12131213
*
@@ -1240,7 +1240,7 @@ public final OperationFuture<Empty, Struct> batchCreateEntitiesAsync(
12401240
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
12411241
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
12421242
* String languageCode = "";
1243-
* Empty response = entityTypesClient.batchCreateEntitiesAsync(parent, entities, languageCode).get();
1243+
* entityTypesClient.batchCreateEntitiesAsync(parent, entities, languageCode).get();
12441244
* }
12451245
* </code></pre>
12461246
*
@@ -1281,7 +1281,7 @@ public final OperationFuture<Empty, Struct> batchCreateEntitiesAsync(
12811281
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
12821282
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
12831283
* String languageCode = "";
1284-
* Empty response = entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities, languageCode).get();
1284+
* entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities, languageCode).get();
12851285
* }
12861286
* </code></pre>
12871287
*
@@ -1325,7 +1325,7 @@ public final OperationFuture<Empty, Struct> batchCreateEntitiesAsync(
13251325
* .setParent(parent.toString())
13261326
* .addAllEntities(entities)
13271327
* .build();
1328-
* Empty response = entityTypesClient.batchCreateEntitiesAsync(request).get();
1328+
* entityTypesClient.batchCreateEntitiesAsync(request).get();
13291329
* }
13301330
* </code></pre>
13311331
*
@@ -1356,9 +1356,9 @@ public final OperationFuture<Empty, Struct> batchCreateEntitiesAsync(
13561356
* .setParent(parent.toString())
13571357
* .addAllEntities(entities)
13581358
* .build();
1359-
* OperationFuture&lt;Operation&gt; future = entityTypesClient.batchCreateEntitiesOperationCallable().futureCall(request);
1359+
* OperationFuture&lt;Empty, Struct&gt; future = entityTypesClient.batchCreateEntitiesOperationCallable().futureCall(request);
13601360
* // Do something
1361-
* Empty response = future.get();
1361+
* future.get();
13621362
* }
13631363
* </code></pre>
13641364
*/
@@ -1408,7 +1408,7 @@ public final UnaryCallable<BatchCreateEntitiesRequest, Operation> batchCreateEnt
14081408
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
14091409
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
14101410
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
1411-
* Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent, entities).get();
1411+
* entityTypesClient.batchUpdateEntitiesAsync(parent, entities).get();
14121412
* }
14131413
* </code></pre>
14141414
*
@@ -1443,7 +1443,7 @@ public final OperationFuture<Empty, Struct> batchUpdateEntitiesAsync(
14431443
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
14441444
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
14451445
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
1446-
* Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities).get();
1446+
* entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities).get();
14471447
* }
14481448
* </code></pre>
14491449
*
@@ -1476,7 +1476,7 @@ public final OperationFuture<Empty, Struct> batchUpdateEntitiesAsync(
14761476
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
14771477
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
14781478
* String languageCode = "";
1479-
* Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent, entities, languageCode).get();
1479+
* entityTypesClient.batchUpdateEntitiesAsync(parent, entities, languageCode).get();
14801480
* }
14811481
* </code></pre>
14821482
*
@@ -1517,7 +1517,7 @@ public final OperationFuture<Empty, Struct> batchUpdateEntitiesAsync(
15171517
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
15181518
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
15191519
* String languageCode = "";
1520-
* Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities, languageCode).get();
1520+
* entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities, languageCode).get();
15211521
* }
15221522
* </code></pre>
15231523
*
@@ -1561,7 +1561,7 @@ public final OperationFuture<Empty, Struct> batchUpdateEntitiesAsync(
15611561
* .setParent(parent.toString())
15621562
* .addAllEntities(entities)
15631563
* .build();
1564-
* Empty response = entityTypesClient.batchUpdateEntitiesAsync(request).get();
1564+
* entityTypesClient.batchUpdateEntitiesAsync(request).get();
15651565
* }
15661566
* </code></pre>
15671567
*
@@ -1592,9 +1592,9 @@ public final OperationFuture<Empty, Struct> batchUpdateEntitiesAsync(
15921592
* .setParent(parent.toString())
15931593
* .addAllEntities(entities)
15941594
* .build();
1595-
* OperationFuture&lt;Operation&gt; future = entityTypesClient.batchUpdateEntitiesOperationCallable().futureCall(request);
1595+
* OperationFuture&lt;Empty, Struct&gt; future = entityTypesClient.batchUpdateEntitiesOperationCallable().futureCall(request);
15961596
* // Do something
1597-
* Empty response = future.get();
1597+
* future.get();
15981598
* }
15991599
* </code></pre>
16001600
*/
@@ -1644,7 +1644,7 @@ public final UnaryCallable<BatchUpdateEntitiesRequest, Operation> batchUpdateEnt
16441644
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
16451645
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
16461646
* List&lt;String&gt; entityValues = new ArrayList&lt;&gt;();
1647-
* Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues).get();
1647+
* entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues).get();
16481648
* }
16491649
* </code></pre>
16501650
*
@@ -1680,7 +1680,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntitiesAsync(
16801680
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
16811681
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
16821682
* List&lt;String&gt; entityValues = new ArrayList&lt;&gt;();
1683-
* Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues).get();
1683+
* entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues).get();
16841684
* }
16851685
* </code></pre>
16861686
*
@@ -1717,7 +1717,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntitiesAsync(
17171717
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
17181718
* List&lt;String&gt; entityValues = new ArrayList&lt;&gt;();
17191719
* String languageCode = "";
1720-
* Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get();
1720+
* entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get();
17211721
* }
17221722
* </code></pre>
17231723
*
@@ -1759,7 +1759,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntitiesAsync(
17591759
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
17601760
* List&lt;String&gt; entityValues = new ArrayList&lt;&gt;();
17611761
* String languageCode = "";
1762-
* Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues, languageCode).get();
1762+
* entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues, languageCode).get();
17631763
* }
17641764
* </code></pre>
17651765
*
@@ -1804,7 +1804,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntitiesAsync(
18041804
* .setParent(parent.toString())
18051805
* .addAllEntityValues(entityValues)
18061806
* .build();
1807-
* Empty response = entityTypesClient.batchDeleteEntitiesAsync(request).get();
1807+
* entityTypesClient.batchDeleteEntitiesAsync(request).get();
18081808
* }
18091809
* </code></pre>
18101810
*
@@ -1835,9 +1835,9 @@ public final OperationFuture<Empty, Struct> batchDeleteEntitiesAsync(
18351835
* .setParent(parent.toString())
18361836
* .addAllEntityValues(entityValues)
18371837
* .build();
1838-
* OperationFuture&lt;Operation&gt; future = entityTypesClient.batchDeleteEntitiesOperationCallable().futureCall(request);
1838+
* OperationFuture&lt;Empty, Struct&gt; future = entityTypesClient.batchDeleteEntitiesOperationCallable().futureCall(request);
18391839
* // Do something
1840-
* Empty response = future.get();
1840+
* future.get();
18411841
* }
18421842
* </code></pre>
18431843
*/

google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ public final OperationFuture<BatchUpdateIntentsResponse, Struct> batchUpdateInte
971971
* .setParent(parent.toString())
972972
* .setLanguageCode(languageCode)
973973
* .build();
974-
* OperationFuture&lt;Operation&gt; future = intentsClient.batchUpdateIntentsOperationCallable().futureCall(request);
974+
* OperationFuture&lt;BatchUpdateIntentsResponse, Struct&gt; future = intentsClient.batchUpdateIntentsOperationCallable().futureCall(request);
975975
* // Do something
976976
* BatchUpdateIntentsResponse response = future.get();
977977
* }
@@ -1022,7 +1022,7 @@ public final UnaryCallable<BatchUpdateIntentsRequest, Operation> batchUpdateInte
10221022
* try (IntentsClient intentsClient = IntentsClient.create()) {
10231023
* ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
10241024
* List&lt;Intent&gt; intents = new ArrayList&lt;&gt;();
1025-
* Empty response = intentsClient.batchDeleteIntentsAsync(parent, intents).get();
1025+
* intentsClient.batchDeleteIntentsAsync(parent, intents).get();
10261026
* }
10271027
* </code></pre>
10281028
*
@@ -1057,7 +1057,7 @@ public final OperationFuture<Empty, Struct> batchDeleteIntentsAsync(
10571057
* try (IntentsClient intentsClient = IntentsClient.create()) {
10581058
* ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
10591059
* List&lt;Intent&gt; intents = new ArrayList&lt;&gt;();
1060-
* Empty response = intentsClient.batchDeleteIntentsAsync(parent.toString(), intents).get();
1060+
* intentsClient.batchDeleteIntentsAsync(parent.toString(), intents).get();
10611061
* }
10621062
* </code></pre>
10631063
*
@@ -1093,7 +1093,7 @@ public final OperationFuture<Empty, Struct> batchDeleteIntentsAsync(
10931093
* .setParent(parent.toString())
10941094
* .addAllIntents(intents)
10951095
* .build();
1096-
* Empty response = intentsClient.batchDeleteIntentsAsync(request).get();
1096+
* intentsClient.batchDeleteIntentsAsync(request).get();
10971097
* }
10981098
* </code></pre>
10991099
*
@@ -1123,9 +1123,9 @@ public final OperationFuture<Empty, Struct> batchDeleteIntentsAsync(
11231123
* .setParent(parent.toString())
11241124
* .addAllIntents(intents)
11251125
* .build();
1126-
* OperationFuture&lt;Operation&gt; future = intentsClient.batchDeleteIntentsOperationCallable().futureCall(request);
1126+
* OperationFuture&lt;Empty, Struct&gt; future = intentsClient.batchDeleteIntentsOperationCallable().futureCall(request);
11271127
* // Do something
1128-
* Empty response = future.get();
1128+
* future.get();
11291129
* }
11301130
* </code></pre>
11311131
*/

0 commit comments

Comments
 (0)