Debian Codegraph @

clouddms/apiv1/clouddmspb/clouddms_grpc.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
16 // versions:
17 // - protoc-gen-go-grpc v1.3.0
18 // - protoc v4.25.7
19 // source: google/cloud/clouddms/v1/clouddms.proto
20
21 package clouddmspb
22
23 import (
24 longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
25 context "context"
26 grpc "google.golang.org/grpc"
27 codes "google.golang.org/grpc/codes"
28 status "google.golang.org/grpc/status"
29 emptypb "google.golang.org/protobuf/types/known/emptypb"
30 )
31
32 // This is a compile-time assertion to ensure that this generated file
33 // is compatible with the grpc package it is being compiled against.
34 // Requires gRPC-Go v1.32.0 or later.
35 const _ = grpc.SupportPackageIsVersion7
36
37 const (
38 DataMigrationService_ListMigrationJobs_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ListMigrationJobs"
39 DataMigrationService_GetMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GetMigrationJob"
40 DataMigrationService_CreateMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/CreateMigrationJob"
41 DataMigrationService_UpdateMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/UpdateMigrationJob"
42 DataMigrationService_DeleteMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DeleteMigrationJob"
43 DataMigrationService_StartMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/StartMigrationJob"
44 DataMigrationService_StopMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/StopMigrationJob"
45 DataMigrationService_ResumeMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ResumeMigrationJob"
46 DataMigrationService_PromoteMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/PromoteMigrationJob"
47 DataMigrationService_VerifyMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/VerifyMigrationJob"
48 DataMigrationService_RestartMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/RestartMigrationJob"
49 DataMigrationService_GenerateSshScript_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GenerateSshScript"
50 DataMigrationService_GenerateTcpProxyScript_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GenerateTcpProxyScript"
51 DataMigrationService_ListConnectionProfiles_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ListConnectionProfiles"
52 DataMigrationService_GetConnectionProfile_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GetConnectionProfile"
53 DataMigrationService_CreateConnectionProfile_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/CreateConnectionProfile"
54 DataMigrationService_UpdateConnectionProfile_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/UpdateConnectionProfile"
55 DataMigrationService_DeleteConnectionProfile_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DeleteConnectionProfile"
56 DataMigrationService_CreatePrivateConnection_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/CreatePrivateConnection"
57 DataMigrationService_GetPrivateConnection_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GetPrivateConnection"
58 DataMigrationService_ListPrivateConnections_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ListPrivateConnections"
59 DataMigrationService_DeletePrivateConnection_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DeletePrivateConnection"
60 DataMigrationService_GetConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GetConversionWorkspace"
61 DataMigrationService_ListConversionWorkspaces_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ListConversionWorkspaces"
62 DataMigrationService_CreateConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/CreateConversionWorkspace"
63 DataMigrationService_UpdateConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/UpdateConversionWorkspace"
64 DataMigrationService_DeleteConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DeleteConversionWorkspace"
65 DataMigrationService_CreateMappingRule_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/CreateMappingRule"
66 DataMigrationService_DeleteMappingRule_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DeleteMappingRule"
67 DataMigrationService_ListMappingRules_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ListMappingRules"
68 DataMigrationService_GetMappingRule_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GetMappingRule"
69 DataMigrationService_SeedConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/SeedConversionWorkspace"
70 DataMigrationService_ImportMappingRules_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ImportMappingRules"
71 DataMigrationService_ConvertConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ConvertConversionWorkspace"
72 DataMigrationService_CommitConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/CommitConversionWorkspace"
73 DataMigrationService_RollbackConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/RollbackConversionWorkspace"
74 DataMigrationService_ApplyConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ApplyConversionWorkspace"
75 DataMigrationService_DescribeDatabaseEntities_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DescribeDatabaseEntities"
76 DataMigrationService_SearchBackgroundJobs_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/SearchBackgroundJobs"
77 DataMigrationService_DescribeConversionWorkspaceRevisions_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DescribeConversionWorkspaceRevisions"
78 DataMigrationService_FetchStaticIps_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/FetchStaticIps"
79 )
80
81 // DataMigrationServiceClient is the client API for DataMigrationService service.
82 //
83 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
84 type DataMigrationServiceClient interface {
85 // Lists migration jobs in a given project and location.
86 ListMigrationJobs(ctx context.Context, in *ListMigrationJobsRequest, opts ...grpc.CallOption) (*ListMigrationJobsResponse, error)
87 // Gets details of a single migration job.
88 GetMigrationJob(ctx context.Context, in *GetMigrationJobRequest, opts ...grpc.CallOption) (*MigrationJob, error)
89 // Creates a new migration job in a given project and location.
90 CreateMigrationJob(ctx context.Context, in *CreateMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
91 // Updates the parameters of a single migration job.
92 UpdateMigrationJob(ctx context.Context, in *UpdateMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
93 // Deletes a single migration job.
94 DeleteMigrationJob(ctx context.Context, in *DeleteMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
95 // Start an already created migration job.
96 StartMigrationJob(ctx context.Context, in *StartMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
97 // Stops a running migration job.
98 StopMigrationJob(ctx context.Context, in *StopMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
99 // Resume a migration job that is currently stopped and is resumable (was
100 // stopped during CDC phase).
101 ResumeMigrationJob(ctx context.Context, in *ResumeMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
102 // Promote a migration job, stopping replication to the destination and
103 // promoting the destination to be a standalone database.
104 PromoteMigrationJob(ctx context.Context, in *PromoteMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
105 // Verify a migration job, making sure the destination can reach the source
106 // and that all configuration and prerequisites are met.
107 VerifyMigrationJob(ctx context.Context, in *VerifyMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
108 // Restart a stopped or failed migration job, resetting the destination
109 // instance to its original state and starting the migration process from
110 // scratch.
111 RestartMigrationJob(ctx context.Context, in *RestartMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
112 // Generate a SSH configuration script to configure the reverse SSH
113 // connectivity.
114 GenerateSshScript(ctx context.Context, in *GenerateSshScriptRequest, opts ...grpc.CallOption) (*SshScript, error)
115 // Generate a TCP Proxy configuration script to configure a cloud-hosted VM
116 // running a TCP Proxy.
117 GenerateTcpProxyScript(ctx context.Context, in *GenerateTcpProxyScriptRequest, opts ...grpc.CallOption) (*TcpProxyScript, error)
118 // Retrieves a list of all connection profiles in a given project and
119 // location.
120 ListConnectionProfiles(ctx context.Context, in *ListConnectionProfilesRequest, opts ...grpc.CallOption) (*ListConnectionProfilesResponse, error)
121 // Gets details of a single connection profile.
122 GetConnectionProfile(ctx context.Context, in *GetConnectionProfileRequest, opts ...grpc.CallOption) (*ConnectionProfile, error)
123 // Creates a new connection profile in a given project and location.
124 CreateConnectionProfile(ctx context.Context, in *CreateConnectionProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
125 // Update the configuration of a single connection profile.
126 UpdateConnectionProfile(ctx context.Context, in *UpdateConnectionProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
127 // Deletes a single Database Migration Service connection profile.
128 // A connection profile can only be deleted if it is not in use by any
129 // active migration jobs.
130 DeleteConnectionProfile(ctx context.Context, in *DeleteConnectionProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
131 // Creates a new private connection in a given project and location.
132 CreatePrivateConnection(ctx context.Context, in *CreatePrivateConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
133 // Gets details of a single private connection.
134 GetPrivateConnection(ctx context.Context, in *GetPrivateConnectionRequest, opts ...grpc.CallOption) (*PrivateConnection, error)
135 // Retrieves a list of private connections in a given project and location.
136 ListPrivateConnections(ctx context.Context, in *ListPrivateConnectionsRequest, opts ...grpc.CallOption) (*ListPrivateConnectionsResponse, error)
137 // Deletes a single Database Migration Service private connection.
138 DeletePrivateConnection(ctx context.Context, in *DeletePrivateConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
139 // Gets details of a single conversion workspace.
140 GetConversionWorkspace(ctx context.Context, in *GetConversionWorkspaceRequest, opts ...grpc.CallOption) (*ConversionWorkspace, error)
141 // Lists conversion workspaces in a given project and location.
142 ListConversionWorkspaces(ctx context.Context, in *ListConversionWorkspacesRequest, opts ...grpc.CallOption) (*ListConversionWorkspacesResponse, error)
143 // Creates a new conversion workspace in a given project and location.
144 CreateConversionWorkspace(ctx context.Context, in *CreateConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
145 // Updates the parameters of a single conversion workspace.
146 UpdateConversionWorkspace(ctx context.Context, in *UpdateConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
147 // Deletes a single conversion workspace.
148 DeleteConversionWorkspace(ctx context.Context, in *DeleteConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
149 // Creates a new mapping rule for a given conversion workspace.
150 CreateMappingRule(ctx context.Context, in *CreateMappingRuleRequest, opts ...grpc.CallOption) (*MappingRule, error)
151 // Deletes a single mapping rule.
152 DeleteMappingRule(ctx context.Context, in *DeleteMappingRuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
153 // Lists the mapping rules for a specific conversion workspace.
154 ListMappingRules(ctx context.Context, in *ListMappingRulesRequest, opts ...grpc.CallOption) (*ListMappingRulesResponse, error)
155 // Gets the details of a mapping rule.
156 GetMappingRule(ctx context.Context, in *GetMappingRuleRequest, opts ...grpc.CallOption) (*MappingRule, error)
157 // Imports a snapshot of the source database into the
158 // conversion workspace.
159 SeedConversionWorkspace(ctx context.Context, in *SeedConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
160 // Imports the mapping rules for a given conversion workspace.
161 // Supports various formats of external rules files.
162 ImportMappingRules(ctx context.Context, in *ImportMappingRulesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
163 // Creates a draft tree schema for the destination database.
164 ConvertConversionWorkspace(ctx context.Context, in *ConvertConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
165 // Marks all the data in the conversion workspace as committed.
166 CommitConversionWorkspace(ctx context.Context, in *CommitConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
167 // Rolls back a conversion workspace to the last committed snapshot.
168 RollbackConversionWorkspace(ctx context.Context, in *RollbackConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
169 // Applies draft tree onto a specific destination database.
170 ApplyConversionWorkspace(ctx context.Context, in *ApplyConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
171 // Describes the database entities tree for a specific conversion workspace
172 // and a specific tree type.
173 //
174 // Database entities are not resources like conversion workspaces or mapping
175 // rules, and they can't be created, updated or deleted. Instead, they are
176 // simple data objects describing the structure of the client database.
177 DescribeDatabaseEntities(ctx context.Context, in *DescribeDatabaseEntitiesRequest, opts ...grpc.CallOption) (*DescribeDatabaseEntitiesResponse, error)
178 // Searches/lists the background jobs for a specific
179 // conversion workspace.
180 //
181 // The background jobs are not resources like conversion workspaces or
182 // mapping rules, and they can't be created, updated or deleted.
183 // Instead, they are a way to expose the data plane jobs log.
184 SearchBackgroundJobs(ctx context.Context, in *SearchBackgroundJobsRequest, opts ...grpc.CallOption) (*SearchBackgroundJobsResponse, error)
185 // Retrieves a list of committed revisions of a specific conversion
186 // workspace.
187 DescribeConversionWorkspaceRevisions(ctx context.Context, in *DescribeConversionWorkspaceRevisionsRequest, opts ...grpc.CallOption) (*DescribeConversionWorkspaceRevisionsResponse, error)
188 // Fetches a set of static IP addresses that need to be allowlisted by the
189 // customer when using the static-IP connectivity method.
190 FetchStaticIps(ctx context.Context, in *FetchStaticIpsRequest, opts ...grpc.CallOption) (*FetchStaticIpsResponse, error)
191 }
192
193 type dataMigrationServiceClient struct {
194 cc grpc.ClientConnInterface
195 }
196
197 func NewDataMigrationServiceClient(cc grpc.ClientConnInterface) DataMigrationServiceClient {
198 return &dataMigrationServiceClient{cc}
199 }
200
201 func (c *dataMigrationServiceClient) ListMigrationJobs(ctx context.Context, in *ListMigrationJobsRequest, opts ...grpc.CallOption) (*ListMigrationJobsResponse, error) {
202 out := new(ListMigrationJobsResponse)
203 err := c.cc.Invoke(ctx, DataMigrationService_ListMigrationJobs_FullMethodName, in, out, opts...)
204 if err != nil {
205 return nil, err
206 }
207 return out, nil
208 }
209
210 func (c *dataMigrationServiceClient) GetMigrationJob(ctx context.Context, in *GetMigrationJobRequest, opts ...grpc.CallOption) (*MigrationJob, error) {
211 out := new(MigrationJob)
212 err := c.cc.Invoke(ctx, DataMigrationService_GetMigrationJob_FullMethodName, in, out, opts...)
213 if err != nil {
214 return nil, err
215 }
216 return out, nil
217 }
218
219 func (c *dataMigrationServiceClient) CreateMigrationJob(ctx context.Context, in *CreateMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
220 out := new(longrunningpb.Operation)
221 err := c.cc.Invoke(ctx, DataMigrationService_CreateMigrationJob_FullMethodName, in, out, opts...)
222 if err != nil {
223 return nil, err
224 }
225 return out, nil
226 }
227
228 func (c *dataMigrationServiceClient) UpdateMigrationJob(ctx context.Context, in *UpdateMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
229 out := new(longrunningpb.Operation)
230 err := c.cc.Invoke(ctx, DataMigrationService_UpdateMigrationJob_FullMethodName, in, out, opts...)
231 if err != nil {
232 return nil, err
233 }
234 return out, nil
235 }
236
237 func (c *dataMigrationServiceClient) DeleteMigrationJob(ctx context.Context, in *DeleteMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
238 out := new(longrunningpb.Operation)
239 err := c.cc.Invoke(ctx, DataMigrationService_DeleteMigrationJob_FullMethodName, in, out, opts...)
240 if err != nil {
241 return nil, err
242 }
243 return out, nil
244 }
245
246 func (c *dataMigrationServiceClient) StartMigrationJob(ctx context.Context, in *StartMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
247 out := new(longrunningpb.Operation)
248 err := c.cc.Invoke(ctx, DataMigrationService_StartMigrationJob_FullMethodName, in, out, opts...)
249 if err != nil {
250 return nil, err
251 }
252 return out, nil
253 }
254
255 func (c *dataMigrationServiceClient) StopMigrationJob(ctx context.Context, in *StopMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
256 out := new(longrunningpb.Operation)
257 err := c.cc.Invoke(ctx, DataMigrationService_StopMigrationJob_FullMethodName, in, out, opts...)
258 if err != nil {
259 return nil, err
260 }
261 return out, nil
262 }
263
264 func (c *dataMigrationServiceClient) ResumeMigrationJob(ctx context.Context, in *ResumeMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
265 out := new(longrunningpb.Operation)
266 err := c.cc.Invoke(ctx, DataMigrationService_ResumeMigrationJob_FullMethodName, in, out, opts...)
267 if err != nil {
268 return nil, err
269 }
270 return out, nil
271 }
272
273 func (c *dataMigrationServiceClient) PromoteMigrationJob(ctx context.Context, in *PromoteMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
274 out := new(longrunningpb.Operation)
275 err := c.cc.Invoke(ctx, DataMigrationService_PromoteMigrationJob_FullMethodName, in, out, opts...)
276 if err != nil {
277 return nil, err
278 }
279 return out, nil
280 }
281
282 func (c *dataMigrationServiceClient) VerifyMigrationJob(ctx context.Context, in *VerifyMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
283 out := new(longrunningpb.Operation)
284 err := c.cc.Invoke(ctx, DataMigrationService_VerifyMigrationJob_FullMethodName, in, out, opts...)
285 if err != nil {
286 return nil, err
287 }
288 return out, nil
289 }
290
291 func (c *dataMigrationServiceClient) RestartMigrationJob(ctx context.Context, in *RestartMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
292 out := new(longrunningpb.Operation)
293 err := c.cc.Invoke(ctx, DataMigrationService_RestartMigrationJob_FullMethodName, in, out, opts...)
294 if err != nil {
295 return nil, err
296 }
297 return out, nil
298 }
299
300 func (c *dataMigrationServiceClient) GenerateSshScript(ctx context.Context, in *GenerateSshScriptRequest, opts ...grpc.CallOption) (*SshScript, error) {
301 out := new(SshScript)
302 err := c.cc.Invoke(ctx, DataMigrationService_GenerateSshScript_FullMethodName, in, out, opts...)
303 if err != nil {
304 return nil, err
305 }
306 return out, nil
307 }
308
309 func (c *dataMigrationServiceClient) GenerateTcpProxyScript(ctx context.Context, in *GenerateTcpProxyScriptRequest, opts ...grpc.CallOption) (*TcpProxyScript, error) {
310 out := new(TcpProxyScript)
311 err := c.cc.Invoke(ctx, DataMigrationService_GenerateTcpProxyScript_FullMethodName, in, out, opts...)
312 if err != nil {
313 return nil, err
314 }
315 return out, nil
316 }
317
318 func (c *dataMigrationServiceClient) ListConnectionProfiles(ctx context.Context, in *ListConnectionProfilesRequest, opts ...grpc.CallOption) (*ListConnectionProfilesResponse, error) {
319 out := new(ListConnectionProfilesResponse)
320 err := c.cc.Invoke(ctx, DataMigrationService_ListConnectionProfiles_FullMethodName, in, out, opts...)
321 if err != nil {
322 return nil, err
323 }
324 return out, nil
325 }
326
327 func (c *dataMigrationServiceClient) GetConnectionProfile(ctx context.Context, in *GetConnectionProfileRequest, opts ...grpc.CallOption) (*ConnectionProfile, error) {
328 out := new(ConnectionProfile)
329 err := c.cc.Invoke(ctx, DataMigrationService_GetConnectionProfile_FullMethodName, in, out, opts...)
330 if err != nil {
331 return nil, err
332 }
333 return out, nil
334 }
335
336 func (c *dataMigrationServiceClient) CreateConnectionProfile(ctx context.Context, in *CreateConnectionProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
337 out := new(longrunningpb.Operation)
338 err := c.cc.Invoke(ctx, DataMigrationService_CreateConnectionProfile_FullMethodName, in, out, opts...)
339 if err != nil {
340 return nil, err
341 }
342 return out, nil
343 }
344
345 func (c *dataMigrationServiceClient) UpdateConnectionProfile(ctx context.Context, in *UpdateConnectionProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
346 out := new(longrunningpb.Operation)
347 err := c.cc.Invoke(ctx, DataMigrationService_UpdateConnectionProfile_FullMethodName, in, out, opts...)
348 if err != nil {
349 return nil, err
350 }
351 return out, nil
352 }
353
354 func (c *dataMigrationServiceClient) DeleteConnectionProfile(ctx context.Context, in *DeleteConnectionProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
355 out := new(longrunningpb.Operation)
356 err := c.cc.Invoke(ctx, DataMigrationService_DeleteConnectionProfile_FullMethodName, in, out, opts...)
357 if err != nil {
358 return nil, err
359 }
360 return out, nil
361 }
362
363 func (c *dataMigrationServiceClient) CreatePrivateConnection(ctx context.Context, in *CreatePrivateConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
364 out := new(longrunningpb.Operation)
365 err := c.cc.Invoke(ctx, DataMigrationService_CreatePrivateConnection_FullMethodName, in, out, opts...)
366 if err != nil {
367 return nil, err
368 }
369 return out, nil
370 }
371
372 func (c *dataMigrationServiceClient) GetPrivateConnection(ctx context.Context, in *GetPrivateConnectionRequest, opts ...grpc.CallOption) (*PrivateConnection, error) {
373 out := new(PrivateConnection)
374 err := c.cc.Invoke(ctx, DataMigrationService_GetPrivateConnection_FullMethodName, in, out, opts...)
375 if err != nil {
376 return nil, err
377 }
378 return out, nil
379 }
380
381 func (c *dataMigrationServiceClient) ListPrivateConnections(ctx context.Context, in *ListPrivateConnectionsRequest, opts ...grpc.CallOption) (*ListPrivateConnectionsResponse, error) {
382 out := new(ListPrivateConnectionsResponse)
383 err := c.cc.Invoke(ctx, DataMigrationService_ListPrivateConnections_FullMethodName, in, out, opts...)
384 if err != nil {
385 return nil, err
386 }
387 return out, nil
388 }
389
390 func (c *dataMigrationServiceClient) DeletePrivateConnection(ctx context.Context, in *DeletePrivateConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
391 out := new(longrunningpb.Operation)
392 err := c.cc.Invoke(ctx, DataMigrationService_DeletePrivateConnection_FullMethodName, in, out, opts...)
393 if err != nil {
394 return nil, err
395 }
396 return out, nil
397 }
398
399 func (c *dataMigrationServiceClient) GetConversionWorkspace(ctx context.Context, in *GetConversionWorkspaceRequest, opts ...grpc.CallOption) (*ConversionWorkspace, error) {
400 out := new(ConversionWorkspace)
401 err := c.cc.Invoke(ctx, DataMigrationService_GetConversionWorkspace_FullMethodName, in, out, opts...)
402 if err != nil {
403 return nil, err
404 }
405 return out, nil
406 }
407
408 func (c *dataMigrationServiceClient) ListConversionWorkspaces(ctx context.Context, in *ListConversionWorkspacesRequest, opts ...grpc.CallOption) (*ListConversionWorkspacesResponse, error) {
409 out := new(ListConversionWorkspacesResponse)
410 err := c.cc.Invoke(ctx, DataMigrationService_ListConversionWorkspaces_FullMethodName, in, out, opts...)
411 if err != nil {
412 return nil, err
413 }
414 return out, nil
415 }
416
417 func (c *dataMigrationServiceClient) CreateConversionWorkspace(ctx context.Context, in *CreateConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
418 out := new(longrunningpb.Operation)
419 err := c.cc.Invoke(ctx, DataMigrationService_CreateConversionWorkspace_FullMethodName, in, out, opts...)
420 if err != nil {
421 return nil, err
422 }
423 return out, nil
424 }
425
426 func (c *dataMigrationServiceClient) UpdateConversionWorkspace(ctx context.Context, in *UpdateConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
427 out := new(longrunningpb.Operation)
428 err := c.cc.Invoke(ctx, DataMigrationService_UpdateConversionWorkspace_FullMethodName, in, out, opts...)
429 if err != nil {
430 return nil, err
431 }
432 return out, nil
433 }
434
435 func (c *dataMigrationServiceClient) DeleteConversionWorkspace(ctx context.Context, in *DeleteConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
436 out := new(longrunningpb.Operation)
437 err := c.cc.Invoke(ctx, DataMigrationService_DeleteConversionWorkspace_FullMethodName, in, out, opts...)
438 if err != nil {
439 return nil, err
440 }
441 return out, nil
442 }
443
444 func (c *dataMigrationServiceClient) CreateMappingRule(ctx context.Context, in *CreateMappingRuleRequest, opts ...grpc.CallOption) (*MappingRule, error) {
445 out := new(MappingRule)
446 err := c.cc.Invoke(ctx, DataMigrationService_CreateMappingRule_FullMethodName, in, out, opts...)
447 if err != nil {
448 return nil, err
449 }
450 return out, nil
451 }
452
453 func (c *dataMigrationServiceClient) DeleteMappingRule(ctx context.Context, in *DeleteMappingRuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
454 out := new(emptypb.Empty)
455 err := c.cc.Invoke(ctx, DataMigrationService_DeleteMappingRule_FullMethodName, in, out, opts...)
456 if err != nil {
457 return nil, err
458 }
459 return out, nil
460 }
461
462 func (c *dataMigrationServiceClient) ListMappingRules(ctx context.Context, in *ListMappingRulesRequest, opts ...grpc.CallOption) (*ListMappingRulesResponse, error) {
463 out := new(ListMappingRulesResponse)
464 err := c.cc.Invoke(ctx, DataMigrationService_ListMappingRules_FullMethodName, in, out, opts...)
465 if err != nil {
466 return nil, err
467 }
468 return out, nil
469 }
470
471 func (c *dataMigrationServiceClient) GetMappingRule(ctx context.Context, in *GetMappingRuleRequest, opts ...grpc.CallOption) (*MappingRule, error) {
472 out := new(MappingRule)
473 err := c.cc.Invoke(ctx, DataMigrationService_GetMappingRule_FullMethodName, in, out, opts...)
474 if err != nil {
475 return nil, err
476 }
477 return out, nil
478 }
479
480 func (c *dataMigrationServiceClient) SeedConversionWorkspace(ctx context.Context, in *SeedConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
481 out := new(longrunningpb.Operation)
482 err := c.cc.Invoke(ctx, DataMigrationService_SeedConversionWorkspace_FullMethodName, in, out, opts...)
483 if err != nil {
484 return nil, err
485 }
486 return out, nil
487 }
488
489 func (c *dataMigrationServiceClient) ImportMappingRules(ctx context.Context, in *ImportMappingRulesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
490 out := new(longrunningpb.Operation)
491 err := c.cc.Invoke(ctx, DataMigrationService_ImportMappingRules_FullMethodName, in, out, opts...)
492 if err != nil {
493 return nil, err
494 }
495 return out, nil
496 }
497
498 func (c *dataMigrationServiceClient) ConvertConversionWorkspace(ctx context.Context, in *ConvertConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
499 out := new(longrunningpb.Operation)
500 err := c.cc.Invoke(ctx, DataMigrationService_ConvertConversionWorkspace_FullMethodName, in, out, opts...)
501 if err != nil {
502 return nil, err
503 }
504 return out, nil
505 }
506
507 func (c *dataMigrationServiceClient) CommitConversionWorkspace(ctx context.Context, in *CommitConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
508 out := new(longrunningpb.Operation)
509 err := c.cc.Invoke(ctx, DataMigrationService_CommitConversionWorkspace_FullMethodName, in, out, opts...)
510 if err != nil {
511 return nil, err
512 }
513 return out, nil
514 }
515
516 func (c *dataMigrationServiceClient) RollbackConversionWorkspace(ctx context.Context, in *RollbackConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
517 out := new(longrunningpb.Operation)
518 err := c.cc.Invoke(ctx, DataMigrationService_RollbackConversionWorkspace_FullMethodName, in, out, opts...)
519 if err != nil {
520 return nil, err
521 }
522 return out, nil
523 }
524
525 func (c *dataMigrationServiceClient) ApplyConversionWorkspace(ctx context.Context, in *ApplyConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
526 out := new(longrunningpb.Operation)
527 err := c.cc.Invoke(ctx, DataMigrationService_ApplyConversionWorkspace_FullMethodName, in, out, opts...)
528 if err != nil {
529 return nil, err
530 }
531 return out, nil
532 }
533
534 func (c *dataMigrationServiceClient) DescribeDatabaseEntities(ctx context.Context, in *DescribeDatabaseEntitiesRequest, opts ...grpc.CallOption) (*DescribeDatabaseEntitiesResponse, error) {
535 out := new(DescribeDatabaseEntitiesResponse)
536 err := c.cc.Invoke(ctx, DataMigrationService_DescribeDatabaseEntities_FullMethodName, in, out, opts...)
537 if err != nil {
538 return nil, err
539 }
540 return out, nil
541 }
542
543 func (c *dataMigrationServiceClient) SearchBackgroundJobs(ctx context.Context, in *SearchBackgroundJobsRequest, opts ...grpc.CallOption) (*SearchBackgroundJobsResponse, error) {
544 out := new(SearchBackgroundJobsResponse)
545 err := c.cc.Invoke(ctx, DataMigrationService_SearchBackgroundJobs_FullMethodName, in, out, opts...)
546 if err != nil {
547 return nil, err
548 }
549 return out, nil
550 }
551
552 func (c *dataMigrationServiceClient) DescribeConversionWorkspaceRevisions(ctx context.Context, in *DescribeConversionWorkspaceRevisionsRequest, opts ...grpc.CallOption) (*DescribeConversionWorkspaceRevisionsResponse, error) {
553 out := new(DescribeConversionWorkspaceRevisionsResponse)
554 err := c.cc.Invoke(ctx, DataMigrationService_DescribeConversionWorkspaceRevisions_FullMethodName, in, out, opts...)
555 if err != nil {
556 return nil, err
557 }
558 return out, nil
559 }
560
561 func (c *dataMigrationServiceClient) FetchStaticIps(ctx context.Context, in *FetchStaticIpsRequest, opts ...grpc.CallOption) (*FetchStaticIpsResponse, error) {
562 out := new(FetchStaticIpsResponse)
563 err := c.cc.Invoke(ctx, DataMigrationService_FetchStaticIps_FullMethodName, in, out, opts...)
564 if err != nil {
565 return nil, err
566 }
567 return out, nil
568 }
569
570 // DataMigrationServiceServer is the server API for DataMigrationService service.
571 // All implementations should embed UnimplementedDataMigrationServiceServer
572 // for forward compatibility
573 type DataMigrationServiceServer interface {
574 // Lists migration jobs in a given project and location.
575 ListMigrationJobs(context.Context, *ListMigrationJobsRequest) (*ListMigrationJobsResponse, error)
576 // Gets details of a single migration job.
577 GetMigrationJob(context.Context, *GetMigrationJobRequest) (*MigrationJob, error)
578 // Creates a new migration job in a given project and location.
579 CreateMigrationJob(context.Context, *CreateMigrationJobRequest) (*longrunningpb.Operation, error)
580 // Updates the parameters of a single migration job.
581 UpdateMigrationJob(context.Context, *UpdateMigrationJobRequest) (*longrunningpb.Operation, error)
582 // Deletes a single migration job.
583 DeleteMigrationJob(context.Context, *DeleteMigrationJobRequest) (*longrunningpb.Operation, error)
584 // Start an already created migration job.
585 StartMigrationJob(context.Context, *StartMigrationJobRequest) (*longrunningpb.Operation, error)
586 // Stops a running migration job.
587 StopMigrationJob(context.Context, *StopMigrationJobRequest) (*longrunningpb.Operation, error)
588 // Resume a migration job that is currently stopped and is resumable (was
589 // stopped during CDC phase).
590 ResumeMigrationJob(context.Context, *ResumeMigrationJobRequest) (*longrunningpb.Operation, error)
591 // Promote a migration job, stopping replication to the destination and
592 // promoting the destination to be a standalone database.
593 PromoteMigrationJob(context.Context, *PromoteMigrationJobRequest) (*longrunningpb.Operation, error)
594 // Verify a migration job, making sure the destination can reach the source
595 // and that all configuration and prerequisites are met.
596 VerifyMigrationJob(context.Context, *VerifyMigrationJobRequest) (*longrunningpb.Operation, error)
597 // Restart a stopped or failed migration job, resetting the destination
598 // instance to its original state and starting the migration process from
599 // scratch.
600 RestartMigrationJob(context.Context, *RestartMigrationJobRequest) (*longrunningpb.Operation, error)
601 // Generate a SSH configuration script to configure the reverse SSH
602 // connectivity.
603 GenerateSshScript(context.Context, *GenerateSshScriptRequest) (*SshScript, error)
604 // Generate a TCP Proxy configuration script to configure a cloud-hosted VM
605 // running a TCP Proxy.
606 GenerateTcpProxyScript(context.Context, *GenerateTcpProxyScriptRequest) (*TcpProxyScript, error)
607 // Retrieves a list of all connection profiles in a given project and
608 // location.
609 ListConnectionProfiles(context.Context, *ListConnectionProfilesRequest) (*ListConnectionProfilesResponse, error)
610 // Gets details of a single connection profile.
611 GetConnectionProfile(context.Context, *GetConnectionProfileRequest) (*ConnectionProfile, error)
612 // Creates a new connection profile in a given project and location.
613 CreateConnectionProfile(context.Context, *CreateConnectionProfileRequest) (*longrunningpb.Operation, error)
614 // Update the configuration of a single connection profile.
615 UpdateConnectionProfile(context.Context, *UpdateConnectionProfileRequest) (*longrunningpb.Operation, error)
616 // Deletes a single Database Migration Service connection profile.
617 // A connection profile can only be deleted if it is not in use by any
618 // active migration jobs.
619 DeleteConnectionProfile(context.Context, *DeleteConnectionProfileRequest) (*longrunningpb.Operation, error)
620 // Creates a new private connection in a given project and location.
621 CreatePrivateConnection(context.Context, *CreatePrivateConnectionRequest) (*longrunningpb.Operation, error)
622 // Gets details of a single private connection.
623 GetPrivateConnection(context.Context, *GetPrivateConnectionRequest) (*PrivateConnection, error)
624 // Retrieves a list of private connections in a given project and location.
625 ListPrivateConnections(context.Context, *ListPrivateConnectionsRequest) (*ListPrivateConnectionsResponse, error)
626 // Deletes a single Database Migration Service private connection.
627 DeletePrivateConnection(context.Context, *DeletePrivateConnectionRequest) (*longrunningpb.Operation, error)
628 // Gets details of a single conversion workspace.
629 GetConversionWorkspace(context.Context, *GetConversionWorkspaceRequest) (*ConversionWorkspace, error)
630 // Lists conversion workspaces in a given project and location.
631 ListConversionWorkspaces(context.Context, *ListConversionWorkspacesRequest) (*ListConversionWorkspacesResponse, error)
632 // Creates a new conversion workspace in a given project and location.
633 CreateConversionWorkspace(context.Context, *CreateConversionWorkspaceRequest) (*longrunningpb.Operation, error)
634 // Updates the parameters of a single conversion workspace.
635 UpdateConversionWorkspace(context.Context, *UpdateConversionWorkspaceRequest) (*longrunningpb.Operation, error)
636 // Deletes a single conversion workspace.
637 DeleteConversionWorkspace(context.Context, *DeleteConversionWorkspaceRequest) (*longrunningpb.Operation, error)
638 // Creates a new mapping rule for a given conversion workspace.
639 CreateMappingRule(context.Context, *CreateMappingRuleRequest) (*MappingRule, error)
640 // Deletes a single mapping rule.
641 DeleteMappingRule(context.Context, *DeleteMappingRuleRequest) (*emptypb.Empty, error)
642 // Lists the mapping rules for a specific conversion workspace.
643 ListMappingRules(context.Context, *ListMappingRulesRequest) (*ListMappingRulesResponse, error)
644 // Gets the details of a mapping rule.
645 GetMappingRule(context.Context, *GetMappingRuleRequest) (*MappingRule, error)
646 // Imports a snapshot of the source database into the
647 // conversion workspace.
648 SeedConversionWorkspace(context.Context, *SeedConversionWorkspaceRequest) (*longrunningpb.Operation, error)
649 // Imports the mapping rules for a given conversion workspace.
650 // Supports various formats of external rules files.
651 ImportMappingRules(context.Context, *ImportMappingRulesRequest) (*longrunningpb.Operation, error)
652 // Creates a draft tree schema for the destination database.
653 ConvertConversionWorkspace(context.Context, *ConvertConversionWorkspaceRequest) (*longrunningpb.Operation, error)
654 // Marks all the data in the conversion workspace as committed.
655 CommitConversionWorkspace(context.Context, *CommitConversionWorkspaceRequest) (*longrunningpb.Operation, error)
656 // Rolls back a conversion workspace to the last committed snapshot.
657 RollbackConversionWorkspace(context.Context, *RollbackConversionWorkspaceRequest) (*longrunningpb.Operation, error)
658 // Applies draft tree onto a specific destination database.
659 ApplyConversionWorkspace(context.Context, *ApplyConversionWorkspaceRequest) (*longrunningpb.Operation, error)
660 // Describes the database entities tree for a specific conversion workspace
661 // and a specific tree type.
662 //
663 // Database entities are not resources like conversion workspaces or mapping
664 // rules, and they can't be created, updated or deleted. Instead, they are
665 // simple data objects describing the structure of the client database.
666 DescribeDatabaseEntities(context.Context, *DescribeDatabaseEntitiesRequest) (*DescribeDatabaseEntitiesResponse, error)
667 // Searches/lists the background jobs for a specific
668 // conversion workspace.
669 //
670 // The background jobs are not resources like conversion workspaces or
671 // mapping rules, and they can't be created, updated or deleted.
672 // Instead, they are a way to expose the data plane jobs log.
673 SearchBackgroundJobs(context.Context, *SearchBackgroundJobsRequest) (*SearchBackgroundJobsResponse, error)
674 // Retrieves a list of committed revisions of a specific conversion
675 // workspace.
676 DescribeConversionWorkspaceRevisions(context.Context, *DescribeConversionWorkspaceRevisionsRequest) (*DescribeConversionWorkspaceRevisionsResponse, error)
677 // Fetches a set of static IP addresses that need to be allowlisted by the
678 // customer when using the static-IP connectivity method.
679 FetchStaticIps(context.Context, *FetchStaticIpsRequest) (*FetchStaticIpsResponse, error)
680 }
681
682 // UnimplementedDataMigrationServiceServer should be embedded to have forward compatible implementations.
683 type UnimplementedDataMigrationServiceServer struct {
684 }
685
686 func (UnimplementedDataMigrationServiceServer) ListMigrationJobs(context.Context, *ListMigrationJobsRequest) (*ListMigrationJobsResponse, error) {
687 return nil, status.Errorf(codes.Unimplemented, "method ListMigrationJobs not implemented")
688 }
689 func (UnimplementedDataMigrationServiceServer) GetMigrationJob(context.Context, *GetMigrationJobRequest) (*MigrationJob, error) {
690 return nil, status.Errorf(codes.Unimplemented, "method GetMigrationJob not implemented")
691 }
692 func (UnimplementedDataMigrationServiceServer) CreateMigrationJob(context.Context, *CreateMigrationJobRequest) (*longrunningpb.Operation, error) {
693 return nil, status.Errorf(codes.Unimplemented, "method CreateMigrationJob not implemented")
694 }
695 func (UnimplementedDataMigrationServiceServer) UpdateMigrationJob(context.Context, *UpdateMigrationJobRequest) (*longrunningpb.Operation, error) {
696 return nil, status.Errorf(codes.Unimplemented, "method UpdateMigrationJob not implemented")
697 }
698 func (UnimplementedDataMigrationServiceServer) DeleteMigrationJob(context.Context, *DeleteMigrationJobRequest) (*longrunningpb.Operation, error) {
699 return nil, status.Errorf(codes.Unimplemented, "method DeleteMigrationJob not implemented")
700 }
701 func (UnimplementedDataMigrationServiceServer) StartMigrationJob(context.Context, *StartMigrationJobRequest) (*longrunningpb.Operation, error) {
702 return nil, status.Errorf(codes.Unimplemented, "method StartMigrationJob not implemented")
703 }
704 func (UnimplementedDataMigrationServiceServer) StopMigrationJob(context.Context, *StopMigrationJobRequest) (*longrunningpb.Operation, error) {
705 return nil, status.Errorf(codes.Unimplemented, "method StopMigrationJob not implemented")
706 }
707 func (UnimplementedDataMigrationServiceServer) ResumeMigrationJob(context.Context, *ResumeMigrationJobRequest) (*longrunningpb.Operation, error) {
708 return nil, status.Errorf(codes.Unimplemented, "method ResumeMigrationJob not implemented")
709 }
710 func (UnimplementedDataMigrationServiceServer) PromoteMigrationJob(context.Context, *PromoteMigrationJobRequest) (*longrunningpb.Operation, error) {
711 return nil, status.Errorf(codes.Unimplemented, "method PromoteMigrationJob not implemented")
712 }
713 func (UnimplementedDataMigrationServiceServer) VerifyMigrationJob(context.Context, *VerifyMigrationJobRequest) (*longrunningpb.Operation, error) {
714 return nil, status.Errorf(codes.Unimplemented, "method VerifyMigrationJob not implemented")
715 }
716 func (UnimplementedDataMigrationServiceServer) RestartMigrationJob(context.Context, *RestartMigrationJobRequest) (*longrunningpb.Operation, error) {
717 return nil, status.Errorf(codes.Unimplemented, "method RestartMigrationJob not implemented")
718 }
719 func (UnimplementedDataMigrationServiceServer) GenerateSshScript(context.Context, *GenerateSshScriptRequest) (*SshScript, error) {
720 return nil, status.Errorf(codes.Unimplemented, "method GenerateSshScript not implemented")
721 }
722 func (UnimplementedDataMigrationServiceServer) GenerateTcpProxyScript(context.Context, *GenerateTcpProxyScriptRequest) (*TcpProxyScript, error) {
723 return nil, status.Errorf(codes.Unimplemented, "method GenerateTcpProxyScript not implemented")
724 }
725 func (UnimplementedDataMigrationServiceServer) ListConnectionProfiles(context.Context, *ListConnectionProfilesRequest) (*ListConnectionProfilesResponse, error) {
726 return nil, status.Errorf(codes.Unimplemented, "method ListConnectionProfiles not implemented")
727 }
728 func (UnimplementedDataMigrationServiceServer) GetConnectionProfile(context.Context, *GetConnectionProfileRequest) (*ConnectionProfile, error) {
729 return nil, status.Errorf(codes.Unimplemented, "method GetConnectionProfile not implemented")
730 }
731 func (UnimplementedDataMigrationServiceServer) CreateConnectionProfile(context.Context, *CreateConnectionProfileRequest) (*longrunningpb.Operation, error) {
732 return nil, status.Errorf(codes.Unimplemented, "method CreateConnectionProfile not implemented")
733 }
734 func (UnimplementedDataMigrationServiceServer) UpdateConnectionProfile(context.Context, *UpdateConnectionProfileRequest) (*longrunningpb.Operation, error) {
735 return nil, status.Errorf(codes.Unimplemented, "method UpdateConnectionProfile not implemented")
736 }
737 func (UnimplementedDataMigrationServiceServer) DeleteConnectionProfile(context.Context, *DeleteConnectionProfileRequest) (*longrunningpb.Operation, error) {
738 return nil, status.Errorf(codes.Unimplemented, "method DeleteConnectionProfile not implemented")
739 }
740 func (UnimplementedDataMigrationServiceServer) CreatePrivateConnection(context.Context, *CreatePrivateConnectionRequest) (*longrunningpb.Operation, error) {
741 return nil, status.Errorf(codes.Unimplemented, "method CreatePrivateConnection not implemented")
742 }
743 func (UnimplementedDataMigrationServiceServer) GetPrivateConnection(context.Context, *GetPrivateConnectionRequest) (*PrivateConnection, error) {
744 return nil, status.Errorf(codes.Unimplemented, "method GetPrivateConnection not implemented")
745 }
746 func (UnimplementedDataMigrationServiceServer) ListPrivateConnections(context.Context, *ListPrivateConnectionsRequest) (*ListPrivateConnectionsResponse, error) {
747 return nil, status.Errorf(codes.Unimplemented, "method ListPrivateConnections not implemented")
748 }
749 func (UnimplementedDataMigrationServiceServer) DeletePrivateConnection(context.Context, *DeletePrivateConnectionRequest) (*longrunningpb.Operation, error) {
750 return nil, status.Errorf(codes.Unimplemented, "method DeletePrivateConnection not implemented")
751 }
752 func (UnimplementedDataMigrationServiceServer) GetConversionWorkspace(context.Context, *GetConversionWorkspaceRequest) (*ConversionWorkspace, error) {
753 return nil, status.Errorf(codes.Unimplemented, "method GetConversionWorkspace not implemented")
754 }
755 func (UnimplementedDataMigrationServiceServer) ListConversionWorkspaces(context.Context, *ListConversionWorkspacesRequest) (*ListConversionWorkspacesResponse, error) {
756 return nil, status.Errorf(codes.Unimplemented, "method ListConversionWorkspaces not implemented")
757 }
758 func (UnimplementedDataMigrationServiceServer) CreateConversionWorkspace(context.Context, *CreateConversionWorkspaceRequest) (*longrunningpb.Operation, error) {
759 return nil, status.Errorf(codes.Unimplemented, "method CreateConversionWorkspace not implemented")
760 }
761 func (UnimplementedDataMigrationServiceServer) UpdateConversionWorkspace(context.Context, *UpdateConversionWorkspaceRequest) (*longrunningpb.Operation, error) {
762 return nil, status.Errorf(codes.Unimplemented, "method UpdateConversionWorkspace not implemented")
763 }
764 func (UnimplementedDataMigrationServiceServer) DeleteConversionWorkspace(context.Context, *DeleteConversionWorkspaceRequest) (*longrunningpb.Operation, error) {
765 return nil, status.Errorf(codes.Unimplemented, "method DeleteConversionWorkspace not implemented")
766 }
767 func (UnimplementedDataMigrationServiceServer) CreateMappingRule(context.Context, *CreateMappingRuleRequest) (*MappingRule, error) {
768 return nil, status.Errorf(codes.Unimplemented, "method CreateMappingRule not implemented")
769 }
770 func (UnimplementedDataMigrationServiceServer) DeleteMappingRule(context.Context, *DeleteMappingRuleRequest) (*emptypb.Empty, error) {
771 return nil, status.Errorf(codes.Unimplemented, "method DeleteMappingRule not implemented")
772 }
773 func (UnimplementedDataMigrationServiceServer) ListMappingRules(context.Context, *ListMappingRulesRequest) (*ListMappingRulesResponse, error) {
774 return nil, status.Errorf(codes.Unimplemented, "method ListMappingRules not implemented")
775 }
776 func (UnimplementedDataMigrationServiceServer) GetMappingRule(context.Context, *GetMappingRuleRequest) (*MappingRule, error) {
777 return nil, status.Errorf(codes.Unimplemented, "method GetMappingRule not implemented")
778 }
779 func (UnimplementedDataMigrationServiceServer) SeedConversionWorkspace(context.Context, *SeedConversionWorkspaceRequest) (*longrunningpb.Operation, error) {
780 return nil, status.Errorf(codes.Unimplemented, "method SeedConversionWorkspace not implemented")
781 }
782 func (UnimplementedDataMigrationServiceServer) ImportMappingRules(context.Context, *ImportMappingRulesRequest) (*longrunningpb.Operation, error) {
783 return nil, status.Errorf(codes.Unimplemented, "method ImportMappingRules not implemented")
784 }
785 func (UnimplementedDataMigrationServiceServer) ConvertConversionWorkspace(context.Context, *ConvertConversionWorkspaceRequest) (*longrunningpb.Operation, error) {
786 return nil, status.Errorf(codes.Unimplemented, "method ConvertConversionWorkspace not implemented")
787 }
788 func (UnimplementedDataMigrationServiceServer) CommitConversionWorkspace(context.Context, *CommitConversionWorkspaceRequest) (*longrunningpb.Operation, error) {
789 return nil, status.Errorf(codes.Unimplemented, "method CommitConversionWorkspace not implemented")
790 }
791 func (UnimplementedDataMigrationServiceServer) RollbackConversionWorkspace(context.Context, *RollbackConversionWorkspaceRequest) (*longrunningpb.Operation, error) {
792 return nil, status.Errorf(codes.Unimplemented, "method RollbackConversionWorkspace not implemented")
793 }
794 func (UnimplementedDataMigrationServiceServer) ApplyConversionWorkspace(context.Context, *ApplyConversionWorkspaceRequest) (*longrunningpb.Operation, error) {
795 return nil, status.Errorf(codes.Unimplemented, "method ApplyConversionWorkspace not implemented")
796 }
797 func (UnimplementedDataMigrationServiceServer) DescribeDatabaseEntities(context.Context, *DescribeDatabaseEntitiesRequest) (*DescribeDatabaseEntitiesResponse, error) {
798 return nil, status.Errorf(codes.Unimplemented, "method DescribeDatabaseEntities not implemented")
799 }
800 func (UnimplementedDataMigrationServiceServer) SearchBackgroundJobs(context.Context, *SearchBackgroundJobsRequest) (*SearchBackgroundJobsResponse, error) {
801 return nil, status.Errorf(codes.Unimplemented, "method SearchBackgroundJobs not implemented")
802 }
803 func (UnimplementedDataMigrationServiceServer) DescribeConversionWorkspaceRevisions(context.Context, *DescribeConversionWorkspaceRevisionsRequest) (*DescribeConversionWorkspaceRevisionsResponse, error) {
804 return nil, status.Errorf(codes.Unimplemented, "method DescribeConversionWorkspaceRevisions not implemented")
805 }
806 func (UnimplementedDataMigrationServiceServer) FetchStaticIps(context.Context, *FetchStaticIpsRequest) (*FetchStaticIpsResponse, error) {
807 return nil, status.Errorf(codes.Unimplemented, "method FetchStaticIps not implemented")
808 }
809
810 // UnsafeDataMigrationServiceServer may be embedded to opt out of forward compatibility for this service.
811 // Use of this interface is not recommended, as added methods to DataMigrationServiceServer will
812 // result in compilation errors.
813 type UnsafeDataMigrationServiceServer interface {
814 mustEmbedUnimplementedDataMigrationServiceServer()
815 }
816
817 func RegisterDataMigrationServiceServer(s grpc.ServiceRegistrar, srv DataMigrationServiceServer) {
818 s.RegisterService(&DataMigrationService_ServiceDesc, srv)
819 }
820
821 func _DataMigrationService_ListMigrationJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
822 in := new(ListMigrationJobsRequest)
823 if err := dec(in); err != nil {
824 return nil, err
825 }
826 if interceptor == nil {
827 return srv.(DataMigrationServiceServer).ListMigrationJobs(ctx, in)
828 }
829 info := &grpc.UnaryServerInfo{
830 Server: srv,
831 FullMethod: DataMigrationService_ListMigrationJobs_FullMethodName,
832 }
833 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
834 return srv.(DataMigrationServiceServer).ListMigrationJobs(ctx, req.(*ListMigrationJobsRequest))
835 }
836 return interceptor(ctx, in, info, handler)
837 }
838
839 func _DataMigrationService_GetMigrationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
840 in := new(GetMigrationJobRequest)
841 if err := dec(in); err != nil {
842 return nil, err
843 }
844 if interceptor == nil {
845 return srv.(DataMigrationServiceServer).GetMigrationJob(ctx, in)
846 }
847 info := &grpc.UnaryServerInfo{
848 Server: srv,
849 FullMethod: DataMigrationService_GetMigrationJob_FullMethodName,
850 }
851 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
852 return srv.(DataMigrationServiceServer).GetMigrationJob(ctx, req.(*GetMigrationJobRequest))
853 }
854 return interceptor(ctx, in, info, handler)
855 }
856
857 func _DataMigrationService_CreateMigrationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
858 in := new(CreateMigrationJobRequest)
859 if err := dec(in); err != nil {
860 return nil, err
861 }
862 if interceptor == nil {
863 return srv.(DataMigrationServiceServer).CreateMigrationJob(ctx, in)
864 }
865 info := &grpc.UnaryServerInfo{
866 Server: srv,
867 FullMethod: DataMigrationService_CreateMigrationJob_FullMethodName,
868 }
869 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
870 return srv.(DataMigrationServiceServer).CreateMigrationJob(ctx, req.(*CreateMigrationJobRequest))
871 }
872 return interceptor(ctx, in, info, handler)
873 }
874
875 func _DataMigrationService_UpdateMigrationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
876 in := new(UpdateMigrationJobRequest)
877 if err := dec(in); err != nil {
878 return nil, err
879 }
880 if interceptor == nil {
881 return srv.(DataMigrationServiceServer).UpdateMigrationJob(ctx, in)
882 }
883 info := &grpc.UnaryServerInfo{
884 Server: srv,
885 FullMethod: DataMigrationService_UpdateMigrationJob_FullMethodName,
886 }
887 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
888 return srv.(DataMigrationServiceServer).UpdateMigrationJob(ctx, req.(*UpdateMigrationJobRequest))
889 }
890 return interceptor(ctx, in, info, handler)
891 }
892
893 func _DataMigrationService_DeleteMigrationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
894 in := new(DeleteMigrationJobRequest)
895 if err := dec(in); err != nil {
896 return nil, err
897 }
898 if interceptor == nil {
899 return srv.(DataMigrationServiceServer).DeleteMigrationJob(ctx, in)
900 }
901 info := &grpc.UnaryServerInfo{
902 Server: srv,
903 FullMethod: DataMigrationService_DeleteMigrationJob_FullMethodName,
904 }
905 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
906 return srv.(DataMigrationServiceServer).DeleteMigrationJob(ctx, req.(*DeleteMigrationJobRequest))
907 }
908 return interceptor(ctx, in, info, handler)
909 }
910
911 func _DataMigrationService_StartMigrationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
912 in := new(StartMigrationJobRequest)
913 if err := dec(in); err != nil {
914 return nil, err
915 }
916 if interceptor == nil {
917 return srv.(DataMigrationServiceServer).StartMigrationJob(ctx, in)
918 }
919 info := &grpc.UnaryServerInfo{
920 Server: srv,
921 FullMethod: DataMigrationService_StartMigrationJob_FullMethodName,
922 }
923 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
924 return srv.(DataMigrationServiceServer).StartMigrationJob(ctx, req.(*StartMigrationJobRequest))
925 }
926 return interceptor(ctx, in, info, handler)
927 }
928
929 func _DataMigrationService_StopMigrationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
930 in := new(StopMigrationJobRequest)
931 if err := dec(in); err != nil {
932 return nil, err
933 }
934 if interceptor == nil {
935 return srv.(DataMigrationServiceServer).StopMigrationJob(ctx, in)
936 }
937 info := &grpc.UnaryServerInfo{
938 Server: srv,
939 FullMethod: DataMigrationService_StopMigrationJob_FullMethodName,
940 }
941 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
942 return srv.(DataMigrationServiceServer).StopMigrationJob(ctx, req.(*StopMigrationJobRequest))
943 }
944 return interceptor(ctx, in, info, handler)
945 }
946
947 func _DataMigrationService_ResumeMigrationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
948 in := new(ResumeMigrationJobRequest)
949 if err := dec(in); err != nil {
950 return nil, err
951 }
952 if interceptor == nil {
953 return srv.(DataMigrationServiceServer).ResumeMigrationJob(ctx, in)
954 }
955 info := &grpc.UnaryServerInfo{
956 Server: srv,
957 FullMethod: DataMigrationService_ResumeMigrationJob_FullMethodName,
958 }
959 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
960 return srv.(DataMigrationServiceServer).ResumeMigrationJob(ctx, req.(*ResumeMigrationJobRequest))
961 }
962 return interceptor(ctx, in, info, handler)
963 }
964
965 func _DataMigrationService_PromoteMigrationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
966 in := new(PromoteMigrationJobRequest)
967 if err := dec(in); err != nil {
968 return nil, err
969 }
970 if interceptor == nil {
971 return srv.(DataMigrationServiceServer).PromoteMigrationJob(ctx, in)
972 }
973 info := &grpc.UnaryServerInfo{
974 Server: srv,
975 FullMethod: DataMigrationService_PromoteMigrationJob_FullMethodName,
976 }
977 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
978 return srv.(DataMigrationServiceServer).PromoteMigrationJob(ctx, req.(*PromoteMigrationJobRequest))
979 }
980 return interceptor(ctx, in, info, handler)
981 }
982
983 func _DataMigrationService_VerifyMigrationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
984 in := new(VerifyMigrationJobRequest)
985 if err := dec(in); err != nil {
986 return nil, err
987 }
988 if interceptor == nil {
989 return srv.(DataMigrationServiceServer).VerifyMigrationJob(ctx, in)
990 }
991 info := &grpc.UnaryServerInfo{
992 Server: srv,
993 FullMethod: DataMigrationService_VerifyMigrationJob_FullMethodName,
994 }
995 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
996 return srv.(DataMigrationServiceServer).VerifyMigrationJob(ctx, req.(*VerifyMigrationJobRequest))
997 }
998 return interceptor(ctx, in, info, handler)
999 }
1000
1001 func _DataMigrationService_RestartMigrationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1002 in := new(RestartMigrationJobRequest)
1003 if err := dec(in); err != nil {
1004 return nil, err
1005 }
1006 if interceptor == nil {
1007 return srv.(DataMigrationServiceServer).RestartMigrationJob(ctx, in)
1008 }
1009 info := &grpc.UnaryServerInfo{
1010 Server: srv,
1011 FullMethod: DataMigrationService_RestartMigrationJob_FullMethodName,
1012 }
1013 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1014 return srv.(DataMigrationServiceServer).RestartMigrationJob(ctx, req.(*RestartMigrationJobRequest))
1015 }
1016 return interceptor(ctx, in, info, handler)
1017 }
1018
1019 func _DataMigrationService_GenerateSshScript_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1020 in := new(GenerateSshScriptRequest)
1021 if err := dec(in); err != nil {
1022 return nil, err
1023 }
1024 if interceptor == nil {
1025 return srv.(DataMigrationServiceServer).GenerateSshScript(ctx, in)
1026 }
1027 info := &grpc.UnaryServerInfo{
1028 Server: srv,
1029 FullMethod: DataMigrationService_GenerateSshScript_FullMethodName,
1030 }
1031 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1032 return srv.(DataMigrationServiceServer).GenerateSshScript(ctx, req.(*GenerateSshScriptRequest))
1033 }
1034 return interceptor(ctx, in, info, handler)
1035 }
1036
1037 func _DataMigrationService_GenerateTcpProxyScript_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1038 in := new(GenerateTcpProxyScriptRequest)
1039 if err := dec(in); err != nil {
1040 return nil, err
1041 }
1042 if interceptor == nil {
1043 return srv.(DataMigrationServiceServer).GenerateTcpProxyScript(ctx, in)
1044 }
1045 info := &grpc.UnaryServerInfo{
1046 Server: srv,
1047 FullMethod: DataMigrationService_GenerateTcpProxyScript_FullMethodName,
1048 }
1049 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1050 return srv.(DataMigrationServiceServer).GenerateTcpProxyScript(ctx, req.(*GenerateTcpProxyScriptRequest))
1051 }
1052 return interceptor(ctx, in, info, handler)
1053 }
1054
1055 func _DataMigrationService_ListConnectionProfiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1056 in := new(ListConnectionProfilesRequest)
1057 if err := dec(in); err != nil {
1058 return nil, err
1059 }
1060 if interceptor == nil {
1061 return srv.(DataMigrationServiceServer).ListConnectionProfiles(ctx, in)
1062 }
1063 info := &grpc.UnaryServerInfo{
1064 Server: srv,
1065 FullMethod: DataMigrationService_ListConnectionProfiles_FullMethodName,
1066 }
1067 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1068 return srv.(DataMigrationServiceServer).ListConnectionProfiles(ctx, req.(*ListConnectionProfilesRequest))
1069 }
1070 return interceptor(ctx, in, info, handler)
1071 }
1072
1073 func _DataMigrationService_GetConnectionProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1074 in := new(GetConnectionProfileRequest)
1075 if err := dec(in); err != nil {
1076 return nil, err
1077 }
1078 if interceptor == nil {
1079 return srv.(DataMigrationServiceServer).GetConnectionProfile(ctx, in)
1080 }
1081 info := &grpc.UnaryServerInfo{
1082 Server: srv,
1083 FullMethod: DataMigrationService_GetConnectionProfile_FullMethodName,
1084 }
1085 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1086 return srv.(DataMigrationServiceServer).GetConnectionProfile(ctx, req.(*GetConnectionProfileRequest))
1087 }
1088 return interceptor(ctx, in, info, handler)
1089 }
1090
1091 func _DataMigrationService_CreateConnectionProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1092 in := new(CreateConnectionProfileRequest)
1093 if err := dec(in); err != nil {
1094 return nil, err
1095 }
1096 if interceptor == nil {
1097 return srv.(DataMigrationServiceServer).CreateConnectionProfile(ctx, in)
1098 }
1099 info := &grpc.UnaryServerInfo{
1100 Server: srv,
1101 FullMethod: DataMigrationService_CreateConnectionProfile_FullMethodName,
1102 }
1103 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1104 return srv.(DataMigrationServiceServer).CreateConnectionProfile(ctx, req.(*CreateConnectionProfileRequest))
1105 }
1106 return interceptor(ctx, in, info, handler)
1107 }
1108
1109 func _DataMigrationService_UpdateConnectionProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1110 in := new(UpdateConnectionProfileRequest)
1111 if err := dec(in); err != nil {
1112 return nil, err
1113 }
1114 if interceptor == nil {
1115 return srv.(DataMigrationServiceServer).UpdateConnectionProfile(ctx, in)
1116 }
1117 info := &grpc.UnaryServerInfo{
1118 Server: srv,
1119 FullMethod: DataMigrationService_UpdateConnectionProfile_FullMethodName,
1120 }
1121 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1122 return srv.(DataMigrationServiceServer).UpdateConnectionProfile(ctx, req.(*UpdateConnectionProfileRequest))
1123 }
1124 return interceptor(ctx, in, info, handler)
1125 }
1126
1127 func _DataMigrationService_DeleteConnectionProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1128 in := new(DeleteConnectionProfileRequest)
1129 if err := dec(in); err != nil {
1130 return nil, err
1131 }
1132 if interceptor == nil {
1133 return srv.(DataMigrationServiceServer).DeleteConnectionProfile(ctx, in)
1134 }
1135 info := &grpc.UnaryServerInfo{
1136 Server: srv,
1137 FullMethod: DataMigrationService_DeleteConnectionProfile_FullMethodName,
1138 }
1139 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1140 return srv.(DataMigrationServiceServer).DeleteConnectionProfile(ctx, req.(*DeleteConnectionProfileRequest))
1141 }
1142 return interceptor(ctx, in, info, handler)
1143 }
1144
1145 func _DataMigrationService_CreatePrivateConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1146 in := new(CreatePrivateConnectionRequest)
1147 if err := dec(in); err != nil {
1148 return nil, err
1149 }
1150 if interceptor == nil {
1151 return srv.(DataMigrationServiceServer).CreatePrivateConnection(ctx, in)
1152 }
1153 info := &grpc.UnaryServerInfo{
1154 Server: srv,
1155 FullMethod: DataMigrationService_CreatePrivateConnection_FullMethodName,
1156 }
1157 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1158 return srv.(DataMigrationServiceServer).CreatePrivateConnection(ctx, req.(*CreatePrivateConnectionRequest))
1159 }
1160 return interceptor(ctx, in, info, handler)
1161 }
1162
1163 func _DataMigrationService_GetPrivateConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1164 in := new(GetPrivateConnectionRequest)
1165 if err := dec(in); err != nil {
1166 return nil, err
1167 }
1168 if interceptor == nil {
1169 return srv.(DataMigrationServiceServer).GetPrivateConnection(ctx, in)
1170 }
1171 info := &grpc.UnaryServerInfo{
1172 Server: srv,
1173 FullMethod: DataMigrationService_GetPrivateConnection_FullMethodName,
1174 }
1175 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1176 return srv.(DataMigrationServiceServer).GetPrivateConnection(ctx, req.(*GetPrivateConnectionRequest))
1177 }
1178 return interceptor(ctx, in, info, handler)
1179 }
1180
1181 func _DataMigrationService_ListPrivateConnections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1182 in := new(ListPrivateConnectionsRequest)
1183 if err := dec(in); err != nil {
1184 return nil, err
1185 }
1186 if interceptor == nil {
1187 return srv.(DataMigrationServiceServer).ListPrivateConnections(ctx, in)
1188 }
1189 info := &grpc.UnaryServerInfo{
1190 Server: srv,
1191 FullMethod: DataMigrationService_ListPrivateConnections_FullMethodName,
1192 }
1193 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1194 return srv.(DataMigrationServiceServer).ListPrivateConnections(ctx, req.(*ListPrivateConnectionsRequest))
1195 }
1196 return interceptor(ctx, in, info, handler)
1197 }
1198
1199 func _DataMigrationService_DeletePrivateConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1200 in := new(DeletePrivateConnectionRequest)
1201 if err := dec(in); err != nil {
1202 return nil, err
1203 }
1204 if interceptor == nil {
1205 return srv.(DataMigrationServiceServer).DeletePrivateConnection(ctx, in)
1206 }
1207 info := &grpc.UnaryServerInfo{
1208 Server: srv,
1209 FullMethod: DataMigrationService_DeletePrivateConnection_FullMethodName,
1210 }
1211 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1212 return srv.(DataMigrationServiceServer).DeletePrivateConnection(ctx, req.(*DeletePrivateConnectionRequest))
1213 }
1214 return interceptor(ctx, in, info, handler)
1215 }
1216
1217 func _DataMigrationService_GetConversionWorkspace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1218 in := new(GetConversionWorkspaceRequest)
1219 if err := dec(in); err != nil {
1220 return nil, err
1221 }
1222 if interceptor == nil {
1223 return srv.(DataMigrationServiceServer).GetConversionWorkspace(ctx, in)
1224 }
1225 info := &grpc.UnaryServerInfo{
1226 Server: srv,
1227 FullMethod: DataMigrationService_GetConversionWorkspace_FullMethodName,
1228 }
1229 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1230 return srv.(DataMigrationServiceServer).GetConversionWorkspace(ctx, req.(*GetConversionWorkspaceRequest))
1231 }
1232 return interceptor(ctx, in, info, handler)
1233 }
1234
1235 func _DataMigrationService_ListConversionWorkspaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1236 in := new(ListConversionWorkspacesRequest)
1237 if err := dec(in); err != nil {
1238 return nil, err
1239 }
1240 if interceptor == nil {
1241 return srv.(DataMigrationServiceServer).ListConversionWorkspaces(ctx, in)
1242 }
1243 info := &grpc.UnaryServerInfo{
1244 Server: srv,
1245 FullMethod: DataMigrationService_ListConversionWorkspaces_FullMethodName,
1246 }
1247 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1248 return srv.(DataMigrationServiceServer).ListConversionWorkspaces(ctx, req.(*ListConversionWorkspacesRequest))
1249 }
1250 return interceptor(ctx, in, info, handler)
1251 }
1252
1253 func _DataMigrationService_CreateConversionWorkspace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1254 in := new(CreateConversionWorkspaceRequest)
1255 if err := dec(in); err != nil {
1256 return nil, err
1257 }
1258 if interceptor == nil {
1259 return srv.(DataMigrationServiceServer).CreateConversionWorkspace(ctx, in)
1260 }
1261 info := &grpc.UnaryServerInfo{
1262 Server: srv,
1263 FullMethod: DataMigrationService_CreateConversionWorkspace_FullMethodName,
1264 }
1265 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1266 return srv.(DataMigrationServiceServer).CreateConversionWorkspace(ctx, req.(*CreateConversionWorkspaceRequest))
1267 }
1268 return interceptor(ctx, in, info, handler)
1269 }
1270
1271 func _DataMigrationService_UpdateConversionWorkspace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1272 in := new(UpdateConversionWorkspaceRequest)
1273 if err := dec(in); err != nil {
1274 return nil, err
1275 }
1276 if interceptor == nil {
1277 return srv.(DataMigrationServiceServer).UpdateConversionWorkspace(ctx, in)
1278 }
1279 info := &grpc.UnaryServerInfo{
1280 Server: srv,
1281 FullMethod: DataMigrationService_UpdateConversionWorkspace_FullMethodName,
1282 }
1283 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1284 return srv.(DataMigrationServiceServer).UpdateConversionWorkspace(ctx, req.(*UpdateConversionWorkspaceRequest))
1285 }
1286 return interceptor(ctx, in, info, handler)
1287 }
1288
1289 func _DataMigrationService_DeleteConversionWorkspace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1290 in := new(DeleteConversionWorkspaceRequest)
1291 if err := dec(in); err != nil {
1292 return nil, err
1293 }
1294 if interceptor == nil {
1295 return srv.(DataMigrationServiceServer).DeleteConversionWorkspace(ctx, in)
1296 }
1297 info := &grpc.UnaryServerInfo{
1298 Server: srv,
1299 FullMethod: DataMigrationService_DeleteConversionWorkspace_FullMethodName,
1300 }
1301 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1302 return srv.(DataMigrationServiceServer).DeleteConversionWorkspace(ctx, req.(*DeleteConversionWorkspaceRequest))
1303 }
1304 return interceptor(ctx, in, info, handler)
1305 }
1306
1307 func _DataMigrationService_CreateMappingRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1308 in := new(CreateMappingRuleRequest)
1309 if err := dec(in); err != nil {
1310 return nil, err
1311 }
1312 if interceptor == nil {
1313 return srv.(DataMigrationServiceServer).CreateMappingRule(ctx, in)
1314 }
1315 info := &grpc.UnaryServerInfo{
1316 Server: srv,
1317 FullMethod: DataMigrationService_CreateMappingRule_FullMethodName,
1318 }
1319 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1320 return srv.(DataMigrationServiceServer).CreateMappingRule(ctx, req.(*CreateMappingRuleRequest))
1321 }
1322 return interceptor(ctx, in, info, handler)
1323 }
1324
1325 func _DataMigrationService_DeleteMappingRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1326 in := new(DeleteMappingRuleRequest)
1327 if err := dec(in); err != nil {
1328 return nil, err
1329 }
1330 if interceptor == nil {
1331 return srv.(DataMigrationServiceServer).DeleteMappingRule(ctx, in)
1332 }
1333 info := &grpc.UnaryServerInfo{
1334 Server: srv,
1335 FullMethod: DataMigrationService_DeleteMappingRule_FullMethodName,
1336 }
1337 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1338 return srv.(DataMigrationServiceServer).DeleteMappingRule(ctx, req.(*DeleteMappingRuleRequest))
1339 }
1340 return interceptor(ctx, in, info, handler)
1341 }
1342
1343 func _DataMigrationService_ListMappingRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1344 in := new(ListMappingRulesRequest)
1345 if err := dec(in); err != nil {
1346 return nil, err
1347 }
1348 if interceptor == nil {
1349 return srv.(DataMigrationServiceServer).ListMappingRules(ctx, in)
1350 }
1351 info := &grpc.UnaryServerInfo{
1352 Server: srv,
1353 FullMethod: DataMigrationService_ListMappingRules_FullMethodName,
1354 }
1355 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1356 return srv.(DataMigrationServiceServer).ListMappingRules(ctx, req.(*ListMappingRulesRequest))
1357 }
1358 return interceptor(ctx, in, info, handler)
1359 }
1360
1361 func _DataMigrationService_GetMappingRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1362 in := new(GetMappingRuleRequest)
1363 if err := dec(in); err != nil {
1364 return nil, err
1365 }
1366 if interceptor == nil {
1367 return srv.(DataMigrationServiceServer).GetMappingRule(ctx, in)
1368 }
1369 info := &grpc.UnaryServerInfo{
1370 Server: srv,
1371 FullMethod: DataMigrationService_GetMappingRule_FullMethodName,
1372 }
1373 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1374 return srv.(DataMigrationServiceServer).GetMappingRule(ctx, req.(*GetMappingRuleRequest))
1375 }
1376 return interceptor(ctx, in, info, handler)
1377 }
1378
1379 func _DataMigrationService_SeedConversionWorkspace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1380 in := new(SeedConversionWorkspaceRequest)
1381 if err := dec(in); err != nil {
1382 return nil, err
1383 }
1384 if interceptor == nil {
1385 return srv.(DataMigrationServiceServer).SeedConversionWorkspace(ctx, in)
1386 }
1387 info := &grpc.UnaryServerInfo{
1388 Server: srv,
1389 FullMethod: DataMigrationService_SeedConversionWorkspace_FullMethodName,
1390 }
1391 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1392 return srv.(DataMigrationServiceServer).SeedConversionWorkspace(ctx, req.(*SeedConversionWorkspaceRequest))
1393 }
1394 return interceptor(ctx, in, info, handler)
1395 }
1396
1397 func _DataMigrationService_ImportMappingRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1398 in := new(ImportMappingRulesRequest)
1399 if err := dec(in); err != nil {
1400 return nil, err
1401 }
1402 if interceptor == nil {
1403 return srv.(DataMigrationServiceServer).ImportMappingRules(ctx, in)
1404 }
1405 info := &grpc.UnaryServerInfo{
1406 Server: srv,
1407 FullMethod: DataMigrationService_ImportMappingRules_FullMethodName,
1408 }
1409 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1410 return srv.(DataMigrationServiceServer).ImportMappingRules(ctx, req.(*ImportMappingRulesRequest))
1411 }
1412 return interceptor(ctx, in, info, handler)
1413 }
1414
1415 func _DataMigrationService_ConvertConversionWorkspace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1416 in := new(ConvertConversionWorkspaceRequest)
1417 if err := dec(in); err != nil {
1418 return nil, err
1419 }
1420 if interceptor == nil {
1421 return srv.(DataMigrationServiceServer).ConvertConversionWorkspace(ctx, in)
1422 }
1423 info := &grpc.UnaryServerInfo{
1424 Server: srv,
1425 FullMethod: DataMigrationService_ConvertConversionWorkspace_FullMethodName,
1426 }
1427 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1428 return srv.(DataMigrationServiceServer).ConvertConversionWorkspace(ctx, req.(*ConvertConversionWorkspaceRequest))
1429 }
1430 return interceptor(ctx, in, info, handler)
1431 }
1432
1433 func _DataMigrationService_CommitConversionWorkspace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1434 in := new(CommitConversionWorkspaceRequest)
1435 if err := dec(in); err != nil {
1436 return nil, err
1437 }
1438 if interceptor == nil {
1439 return srv.(DataMigrationServiceServer).CommitConversionWorkspace(ctx, in)
1440 }
1441 info := &grpc.UnaryServerInfo{
1442 Server: srv,
1443 FullMethod: DataMigrationService_CommitConversionWorkspace_FullMethodName,
1444 }
1445 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1446 return srv.(DataMigrationServiceServer).CommitConversionWorkspace(ctx, req.(*CommitConversionWorkspaceRequest))
1447 }
1448 return interceptor(ctx, in, info, handler)
1449 }
1450
1451 func _DataMigrationService_RollbackConversionWorkspace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1452 in := new(RollbackConversionWorkspaceRequest)
1453 if err := dec(in); err != nil {
1454 return nil, err
1455 }
1456 if interceptor == nil {
1457 return srv.(DataMigrationServiceServer).RollbackConversionWorkspace(ctx, in)
1458 }
1459 info := &grpc.UnaryServerInfo{
1460 Server: srv,
1461 FullMethod: DataMigrationService_RollbackConversionWorkspace_FullMethodName,
1462 }
1463 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1464 return srv.(DataMigrationServiceServer).RollbackConversionWorkspace(ctx, req.(*RollbackConversionWorkspaceRequest))
1465 }
1466 return interceptor(ctx, in, info, handler)
1467 }
1468
1469 func _DataMigrationService_ApplyConversionWorkspace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1470 in := new(ApplyConversionWorkspaceRequest)
1471 if err := dec(in); err != nil {
1472 return nil, err
1473 }
1474 if interceptor == nil {
1475 return srv.(DataMigrationServiceServer).ApplyConversionWorkspace(ctx, in)
1476 }
1477 info := &grpc.UnaryServerInfo{
1478 Server: srv,
1479 FullMethod: DataMigrationService_ApplyConversionWorkspace_FullMethodName,
1480 }
1481 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1482 return srv.(DataMigrationServiceServer).ApplyConversionWorkspace(ctx, req.(*ApplyConversionWorkspaceRequest))
1483 }
1484 return interceptor(ctx, in, info, handler)
1485 }
1486
1487 func _DataMigrationService_DescribeDatabaseEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1488 in := new(DescribeDatabaseEntitiesRequest)
1489 if err := dec(in); err != nil {
1490 return nil, err
1491 }
1492 if interceptor == nil {
1493 return srv.(DataMigrationServiceServer).DescribeDatabaseEntities(ctx, in)
1494 }
1495 info := &grpc.UnaryServerInfo{
1496 Server: srv,
1497 FullMethod: DataMigrationService_DescribeDatabaseEntities_FullMethodName,
1498 }
1499 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1500 return srv.(DataMigrationServiceServer).DescribeDatabaseEntities(ctx, req.(*DescribeDatabaseEntitiesRequest))
1501 }
1502 return interceptor(ctx, in, info, handler)
1503 }
1504
1505 func _DataMigrationService_SearchBackgroundJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1506 in := new(SearchBackgroundJobsRequest)
1507 if err := dec(in); err != nil {
1508 return nil, err
1509 }
1510 if interceptor == nil {
1511 return srv.(DataMigrationServiceServer).SearchBackgroundJobs(ctx, in)
1512 }
1513 info := &grpc.UnaryServerInfo{
1514 Server: srv,
1515 FullMethod: DataMigrationService_SearchBackgroundJobs_FullMethodName,
1516 }
1517 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1518 return srv.(DataMigrationServiceServer).SearchBackgroundJobs(ctx, req.(*SearchBackgroundJobsRequest))
1519 }
1520 return interceptor(ctx, in, info, handler)
1521 }
1522
1523 func _DataMigrationService_DescribeConversionWorkspaceRevisions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1524 in := new(DescribeConversionWorkspaceRevisionsRequest)
1525 if err := dec(in); err != nil {
1526 return nil, err
1527 }
1528 if interceptor == nil {
1529 return srv.(DataMigrationServiceServer).DescribeConversionWorkspaceRevisions(ctx, in)
1530 }
1531 info := &grpc.UnaryServerInfo{
1532 Server: srv,
1533 FullMethod: DataMigrationService_DescribeConversionWorkspaceRevisions_FullMethodName,
1534 }
1535 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1536 return srv.(DataMigrationServiceServer).DescribeConversionWorkspaceRevisions(ctx, req.(*DescribeConversionWorkspaceRevisionsRequest))
1537 }
1538 return interceptor(ctx, in, info, handler)
1539 }
1540
1541 func _DataMigrationService_FetchStaticIps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1542 in := new(FetchStaticIpsRequest)
1543 if err := dec(in); err != nil {
1544 return nil, err
1545 }
1546 if interceptor == nil {
1547 return srv.(DataMigrationServiceServer).FetchStaticIps(ctx, in)
1548 }
1549 info := &grpc.UnaryServerInfo{
1550 Server: srv,
1551 FullMethod: DataMigrationService_FetchStaticIps_FullMethodName,
1552 }
1553 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1554 return srv.(DataMigrationServiceServer).FetchStaticIps(ctx, req.(*FetchStaticIpsRequest))
1555 }
1556 return interceptor(ctx, in, info, handler)
1557 }
1558
1559 // DataMigrationService_ServiceDesc is the grpc.ServiceDesc for DataMigrationService service.
1560 // It's only intended for direct use with grpc.RegisterService,
1561 // and not to be introspected or modified (even as a copy)
1562 var DataMigrationService_ServiceDesc = grpc.ServiceDesc{
1563 ServiceName: "google.cloud.clouddms.v1.DataMigrationService",
1564 HandlerType: (*DataMigrationServiceServer)(nil),
1565 Methods: []grpc.MethodDesc{
1566 {
1567 MethodName: "ListMigrationJobs",
1568 Handler: _DataMigrationService_ListMigrationJobs_Handler,
1569 },
1570 {
1571 MethodName: "GetMigrationJob",
1572 Handler: _DataMigrationService_GetMigrationJob_Handler,
1573 },
1574 {
1575 MethodName: "CreateMigrationJob",
1576 Handler: _DataMigrationService_CreateMigrationJob_Handler,
1577 },
1578 {
1579 MethodName: "UpdateMigrationJob",
1580 Handler: _DataMigrationService_UpdateMigrationJob_Handler,
1581 },
1582 {
1583 MethodName: "DeleteMigrationJob",
1584 Handler: _DataMigrationService_DeleteMigrationJob_Handler,
1585 },
1586 {
1587 MethodName: "StartMigrationJob",
1588 Handler: _DataMigrationService_StartMigrationJob_Handler,
1589 },
1590 {
1591 MethodName: "StopMigrationJob",
1592 Handler: _DataMigrationService_StopMigrationJob_Handler,
1593 },
1594 {
1595 MethodName: "ResumeMigrationJob",
1596 Handler: _DataMigrationService_ResumeMigrationJob_Handler,
1597 },
1598 {
1599 MethodName: "PromoteMigrationJob",
1600 Handler: _DataMigrationService_PromoteMigrationJob_Handler,
1601 },
1602 {
1603 MethodName: "VerifyMigrationJob",
1604 Handler: _DataMigrationService_VerifyMigrationJob_Handler,
1605 },
1606 {
1607 MethodName: "RestartMigrationJob",
1608 Handler: _DataMigrationService_RestartMigrationJob_Handler,
1609 },
1610 {
1611 MethodName: "GenerateSshScript",
1612 Handler: _DataMigrationService_GenerateSshScript_Handler,
1613 },
1614 {
1615 MethodName: "GenerateTcpProxyScript",
1616 Handler: _DataMigrationService_GenerateTcpProxyScript_Handler,
1617 },
1618 {
1619 MethodName: "ListConnectionProfiles",
1620 Handler: _DataMigrationService_ListConnectionProfiles_Handler,
1621 },
1622 {
1623 MethodName: "GetConnectionProfile",
1624 Handler: _DataMigrationService_GetConnectionProfile_Handler,
1625 },
1626 {
1627 MethodName: "CreateConnectionProfile",
1628 Handler: _DataMigrationService_CreateConnectionProfile_Handler,
1629 },
1630 {
1631 MethodName: "UpdateConnectionProfile",
1632 Handler: _DataMigrationService_UpdateConnectionProfile_Handler,
1633 },
1634 {
1635 MethodName: "DeleteConnectionProfile",
1636 Handler: _DataMigrationService_DeleteConnectionProfile_Handler,
1637 },
1638 {
1639 MethodName: "CreatePrivateConnection",
1640 Handler: _DataMigrationService_CreatePrivateConnection_Handler,
1641 },
1642 {
1643 MethodName: "GetPrivateConnection",
1644 Handler: _DataMigrationService_GetPrivateConnection_Handler,
1645 },
1646 {
1647 MethodName: "ListPrivateConnections",
1648 Handler: _DataMigrationService_ListPrivateConnections_Handler,
1649 },
1650 {
1651 MethodName: "DeletePrivateConnection",
1652 Handler: _DataMigrationService_DeletePrivateConnection_Handler,
1653 },
1654 {
1655 MethodName: "GetConversionWorkspace",
1656 Handler: _DataMigrationService_GetConversionWorkspace_Handler,
1657 },
1658 {
1659 MethodName: "ListConversionWorkspaces",
1660 Handler: _DataMigrationService_ListConversionWorkspaces_Handler,
1661 },
1662 {
1663 MethodName: "CreateConversionWorkspace",
1664 Handler: _DataMigrationService_CreateConversionWorkspace_Handler,
1665 },
1666 {
1667 MethodName: "UpdateConversionWorkspace",
1668 Handler: _DataMigrationService_UpdateConversionWorkspace_Handler,
1669 },
1670 {
1671 MethodName: "DeleteConversionWorkspace",
1672 Handler: _DataMigrationService_DeleteConversionWorkspace_Handler,
1673 },
1674 {
1675 MethodName: "CreateMappingRule",
1676 Handler: _DataMigrationService_CreateMappingRule_Handler,
1677 },
1678 {
1679 MethodName: "DeleteMappingRule",
1680 Handler: _DataMigrationService_DeleteMappingRule_Handler,
1681 },
1682 {
1683 MethodName: "ListMappingRules",
1684 Handler: _DataMigrationService_ListMappingRules_Handler,
1685 },
1686 {
1687 MethodName: "GetMappingRule",
1688 Handler: _DataMigrationService_GetMappingRule_Handler,
1689 },
1690 {
1691 MethodName: "SeedConversionWorkspace",
1692 Handler: _DataMigrationService_SeedConversionWorkspace_Handler,
1693 },
1694 {
1695 MethodName: "ImportMappingRules",
1696 Handler: _DataMigrationService_ImportMappingRules_Handler,
1697 },
1698 {
1699 MethodName: "ConvertConversionWorkspace",
1700 Handler: _DataMigrationService_ConvertConversionWorkspace_Handler,
1701 },
1702 {
1703 MethodName: "CommitConversionWorkspace",
1704 Handler: _DataMigrationService_CommitConversionWorkspace_Handler,
1705 },
1706 {
1707 MethodName: "RollbackConversionWorkspace",
1708 Handler: _DataMigrationService_RollbackConversionWorkspace_Handler,
1709 },
1710 {
1711 MethodName: "ApplyConversionWorkspace",
1712 Handler: _DataMigrationService_ApplyConversionWorkspace_Handler,
1713 },
1714 {
1715 MethodName: "DescribeDatabaseEntities",
1716 Handler: _DataMigrationService_DescribeDatabaseEntities_Handler,
1717 },
1718 {
1719 MethodName: "SearchBackgroundJobs",
1720 Handler: _DataMigrationService_SearchBackgroundJobs_Handler,
1721 },
1722 {
1723 MethodName: "DescribeConversionWorkspaceRevisions",
1724 Handler: _DataMigrationService_DescribeConversionWorkspaceRevisions_Handler,
1725 },
1726 {
1727 MethodName: "FetchStaticIps",
1728 Handler: _DataMigrationService_FetchStaticIps_Handler,
1729 },
1730 },
1731 Streams: []grpc.StreamDesc{},
1732 Metadata: "google/cloud/clouddms/v1/clouddms.proto",
1733 }