Debian Codegraph @

googleapis/cloud/bigquery/migration/v2/alias.go

raw
1 // Copyright 2022 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 aliasgen. DO NOT EDIT.
16
17 // Package migration aliases all exported identifiers in package
18 // "cloud.google.com/go/bigquery/migration/apiv2/migrationpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package migration
24
25 import (
26 src "cloud.google.com/go/bigquery/migration/apiv2/migrationpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
31 const (
32 MigrationSubtask_ACTIVE = src.MigrationSubtask_ACTIVE
33 MigrationSubtask_FAILED = src.MigrationSubtask_FAILED
34 MigrationSubtask_PAUSED = src.MigrationSubtask_PAUSED
35 MigrationSubtask_RUNNING = src.MigrationSubtask_RUNNING
36 MigrationSubtask_STATE_UNSPECIFIED = src.MigrationSubtask_STATE_UNSPECIFIED
37 MigrationSubtask_SUCCEEDED = src.MigrationSubtask_SUCCEEDED
38 MigrationTask_FAILED = src.MigrationTask_FAILED
39 MigrationTask_ORCHESTRATING = src.MigrationTask_ORCHESTRATING
40 MigrationTask_PAUSED = src.MigrationTask_PAUSED
41 MigrationTask_PENDING = src.MigrationTask_PENDING
42 MigrationTask_RUNNING = src.MigrationTask_RUNNING
43 MigrationTask_STATE_UNSPECIFIED = src.MigrationTask_STATE_UNSPECIFIED
44 MigrationTask_SUCCEEDED = src.MigrationTask_SUCCEEDED
45 MigrationWorkflow_COMPLETED = src.MigrationWorkflow_COMPLETED
46 MigrationWorkflow_DRAFT = src.MigrationWorkflow_DRAFT
47 MigrationWorkflow_PAUSED = src.MigrationWorkflow_PAUSED
48 MigrationWorkflow_RUNNING = src.MigrationWorkflow_RUNNING
49 MigrationWorkflow_STATE_UNSPECIFIED = src.MigrationWorkflow_STATE_UNSPECIFIED
50 NameMappingKey_ATTRIBUTE = src.NameMappingKey_ATTRIBUTE
51 NameMappingKey_ATTRIBUTE_ALIAS = src.NameMappingKey_ATTRIBUTE_ALIAS
52 NameMappingKey_DATABASE = src.NameMappingKey_DATABASE
53 NameMappingKey_FUNCTION = src.NameMappingKey_FUNCTION
54 NameMappingKey_RELATION = src.NameMappingKey_RELATION
55 NameMappingKey_RELATION_ALIAS = src.NameMappingKey_RELATION_ALIAS
56 NameMappingKey_SCHEMA = src.NameMappingKey_SCHEMA
57 NameMappingKey_TYPE_UNSPECIFIED = src.NameMappingKey_TYPE_UNSPECIFIED
58 TeradataDialect_BTEQ = src.TeradataDialect_BTEQ
59 TeradataDialect_MODE_UNSPECIFIED = src.TeradataDialect_MODE_UNSPECIFIED
60 TeradataDialect_SQL = src.TeradataDialect_SQL
61 )
62
63 // Deprecated: Please use vars in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
64 var (
65 File_google_cloud_bigquery_migration_v2_migration_entities_proto = src.File_google_cloud_bigquery_migration_v2_migration_entities_proto
66 File_google_cloud_bigquery_migration_v2_migration_error_details_proto = src.File_google_cloud_bigquery_migration_v2_migration_error_details_proto
67 File_google_cloud_bigquery_migration_v2_migration_metrics_proto = src.File_google_cloud_bigquery_migration_v2_migration_metrics_proto
68 File_google_cloud_bigquery_migration_v2_migration_service_proto = src.File_google_cloud_bigquery_migration_v2_migration_service_proto
69 File_google_cloud_bigquery_migration_v2_translation_config_proto = src.File_google_cloud_bigquery_migration_v2_translation_config_proto
70 MigrationSubtask_State_name = src.MigrationSubtask_State_name
71 MigrationSubtask_State_value = src.MigrationSubtask_State_value
72 MigrationTask_State_name = src.MigrationTask_State_name
73 MigrationTask_State_value = src.MigrationTask_State_value
74 MigrationWorkflow_State_name = src.MigrationWorkflow_State_name
75 MigrationWorkflow_State_value = src.MigrationWorkflow_State_value
76 NameMappingKey_Type_name = src.NameMappingKey_Type_name
77 NameMappingKey_Type_value = src.NameMappingKey_Type_value
78 TeradataDialect_Mode_name = src.TeradataDialect_Mode_name
79 TeradataDialect_Mode_value = src.TeradataDialect_Mode_value
80 )
81
82 // The dialect definition for Azure Synapse.
83 //
84 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
85 type AzureSynapseDialect = src.AzureSynapseDialect
86
87 // The dialect definition for BigQuery.
88 //
89 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
90 type BigQueryDialect = src.BigQueryDialect
91
92 // Request to create a migration workflow resource.
93 //
94 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
95 type CreateMigrationWorkflowRequest = src.CreateMigrationWorkflowRequest
96
97 // A request to delete a previously created migration workflow.
98 //
99 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
100 type DeleteMigrationWorkflowRequest = src.DeleteMigrationWorkflowRequest
101
102 // The possible dialect options for translation.
103 //
104 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
105 type Dialect = src.Dialect
106 type Dialect_AzureSynapseDialect = src.Dialect_AzureSynapseDialect
107 type Dialect_BigqueryDialect = src.Dialect_BigqueryDialect
108 type Dialect_HiveqlDialect = src.Dialect_HiveqlDialect
109 type Dialect_MysqlDialect = src.Dialect_MysqlDialect
110 type Dialect_NetezzaDialect = src.Dialect_NetezzaDialect
111 type Dialect_OracleDialect = src.Dialect_OracleDialect
112 type Dialect_PostgresqlDialect = src.Dialect_PostgresqlDialect
113 type Dialect_PrestoDialect = src.Dialect_PrestoDialect
114 type Dialect_RedshiftDialect = src.Dialect_RedshiftDialect
115 type Dialect_SnowflakeDialect = src.Dialect_SnowflakeDialect
116 type Dialect_SparksqlDialect = src.Dialect_SparksqlDialect
117 type Dialect_SqlServerDialect = src.Dialect_SqlServerDialect
118 type Dialect_TeradataDialect = src.Dialect_TeradataDialect
119 type Dialect_VerticaDialect = src.Dialect_VerticaDialect
120
121 // Provides details for errors, e.g. issues that where encountered when
122 // processing a subtask.
123 //
124 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
125 type ErrorDetail = src.ErrorDetail
126
127 // Holds information about where the error is located.
128 //
129 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
130 type ErrorLocation = src.ErrorLocation
131
132 // A request to get a previously created migration subtasks.
133 //
134 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
135 type GetMigrationSubtaskRequest = src.GetMigrationSubtaskRequest
136
137 // A request to get a previously created migration workflow.
138 //
139 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
140 type GetMigrationWorkflowRequest = src.GetMigrationWorkflowRequest
141
142 // The dialect definition for HiveQL.
143 //
144 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
145 type HiveQLDialect = src.HiveQLDialect
146
147 // A request to list previously created migration subtasks.
148 //
149 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
150 type ListMigrationSubtasksRequest = src.ListMigrationSubtasksRequest
151
152 // Response object for a `ListMigrationSubtasks` call.
153 //
154 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
155 type ListMigrationSubtasksResponse = src.ListMigrationSubtasksResponse
156
157 // A request to list previously created migration workflows.
158 //
159 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
160 type ListMigrationWorkflowsRequest = src.ListMigrationWorkflowsRequest
161
162 // Response object for a `ListMigrationWorkflows` call.
163 //
164 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
165 type ListMigrationWorkflowsResponse = src.ListMigrationWorkflowsResponse
166
167 // MigrationServiceClient is the client API for MigrationService service. For
168 // semantics around ctx use and closing/ending streaming RPCs, please refer to
169 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
170 //
171 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
172 type MigrationServiceClient = src.MigrationServiceClient
173
174 // MigrationServiceServer is the server API for MigrationService service.
175 //
176 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
177 type MigrationServiceServer = src.MigrationServiceServer
178
179 // A subtask for a migration which carries details about the configuration of
180 // the subtask. The content of the details should not matter to the end user,
181 // but is a contract between the subtask creator and subtask worker.
182 //
183 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
184 type MigrationSubtask = src.MigrationSubtask
185
186 // Possible states of a migration subtask.
187 //
188 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
189 type MigrationSubtask_State = src.MigrationSubtask_State
190
191 // A single task for a migration which has details about the configuration of
192 // the task.
193 //
194 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
195 type MigrationTask = src.MigrationTask
196
197 // Possible states of a migration task.
198 //
199 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
200 type MigrationTask_State = src.MigrationTask_State
201 type MigrationTask_TranslationConfigDetails = src.MigrationTask_TranslationConfigDetails
202
203 // A migration workflow which specifies what needs to be done for an EDW
204 // migration.
205 //
206 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
207 type MigrationWorkflow = src.MigrationWorkflow
208
209 // Possible migration workflow states.
210 //
211 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
212 type MigrationWorkflow_State = src.MigrationWorkflow_State
213
214 // The dialect definition for MySQL.
215 //
216 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
217 type MySQLDialect = src.MySQLDialect
218
219 // The potential components of a full name mapping that will be mapped during
220 // translation in the source data warehouse.
221 //
222 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
223 type NameMappingKey = src.NameMappingKey
224
225 // The type of the object that is being mapped.
226 //
227 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
228 type NameMappingKey_Type = src.NameMappingKey_Type
229
230 // The potential components of a full name mapping that will be mapped during
231 // translation in the target data warehouse.
232 //
233 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
234 type NameMappingValue = src.NameMappingValue
235
236 // The dialect definition for Netezza.
237 //
238 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
239 type NetezzaDialect = src.NetezzaDialect
240
241 // Represents a key-value pair of NameMappingKey to NameMappingValue to
242 // represent the mapping of SQL names from the input value to desired output.
243 //
244 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
245 type ObjectNameMapping = src.ObjectNameMapping
246
247 // Represents a map of name mappings using a list of key:value proto messages
248 // of existing name to desired output name.
249 //
250 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
251 type ObjectNameMappingList = src.ObjectNameMappingList
252
253 // The dialect definition for Oracle.
254 //
255 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
256 type OracleDialect = src.OracleDialect
257
258 // A single data point in a time series.
259 //
260 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
261 type Point = src.Point
262
263 // The dialect definition for Postgresql.
264 //
265 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
266 type PostgresqlDialect = src.PostgresqlDialect
267
268 // The dialect definition for Presto.
269 //
270 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
271 type PrestoDialect = src.PrestoDialect
272
273 // The dialect definition for Redshift.
274 //
275 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
276 type RedshiftDialect = src.RedshiftDialect
277
278 // Provides details for errors and the corresponding resources.
279 //
280 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
281 type ResourceErrorDetail = src.ResourceErrorDetail
282
283 // The dialect definition for SQL Server.
284 //
285 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
286 type SQLServerDialect = src.SQLServerDialect
287
288 // The dialect definition for Snowflake.
289 //
290 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
291 type SnowflakeDialect = src.SnowflakeDialect
292
293 // Represents the default source environment values for the translation.
294 //
295 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
296 type SourceEnv = src.SourceEnv
297
298 // The dialect definition for SparkSQL.
299 //
300 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
301 type SparkSQLDialect = src.SparkSQLDialect
302
303 // A request to start a previously created migration workflow.
304 //
305 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
306 type StartMigrationWorkflowRequest = src.StartMigrationWorkflowRequest
307
308 // The dialect definition for Teradata.
309 //
310 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
311 type TeradataDialect = src.TeradataDialect
312
313 // The sub-dialect options for Teradata.
314 //
315 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
316 type TeradataDialect_Mode = src.TeradataDialect_Mode
317
318 // A time interval extending just after a start time through an end time. If
319 // the start time is the same as the end time, then the interval represents a
320 // single point in time.
321 //
322 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
323 type TimeInterval = src.TimeInterval
324
325 // The metrics object for a SubTask.
326 //
327 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
328 type TimeSeries = src.TimeSeries
329
330 // The translation config to capture necessary settings for a translation task
331 // and subtask.
332 //
333 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
334 type TranslationConfigDetails = src.TranslationConfigDetails
335 type TranslationConfigDetails_GcsSourcePath = src.TranslationConfigDetails_GcsSourcePath
336 type TranslationConfigDetails_GcsTargetPath = src.TranslationConfigDetails_GcsTargetPath
337 type TranslationConfigDetails_NameMappingList = src.TranslationConfigDetails_NameMappingList
338
339 // A single strongly-typed value.
340 //
341 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
342 type TypedValue = src.TypedValue
343 type TypedValue_BoolValue = src.TypedValue_BoolValue
344 type TypedValue_DistributionValue = src.TypedValue_DistributionValue
345 type TypedValue_DoubleValue = src.TypedValue_DoubleValue
346 type TypedValue_Int64Value = src.TypedValue_Int64Value
347 type TypedValue_StringValue = src.TypedValue_StringValue
348
349 // UnimplementedMigrationServiceServer can be embedded to have forward
350 // compatible implementations.
351 //
352 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
353 type UnimplementedMigrationServiceServer = src.UnimplementedMigrationServiceServer
354
355 // The dialect definition for Vertica.
356 //
357 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
358 type VerticaDialect = src.VerticaDialect
359
360 // Deprecated: Please use funcs in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
361 func NewMigrationServiceClient(cc grpc.ClientConnInterface) MigrationServiceClient {
362 return src.NewMigrationServiceClient(cc)
363 }
364
365 // Deprecated: Please use funcs in: cloud.google.com/go/bigquery/migration/apiv2/migrationpb
366 func RegisterMigrationServiceServer(s *grpc.Server, srv MigrationServiceServer) {
367 src.RegisterMigrationServiceServer(s, srv)
368 }