Skip to content

Commit

Permalink
Regenerate automl client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Jan 30, 2019
1 parent f4bac2f commit 2d14d81
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,7 @@
*
* <p>The interfaces provided are listed below, along with usage samples.
*
* <p>======================= PredictionServiceClient =======================
*
* <p>Service Description: AutoML Prediction API.
*
* <p>Sample for PredictionServiceClient:
*
* <pre>
* <code>
* try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
* ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
* ExamplePayload payload = ExamplePayload.newBuilder().build();
* Map&lt;String, String&gt; params = new HashMap&lt;&gt;();
* PredictResponse response = predictionServiceClient.predict(name, payload, params);
* }
* </code>
* </pre>
*
* ============ AutoMlClient ============
* <p>============ AutoMlClient ============
*
* <p>Service Description: AutoML Server API.
*
Expand All @@ -58,5 +41,22 @@
* }
* </code>
* </pre>
*
* ======================= PredictionServiceClient =======================
*
* <p>Service Description: AutoML Prediction API.
*
* <p>Sample for PredictionServiceClient:
*
* <pre>
* <code>
* try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
* ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
* ExamplePayload payload = ExamplePayload.newBuilder().build();
* Map&lt;String, String&gt; params = new HashMap&lt;&gt;();
* PredictResponse response = predictionServiceClient.predict(name, payload, params);
* }
* </code>
* </pre>
*/
package com.google.cloud.automl.v1beta1;
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@

@javax.annotation.Generated("by GAPIC")
public class AutoMlClientTest {
private static MockPredictionService mockPredictionService;
private static MockAutoMl mockAutoMl;
private static MockPredictionService mockPredictionService;
private static MockServiceHelper serviceHelper;
private AutoMlClient client;
private LocalChannelProvider channelProvider;

@BeforeClass
public static void startStaticServer() {
mockPredictionService = new MockPredictionService();
mockAutoMl = new MockAutoMl();
mockPredictionService = new MockPredictionService();
serviceHelper =
new MockServiceHelper(
"in-process-1", Arrays.<MockGrpcService>asList(mockPredictionService, mockAutoMl));
"in-process-1", Arrays.<MockGrpcService>asList(mockAutoMl, mockPredictionService));
serviceHelper.start();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@

@javax.annotation.Generated("by GAPIC")
public class PredictionServiceClientTest {
private static MockPredictionService mockPredictionService;
private static MockAutoMl mockAutoMl;
private static MockPredictionService mockPredictionService;
private static MockServiceHelper serviceHelper;
private PredictionServiceClient client;
private LocalChannelProvider channelProvider;

@BeforeClass
public static void startStaticServer() {
mockPredictionService = new MockPredictionService();
mockAutoMl = new MockAutoMl();
mockPredictionService = new MockPredictionService();
serviceHelper =
new MockServiceHelper(
"in-process-1", Arrays.<MockGrpcService>asList(mockPredictionService, mockAutoMl));
"in-process-1", Arrays.<MockGrpcService>asList(mockAutoMl, mockPredictionService));
serviceHelper.start();
}

Expand Down
10 changes: 5 additions & 5 deletions google-cloud-clients/google-cloud-automl/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-01-17T08:34:13.304271Z",
"updateTime": "2019-01-30T08:34:37.857517Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.6",
"dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e"
"version": "0.16.7",
"dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05",
"internalRef": "229626798"
"sha": "f0195b40fd5f5f412e6819ac01df08cedb8e5fd7",
"internalRef": "231440809"
}
}
],
Expand Down

0 comments on commit 2d14d81

Please sign in to comment.