Debian Codegraph @

googleapis/cloud/bigquery/migration/v2alpha/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/apiv2alpha/migrationpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/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/apiv2alpha/migrationpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
31 const (
32 IdentifierSettings_IDENTIFIER_CASE_UNSPECIFIED = src.IdentifierSettings_IDENTIFIER_CASE_UNSPECIFIED
33 IdentifierSettings_IDENTIFIER_REWRITE_MODE_UNSPECIFIED = src.IdentifierSettings_IDENTIFIER_REWRITE_MODE_UNSPECIFIED
34 IdentifierSettings_LOWER = src.IdentifierSettings_LOWER
35 IdentifierSettings_NONE = src.IdentifierSettings_NONE
36 IdentifierSettings_ORIGINAL = src.IdentifierSettings_ORIGINAL
37 IdentifierSettings_REWRITE_ALL = src.IdentifierSettings_REWRITE_ALL
38 IdentifierSettings_UPPER = src.IdentifierSettings_UPPER
39 MigrationSubtask_ACTIVE = src.MigrationSubtask_ACTIVE
40 MigrationSubtask_FAILED = src.MigrationSubtask_FAILED
41 MigrationSubtask_PAUSED = src.MigrationSubtask_PAUSED
42 MigrationSubtask_RUNNING = src.MigrationSubtask_RUNNING
43 MigrationSubtask_STATE_UNSPECIFIED = src.MigrationSubtask_STATE_UNSPECIFIED
44 MigrationSubtask_SUCCEEDED = src.MigrationSubtask_SUCCEEDED
45 MigrationTask_FAILED = src.MigrationTask_FAILED
46 MigrationTask_ORCHESTRATING = src.MigrationTask_ORCHESTRATING
47 MigrationTask_PAUSED = src.MigrationTask_PAUSED
48 MigrationTask_PENDING = src.MigrationTask_PENDING
49 MigrationTask_RUNNING = src.MigrationTask_RUNNING
50 MigrationTask_STATE_UNSPECIFIED = src.MigrationTask_STATE_UNSPECIFIED
51 MigrationTask_SUCCEEDED = src.MigrationTask_SUCCEEDED
52 MigrationWorkflow_COMPLETED = src.MigrationWorkflow_COMPLETED
53 MigrationWorkflow_DRAFT = src.MigrationWorkflow_DRAFT
54 MigrationWorkflow_PAUSED = src.MigrationWorkflow_PAUSED
55 MigrationWorkflow_RUNNING = src.MigrationWorkflow_RUNNING
56 MigrationWorkflow_STATE_UNSPECIFIED = src.MigrationWorkflow_STATE_UNSPECIFIED
57 TranslationTaskDetails_BOOL = src.TranslationTaskDetails_BOOL
58 TranslationTaskDetails_DATE = src.TranslationTaskDetails_DATE
59 TranslationTaskDetails_FILE_ENCODING_UNSPECIFIED = src.TranslationTaskDetails_FILE_ENCODING_UNSPECIFIED
60 TranslationTaskDetails_FLOAT64 = src.TranslationTaskDetails_FLOAT64
61 TranslationTaskDetails_INT64 = src.TranslationTaskDetails_INT64
62 TranslationTaskDetails_ISO_8859_1 = src.TranslationTaskDetails_ISO_8859_1
63 TranslationTaskDetails_NUMERIC = src.TranslationTaskDetails_NUMERIC
64 TranslationTaskDetails_STRING = src.TranslationTaskDetails_STRING
65 TranslationTaskDetails_TIMESTAMP = src.TranslationTaskDetails_TIMESTAMP
66 TranslationTaskDetails_TOKEN_TYPE_UNSPECIFIED = src.TranslationTaskDetails_TOKEN_TYPE_UNSPECIFIED
67 TranslationTaskDetails_US_ASCII = src.TranslationTaskDetails_US_ASCII
68 TranslationTaskDetails_UTF_16 = src.TranslationTaskDetails_UTF_16
69 TranslationTaskDetails_UTF_16BE = src.TranslationTaskDetails_UTF_16BE
70 TranslationTaskDetails_UTF_16LE = src.TranslationTaskDetails_UTF_16LE
71 TranslationTaskDetails_UTF_8 = src.TranslationTaskDetails_UTF_8
72 )
73
74 // Deprecated: Please use vars in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
75 var (
76 File_google_cloud_bigquery_migration_v2alpha_assessment_task_proto = src.File_google_cloud_bigquery_migration_v2alpha_assessment_task_proto
77 File_google_cloud_bigquery_migration_v2alpha_migration_entities_proto = src.File_google_cloud_bigquery_migration_v2alpha_migration_entities_proto
78 File_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto = src.File_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto
79 File_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto = src.File_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto
80 File_google_cloud_bigquery_migration_v2alpha_migration_service_proto = src.File_google_cloud_bigquery_migration_v2alpha_migration_service_proto
81 File_google_cloud_bigquery_migration_v2alpha_translation_task_proto = src.File_google_cloud_bigquery_migration_v2alpha_translation_task_proto
82 IdentifierSettings_IdentifierCase_name = src.IdentifierSettings_IdentifierCase_name
83 IdentifierSettings_IdentifierCase_value = src.IdentifierSettings_IdentifierCase_value
84 IdentifierSettings_IdentifierRewriteMode_name = src.IdentifierSettings_IdentifierRewriteMode_name
85 IdentifierSettings_IdentifierRewriteMode_value = src.IdentifierSettings_IdentifierRewriteMode_value
86 MigrationSubtask_State_name = src.MigrationSubtask_State_name
87 MigrationSubtask_State_value = src.MigrationSubtask_State_value
88 MigrationTask_State_name = src.MigrationTask_State_name
89 MigrationTask_State_value = src.MigrationTask_State_value
90 MigrationWorkflow_State_name = src.MigrationWorkflow_State_name
91 MigrationWorkflow_State_value = src.MigrationWorkflow_State_value
92 TranslationTaskDetails_FileEncoding_name = src.TranslationTaskDetails_FileEncoding_name
93 TranslationTaskDetails_FileEncoding_value = src.TranslationTaskDetails_FileEncoding_value
94 TranslationTaskDetails_TokenType_name = src.TranslationTaskDetails_TokenType_name
95 TranslationTaskDetails_TokenType_value = src.TranslationTaskDetails_TokenType_value
96 )
97
98 // Details for an assessment task orchestration result.
99 //
100 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
101 type AssessmentOrchestrationResultDetails = src.AssessmentOrchestrationResultDetails
102
103 // Assessment task config.
104 //
105 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
106 type AssessmentTaskDetails = src.AssessmentTaskDetails
107
108 // BTEQ translation task related settings.
109 //
110 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
111 type BteqOptions = src.BteqOptions
112
113 // Request to create a migration workflow resource.
114 //
115 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
116 type CreateMigrationWorkflowRequest = src.CreateMigrationWorkflowRequest
117
118 // Reference to a BigQuery dataset.
119 //
120 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
121 type DatasetReference = src.DatasetReference
122
123 // A request to delete a previously created migration workflow.
124 //
125 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
126 type DeleteMigrationWorkflowRequest = src.DeleteMigrationWorkflowRequest
127
128 // Provides details for errors, e.g. issues that where encountered when
129 // processing a subtask.
130 //
131 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
132 type ErrorDetail = src.ErrorDetail
133
134 // Holds information about where the error is located.
135 //
136 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
137 type ErrorLocation = src.ErrorLocation
138
139 // The filter applied to fields of translation details.
140 //
141 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
142 type Filter = src.Filter
143
144 // A request to get a previously created migration subtasks.
145 //
146 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
147 type GetMigrationSubtaskRequest = src.GetMigrationSubtaskRequest
148
149 // A request to get a previously created migration workflow.
150 //
151 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
152 type GetMigrationWorkflowRequest = src.GetMigrationWorkflowRequest
153
154 // Settings related to SQL identifiers.
155 //
156 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
157 type IdentifierSettings = src.IdentifierSettings
158
159 // The identifier case type.
160 //
161 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
162 type IdentifierSettings_IdentifierCase = src.IdentifierSettings_IdentifierCase
163
164 // The SQL identifier rewrite mode.
165 //
166 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
167 type IdentifierSettings_IdentifierRewriteMode = src.IdentifierSettings_IdentifierRewriteMode
168
169 // A request to list previously created migration subtasks.
170 //
171 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
172 type ListMigrationSubtasksRequest = src.ListMigrationSubtasksRequest
173
174 // Response object for a `ListMigrationSubtasks` call.
175 //
176 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
177 type ListMigrationSubtasksResponse = src.ListMigrationSubtasksResponse
178
179 // A request to list previously created migration workflows.
180 //
181 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
182 type ListMigrationWorkflowsRequest = src.ListMigrationWorkflowsRequest
183
184 // Response object for a `ListMigrationWorkflows` call.
185 //
186 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
187 type ListMigrationWorkflowsResponse = src.ListMigrationWorkflowsResponse
188
189 // MigrationServiceClient is the client API for MigrationService service. For
190 // semantics around ctx use and closing/ending streaming RPCs, please refer to
191 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
192 //
193 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
194 type MigrationServiceClient = src.MigrationServiceClient
195
196 // MigrationServiceServer is the server API for MigrationService service.
197 //
198 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
199 type MigrationServiceServer = src.MigrationServiceServer
200
201 // A subtask for a migration which carries details about the configuration of
202 // the subtask. The content of the details should not matter to the end user,
203 // but is a contract between the subtask creator and subtask worker.
204 //
205 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
206 type MigrationSubtask = src.MigrationSubtask
207
208 // Possible states of a migration subtask.
209 //
210 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
211 type MigrationSubtask_State = src.MigrationSubtask_State
212
213 // A single task for a migration which has details about the configuration of
214 // the task.
215 //
216 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
217 type MigrationTask = src.MigrationTask
218
219 // Additional information from the orchestrator when it is done with the task
220 // orchestration.
221 //
222 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
223 type MigrationTaskOrchestrationResult = src.MigrationTaskOrchestrationResult
224 type MigrationTaskOrchestrationResult_AssessmentDetails = src.MigrationTaskOrchestrationResult_AssessmentDetails
225 type MigrationTask_AssessmentTaskDetails = src.MigrationTask_AssessmentTaskDetails
226
227 // Possible states of a migration task.
228 //
229 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
230 type MigrationTask_State = src.MigrationTask_State
231 type MigrationTask_TranslationTaskDetails = src.MigrationTask_TranslationTaskDetails
232
233 // A migration workflow which specifies what needs to be done for an EDW
234 // migration.
235 //
236 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
237 type MigrationWorkflow = src.MigrationWorkflow
238
239 // Possible migration workflow states.
240 //
241 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
242 type MigrationWorkflow_State = src.MigrationWorkflow_State
243
244 // A single data point in a time series.
245 //
246 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
247 type Point = src.Point
248
249 // Provides details for errors and the corresponding resources.
250 //
251 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
252 type ResourceErrorDetail = src.ResourceErrorDetail
253
254 // A request to start a previously created migration workflow.
255 //
256 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
257 type StartMigrationWorkflowRequest = src.StartMigrationWorkflowRequest
258
259 // Teradata SQL specific translation task related settings.
260 //
261 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
262 type TeradataOptions = src.TeradataOptions
263
264 // A time interval extending just after a start time through an end time. If
265 // the start time is the same as the end time, then the interval represents a
266 // single point in time.
267 //
268 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
269 type TimeInterval = src.TimeInterval
270
271 // The metrics object for a SubTask.
272 //
273 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
274 type TimeSeries = src.TimeSeries
275
276 // Mapping between an input and output file to be translated in a subtask.
277 //
278 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
279 type TranslationFileMapping = src.TranslationFileMapping
280
281 // The translation task config to capture necessary settings for a translation
282 // task and subtask.
283 //
284 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
285 type TranslationTaskDetails = src.TranslationTaskDetails
286 type TranslationTaskDetails_BteqOptions = src.TranslationTaskDetails_BteqOptions
287
288 // The file encoding types.
289 //
290 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
291 type TranslationTaskDetails_FileEncoding = src.TranslationTaskDetails_FileEncoding
292 type TranslationTaskDetails_TeradataOptions = src.TranslationTaskDetails_TeradataOptions
293
294 // The special token data type.
295 //
296 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
297 type TranslationTaskDetails_TokenType = src.TranslationTaskDetails_TokenType
298
299 // A single strongly-typed value.
300 //
301 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
302 type TypedValue = src.TypedValue
303 type TypedValue_BoolValue = src.TypedValue_BoolValue
304 type TypedValue_DistributionValue = src.TypedValue_DistributionValue
305 type TypedValue_DoubleValue = src.TypedValue_DoubleValue
306 type TypedValue_Int64Value = src.TypedValue_Int64Value
307 type TypedValue_StringValue = src.TypedValue_StringValue
308
309 // UnimplementedMigrationServiceServer can be embedded to have forward
310 // compatible implementations.
311 //
312 // Deprecated: Please use types in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
313 type UnimplementedMigrationServiceServer = src.UnimplementedMigrationServiceServer
314
315 // Deprecated: Please use funcs in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
316 func NewMigrationServiceClient(cc grpc.ClientConnInterface) MigrationServiceClient {
317 return src.NewMigrationServiceClient(cc)
318 }
319
320 // Deprecated: Please use funcs in: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb
321 func RegisterMigrationServiceServer(s *grpc.Server, srv MigrationServiceServer) {
322 src.RegisterMigrationServiceServer(s, srv)
323 }