Debian Codegraph @

googleapis/cloud/metastore/v1alpha/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 metastore aliases all exported identifiers in package
18 // "cloud.google.com/go/metastore/apiv1alpha/metastorepb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package metastore
24
25 import (
26 src "cloud.google.com/go/metastore/apiv1alpha/metastorepb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
31 const (
32 Backup_ACTIVE = src.Backup_ACTIVE
33 Backup_CREATING = src.Backup_CREATING
34 Backup_DELETING = src.Backup_DELETING
35 Backup_FAILED = src.Backup_FAILED
36 Backup_RESTORING = src.Backup_RESTORING
37 Backup_STATE_UNSPECIFIED = src.Backup_STATE_UNSPECIFIED
38 DatabaseDumpSpec_AVRO = src.DatabaseDumpSpec_AVRO
39 DatabaseDumpSpec_MYSQL = src.DatabaseDumpSpec_MYSQL
40 DatabaseDumpSpec_TYPE_UNSPECIFIED = src.DatabaseDumpSpec_TYPE_UNSPECIFIED
41 HiveMetastoreConfig_ENDPOINT_PROTOCOL_UNSPECIFIED = src.HiveMetastoreConfig_ENDPOINT_PROTOCOL_UNSPECIFIED
42 HiveMetastoreConfig_GRPC = src.HiveMetastoreConfig_GRPC
43 HiveMetastoreConfig_THRIFT = src.HiveMetastoreConfig_THRIFT
44 MetadataExport_CANCELLED = src.MetadataExport_CANCELLED
45 MetadataExport_FAILED = src.MetadataExport_FAILED
46 MetadataExport_RUNNING = src.MetadataExport_RUNNING
47 MetadataExport_STATE_UNSPECIFIED = src.MetadataExport_STATE_UNSPECIFIED
48 MetadataExport_SUCCEEDED = src.MetadataExport_SUCCEEDED
49 MetadataImport_DatabaseDump_DATABASE_TYPE_UNSPECIFIED = src.MetadataImport_DatabaseDump_DATABASE_TYPE_UNSPECIFIED
50 MetadataImport_DatabaseDump_MYSQL = src.MetadataImport_DatabaseDump_MYSQL
51 MetadataImport_FAILED = src.MetadataImport_FAILED
52 MetadataImport_RUNNING = src.MetadataImport_RUNNING
53 MetadataImport_STATE_UNSPECIFIED = src.MetadataImport_STATE_UNSPECIFIED
54 MetadataImport_SUCCEEDED = src.MetadataImport_SUCCEEDED
55 MetadataImport_UPDATING = src.MetadataImport_UPDATING
56 Restore_CANCELLED = src.Restore_CANCELLED
57 Restore_FAILED = src.Restore_FAILED
58 Restore_FULL = src.Restore_FULL
59 Restore_METADATA_ONLY = src.Restore_METADATA_ONLY
60 Restore_RESTORE_TYPE_UNSPECIFIED = src.Restore_RESTORE_TYPE_UNSPECIFIED
61 Restore_RUNNING = src.Restore_RUNNING
62 Restore_STATE_UNSPECIFIED = src.Restore_STATE_UNSPECIFIED
63 Restore_SUCCEEDED = src.Restore_SUCCEEDED
64 Service_ACTIVE = src.Service_ACTIVE
65 Service_CANARY = src.Service_CANARY
66 Service_CREATING = src.Service_CREATING
67 Service_DATABASE_TYPE_UNSPECIFIED = src.Service_DATABASE_TYPE_UNSPECIFIED
68 Service_DELETING = src.Service_DELETING
69 Service_DEVELOPER = src.Service_DEVELOPER
70 Service_ENTERPRISE = src.Service_ENTERPRISE
71 Service_ERROR = src.Service_ERROR
72 Service_MYSQL = src.Service_MYSQL
73 Service_RELEASE_CHANNEL_UNSPECIFIED = src.Service_RELEASE_CHANNEL_UNSPECIFIED
74 Service_SPANNER = src.Service_SPANNER
75 Service_STABLE = src.Service_STABLE
76 Service_STATE_UNSPECIFIED = src.Service_STATE_UNSPECIFIED
77 Service_SUSPENDED = src.Service_SUSPENDED
78 Service_SUSPENDING = src.Service_SUSPENDING
79 Service_TIER_UNSPECIFIED = src.Service_TIER_UNSPECIFIED
80 Service_UPDATING = src.Service_UPDATING
81 )
82
83 // Deprecated: Please use vars in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
84 var (
85 Backup_State_name = src.Backup_State_name
86 Backup_State_value = src.Backup_State_value
87 DatabaseDumpSpec_Type_name = src.DatabaseDumpSpec_Type_name
88 DatabaseDumpSpec_Type_value = src.DatabaseDumpSpec_Type_value
89 File_google_cloud_metastore_v1alpha_metastore_proto = src.File_google_cloud_metastore_v1alpha_metastore_proto
90 HiveMetastoreConfig_EndpointProtocol_name = src.HiveMetastoreConfig_EndpointProtocol_name
91 HiveMetastoreConfig_EndpointProtocol_value = src.HiveMetastoreConfig_EndpointProtocol_value
92 MetadataExport_State_name = src.MetadataExport_State_name
93 MetadataExport_State_value = src.MetadataExport_State_value
94 MetadataImport_DatabaseDump_DatabaseType_name = src.MetadataImport_DatabaseDump_DatabaseType_name
95 MetadataImport_DatabaseDump_DatabaseType_value = src.MetadataImport_DatabaseDump_DatabaseType_value
96 MetadataImport_State_name = src.MetadataImport_State_name
97 MetadataImport_State_value = src.MetadataImport_State_value
98 Restore_RestoreType_name = src.Restore_RestoreType_name
99 Restore_RestoreType_value = src.Restore_RestoreType_value
100 Restore_State_name = src.Restore_State_name
101 Restore_State_value = src.Restore_State_value
102 Service_DatabaseType_name = src.Service_DatabaseType_name
103 Service_DatabaseType_value = src.Service_DatabaseType_value
104 Service_ReleaseChannel_name = src.Service_ReleaseChannel_name
105 Service_ReleaseChannel_value = src.Service_ReleaseChannel_value
106 Service_State_name = src.Service_State_name
107 Service_State_value = src.Service_State_value
108 Service_Tier_name = src.Service_Tier_name
109 Service_Tier_value = src.Service_Tier_value
110 )
111
112 // Configuration information for the auxiliary service versions.
113 //
114 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
115 type AuxiliaryVersionConfig = src.AuxiliaryVersionConfig
116
117 // The details of a backup resource.
118 //
119 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
120 type Backup = src.Backup
121
122 // The current state of the backup.
123 //
124 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
125 type Backup_State = src.Backup_State
126
127 // Request message for
128 // [DataprocMetastore.CreateBackup][google.cloud.metastore.v1alpha.DataprocMetastore.CreateBackup].
129 //
130 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
131 type CreateBackupRequest = src.CreateBackupRequest
132
133 // Request message for
134 // [DataprocMetastore.CreateMetadataImport][google.cloud.metastore.v1alpha.DataprocMetastore.CreateMetadataImport].
135 //
136 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
137 type CreateMetadataImportRequest = src.CreateMetadataImportRequest
138
139 // Request message for
140 // [DataprocMetastore.CreateService][google.cloud.metastore.v1alpha.DataprocMetastore.CreateService].
141 //
142 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
143 type CreateServiceRequest = src.CreateServiceRequest
144
145 // Specifies how metastore metadata should be integrated with the Data Catalog
146 // service.
147 //
148 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
149 type DataCatalogConfig = src.DataCatalogConfig
150
151 // The specification of database dump to import from or export to.
152 //
153 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
154 type DatabaseDumpSpec = src.DatabaseDumpSpec
155
156 // The type of the database dump.
157 //
158 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
159 type DatabaseDumpSpec_Type = src.DatabaseDumpSpec_Type
160
161 // Specifies how metastore metadata should be integrated with the Dataplex
162 // service.
163 //
164 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
165 type DataplexConfig = src.DataplexConfig
166
167 // DataprocMetastoreClient is the client API for DataprocMetastore service.
168 // For semantics around ctx use and closing/ending streaming RPCs, please refer
169 // to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
170 //
171 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
172 type DataprocMetastoreClient = src.DataprocMetastoreClient
173
174 // DataprocMetastoreServer is the server API for DataprocMetastore service.
175 //
176 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
177 type DataprocMetastoreServer = src.DataprocMetastoreServer
178
179 // Request message for
180 // [DataprocMetastore.DeleteBackup][google.cloud.metastore.v1alpha.DataprocMetastore.DeleteBackup].
181 //
182 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
183 type DeleteBackupRequest = src.DeleteBackupRequest
184
185 // Request message for
186 // [DataprocMetastore.DeleteService][google.cloud.metastore.v1alpha.DataprocMetastore.DeleteService].
187 //
188 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
189 type DeleteServiceRequest = src.DeleteServiceRequest
190
191 // Encryption settings for the service.
192 //
193 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
194 type EncryptionConfig = src.EncryptionConfig
195
196 // Request message for
197 // [DataprocMetastore.ExportMetadata][google.cloud.metastore.v1alpha.DataprocMetastore.ExportMetadata].
198 //
199 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
200 type ExportMetadataRequest = src.ExportMetadataRequest
201 type ExportMetadataRequest_DestinationGcsFolder = src.ExportMetadataRequest_DestinationGcsFolder
202
203 // Request message for
204 // [DataprocMetastore.GetBackup][google.cloud.metastore.v1alpha.DataprocMetastore.GetBackup].
205 //
206 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
207 type GetBackupRequest = src.GetBackupRequest
208
209 // Request message for
210 // [DataprocMetastore.GetMetadataImport][google.cloud.metastore.v1alpha.DataprocMetastore.GetMetadataImport].
211 //
212 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
213 type GetMetadataImportRequest = src.GetMetadataImportRequest
214
215 // Request message for
216 // [DataprocMetastore.GetService][google.cloud.metastore.v1alpha.DataprocMetastore.GetService].
217 //
218 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
219 type GetServiceRequest = src.GetServiceRequest
220
221 // Specifies configuration information specific to running Hive metastore
222 // software as the metastore service.
223 //
224 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
225 type HiveMetastoreConfig = src.HiveMetastoreConfig
226
227 // Protocols available for serving the metastore service endpoint.
228 //
229 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
230 type HiveMetastoreConfig_EndpointProtocol = src.HiveMetastoreConfig_EndpointProtocol
231
232 // Configuration information for a Kerberos principal.
233 //
234 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
235 type KerberosConfig = src.KerberosConfig
236
237 // Represents a Lake resource
238 //
239 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
240 type Lake = src.Lake
241
242 // Request message for
243 // [DataprocMetastore.ListBackups][google.cloud.metastore.v1alpha.DataprocMetastore.ListBackups].
244 //
245 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
246 type ListBackupsRequest = src.ListBackupsRequest
247
248 // Response message for
249 // [DataprocMetastore.ListBackups][google.cloud.metastore.v1alpha.DataprocMetastore.ListBackups].
250 //
251 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
252 type ListBackupsResponse = src.ListBackupsResponse
253
254 // Request message for
255 // [DataprocMetastore.ListMetadataImports][google.cloud.metastore.v1alpha.DataprocMetastore.ListMetadataImports].
256 //
257 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
258 type ListMetadataImportsRequest = src.ListMetadataImportsRequest
259
260 // Response message for
261 // [DataprocMetastore.ListMetadataImports][google.cloud.metastore.v1alpha.DataprocMetastore.ListMetadataImports].
262 //
263 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
264 type ListMetadataImportsResponse = src.ListMetadataImportsResponse
265
266 // Request message for
267 // [DataprocMetastore.ListServices][google.cloud.metastore.v1alpha.DataprocMetastore.ListServices].
268 //
269 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
270 type ListServicesRequest = src.ListServicesRequest
271
272 // Response message for
273 // [DataprocMetastore.ListServices][google.cloud.metastore.v1alpha.DataprocMetastore.ListServices].
274 //
275 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
276 type ListServicesResponse = src.ListServicesResponse
277
278 // Metadata about the service in a location.
279 //
280 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
281 type LocationMetadata = src.LocationMetadata
282
283 // A specification of a supported version of the Hive Metastore software.
284 //
285 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
286 type LocationMetadata_HiveMetastoreVersion = src.LocationMetadata_HiveMetastoreVersion
287
288 // Maintenance window. This specifies when Dataproc Metastore may perform
289 // system maintenance operation to the service.
290 //
291 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
292 type MaintenanceWindow = src.MaintenanceWindow
293
294 // The details of a metadata export operation.
295 //
296 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
297 type MetadataExport = src.MetadataExport
298 type MetadataExport_DestinationGcsUri = src.MetadataExport_DestinationGcsUri
299
300 // The current state of the metadata export.
301 //
302 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
303 type MetadataExport_State = src.MetadataExport_State
304
305 // A metastore resource that imports metadata.
306 //
307 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
308 type MetadataImport = src.MetadataImport
309
310 // A specification of the location of and metadata about a database dump from
311 // a relational database management system.
312 //
313 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
314 type MetadataImport_DatabaseDump = src.MetadataImport_DatabaseDump
315 type MetadataImport_DatabaseDump_ = src.MetadataImport_DatabaseDump_
316
317 // The type of the database.
318 //
319 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
320 type MetadataImport_DatabaseDump_DatabaseType = src.MetadataImport_DatabaseDump_DatabaseType
321
322 // The current state of the metadata import.
323 //
324 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
325 type MetadataImport_State = src.MetadataImport_State
326
327 // Specifies how metastore metadata should be integrated with external
328 // services.
329 //
330 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
331 type MetadataIntegration = src.MetadataIntegration
332
333 // The metadata management activities of the metastore service.
334 //
335 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
336 type MetadataManagementActivity = src.MetadataManagementActivity
337
338 // Network configuration for the Dataproc Metastore service.
339 //
340 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
341 type NetworkConfig = src.NetworkConfig
342
343 // Contains information of the customer's network configurations.
344 //
345 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
346 type NetworkConfig_Consumer = src.NetworkConfig_Consumer
347 type NetworkConfig_Consumer_Subnetwork = src.NetworkConfig_Consumer_Subnetwork
348
349 // Represents the metadata of a long-running operation.
350 //
351 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
352 type OperationMetadata = src.OperationMetadata
353
354 // The details of a metadata restore operation.
355 //
356 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
357 type Restore = src.Restore
358
359 // Request message for [DataprocMetastore.Restore][].
360 //
361 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
362 type RestoreServiceRequest = src.RestoreServiceRequest
363
364 // The type of restore. If unspecified, defaults to `METADATA_ONLY`.
365 //
366 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
367 type Restore_RestoreType = src.Restore_RestoreType
368
369 // The current state of the restore.
370 //
371 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
372 type Restore_State = src.Restore_State
373
374 // A securely stored value.
375 //
376 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
377 type Secret = src.Secret
378 type Secret_CloudSecret = src.Secret_CloudSecret
379
380 // A managed metastore service that serves metadata queries.
381 //
382 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
383 type Service = src.Service
384
385 // The backend database type for the metastore service.
386 //
387 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
388 type Service_DatabaseType = src.Service_DatabaseType
389 type Service_HiveMetastoreConfig = src.Service_HiveMetastoreConfig
390
391 // Release channels bundle features of varying levels of stability. Newer
392 // features may be introduced initially into less stable release channels and
393 // can be automatically promoted into more stable release channels.
394 //
395 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
396 type Service_ReleaseChannel = src.Service_ReleaseChannel
397
398 // The current state of the metastore service.
399 //
400 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
401 type Service_State = src.Service_State
402
403 // Available service tiers.
404 //
405 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
406 type Service_Tier = src.Service_Tier
407
408 // UnimplementedDataprocMetastoreServer can be embedded to have forward
409 // compatible implementations.
410 //
411 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
412 type UnimplementedDataprocMetastoreServer = src.UnimplementedDataprocMetastoreServer
413
414 // Request message for
415 // [DataprocMetastore.UpdateMetadataImport][google.cloud.metastore.v1alpha.DataprocMetastore.UpdateMetadataImport].
416 //
417 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
418 type UpdateMetadataImportRequest = src.UpdateMetadataImportRequest
419
420 // Request message for
421 // [DataprocMetastore.UpdateService][google.cloud.metastore.v1alpha.DataprocMetastore.UpdateService].
422 //
423 // Deprecated: Please use types in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
424 type UpdateServiceRequest = src.UpdateServiceRequest
425
426 // Deprecated: Please use funcs in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
427 func NewDataprocMetastoreClient(cc grpc.ClientConnInterface) DataprocMetastoreClient {
428 return src.NewDataprocMetastoreClient(cc)
429 }
430
431 // Deprecated: Please use funcs in: cloud.google.com/go/metastore/apiv1alpha/metastorepb
432 func RegisterDataprocMetastoreServer(s *grpc.Server, srv DataprocMetastoreServer) {
433 src.RegisterDataprocMetastoreServer(s, srv)
434 }