Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate automl client #4418

Merged
merged 1 commit into from
Feb 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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