• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2022 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.google.cloud.aiplatform.v1.stub;
18 
19 import static com.google.cloud.aiplatform.v1.MigrationServiceClient.ListLocationsPagedResponse;
20 import static com.google.cloud.aiplatform.v1.MigrationServiceClient.SearchMigratableResourcesPagedResponse;
21 
22 import com.google.api.gax.core.BackgroundResource;
23 import com.google.api.gax.rpc.OperationCallable;
24 import com.google.api.gax.rpc.UnaryCallable;
25 import com.google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata;
26 import com.google.cloud.aiplatform.v1.BatchMigrateResourcesRequest;
27 import com.google.cloud.aiplatform.v1.BatchMigrateResourcesResponse;
28 import com.google.cloud.aiplatform.v1.SearchMigratableResourcesRequest;
29 import com.google.cloud.aiplatform.v1.SearchMigratableResourcesResponse;
30 import com.google.cloud.location.GetLocationRequest;
31 import com.google.cloud.location.ListLocationsRequest;
32 import com.google.cloud.location.ListLocationsResponse;
33 import com.google.cloud.location.Location;
34 import com.google.iam.v1.GetIamPolicyRequest;
35 import com.google.iam.v1.Policy;
36 import com.google.iam.v1.SetIamPolicyRequest;
37 import com.google.iam.v1.TestIamPermissionsRequest;
38 import com.google.iam.v1.TestIamPermissionsResponse;
39 import com.google.longrunning.Operation;
40 import com.google.longrunning.stub.OperationsStub;
41 import javax.annotation.Generated;
42 
43 // AUTO-GENERATED DOCUMENTATION AND CLASS.
44 /**
45  * Base stub class for the MigrationService service API.
46  *
47  * <p>This class is for advanced usage and reflects the underlying API directly.
48  */
49 @Generated("by gapic-generator-java")
50 public abstract class MigrationServiceStub implements BackgroundResource {
51 
getOperationsStub()52   public OperationsStub getOperationsStub() {
53     throw new UnsupportedOperationException("Not implemented: getOperationsStub()");
54   }
55 
56   public UnaryCallable<SearchMigratableResourcesRequest, SearchMigratableResourcesPagedResponse>
searchMigratableResourcesPagedCallable()57       searchMigratableResourcesPagedCallable() {
58     throw new UnsupportedOperationException(
59         "Not implemented: searchMigratableResourcesPagedCallable()");
60   }
61 
62   public UnaryCallable<SearchMigratableResourcesRequest, SearchMigratableResourcesResponse>
searchMigratableResourcesCallable()63       searchMigratableResourcesCallable() {
64     throw new UnsupportedOperationException("Not implemented: searchMigratableResourcesCallable()");
65   }
66 
67   public OperationCallable<
68           BatchMigrateResourcesRequest,
69           BatchMigrateResourcesResponse,
70           BatchMigrateResourcesOperationMetadata>
batchMigrateResourcesOperationCallable()71       batchMigrateResourcesOperationCallable() {
72     throw new UnsupportedOperationException(
73         "Not implemented: batchMigrateResourcesOperationCallable()");
74   }
75 
batchMigrateResourcesCallable()76   public UnaryCallable<BatchMigrateResourcesRequest, Operation> batchMigrateResourcesCallable() {
77     throw new UnsupportedOperationException("Not implemented: batchMigrateResourcesCallable()");
78   }
79 
80   public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable()81       listLocationsPagedCallable() {
82     throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
83   }
84 
listLocationsCallable()85   public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() {
86     throw new UnsupportedOperationException("Not implemented: listLocationsCallable()");
87   }
88 
getLocationCallable()89   public UnaryCallable<GetLocationRequest, Location> getLocationCallable() {
90     throw new UnsupportedOperationException("Not implemented: getLocationCallable()");
91   }
92 
setIamPolicyCallable()93   public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
94     throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()");
95   }
96 
getIamPolicyCallable()97   public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
98     throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()");
99   }
100 
101   public UnaryCallable<TestIamPermissionsRequest, TestIamPermissionsResponse>
testIamPermissionsCallable()102       testIamPermissionsCallable() {
103     throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
104   }
105 
106   @Override
close()107   public abstract void close();
108 }
109