Skip to content

Commit

Permalink
Regenerate dataproc client (#4428)
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 0fcbc59 commit c59395e
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public final OperationFuture<Cluster, ClusterOperationMetadata> createClusterAsy
* .setRegion(region)
* .setCluster(cluster)
* .build();
* OperationFuture&lt;Operation&gt; future = clusterControllerClient.createClusterOperationCallable().futureCall(request);
* OperationFuture&lt;Cluster, ClusterOperationMetadata&gt; future = clusterControllerClient.createClusterOperationCallable().futureCall(request);
* // Do something
* Cluster response = future.get();
* }
Expand Down Expand Up @@ -407,7 +407,7 @@ public final OperationFuture<Cluster, ClusterOperationMetadata> updateClusterAsy
* .setCluster(cluster)
* .setUpdateMask(updateMask)
* .build();
* OperationFuture&lt;Operation&gt; future = clusterControllerClient.updateClusterOperationCallable().futureCall(request);
* OperationFuture&lt;Cluster, ClusterOperationMetadata&gt; future = clusterControllerClient.updateClusterOperationCallable().futureCall(request);
* // Do something
* Cluster response = future.get();
* }
Expand Down Expand Up @@ -460,7 +460,7 @@ public final UnaryCallable<UpdateClusterRequest, Operation> updateClusterCallabl
* String projectId = "";
* String region = "";
* String clusterName = "";
* Empty response = clusterControllerClient.deleteClusterAsync(projectId, region, clusterName).get();
* clusterControllerClient.deleteClusterAsync(projectId, region, clusterName).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -500,7 +500,7 @@ public final OperationFuture<Empty, ClusterOperationMetadata> deleteClusterAsync
* .setRegion(region)
* .setClusterName(clusterName)
* .build();
* Empty response = clusterControllerClient.deleteClusterAsync(request).get();
* clusterControllerClient.deleteClusterAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -530,9 +530,9 @@ public final OperationFuture<Empty, ClusterOperationMetadata> deleteClusterAsync
* .setRegion(region)
* .setClusterName(clusterName)
* .build();
* OperationFuture&lt;Operation&gt; future = clusterControllerClient.deleteClusterOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, ClusterOperationMetadata&gt; future = clusterControllerClient.deleteClusterOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down Expand Up @@ -826,7 +826,7 @@ public final UnaryCallable<ListClustersRequest, ListClustersResponse> listCluste
* String projectId = "";
* String region = "";
* String clusterName = "";
* Empty response = clusterControllerClient.diagnoseClusterAsync(projectId, region, clusterName).get();
* clusterControllerClient.diagnoseClusterAsync(projectId, region, clusterName).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -867,7 +867,7 @@ public final OperationFuture<Empty, DiagnoseClusterResults> diagnoseClusterAsync
* .setRegion(region)
* .setClusterName(clusterName)
* .build();
* Empty response = clusterControllerClient.diagnoseClusterAsync(request).get();
* clusterControllerClient.diagnoseClusterAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -898,9 +898,9 @@ public final OperationFuture<Empty, DiagnoseClusterResults> diagnoseClusterAsync
* .setRegion(region)
* .setClusterName(clusterName)
* .build();
* OperationFuture&lt;Operation&gt; future = clusterControllerClient.diagnoseClusterOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, DiagnoseClusterResults&gt; future = clusterControllerClient.diagnoseClusterOperationCallable().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 @@ -411,7 +411,7 @@ public final WorkflowTemplate getWorkflowTemplate(GetWorkflowTemplateRequest req
* <pre><code>
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
* WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]");
* Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name).get();
* workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -455,7 +455,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateWorkflowTemplat
* <pre><code>
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
* WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]");
* Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name.toString()).get();
* workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name.toString()).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -498,7 +498,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateWorkflowTemplat
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
* WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]");
* Map&lt;String, String&gt; parameters = new HashMap&lt;&gt;();
* Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name, parameters).get();
* workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name, parameters).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -546,7 +546,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateWorkflowTemplat
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
* WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]");
* Map&lt;String, String&gt; parameters = new HashMap&lt;&gt;();
* Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name.toString(), parameters).get();
* workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name.toString(), parameters).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -596,7 +596,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateWorkflowTemplat
* InstantiateWorkflowTemplateRequest request = InstantiateWorkflowTemplateRequest.newBuilder()
* .setName(name.toString())
* .build();
* Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(request).get();
* workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -636,9 +636,9 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateWorkflowTemplat
* InstantiateWorkflowTemplateRequest request = InstantiateWorkflowTemplateRequest.newBuilder()
* .setName(name.toString())
* .build();
* OperationFuture&lt;Operation&gt; future = workflowTemplateServiceClient.instantiateWorkflowTemplateOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, WorkflowMetadata&gt; future = workflowTemplateServiceClient.instantiateWorkflowTemplateOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down Expand Up @@ -714,7 +714,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateWorkflowTemplat
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
* String formattedParent = RegionName.format("[PROJECT]", "[REGION]");
* WorkflowTemplate template = WorkflowTemplate.newBuilder().build();
* Empty response = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(formattedParent, template).get();
* workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(formattedParent, template).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -770,7 +770,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateInlineWorkflowT
* .setParent(formattedParent)
* .setTemplate(template)
* .build();
* Empty response = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(request).get();
* workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -817,9 +817,9 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateInlineWorkflowT
* .setParent(formattedParent)
* .setTemplate(template)
* .build();
* OperationFuture&lt;Operation&gt; future = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, WorkflowMetadata&gt; future = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateOperationCallable().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 @@ -256,7 +256,7 @@ public final OperationFuture<Cluster, ClusterOperationMetadata> createClusterAsy
* .setRegion(region)
* .setCluster(cluster)
* .build();
* OperationFuture&lt;Operation&gt; future = clusterControllerClient.createClusterOperationCallable().futureCall(request);
* OperationFuture&lt;Cluster, ClusterOperationMetadata&gt; future = clusterControllerClient.createClusterOperationCallable().futureCall(request);
* // Do something
* Cluster response = future.get();
* }
Expand Down Expand Up @@ -411,7 +411,7 @@ public final OperationFuture<Cluster, ClusterOperationMetadata> updateClusterAsy
* .setCluster(cluster)
* .setUpdateMask(updateMask)
* .build();
* OperationFuture&lt;Operation&gt; future = clusterControllerClient.updateClusterOperationCallable().futureCall(request);
* OperationFuture&lt;Cluster, ClusterOperationMetadata&gt; future = clusterControllerClient.updateClusterOperationCallable().futureCall(request);
* // Do something
* Cluster response = future.get();
* }
Expand Down Expand Up @@ -464,7 +464,7 @@ public final UnaryCallable<UpdateClusterRequest, Operation> updateClusterCallabl
* String projectId = "";
* String region = "";
* String clusterName = "";
* Empty response = clusterControllerClient.deleteClusterAsync(projectId, region, clusterName).get();
* clusterControllerClient.deleteClusterAsync(projectId, region, clusterName).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -504,7 +504,7 @@ public final OperationFuture<Empty, ClusterOperationMetadata> deleteClusterAsync
* .setRegion(region)
* .setClusterName(clusterName)
* .build();
* Empty response = clusterControllerClient.deleteClusterAsync(request).get();
* clusterControllerClient.deleteClusterAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -534,9 +534,9 @@ public final OperationFuture<Empty, ClusterOperationMetadata> deleteClusterAsync
* .setRegion(region)
* .setClusterName(clusterName)
* .build();
* OperationFuture&lt;Operation&gt; future = clusterControllerClient.deleteClusterOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, ClusterOperationMetadata&gt; future = clusterControllerClient.deleteClusterOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down Expand Up @@ -830,7 +830,7 @@ public final UnaryCallable<ListClustersRequest, ListClustersResponse> listCluste
* String projectId = "";
* String region = "";
* String clusterName = "";
* Empty response = clusterControllerClient.diagnoseClusterAsync(projectId, region, clusterName).get();
* clusterControllerClient.diagnoseClusterAsync(projectId, region, clusterName).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -871,7 +871,7 @@ public final OperationFuture<Empty, DiagnoseClusterResults> diagnoseClusterAsync
* .setRegion(region)
* .setClusterName(clusterName)
* .build();
* Empty response = clusterControllerClient.diagnoseClusterAsync(request).get();
* clusterControllerClient.diagnoseClusterAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -902,9 +902,9 @@ public final OperationFuture<Empty, DiagnoseClusterResults> diagnoseClusterAsync
* .setRegion(region)
* .setClusterName(clusterName)
* .build();
* OperationFuture&lt;Operation&gt; future = clusterControllerClient.diagnoseClusterOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, DiagnoseClusterResults&gt; future = clusterControllerClient.diagnoseClusterOperationCallable().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 @@ -411,7 +411,7 @@ public final WorkflowTemplate getWorkflowTemplate(GetWorkflowTemplateRequest req
* <pre><code>
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
* WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]");
* Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name).get();
* workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -455,7 +455,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateWorkflowTemplat
* <pre><code>
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
* WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]");
* Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name.toString()).get();
* workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name.toString()).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -497,7 +497,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateWorkflowTemplat
* <pre><code>
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
* Map&lt;String, String&gt; parameters = new HashMap&lt;&gt;();
* Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(parameters).get();
* workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(parameters).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -541,7 +541,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateWorkflowTemplat
* InstantiateWorkflowTemplateRequest request = InstantiateWorkflowTemplateRequest.newBuilder()
* .setName(name.toString())
* .build();
* Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(request).get();
* workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -581,9 +581,9 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateWorkflowTemplat
* InstantiateWorkflowTemplateRequest request = InstantiateWorkflowTemplateRequest.newBuilder()
* .setName(name.toString())
* .build();
* OperationFuture&lt;Operation&gt; future = workflowTemplateServiceClient.instantiateWorkflowTemplateOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, WorkflowMetadata&gt; future = workflowTemplateServiceClient.instantiateWorkflowTemplateOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down Expand Up @@ -659,7 +659,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateWorkflowTemplat
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
* String formattedParent = RegionName.format("[PROJECT]", "[REGION]");
* WorkflowTemplate template = WorkflowTemplate.newBuilder().build();
* Empty response = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(formattedParent, template).get();
* workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(formattedParent, template).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -715,7 +715,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateInlineWorkflowT
* .setParent(formattedParent)
* .setTemplate(template)
* .build();
* Empty response = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(request).get();
* workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -762,9 +762,9 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateInlineWorkflowT
* .setParent(formattedParent)
* .setTemplate(template)
* .build();
* OperationFuture&lt;Operation&gt; future = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, WorkflowMetadata&gt; future = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down
10 changes: 5 additions & 5 deletions google-cloud-clients/google-cloud-dataproc/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-01-17T08:40:33.945540Z",
"updateTime": "2019-02-02T08:37:20.101142Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.6",
"dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e"
"version": "0.16.8",
"dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05",
"internalRef": "229626798"
"sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a",
"internalRef": "231974277"
}
}
],
Expand Down

0 comments on commit c59395e

Please sign in to comment.