Skip to content

Commit 3cebec3

Browse files
feat: [aiplatform] add service_networking.proto to aiplatform v1 (#9073)
* feat: add service_networking.proto to aiplatform v1 feat: add private_service_connect_config to IndexEndpoint in aiplatform v1 index_endpoint.proto feat: add nas_job.proto to aiplatform v1 feat: add CreateNasJob, GetNasJob, ListNasJobs, DeleteNasJob, CancelNasJob, GetNasTrialDetail, ListNasTrialDetails RPCs to aiplatform v1 job_service.proto feat: add original_model_info to Model in aiplatform v1 model.proto feat: add CopyModel RPC to aiplatform v1 model_service.proto feat: add failed_jobs to CustomJobDetail to aiplatform v1 pipeline_job.proto feat: add safety_config to StudySpec in aiplatform v1 study.proto PiperOrigin-RevId: 506776605 Source-Link: googleapis/googleapis@c7c17c0 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d5217761a0cf1fc6bf240021d481eb9d70ca376a Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiJkNTIxNzc2MWEwY2YxZmM2YmYyNDAwMjFkNDgxZWI5ZDcwY2EzNzZhIn0= feat: add disable_explanations to DeployedModel in aiplatform v1beta1 endpoint.proto feat: add service_networking.proto to aiplatform v1beta1 feat: add private_service_connect_config to IndexEndpoint in aiplatform v1beta1 index_endpoint.proto feat: add nas_job.proto to aiplatform v1beta1 feat: add CreateNasJob, GetNasJob, ListNasJobs, DeleteNasJob, CancelNasJob, GetNasTrialDetail, ListNasTrialDetails RPCs to aiplatform v1beta1 job_service.proto feat: add original_model_info to Model in aiplatform v1beta1 model.proto feat: add CopyModel RPC to aiplatform v1beta1 model_service.proto feat: add failed_jobs to CustomJobDetail to aiplatform v1beta1 pipeline_job.proto feat: add safety_config to StudySpec in aiplatform v1beta1 study.proto PiperOrigin-RevId: 506776591 Source-Link: googleapis/googleapis@a33b408 Source-Link: https://github.com/googleapis/googleapis-gen/commit/e15a8ce6c9181b2590358a8b01809859e020d792 Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiJlMTVhOGNlNmM5MTgxYjI1OTAzNThhOGIwMTgwOTg1OWUwMjBkNzkyIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 30ebd0d commit 3cebec3

File tree

175 files changed

+82274
-1893
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+82274
-1893
lines changed

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java

Lines changed: 1124 additions & 0 deletions
Large diffs are not rendered by default.

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceSettings.java

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
import static com.google.cloud.aiplatform.v1.JobServiceClient.ListHyperparameterTuningJobsPagedResponse;
2323
import static com.google.cloud.aiplatform.v1.JobServiceClient.ListLocationsPagedResponse;
2424
import static com.google.cloud.aiplatform.v1.JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse;
25+
import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasJobsPagedResponse;
26+
import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasTrialDetailsPagedResponse;
2527
import static com.google.cloud.aiplatform.v1.JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse;
2628

2729
import com.google.api.core.ApiFunction;
@@ -202,6 +204,50 @@ public UnaryCallSettings<CancelDataLabelingJobRequest, Empty> cancelDataLabeling
202204
return ((JobServiceStubSettings) getStubSettings()).cancelHyperparameterTuningJobSettings();
203205
}
204206

