olai-uc-common 0.0.2

Shared types, generated Unity Catalog models, and storage/REST abstractions for the Unity Catalog server and client crates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
// @generated
// This file is @generated by prost-build.
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TableSummary {
    /// The full name of the table.
    #[prost(string, tag="1")]
    pub full_name: ::prost::alloc::string::String,
    #[prost(enumeration="TableType", tag="2")]
    pub table_type: i32,
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Column {
    /// Name of the column
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    /// Full data type specification as SQL/catalogString text.
    #[prost(string, tag="2")]
    pub type_text: ::prost::alloc::string::String,
    /// Full data type specification, JSON-serialized.
    #[prost(string, tag="3")]
    pub type_json: ::prost::alloc::string::String,
    /// Ordinal position of column (starting at position 0).
    #[prost(int32, optional, tag="4")]
    pub position: ::core::option::Option<i32>,
    /// Data type name.
    #[prost(enumeration="ColumnTypeName", tag="5")]
    pub type_name: i32,
    /// Digits of precision; required for DecimalTypes.
    #[prost(int32, optional, tag="6")]
    pub type_precision: ::core::option::Option<i32>,
    /// Digits to right of decimal; Required for DecimalTypes.
    #[prost(int32, optional, tag="7")]
    pub type_scale: ::core::option::Option<i32>,
    /// Format of IntervalType.
    #[prost(string, optional, tag="8")]
    pub type_interval_type: ::core::option::Option<::prost::alloc::string::String>,
    /// User-provided free-form text description.
    #[prost(string, optional, tag="9")]
    pub comment: ::core::option::Option<::prost::alloc::string::String>,
    /// Whether field may be Null.
    #[prost(bool, optional, tag="10")]
    pub nullable: ::core::option::Option<bool>,
    /// Partition index for column.
    #[prost(int32, optional, tag="11")]
    pub partition_index: ::core::option::Option<i32>,
    /// a unique id for the column
    #[prost(string, optional, tag="12")]
    pub column_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A table that a SQL object (such as a view or metric view) depends on.
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TableDependency {
    /// Full name of the dependent table, in the form of
    /// catalog_name.schema_name.table_name.
    #[prost(string, tag="1")]
    pub table_full_name: ::prost::alloc::string::String,
}
/// A function that a SQL object (such as a view or metric view) depends on.
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FunctionDependency {
    /// Full name of the dependent function, in the form of
    /// catalog_name.schema_name.function_name.
    #[prost(string, tag="1")]
    pub function_full_name: ::prost::alloc::string::String,
}
/// A dependency of a SQL object. Exactly one of the fields must be set.
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Dependency {
    #[prost(oneof="dependency::Dependency", tags="1, 2")]
    pub dependency: ::core::option::Option<dependency::Dependency>,
}
/// Nested message and enum types in `Dependency`.
pub mod dependency {
    #[cfg_attr(feature = "python", ::pyo3::pyclass)]
    #[derive(Clone, PartialEq, Eq, Hash, ::prost::Oneof)]
    pub enum Dependency {
        #[prost(message, tag="1")]
        Table(super::TableDependency),
        #[prost(message, tag="2")]
        Function(super::FunctionDependency),
    }
}
/// A list of dependencies referenced by a view-like table.
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DependencyList {
    /// Array of dependencies.
    #[prost(message, repeated, tag="1")]
    pub dependencies: ::prost::alloc::vec::Vec<Dependency>,
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Table {
    /// Name of table, relative to parent schema.
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    /// Name of parent catalog.
    #[prost(string, tag="2")]
    pub catalog_name: ::prost::alloc::string::String,
    /// Name of parent schema.
    #[prost(string, tag="3")]
    pub schema_name: ::prost::alloc::string::String,
    #[prost(enumeration="TableType", tag="4")]
    pub table_type: i32,
    /// Data source format of the table.
    #[prost(enumeration="DataSourceFormat", tag="5")]
    pub data_source_format: i32,
    /// The array of Column definitions of the table's columns.
    #[prost(message, repeated, tag="6")]
    pub columns: ::prost::alloc::vec::Vec<Column>,
    /// Storage root URL for table (for MANAGED, EXTERNAL tables)
    #[prost(string, optional, tag="7")]
    pub storage_location: ::core::option::Option<::prost::alloc::string::String>,
    /// Definition text for view-like table types (VIEW, MATERIALIZED_VIEW,
    /// STREAMING_TABLE, METRIC_VIEW). The format depends on the table type:
    /// SQL for views, YAML for metric views.
    #[prost(string, optional, tag="8")]
    pub view_definition: ::core::option::Option<::prost::alloc::string::String>,
    /// Tables and functions the view-like table reads. For metric views this is
    /// derived from the view_definition by the server (the definition is the
    /// single source of truth).
    #[prost(message, optional, tag="9")]
    pub view_dependencies: ::core::option::Option<DependencyList>,
    // optional string sql_path = 10;

    /// Username of current owner of table.
    #[prost(string, optional, tag="11")]
    pub owner: ::core::option::Option<::prost::alloc::string::String>,
    /// User-provided free-form text description.
    #[prost(string, optional, tag="12")]
    pub comment: ::core::option::Option<::prost::alloc::string::String>,
    /// A map of key-value properties attached to the securable.
    #[prost(map="string, string", tag="13")]
    pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Name of the storage credential, when a storage credential is configured for use with this table.
    #[prost(string, optional, tag="14")]
    pub storage_credential_name: ::core::option::Option<::prost::alloc::string::String>,
    // List of table constraints. Note: this field is not set in the output of the listTables API.
    // repeated TableConstraint constraints = 15;

    // optional string row_filter = 16;

    /// Full name of table, in form of catalog_name.schema_name.table_name.
    #[prost(string, tag="17")]
    pub full_name: ::prost::alloc::string::String,
    /// Time at which this table was created, in epoch milliseconds.
    #[prost(int64, optional, tag="18")]
    pub created_at: ::core::option::Option<i64>,
    /// Username of table creator.
    #[prost(string, optional, tag="19")]
    pub created_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Time at which this table was last updated, in epoch milliseconds.
    #[prost(int64, optional, tag="20")]
    pub updated_at: ::core::option::Option<i64>,
    /// Username of user who last modified table.
    #[prost(string, optional, tag="21")]
    pub updated_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Time at which this table was deleted, in epoch milliseconds. Field is omitted if table is not deleted.
    #[prost(int64, optional, tag="22")]
    pub deleted_at: ::core::option::Option<i64>,
    /// Unique identifier for the table.
    #[prost(string, optional, tag="23")]
    pub table_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// The type of the table.
#[cfg_attr(feature = "python", ::pyo3::pyclass)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum TableType {
    Unspecified = 0,
    Managed = 1,
    External = 2,
    View = 3,
    MaterializedView = 4,
    StreamingTable = 5,
    // MANAGED_SHALLOW_CLONE = 6;

    // FOREIGN = 7;

    // EXTERNAL_SHALLOW_CLONE = 8;

    MetricView = 9,
}
impl TableType {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "TABLE_TYPE_UNSPECIFIED",
            Self::Managed => "MANAGED",
            Self::External => "EXTERNAL",
            Self::View => "VIEW",
            Self::MaterializedView => "MATERIALIZED_VIEW",
            Self::StreamingTable => "STREAMING_TABLE",
            Self::MetricView => "METRIC_VIEW",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "TABLE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
            "MANAGED" => Some(Self::Managed),
            "EXTERNAL" => Some(Self::External),
            "VIEW" => Some(Self::View),
            "MATERIALIZED_VIEW" => Some(Self::MaterializedView),
            "STREAMING_TABLE" => Some(Self::StreamingTable),
            "METRIC_VIEW" => Some(Self::MetricView),
            _ => None,
        }
    }
}
#[cfg_attr(feature = "python", ::pyo3::pyclass)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum DataSourceFormat {
    Unspecified = 0,
    Delta = 1,
    Iceberg = 2,
    Hudi = 3,
    Parquet = 4,
    Csv = 5,
    Json = 6,
    Orc = 7,
    Avro = 8,
    Text = 9,
    UnityCatalog = 10,
    Deltasharing = 11,
}
impl DataSourceFormat {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "DATA_SOURCE_FORMAT_UNSPECIFIED",
            Self::Delta => "DELTA",
            Self::Iceberg => "ICEBERG",
            Self::Hudi => "HUDI",
            Self::Parquet => "PARQUET",
            Self::Csv => "CSV",
            Self::Json => "JSON",
            Self::Orc => "ORC",
            Self::Avro => "AVRO",
            Self::Text => "TEXT",
            Self::UnityCatalog => "UNITY_CATALOG",
            Self::Deltasharing => "DELTASHARING",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "DATA_SOURCE_FORMAT_UNSPECIFIED" => Some(Self::Unspecified),
            "DELTA" => Some(Self::Delta),
            "ICEBERG" => Some(Self::Iceberg),
            "HUDI" => Some(Self::Hudi),
            "PARQUET" => Some(Self::Parquet),
            "CSV" => Some(Self::Csv),
            "JSON" => Some(Self::Json),
            "ORC" => Some(Self::Orc),
            "AVRO" => Some(Self::Avro),
            "TEXT" => Some(Self::Text),
            "UNITY_CATALOG" => Some(Self::UnityCatalog),
            "DELTASHARING" => Some(Self::Deltasharing),
            _ => None,
        }
    }
}
#[cfg_attr(feature = "python", ::pyo3::pyclass)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum ColumnTypeName {
    Unspecified = 0,
    Boolean = 1,
    Byte = 2,
    Short = 3,
    Int = 4,
    Long = 5,
    Float = 6,
    Double = 7,
    Date = 8,
    Timestamp = 9,
    String = 10,
    Binary = 11,
    Decimal = 12,
    Interval = 13,
    Array = 14,
    Struct = 15,
    Map = 16,
    Char = 17,
    Null = 18,
    UserDefinedType = 19,
    TimestampNtz = 20,
    Variant = 21,
    TableType = 22,
}
impl ColumnTypeName {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "COLUMN_TYPE_NAME_UNSPECIFIED",
            Self::Boolean => "BOOLEAN",
            Self::Byte => "BYTE",
            Self::Short => "SHORT",
            Self::Int => "INT",
            Self::Long => "LONG",
            Self::Float => "FLOAT",
            Self::Double => "DOUBLE",
            Self::Date => "DATE",
            Self::Timestamp => "TIMESTAMP",
            Self::String => "STRING",
            Self::Binary => "BINARY",
            Self::Decimal => "DECIMAL",
            Self::Interval => "INTERVAL",
            Self::Array => "ARRAY",
            Self::Struct => "STRUCT",
            Self::Map => "MAP",
            Self::Char => "CHAR",
            Self::Null => "NULL",
            Self::UserDefinedType => "USER_DEFINED_TYPE",
            Self::TimestampNtz => "TIMESTAMP_NTZ",
            Self::Variant => "VARIANT",
            Self::TableType => "TABLE_TYPE",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "COLUMN_TYPE_NAME_UNSPECIFIED" => Some(Self::Unspecified),
            "BOOLEAN" => Some(Self::Boolean),
            "BYTE" => Some(Self::Byte),
            "SHORT" => Some(Self::Short),
            "INT" => Some(Self::Int),
            "LONG" => Some(Self::Long),
            "FLOAT" => Some(Self::Float),
            "DOUBLE" => Some(Self::Double),
            "DATE" => Some(Self::Date),
            "TIMESTAMP" => Some(Self::Timestamp),
            "STRING" => Some(Self::String),
            "BINARY" => Some(Self::Binary),
            "DECIMAL" => Some(Self::Decimal),
            "INTERVAL" => Some(Self::Interval),
            "ARRAY" => Some(Self::Array),
            "STRUCT" => Some(Self::Struct),
            "MAP" => Some(Self::Map),
            "CHAR" => Some(Self::Char),
            "NULL" => Some(Self::Null),
            "USER_DEFINED_TYPE" => Some(Self::UserDefinedType),
            "TIMESTAMP_NTZ" => Some(Self::TimestampNtz),
            "VARIANT" => Some(Self::Variant),
            "TABLE_TYPE" => Some(Self::TableType),
            _ => None,
        }
    }
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListTableSummariesRequest {
    /// Name of parent catalog for tables of interest.
    #[prost(string, tag="1")]
    pub catalog_name: ::prost::alloc::string::String,
    /// A sql LIKE pattern (% and _) for schema names. All schemas will be returned if not set or empty.
    #[prost(string, optional, tag="2")]
    pub schema_name_pattern: ::core::option::Option<::prost::alloc::string::String>,
    /// A sql LIKE pattern (% and _) for table names. All tables will be returned if not set or empty.
    #[prost(string, optional, tag="3")]
    pub table_name_pattern: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    #[prost(int32, optional, tag="100")]
    pub max_results: ::core::option::Option<i32>,
    /// Opaque pagination token to go to next page based on previous query.
    #[prost(string, optional, tag="101")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Whether to include a manifest containing capabilities the table has.
    #[prost(bool, optional, tag="102")]
    pub include_manifest_capabilities: ::core::option::Option<bool>,
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListTableSummariesResponse {
    /// The table summaries returned.
    #[prost(message, repeated, tag="1")]
    pub tables: ::prost::alloc::vec::Vec<TableSummary>,
    /// The next_page_token value to include in the next List request.
    #[prost(string, optional, tag="2")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListTablesRequest {
    /// Name of parent catalog for tables of interest.
    #[prost(string, tag="1")]
    pub catalog_name: ::prost::alloc::string::String,
    /// Name of parent schema for tables of interest.
    #[prost(string, tag="2")]
    pub schema_name: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    #[prost(int32, optional, tag="3")]
    pub max_results: ::core::option::Option<i32>,
    /// Opaque pagination token to go to next page based on previous query.
    #[prost(string, optional, tag="4")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Whether delta metadata should be included in the response.
    #[prost(bool, optional, tag="5")]
    pub include_delta_metadata: ::core::option::Option<bool>,
    /// Whether to omit the columns of the table from the response or not.
    #[prost(bool, optional, tag="6")]
    pub omit_columns: ::core::option::Option<bool>,
    /// Whether to omit the properties of the table from the response or not.
    #[prost(bool, optional, tag="7")]
    pub omit_properties: ::core::option::Option<bool>,
    /// Whether to omit the username of the table (e.g. owner, updated_by, created_by) from the response or not.
    #[prost(bool, optional, tag="8")]
    pub omit_username: ::core::option::Option<bool>,
    /// Whether to include tables in the response for which the principal can only access selective metadata for
    #[prost(bool, optional, tag="9")]
    pub include_browse: ::core::option::Option<bool>,
    /// Whether to include a manifest containing capabilities the table has.
    #[prost(bool, optional, tag="10")]
    pub include_manifest_capabilities: ::core::option::Option<bool>,
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListTablesResponse {
    /// The tables returned.
    #[prost(message, repeated, tag="1")]
    pub tables: ::prost::alloc::vec::Vec<Table>,
    /// The next_page_token value to include in the next List request.
    #[prost(string, optional, tag="2")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// Create a table
///
/// WARNING: this API is experimental and subject to change.
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateTableRequest {
    /// Name of table, relative to parent schema.
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    /// Name of parent schema relative to its parent catalog.
    #[prost(string, tag="2")]
    pub schema_name: ::prost::alloc::string::String,
    /// Name of parent catalog.
    #[prost(string, tag="3")]
    pub catalog_name: ::prost::alloc::string::String,
    #[prost(enumeration="TableType", tag="4")]
    pub table_type: i32,
    #[prost(enumeration="DataSourceFormat", tag="5")]
    pub data_source_format: i32,
    /// The array of Column definitions of the table's columns.
    #[prost(message, repeated, tag="6")]
    pub columns: ::prost::alloc::vec::Vec<Column>,
    /// Storage root URL for external table.
    #[prost(string, optional, tag="7")]
    pub storage_location: ::core::option::Option<::prost::alloc::string::String>,
    /// User-provided free-form text description.
    #[prost(string, optional, tag="8")]
    pub comment: ::core::option::Option<::prost::alloc::string::String>,
    /// A map of key-value properties attached to the securable.
    #[prost(map="string, string", tag="9")]
    pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Definition text for view-like table types (VIEW, MATERIALIZED_VIEW,
    /// STREAMING_TABLE, METRIC_VIEW). The format depends on the table type:
    /// SQL for views, YAML for metric views. Required for METRIC_VIEW.
    #[prost(string, optional, tag="10")]
    pub view_definition: ::core::option::Option<::prost::alloc::string::String>,
    /// Tables and functions the view-like table reads. For metric views the server
    /// derives this from view_definition and rejects a supplied list that diverges
    /// from the derived set (the definition is the single source of truth).
    #[prost(message, optional, tag="11")]
    pub view_dependencies: ::core::option::Option<DependencyList>,
}
/// Get a table
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTableRequest {
    /// Full name of the table.
    #[prost(string, tag="1")]
    pub full_name: ::prost::alloc::string::String,
    /// Whether delta metadata should be included in the response.
    #[prost(bool, optional, tag="2")]
    pub include_delta_metadata: ::core::option::Option<bool>,
    /// Whether to include tables in the response for which the principal can only access selective metadata for
    #[prost(bool, optional, tag="3")]
    pub include_browse: ::core::option::Option<bool>,
    /// Whether to include a manifest containing capabilities the table has.
    #[prost(bool, optional, tag="4")]
    pub include_manifest_capabilities: ::core::option::Option<bool>,
}
/// Get boolean reflecting if table exists
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTableExistsRequest {
    /// Full name of the table.
    #[prost(string, tag="1")]
    pub full_name: ::prost::alloc::string::String,
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTableExistsResponse {
    /// Boolean reflecting if table exists.
    #[prost(bool, tag="1")]
    pub table_exists: bool,
}
/// Delete a table
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteTableRequest {
    /// Full name of the table.
    #[prost(string, tag="1")]
    pub full_name: ::prost::alloc::string::String,
}
include!("unitycatalog.tables.v1.serde.rs");
// @@protoc_insertion_point(module)