Skip to content

Commit

Permalink
Regenerate dialogflow client (#4429)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and kolea2 committed Feb 5, 2019
1 parent cb58c4d commit 95a098e
Show file tree
Hide file tree
Showing 8 changed files with 101 additions and 101 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ public final UnaryCallable<SearchAgentsRequest, SearchAgentsResponse> searchAgen
* <pre><code>
* try (AgentsClient agentsClient = AgentsClient.create()) {
* ProjectName parent = ProjectName.of("[PROJECT]");
* Empty response = agentsClient.trainAgentAsync(parent).get();
* agentsClient.trainAgentAsync(parent).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -481,7 +481,7 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(ProjectName parent)
* <pre><code>
* try (AgentsClient agentsClient = AgentsClient.create()) {
* ProjectName parent = ProjectName.of("[PROJECT]");
* Empty response = agentsClient.trainAgentAsync(parent.toString()).get();
* agentsClient.trainAgentAsync(parent.toString()).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -512,7 +512,7 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(String parent) {
* TrainAgentRequest request = TrainAgentRequest.newBuilder()
* .setParent(parent.toString())
* .build();
* Empty response = agentsClient.trainAgentAsync(request).get();
* agentsClient.trainAgentAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -540,9 +540,9 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(TrainAgentRequest re
* TrainAgentRequest request = TrainAgentRequest.newBuilder()
* .setParent(parent.toString())
* .build();
* OperationFuture&lt;Operation&gt; future = agentsClient.trainAgentOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, Struct&gt; future = agentsClient.trainAgentOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down Expand Up @@ -683,7 +683,7 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(
* ExportAgentRequest request = ExportAgentRequest.newBuilder()
* .setParent(parent.toString())
* .build();
* OperationFuture&lt;Operation&gt; future = agentsClient.exportAgentOperationCallable().futureCall(request);
* OperationFuture&lt;ExportAgentResponse, Struct&gt; future = agentsClient.exportAgentOperationCallable().futureCall(request);
* // Do something
* ExportAgentResponse response = future.get();
* }
Expand Down Expand Up @@ -739,7 +739,7 @@ public final UnaryCallable<ExportAgentRequest, Operation> exportAgentCallable()
* ImportAgentRequest request = ImportAgentRequest.newBuilder()
* .setParent(parent.toString())
* .build();
* Empty response = agentsClient.importAgentAsync(request).get();
* agentsClient.importAgentAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -770,9 +770,9 @@ public final OperationFuture<Empty, Struct> importAgentAsync(ImportAgentRequest
* ImportAgentRequest request = ImportAgentRequest.newBuilder()
* .setParent(parent.toString())
* .build();
* OperationFuture&lt;Operation&gt; future = agentsClient.importAgentOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, Struct&gt; future = agentsClient.importAgentOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down Expand Up @@ -827,7 +827,7 @@ public final UnaryCallable<ImportAgentRequest, Operation> importAgentCallable()
* RestoreAgentRequest request = RestoreAgentRequest.newBuilder()
* .setParent(parent.toString())
* .build();
* Empty response = agentsClient.restoreAgentAsync(request).get();
* agentsClient.restoreAgentAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -858,9 +858,9 @@ public final OperationFuture<Empty, Struct> restoreAgentAsync(RestoreAgentReques
* RestoreAgentRequest request = RestoreAgentRequest.newBuilder()
* .setParent(parent.toString())
* .build();
* OperationFuture&lt;Operation&gt; future = agentsClient.restoreAgentOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, Struct&gt; future = agentsClient.restoreAgentOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ public final OperationFuture<BatchUpdateEntityTypesResponse, Struct> batchUpdate
* BatchUpdateEntityTypesRequest request = BatchUpdateEntityTypesRequest.newBuilder()
* .setParent(parent.toString())
* .build();
* OperationFuture&lt;Operation&gt; future = entityTypesClient.batchUpdateEntityTypesOperationCallable().futureCall(request);
* OperationFuture&lt;BatchUpdateEntityTypesResponse, Struct&gt; future = entityTypesClient.batchUpdateEntityTypesOperationCallable().futureCall(request);
* // Do something
* BatchUpdateEntityTypesResponse response = future.get();
* }
Expand Down Expand Up @@ -1012,7 +1012,7 @@ public final OperationFuture<BatchUpdateEntityTypesResponse, Struct> batchUpdate
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
* List&lt;String&gt; entityTypeNames = new ArrayList&lt;&gt;();
* Empty response = entityTypesClient.batchDeleteEntityTypesAsync(parent, entityTypeNames).get();
* entityTypesClient.batchDeleteEntityTypesAsync(parent, entityTypeNames).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1048,7 +1048,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntityTypesAsync(
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
* List&lt;String&gt; entityTypeNames = new ArrayList&lt;&gt;();
* Empty response = entityTypesClient.batchDeleteEntityTypesAsync(parent.toString(), entityTypeNames).get();
* entityTypesClient.batchDeleteEntityTypesAsync(parent.toString(), entityTypeNames).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1088,7 +1088,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntityTypesAsync(
* .setParent(parent.toString())
* .addAllEntityTypeNames(entityTypeNames)
* .build();
* Empty response = entityTypesClient.batchDeleteEntityTypesAsync(request).get();
* entityTypesClient.batchDeleteEntityTypesAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1119,9 +1119,9 @@ public final OperationFuture<Empty, Struct> batchDeleteEntityTypesAsync(
* .setParent(parent.toString())
* .addAllEntityTypeNames(entityTypeNames)
* .build();
* OperationFuture&lt;Operation&gt; future = entityTypesClient.batchDeleteEntityTypesOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, Struct&gt; future = entityTypesClient.batchDeleteEntityTypesOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down Expand Up @@ -1172,7 +1172,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntityTypesAsync(
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
* Empty response = entityTypesClient.batchCreateEntitiesAsync(parent, entities).get();
* entityTypesClient.batchCreateEntitiesAsync(parent, entities).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1207,7 +1207,7 @@ public final OperationFuture<Empty, Struct> batchCreateEntitiesAsync(
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
* Empty response = entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities).get();
* entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1240,7 +1240,7 @@ public final OperationFuture<Empty, Struct> batchCreateEntitiesAsync(
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
* String languageCode = "";
* Empty response = entityTypesClient.batchCreateEntitiesAsync(parent, entities, languageCode).get();
* entityTypesClient.batchCreateEntitiesAsync(parent, entities, languageCode).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1281,7 +1281,7 @@ public final OperationFuture<Empty, Struct> batchCreateEntitiesAsync(
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
* String languageCode = "";
* Empty response = entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities, languageCode).get();
* entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities, languageCode).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1325,7 +1325,7 @@ public final OperationFuture<Empty, Struct> batchCreateEntitiesAsync(
* .setParent(parent.toString())
* .addAllEntities(entities)
* .build();
* Empty response = entityTypesClient.batchCreateEntitiesAsync(request).get();
* entityTypesClient.batchCreateEntitiesAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1356,9 +1356,9 @@ public final OperationFuture<Empty, Struct> batchCreateEntitiesAsync(
* .setParent(parent.toString())
* .addAllEntities(entities)
* .build();
* OperationFuture&lt;Operation&gt; future = entityTypesClient.batchCreateEntitiesOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, Struct&gt; future = entityTypesClient.batchCreateEntitiesOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down Expand Up @@ -1408,7 +1408,7 @@ public final UnaryCallable<BatchCreateEntitiesRequest, Operation> batchCreateEnt
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
* Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent, entities).get();
* entityTypesClient.batchUpdateEntitiesAsync(parent, entities).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1443,7 +1443,7 @@ public final OperationFuture<Empty, Struct> batchUpdateEntitiesAsync(
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
* Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities).get();
* entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1476,7 +1476,7 @@ public final OperationFuture<Empty, Struct> batchUpdateEntitiesAsync(
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
* String languageCode = "";
* Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent, entities, languageCode).get();
* entityTypesClient.batchUpdateEntitiesAsync(parent, entities, languageCode).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1517,7 +1517,7 @@ public final OperationFuture<Empty, Struct> batchUpdateEntitiesAsync(
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
* List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
* String languageCode = "";
* Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities, languageCode).get();
* entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities, languageCode).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1561,7 +1561,7 @@ public final OperationFuture<Empty, Struct> batchUpdateEntitiesAsync(
* .setParent(parent.toString())
* .addAllEntities(entities)
* .build();
* Empty response = entityTypesClient.batchUpdateEntitiesAsync(request).get();
* entityTypesClient.batchUpdateEntitiesAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1592,9 +1592,9 @@ public final OperationFuture<Empty, Struct> batchUpdateEntitiesAsync(
* .setParent(parent.toString())
* .addAllEntities(entities)
* .build();
* OperationFuture&lt;Operation&gt; future = entityTypesClient.batchUpdateEntitiesOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, Struct&gt; future = entityTypesClient.batchUpdateEntitiesOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down Expand Up @@ -1644,7 +1644,7 @@ public final UnaryCallable<BatchUpdateEntitiesRequest, Operation> batchUpdateEnt
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
* List&lt;String&gt; entityValues = new ArrayList&lt;&gt;();
* Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues).get();
* entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1680,7 +1680,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntitiesAsync(
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
* List&lt;String&gt; entityValues = new ArrayList&lt;&gt;();
* Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues).get();
* entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1717,7 +1717,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntitiesAsync(
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
* List&lt;String&gt; entityValues = new ArrayList&lt;&gt;();
* String languageCode = "";
* Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get();
* entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1759,7 +1759,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntitiesAsync(
* EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
* List&lt;String&gt; entityValues = new ArrayList&lt;&gt;();
* String languageCode = "";
* Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues, languageCode).get();
* entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues, languageCode).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1804,7 +1804,7 @@ public final OperationFuture<Empty, Struct> batchDeleteEntitiesAsync(
* .setParent(parent.toString())
* .addAllEntityValues(entityValues)
* .build();
* Empty response = entityTypesClient.batchDeleteEntitiesAsync(request).get();
* entityTypesClient.batchDeleteEntitiesAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1835,9 +1835,9 @@ public final OperationFuture<Empty, Struct> batchDeleteEntitiesAsync(
* .setParent(parent.toString())
* .addAllEntityValues(entityValues)
* .build();
* OperationFuture&lt;Operation&gt; future = entityTypesClient.batchDeleteEntitiesOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, Struct&gt; future = entityTypesClient.batchDeleteEntitiesOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ public final OperationFuture<BatchUpdateIntentsResponse, Struct> batchUpdateInte
* .setParent(parent.toString())
* .setLanguageCode(languageCode)
* .build();
* OperationFuture&lt;Operation&gt; future = intentsClient.batchUpdateIntentsOperationCallable().futureCall(request);
* OperationFuture&lt;BatchUpdateIntentsResponse, Struct&gt; future = intentsClient.batchUpdateIntentsOperationCallable().futureCall(request);
* // Do something
* BatchUpdateIntentsResponse response = future.get();
* }
Expand Down Expand Up @@ -1022,7 +1022,7 @@ public final UnaryCallable<BatchUpdateIntentsRequest, Operation> batchUpdateInte
* try (IntentsClient intentsClient = IntentsClient.create()) {
* ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
* List&lt;Intent&gt; intents = new ArrayList&lt;&gt;();
* Empty response = intentsClient.batchDeleteIntentsAsync(parent, intents).get();
* intentsClient.batchDeleteIntentsAsync(parent, intents).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1057,7 +1057,7 @@ public final OperationFuture<Empty, Struct> batchDeleteIntentsAsync(
* try (IntentsClient intentsClient = IntentsClient.create()) {
* ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
* List&lt;Intent&gt; intents = new ArrayList&lt;&gt;();
* Empty response = intentsClient.batchDeleteIntentsAsync(parent.toString(), intents).get();
* intentsClient.batchDeleteIntentsAsync(parent.toString(), intents).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1093,7 +1093,7 @@ public final OperationFuture<Empty, Struct> batchDeleteIntentsAsync(
* .setParent(parent.toString())
* .addAllIntents(intents)
* .build();
* Empty response = intentsClient.batchDeleteIntentsAsync(request).get();
* intentsClient.batchDeleteIntentsAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1123,9 +1123,9 @@ public final OperationFuture<Empty, Struct> batchDeleteIntentsAsync(
* .setParent(parent.toString())
* .addAllIntents(intents)
* .build();
* OperationFuture&lt;Operation&gt; future = intentsClient.batchDeleteIntentsOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, Struct&gt; future = intentsClient.batchDeleteIntentsOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down
Loading

0 comments on commit 95a098e

Please sign in to comment.