207+
/** Returns the object with the settings used for calls to createNasJob. */
208+
public UnaryCallSettings<CreateNasJobRequest, NasJob> createNasJobSettings() {
209+
return ((JobServiceStubSettings) getStubSettings()).createNasJobSettings();
210+
}
211+
212+
/** Returns the object with the settings used for calls to getNasJob. */
213+
public UnaryCallSettings<GetNasJobRequest, NasJob> getNasJobSettings() {
214+
return ((JobServiceStubSettings) getStubSettings()).getNasJobSettings();
215+
}
216+
217+
/** Returns the object with the settings used for calls to listNasJobs. */
218+
public PagedCallSettings<ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse>
219+
listNasJobsSettings() {
220+
return ((JobServiceStubSettings) getStubSettings()).listNasJobsSettings();
221+
}
222+
223+
/** Returns the object with the settings used for calls to deleteNasJob. */
224+
public UnaryCallSettings<DeleteNasJobRequest, Operation> deleteNasJobSettings() {
225+
return ((JobServiceStubSettings) getStubSettings()).deleteNasJobSettings();
226+
}
227+
228+
/** Returns the object with the settings used for calls to deleteNasJob. */
229+
public OperationCallSettings<DeleteNasJobRequest, Empty, DeleteOperationMetadata>
230+
deleteNasJobOperationSettings() {
231+
return ((JobServiceStubSettings) getStubSettings()).deleteNasJobOperationSettings();
232+
}
233+
234+
/** Returns the object with the settings used for calls to cancelNasJob. */
235+
public UnaryCallSettings<CancelNasJobRequest, Empty> cancelNasJobSettings() {
236+
return ((JobServiceStubSettings) getStubSettings()).cancelNasJobSettings();
237+
}
238+
239+
/** Returns the object with the settings used for calls to getNasTrialDetail. */
240+
public UnaryCallSettings<GetNasTrialDetailRequest, NasTrialDetail> getNasTrialDetailSettings() {
241+
return ((JobServiceStubSettings) getStubSettings()).getNasTrialDetailSettings();
242+
}
243+
244+
/** Returns the object with the settings used for calls to listNasTrialDetails. */
245+
public PagedCallSettings<
246+
ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, ListNasTrialDetailsPagedResponse>
247+
listNasTrialDetailsSettings() {
248+
return ((JobServiceStubSettings) getStubSettings()).listNasTrialDetailsSettings();
249+
}
250+
205251
/** Returns the object with the settings used for calls to createBatchPredictionJob. */
206252
public UnaryCallSettings<CreateBatchPredictionJobRequest, BatchPredictionJob>
207253
createBatchPredictionJobSettings() {
@@ -557,6 +603,54 @@ public UnaryCallSettings.Builder<CancelCustomJobRequest, Empty> cancelCustomJobS
557603
return getStubSettingsBuilder().cancelHyperparameterTuningJobSettings();
558604
}
559605

606+
/** Returns the builder for the settings used for calls to createNasJob. */
607+
public UnaryCallSettings.Builder<CreateNasJobRequest, NasJob> createNasJobSettings() {
608+
return getStubSettingsBuilder().createNasJobSettings();
609+
}
610+
611+
/** Returns the builder for the settings used for calls to getNasJob. */
612+
public UnaryCallSettings.Builder<GetNasJobRequest, NasJob> getNasJobSettings() {
613+
return getStubSettingsBuilder().getNasJobSettings();
614+
}
615+
616+
/** Returns the builder for the settings used for calls to listNasJobs. */
617+
public PagedCallSettings.Builder<
618+
ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse>
619+
listNasJobsSettings() {
620+
return getStubSettingsBuilder().listNasJobsSettings();
621+
}
622+
623+
/** Returns the builder for the settings used for calls to deleteNasJob. */
624+
public UnaryCallSettings.Builder<DeleteNasJobRequest, Operation> deleteNasJobSettings() {
625+
return getStubSettingsBuilder().deleteNasJobSettings();
626+
}
627+
628+
/** Returns the builder for the settings used for calls to deleteNasJob. */
629+
public OperationCallSettings.Builder<DeleteNasJobRequest, Empty, DeleteOperationMetadata>
630+
deleteNasJobOperationSettings() {
631+
return getStubSettingsBuilder().deleteNasJobOperationSettings();
632+
}
633+
634+
/** Returns the builder for the settings used for calls to cancelNasJob. */
635+
public UnaryCallSettings.Builder<CancelNasJobRequest, Empty> cancelNasJobSettings() {
636+
return getStubSettingsBuilder().cancelNasJobSettings();
637+
}
638+
639+
/** Returns the builder for the settings used for calls to getNasTrialDetail. */
640+
public UnaryCallSettings.Builder<GetNasTrialDetailRequest, NasTrialDetail>
641+
getNasTrialDetailSettings() {
642+
return getStubSettingsBuilder().getNasTrialDetailSettings();
643+
}
644+
645+
/** Returns the builder for the settings used for calls to listNasTrialDetails. */
646+
public PagedCallSettings.Builder<
647+
ListNasTrialDetailsRequest,
648+
ListNasTrialDetailsResponse,
649+
ListNasTrialDetailsPagedResponse>
650+
listNasTrialDetailsSettings() {
651+
return getStubSettingsBuilder().listNasTrialDetailsSettings();
652+
}
653+
560654
/** Returns the builder for the settings used for calls to createBatchPredictionJob. */
561655
public UnaryCallSettings.Builder<CreateBatchPredictionJobRequest, BatchPredictionJob>
562656
createBatchPredictionJobSettings() {

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java

Lines changed: 249 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,255 @@ public final UnaryCallable<ExportModelRequest, Operation> exportModelCallable()
15501550
return stub.exportModelCallable();
15511551
}
15521552

1553+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1554+
/**
1555+
* Copies an already existing Vertex AI Model into the specified Location. The source Model must
1556+
* exist in the same Project. When copying custom Models, the users themselves are responsible for
1557+
* [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as
1558+
* well as making sure that any resources (e.g. files) it depends on remain accessible.
1559+
*
1560+
* <p>Sample code:
1561+
*
1562+
* <pre>{@code
1563+
* // This snippet has been automatically generated and should be regarded as a code template only.
1564+
* // It will require modifications to work:
1565+
* // - It may require correct/in-range values for request initialization.
1566+
* // - It may require specifying regional endpoints when creating the service client as shown in
1567+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
1568+
* try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
1569+
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
1570+
* ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
1571+
* CopyModelResponse response = modelServiceClient.copyModelAsync(parent, sourceModel).get();
1572+
* }
1573+
* }</pre>
1574+
*
1575+
* @param parent Required. The resource name of the Location into which to copy the Model. Format:
1576+
* `projects/{project}/locations/{location}`
1577+
* @param sourceModel Required. The resource name of the Model to copy. That Model must be in the
1578+
* same Project. Format: `projects/{project}/locations/{location}/models/{model}`
1579+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
1580+
*/
1581+
public final OperationFuture<CopyModelResponse, CopyModelOperationMetadata> copyModelAsync(
1582+
LocationName parent, ModelName sourceModel) {
1583+
CopyModelRequest request =
1584+
CopyModelRequest.newBuilder()
1585+
.setParent(parent == null ? null : parent.toString())
1586+
.setSourceModel(sourceModel == null ? null : sourceModel.toString())
1587+
.build();
1588+
return copyModelAsync(request);
1589+
}
1590+
1591+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1592+
/**
1593+
* Copies an already existing Vertex AI Model into the specified Location. The source Model must
1594+
* exist in the same Project. When copying custom Models, the users themselves are responsible for
1595+
* [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as
1596+
* well as making sure that any resources (e.g. files) it depends on remain accessible.
1597+
*
1598+
* <p>Sample code:
1599+
*
1600+
* <pre>{@code
1601+
* // This snippet has been automatically generated and should be regarded as a code template only.
1602+
* // It will require modifications to work:
1603+
* // - It may require correct/in-range values for request initialization.
1604+
* // - It may require specifying regional endpoints when creating the service client as shown in
1605+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
1606+
* try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
1607+
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
1608+
* String sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
1609+
* CopyModelResponse response = modelServiceClient.copyModelAsync(parent, sourceModel).get();
1610+
* }
1611+
* }</pre>
1612+
*
1613+
* @param parent Required. The resource name of the Location into which to copy the Model. Format:
1614+
* `projects/{project}/locations/{location}`
1615+
* @param sourceModel Required. The resource name of the Model to copy. That Model must be in the
1616+
* same Project. Format: `projects/{project}/locations/{location}/models/{model}`
1617+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
1618+
*/
1619+
public final OperationFuture<CopyModelResponse, CopyModelOperationMetadata> copyModelAsync(
1620+
LocationName parent, String sourceModel) {
1621+
CopyModelRequest request =
1622+
CopyModelRequest.newBuilder()
1623+
.setParent(parent == null ? null : parent.toString())
1624+
.setSourceModel(sourceModel)
1625+
.build();
1626+
return copyModelAsync(request);
1627+
}
1628+
1629+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1630+
/**
1631+
* Copies an already existing Vertex AI Model into the specified Location. The source Model must
1632+
* exist in the same Project. When copying custom Models, the users themselves are responsible for
1633+
* [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as
1634+
* well as making sure that any resources (e.g. files) it depends on remain accessible.
1635+
*
1636+
* <p>Sample code:
1637+
*
1638+
* <pre>{@code
1639+
* // This snippet has been automatically generated and should be regarded as a code template only.
1640+
* // It will require modifications to work:
1641+
* // - It may require correct/in-range values for request initialization.
1642+
* // - It may require specifying regional endpoints when creating the service client as shown in
1643+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
1644+
* try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
1645+
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
1646+
* ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
1647+
* CopyModelResponse response = modelServiceClient.copyModelAsync(parent, sourceModel).get();
1648+
* }
1649+
* }</pre>
1650+
*
1651+
* @param parent Required. The resource name of the Location into which to copy the Model. Format:
1652+
* `projects/{project}/locations/{location}`
1653+
* @param sourceModel Required. The resource name of the Model to copy. That Model must be in the
1654+
* same Project. Format: `projects/{project}/locations/{location}/models/{model}`
1655+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
1656+
*/
1657+
public final OperationFuture<CopyModelResponse, CopyModelOperationMetadata> copyModelAsync(
1658+
String parent, ModelName sourceModel) {
1659+
CopyModelRequest request =
1660+
CopyModelRequest.newBuilder()
1661+
.setParent(parent)
1662+
.setSourceModel(sourceModel == null ? null : sourceModel.toString())
1663+
.build();
1664+
return copyModelAsync(request);
1665+
}
1666+
1667+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1668+
/**
1669+
* Copies an already existing Vertex AI Model into the specified Location. The source Model must
1670+
* exist in the same Project. When copying custom Models, the users themselves are responsible for
1671+
* [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as
1672+
* well as making sure that any resources (e.g. files) it depends on remain accessible.
1673+
*
1674+
* <p>Sample code:
1675+
*
1676+
* <pre>{@code
1677+
* // This snippet has been automatically generated and should be regarded as a code template only.
1678+
* // It will require modifications to work:
1679+
* // - It may require correct/in-range values for request initialization.
1680+
* // - It may require specifying regional endpoints when creating the service client as shown in
1681+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
1682+
* try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
1683+
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
1684+
* String sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
1685+
* CopyModelResponse response = modelServiceClient.copyModelAsync(parent, sourceModel).get();
1686+
* }
1687+
* }</pre>
1688+
*
1689+
* @param parent Required. The resource name of the Location into which to copy the Model. Format:
1690+
* `projects/{project}/locations/{location}`
1691+
* @param sourceModel Required. The resource name of the Model to copy. That Model must be in the
1692+
* same Project. Format: `projects/{project}/locations/{location}/models/{model}`
1693+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
1694+
*/
1695+
public final OperationFuture<CopyModelResponse, CopyModelOperationMetadata> copyModelAsync(
1696+
String parent, String sourceModel) {
1697+
CopyModelRequest request =
1698+
CopyModelRequest.newBuilder().setParent(parent).setSourceModel(sourceModel).build();
1699+
return copyModelAsync(request);
1700+
}
1701+
1702+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1703+
/**
1704+
* Copies an already existing Vertex AI Model into the specified Location. The source Model must
1705+
* exist in the same Project. When copying custom Models, the users themselves are responsible for
1706+
* [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as
1707+
* well as making sure that any resources (e.g. files) it depends on remain accessible.
1708+
*
1709+
* <p>Sample code:
1710+
*
1711+
* <pre>{@code
1712+
* // This snippet has been automatically generated and should be regarded as a code template only.
1713+
* // It will require modifications to work:
1714+
* // - It may require correct/in-range values for request initialization.
1715+
* // - It may require specifying regional endpoints when creating the service client as shown in
1716+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
1717+
* try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
1718+
* CopyModelRequest request =
1719+
* CopyModelRequest.newBuilder()
1720+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
1721+
* .setSourceModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
1722+
* .setEncryptionSpec(EncryptionSpec.newBuilder().build())
1723+
* .build();
1724+
* CopyModelResponse response = modelServiceClient.copyModelAsync(request).get();
1725+
* }
1726+
* }</pre>
1727+
*
1728+
* @param request The request object containing all of the parameters for the API call.
1729+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
1730+
*/
1731+
public final OperationFuture<CopyModelResponse, CopyModelOperationMetadata> copyModelAsync(
1732+
CopyModelRequest request) {
1733+
return copyModelOperationCallable().futureCall(request);
1734+
}
1735+
1736+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1737+
/**
1738+
* Copies an already existing Vertex AI Model into the specified Location. The source Model must
1739+
* exist in the same Project. When copying custom Models, the users themselves are responsible for
1740+
* [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as
1741+
* well as making sure that any resources (e.g. files) it depends on remain accessible.
1742+
*
1743+
* <p>Sample code:
1744+
*
1745+
* <pre>{@code
1746+
* // This snippet has been automatically generated and should be regarded as a code template only.
1747+
* // It will require modifications to work:
1748+
* // - It may require correct/in-range values for request initialization.
1749+
* // - It may require specifying regional endpoints when creating the service client as shown in
1750+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
1751+
* try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
1752+
* CopyModelRequest request =
1753+
* CopyModelRequest.newBuilder()
1754+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
1755+
* .setSourceModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
1756+
* .setEncryptionSpec(EncryptionSpec.newBuilder().build())
1757+
* .build();
1758+
* OperationFuture<CopyModelResponse, CopyModelOperationMetadata> future =
1759+
* modelServiceClient.copyModelOperationCallable().futureCall(request);
1760+
* // Do something.
1761+
* CopyModelResponse response = future.get();
1762+
* }
1763+
* }</pre>
1764+
*/
1765+
public final OperationCallable<CopyModelRequest, CopyModelResponse, CopyModelOperationMetadata>
1766+
copyModelOperationCallable() {
1767+
return stub.copyModelOperationCallable();
1768+
}
1769+
1770+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1771+
/**
1772+
* Copies an already existing Vertex AI Model into the specified Location. The source Model must
1773+
* exist in the same Project. When copying custom Models, the users themselves are responsible for
1774+
* [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as
1775+
* well as making sure that any resources (e.g. files) it depends on remain accessible.
1776+
*
1777+
* <p>Sample code:
1778+
*
1779+
* <pre>{@code
1780+
* // This snippet has been automatically generated and should be regarded as a code template only.
1781+
* // It will require modifications to work:
1782+
* // - It may require correct/in-range values for request initialization.
1783+
* // - It may require specifying regional endpoints when creating the service client as shown in
1784+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
1785+
* try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
1786+
* CopyModelRequest request =
1787+
* CopyModelRequest.newBuilder()
1788+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
1789+
* .setSourceModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
1790+
* .setEncryptionSpec(EncryptionSpec.newBuilder().build())
1791+
* .build();
1792+
* ApiFuture<Operation> future = modelServiceClient.copyModelCallable().futureCall(request);
1793+
* // Do something.
1794+
* Operation response = future.get();
1795+
* }
1796+
* }</pre>
1797+
*/
1798+
public final UnaryCallable<CopyModelRequest, Operation> copyModelCallable() {
1799+
return stub.copyModelCallable();
1800+
}
1801+
15531802
// AUTO-GENERATED DOCUMENTATION AND METHOD.
15541803
/**
15551804
* Imports an externally generated ModelEvaluation.

0 commit comments

Comments
 (0)