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
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
// @generated
// This file is @generated by prost-build.
/// Temporary cloud credentials scoped to a storage-backed asset's location.
///
/// Returned by the `temporary-*-credentials` endpoints for volumes, agent
/// skills, and other storage-backed assets. Exactly one credential variant is
/// populated; the recipient uses it to read files directly via the cloud storage
/// API. Clients should cache the credential until `expiration_time`.
///
/// Names are prefixed with `Sharing` to avoid colliding with the Unity Catalog
/// `TemporaryCredential` schema in the shared OpenAPI document.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SharingTemporaryCredentials {
    /// Server time when the credential expires, in epoch milliseconds.
    #[prost(int64, tag="1")]
    pub expiration_time: i64,
    /// The storage location URL the credential grants access to.
    #[prost(string, optional, tag="2")]
    pub url: ::core::option::Option<::prost::alloc::string::String>,
    /// Exactly one provider-specific credential.
    #[prost(oneof="sharing_temporary_credentials::Credentials", tags="100, 101, 102, 103")]
    pub credentials: ::core::option::Option<sharing_temporary_credentials::Credentials>,
}
/// Nested message and enum types in `SharingTemporaryCredentials`.
pub mod sharing_temporary_credentials {
    /// Exactly one provider-specific credential.
    #[derive(Clone, PartialEq, Eq, Hash, ::prost::Oneof)]
    pub enum Credentials {
        /// Temporary credentials for AWS S3.
        #[prost(message, tag="100")]
        AwsTempCredentials(super::SharingAwsCredentials),
        /// User delegation SAS token for Azure Blob Storage.
        #[prost(message, tag="101")]
        AzureUserDelegationSas(super::SharingAzureUserDelegationSas),
        /// OAuth token for Google Cloud Storage.
        #[prost(message, tag="102")]
        GcpOauthToken(super::SharingGcpOauthToken),
        /// Temporary credentials for Cloudflare R2.
        #[prost(message, tag="103")]
        R2Credentials(super::SharingR2Credentials),
    }
}
/// Temporary credentials for AWS S3.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SharingAwsCredentials {
    /// The access key ID that identifies the temporary credentials.
    #[prost(string, tag="1")]
    pub access_key_id: ::prost::alloc::string::String,
    /// The secret access key used to sign AWS API requests.
    #[prost(string, tag="2")]
    pub secret_access_key: ::prost::alloc::string::String,
    /// The session token passed to the AWS API alongside the access key.
    #[prost(string, tag="3")]
    pub session_token: ::prost::alloc::string::String,
}
/// User delegation SAS token for Azure Blob Storage.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SharingAzureUserDelegationSas {
    /// The SAS token granting read access to the asset's storage location.
    #[prost(string, tag="1")]
    pub sas_token: ::prost::alloc::string::String,
}
/// OAuth token for Google Cloud Storage.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SharingGcpOauthToken {
    /// The OAuth token granting read access to the asset's storage location.
    #[prost(string, tag="1")]
    pub oauth_token: ::prost::alloc::string::String,
}
/// Temporary credentials for Cloudflare R2.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SharingR2Credentials {
    /// The access key ID that identifies the temporary credentials.
    #[prost(string, tag="1")]
    pub access_key_id: ::prost::alloc::string::String,
    /// The secret access key used to sign requests.
    #[prost(string, tag="2")]
    pub secret_access_key: ::prost::alloc::string::String,
    /// The session token passed alongside the access key.
    #[prost(string, tag="3")]
    pub session_token: ::prost::alloc::string::String,
}
/// A volume shared as a storage-backed asset.
///
/// A volume groups unstructured files under a single storage location; the
/// recipient lists and reads its files directly via the cloud storage API using
/// credentials from the `temporary-volume-credentials` endpoint.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SharingVolume {
    /// The name of the volume. It's case-insensitive and unique within a schema.
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    /// The schema name that the volume belongs to. It's case-insensitive.
    #[prost(string, tag="2")]
    pub schema: ::prost::alloc::string::String,
    /// The share name that the volume belongs to. It's case-insensitive.
    #[prost(string, tag="3")]
    pub share: ::prost::alloc::string::String,
    /// Unique identifier for the volume.
    #[prost(string, optional, tag="4")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A unique identifier for the share this volume belongs to.
    #[prost(string, optional, tag="5")]
    pub share_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The fully qualified storage location of the volume.
    #[prost(string, optional, tag="6")]
    pub storage_location: ::core::option::Option<::prost::alloc::string::String>,
}
/// An agent skill shared as a storage-backed asset.
///
/// A skill is a directory of files (a required `SKILL.md` plus optional
/// `scripts/`, `references/`, and `assets/`) that an agent loads and executes.
/// It is backed by its own storage location; the recipient reads its files via
/// credentials from the `temporary-skill-credentials` endpoint.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SharingSkill {
    /// The name of the skill. It's case-insensitive and unique within a schema.
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    /// The schema name that the skill belongs to. It's case-insensitive.
    #[prost(string, tag="2")]
    pub schema: ::prost::alloc::string::String,
    /// The share name that the skill belongs to. It's case-insensitive.
    #[prost(string, tag="3")]
    pub share: ::prost::alloc::string::String,
    /// Unique identifier for the skill.
    #[prost(string, optional, tag="4")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A unique identifier for the share this skill belongs to.
    #[prost(string, optional, tag="5")]
    pub share_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The fully qualified storage location of the skill's directory.
    #[prost(string, optional, tag="6")]
    pub storage_location: ::core::option::Option<::prost::alloc::string::String>,
    /// A human-readable description of what the skill does.
    #[prost(string, optional, tag="7")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// SPDX license identifier or free-form license text for the skill.
    #[prost(string, optional, tag="8")]
    pub license: ::core::option::Option<::prost::alloc::string::String>,
    /// The tools the skill is permitted to use, as declared in its SKILL.md.
    #[prost(string, repeated, tag="9")]
    pub allowed_tools: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Arbitrary additional metadata declared by the skill.
    #[prost(map="string, string", tag="10")]
    pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// A share is a logical grouping to share with recipients. A share can be shared with one or multiple recipients.
/// A recipient can access all resources in a share. A share may contain multiple schemas.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Share {
    /// Name of the share.
    ///
    /// The name is case-insensitive and must be unique within the sharing server.
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    /// Unique identifier for the share. Recommended to be in UUID format. Immutable
    /// once assigned and unique within the sharing server.
    #[prost(string, optional, tag="2")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// User-friendly display name of the share.
    #[prost(string, optional, tag="3")]
    pub display_name: ::core::option::Option<::prost::alloc::string::String>,
    /// User-provided free-form text description of the share.
    #[prost(string, optional, tag="4")]
    pub comment: ::core::option::Option<::prost::alloc::string::String>,
    /// A map of key-value properties attached to the share.
    #[prost(map="string, string", tag="5")]
    pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// A schema in a delta sharing service.
///
/// A schema is a logical grouping of tables.
/// A schema may contain multiple tables.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Schema {
    /// The name of the schema. It's case-insensitive and unique within a share.
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    /// The share name that the schema belongs to. It's case-insensitive.
    #[prost(string, tag="2")]
    pub share: ::prost::alloc::string::String,
    /// Unique identifier for the schema.
    #[prost(string, optional, tag="3")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A table is a Delta Lake table or a view on top of a Delta Lake table.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Table {
    /// The name of the table.
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    /// The schema name that the table belongs to.
    #[prost(string, tag="2")]
    pub schema: ::prost::alloc::string::String,
    /// The share name that the table belongs to.
    #[prost(string, tag="3")]
    pub share: ::prost::alloc::string::String,
    /// Unique identifier for the table.
    #[prost(string, optional, tag="4")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A unique identifier for the share this table belongs to.
    #[prost(string, optional, tag="5")]
    pub share_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The fully qualified location of the table.
    ///
    /// Required when the table is shared with directory-based access (`dir`).
    #[prost(string, optional, tag="6")]
    pub location: ::core::option::Option<::prost::alloc::string::String>,
    /// Additional locations referenced by the table (e.g. for multi-location tables).
    #[prost(string, repeated, tag="7")]
    pub auxiliary_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The access modes supported for this table (e.g. `url`, `dir`).
    #[prost(string, repeated, tag="8")]
    pub access_modes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// File format for data files in a table
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Format {
    /// Name of the encoding for files in this table
    #[prost(string, tag="1")]
    pub provider: ::prost::alloc::string::String,
    /// A map containing configuration options for the format
    #[prost(map="string, string", tag="2")]
    pub options: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// Metadata for a table
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Metadata {
    /// Unique identifier for this table (GUID).
    #[prost(string, tag="1")]
    pub id: ::prost::alloc::string::String,
    /// User-provided identifier for this table
    #[prost(string, optional, tag="2")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// User-provided description for this table
    #[prost(string, optional, tag="3")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Specification of the encoding for the files stored in the table
    #[prost(message, optional, tag="4")]
    pub format: ::core::option::Option<Format>,
    /// Schema of the table
    #[prost(string, tag="5")]
    pub schema_string: ::prost::alloc::string::String,
    /// An array containing the names of columns by which the data should be partitioned
    #[prost(string, repeated, tag="6")]
    pub partition_columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The time when this metadata action is created, in milliseconds since the Unix epoch
    #[prost(int64, optional, tag="7")]
    pub created_time: ::core::option::Option<i64>,
    /// A map containing configuration options for the metadata action
    #[prost(map="string, string", tag="8")]
    pub options: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// Get the version of a table.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTableVersionRequest {
    /// The table name to query. It's case-insensitive.
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    /// The schema name to query. It's case-insensitive.
    #[prost(string, tag="2")]
    pub schema: ::prost::alloc::string::String,
    /// The share name to query. It's case-insensitive.
    #[prost(string, tag="3")]
    pub share: ::prost::alloc::string::String,
    /// The startingTimestamp of the query, a string in the  ISO8601 format, in the UTC timezone,
    /// such as 2022-01-01T00:00:00Z. the server needs to return the earliest table version at
    /// or after the provided timestamp, can be earlier than the timestamp of table version 0.
    #[prost(string, optional, tag="4")]
    pub starting_timestamp: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response for GetTableVersionRequest.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTableVersionResponse {
    /// The table version that was requested.
    #[prost(int64, tag="1")]
    pub version: i64,
}
/// Get metadata of a table.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTableMetadataRequest {
    /// The table name to query. It's case-insensitive.
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    /// The share name to query. It's case-insensitive.
    #[prost(string, tag="2")]
    pub share: ::prost::alloc::string::String,
    /// The schema name to query. It's case-insensitive.
    #[prost(string, tag="3")]
    pub schema: ::prost::alloc::string::String,
}
/// Response for a query against a table.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryResponse {
    #[prost(oneof="query_response::Response", tags="1, 2")]
    pub response: ::core::option::Option<query_response::Response>,
}
/// Nested message and enum types in `QueryResponse`.
pub mod query_response {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Response {
        /// Parquet response format
        #[prost(message, tag="1")]
        Parquet(super::ParquetResponse),
        /// Delta response format
        #[prost(message, tag="2")]
        Delta(super::DeltaResponse),
    }
}
/// Response for a query against a table in Parquet format.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ParquetResponse {
    #[prost(message, repeated, tag="1")]
    pub entries: ::prost::alloc::vec::Vec<ParquetLogMessage>,
}
/// Log message for Parquet response.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ParquetLogMessage {
    #[prost(oneof="parquet_log_message::Entry", tags="1, 2")]
    pub entry: ::core::option::Option<parquet_log_message::Entry>,
}
/// Nested message and enum types in `ParquetLogMessage`.
pub mod parquet_log_message {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Entry {
        #[prost(message, tag="1")]
        Protocol(super::ProtocolParquet),
        #[prost(message, tag="2")]
        Metadata(super::MetadataParquet),
    }
}
/// Protocol for Parquet response.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ProtocolParquet {
    /// The minimum version of the protocol that a client must implement
    /// in order to correctly read a Delta Lake table.
    #[prost(int32, tag="1")]
    pub min_reader_version: i32,
}
/// Metadata for Parquet response.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MetadataParquet {
    /// Unique identifier for this table
    #[prost(string, tag="1")]
    pub id: ::prost::alloc::string::String,
    /// User-provided identifier for this table
    #[prost(string, optional, tag="2")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// User-provided description for this table
    #[prost(string, optional, tag="3")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Specification of the encoding for the files stored in the table
    #[prost(message, optional, tag="4")]
    pub format: ::core::option::Option<Format>,
    /// Schema of the table
    #[prost(string, tag="5")]
    pub schema_string: ::prost::alloc::string::String,
    /// An array containing the names of columns by which the data should be partitioned
    #[prost(string, repeated, tag="6")]
    pub partition_columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Response for a query against a table in Delta format.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeltaResponse {
    #[prost(message, repeated, tag="1")]
    pub entries: ::prost::alloc::vec::Vec<DeltaLogMessage>,
}
/// Log message for Delta response.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeltaLogMessage {
    #[prost(oneof="delta_log_message::Entry", tags="1, 2")]
    pub entry: ::core::option::Option<delta_log_message::Entry>,
}
/// Nested message and enum types in `DeltaLogMessage`.
pub mod delta_log_message {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Entry {
        #[prost(message, tag="1")]
        Protocol(super::ProtocolDelta),
        #[prost(message, tag="2")]
        Metadata(super::MetadataDelta),
    }
}
/// Protocol for Delta response.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ProtocolDelta {
    /// The minimum version of the protocol that a client must implement
    /// in order to correctly read a Delta Lake table.
    #[prost(int32, tag="1")]
    pub min_reader_version: i32,
    #[prost(int32, tag="2")]
    pub min_writer_version: i32,
}
/// Metadata for Delta response.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MetadataDelta {
    /// Metadata from Delta protocol
    #[prost(message, optional, tag="1")]
    pub delta_metadata: ::core::option::Option<Metadata>,
    /// The table version the metadata corresponds to, returned when querying
    /// table data with a version or timestamp parameter, or cdf query
    /// with includeHistoricalMetadata set to true.
    #[prost(int64, optional, tag="2")]
    pub version: ::core::option::Option<i64>,
    /// The size of the table in bytes, will be returned if available in the delta log.
    #[prost(int64, optional, tag="3")]
    pub size: ::core::option::Option<i64>,
    /// The number of files in the table, will be returned if available in the delta log.
    #[prost(int64, optional, tag="4")]
    pub num_files: ::core::option::Option<i64>,
}
/// A structured predicate used as a query hint to prune files.
///
/// Predicates form a tree: operator nodes (`and`, `or`, `equal`, …) carry their
/// operands in `children`, while leaf `column`/`literal` nodes carry `name`/
/// `value`/`value_type`. Hints are best-effort and must not affect correctness.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct JsonPredicate {
    /// The operation to perform.
    #[prost(string, tag="1")]
    pub op: ::prost::alloc::string::String,
    /// The inputs to the operation - if any.
    #[prost(message, repeated, tag="2")]
    pub children: ::prost::alloc::vec::Vec<JsonPredicate>,
    /// Specifies the name of a column.
    ///
    /// This is only applicable to column ops.
    #[prost(string, optional, tag="3")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the value of a literal.
    ///
    /// This is only applicable to literal ops.
    #[prost(string, optional, tag="4")]
    pub value: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the value type of a column or a literal op.
    ///
    /// This is only applicate to column and literal ops.
    #[prost(string, optional, tag="5")]
    pub value_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// List the agent skills in a schema.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListSkillsRequest {
    /// The share name to query. It's case-insensitive.
    #[prost(string, tag="1")]
    pub share: ::prost::alloc::string::String,
    /// The schema name to query. It's case-insensitive.
    #[prost(string, tag="2")]
    pub schema: ::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>,
    /// Specifies a page token to use, from a previous response's next_page_token.
    #[prost(string, optional, tag="4")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response for ListSkillsRequest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListSkillsResponse {
    /// The skills that were requested.
    #[prost(message, repeated, tag="1")]
    pub items: ::prost::alloc::vec::Vec<SharingSkill>,
    /// Token that can be used to retrieve the next page of skills.
    #[prost(string, optional, tag="2")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// List all the agent skills under a share, across all schemas.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListAllSkillsRequest {
    /// The share name to query. It's case-insensitive.
    #[prost(string, tag="1")]
    pub share: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    #[prost(int32, optional, tag="2")]
    pub max_results: ::core::option::Option<i32>,
    /// Specifies a page token to use, from a previous response's next_page_token.
    #[prost(string, optional, tag="3")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response for ListAllSkillsRequest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListAllSkillsResponse {
    /// The skills that were requested.
    #[prost(message, repeated, tag="1")]
    pub items: ::prost::alloc::vec::Vec<SharingSkill>,
    /// Token that can be used to retrieve the next page of skills.
    #[prost(string, optional, tag="2")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// Get a single agent skill by name.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetSkillRequest {
    /// The share name to query. It's case-insensitive.
    #[prost(string, tag="1")]
    pub share: ::prost::alloc::string::String,
    /// The schema name to query. It's case-insensitive.
    #[prost(string, tag="2")]
    pub schema: ::prost::alloc::string::String,
    /// The skill name to query. It's case-insensitive.
    #[prost(string, tag="3")]
    pub name: ::prost::alloc::string::String,
}
/// Request temporary credentials scoped to a shared skill's storage location.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GenerateTemporarySkillCredentialsRequest {
    /// The share name. It's case-insensitive.
    #[prost(string, tag="1")]
    pub share: ::prost::alloc::string::String,
    /// The schema name. It's case-insensitive.
    #[prost(string, tag="2")]
    pub schema: ::prost::alloc::string::String,
    /// The skill name. It's case-insensitive.
    #[prost(string, tag="3")]
    pub name: ::prost::alloc::string::String,
}
/// Request to list shares.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListSharesRequest {
    /// The maximum number of results per page that should be returned.
    #[prost(int32, optional, tag="1")]
    pub max_results: ::core::option::Option<i32>,
    /// Specifies a page token to use. Set pageToken to the nextPageToken returned
    /// by a previous list request to get the next page of results.
    #[prost(string, optional, tag="2")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response for ListSharesRequest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListSharesResponse {
    /// The shares that were requested.
    #[prost(message, repeated, tag="1")]
    pub items: ::prost::alloc::vec::Vec<Share>,
    /// Token that can be used to retrieve the next page of shares.
    /// An empty or missing token means that no more shares are available for retrieval.
    #[prost(string, optional, tag="2")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// Get a share by name.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetShareRequest {
    /// The share name to query. It's case-insensitive.
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
}
/// List schemas in a share.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListSchemasRequest {
    /// The share name to query. It's case-insensitive.
    #[prost(string, tag="1")]
    pub share: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    #[prost(int32, optional, tag="2")]
    pub max_results: ::core::option::Option<i32>,
    /// Specifies a page token to use. Set pageToken to the nextPageToken returned
    /// by a previous list request to get the next page of results.
    #[prost(string, optional, tag="3")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response for ListSchemasRequest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListSchemasResponse {
    /// The schemas that were requested.
    #[prost(message, repeated, tag="1")]
    pub items: ::prost::alloc::vec::Vec<Schema>,
    /// Token that can be used to retrieve the next page of schemas.
    /// An empty or missing token means that no more schemas are available for retrieval.
    #[prost(string, optional, tag="2")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// List tables in a schema.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListTablesRequest {
    /// The schema name to query. It's case-insensitive.
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    /// The share name to query. It's case-insensitive.
    #[prost(string, tag="2")]
    pub share: ::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>,
    /// Specifies a page token to use. Set pageToken to the nextPageToken returned
    /// by a previous list request to get the next page of results.
    #[prost(string, optional, tag="4")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response for ListTablesRequest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListTablesResponse {
    /// The tables that were requested.
    #[prost(message, repeated, tag="1")]
    pub items: ::prost::alloc::vec::Vec<Table>,
    /// Token that can be used to retrieve the next page of tables.
    /// An empty or missing token means that no more tables are available for retrieval.
    #[prost(string, optional, tag="2")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// List tables in a share.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListAllTablesRequest {
    /// The share name to query. It's case-insensitive.
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    #[prost(int32, optional, tag="2")]
    pub max_results: ::core::option::Option<i32>,
    /// Specifies a page token to use. Set pageToken to the nextPageToken returned
    /// by a previous list request to get the next page of results.
    #[prost(string, optional, tag="3")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// Request to query the data files of a table.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryTableRequest {
    /// The share name that contains the table. It's case-insensitive.
    #[prost(string, tag="1")]
    pub share: ::prost::alloc::string::String,
    /// The schema name that contains the table. It's case-insensitive.
    #[prost(string, tag="2")]
    pub schema: ::prost::alloc::string::String,
    /// The table name to query. It's case-insensitive.
    #[prost(string, tag="3")]
    pub name: ::prost::alloc::string::String,
    /// The starting timestamp to query from, an ISO8601 string in the UTC timezone
    /// (for example `2022-01-01T00:00:00Z`).
    #[prost(string, optional, tag="4")]
    pub starting_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// SQL-like predicate hints on the partition columns; the server may use these
    /// to prune files. Hints are best-effort and must not affect correctness.
    #[prost(string, repeated, tag="5")]
    pub predicate_hints: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Structured predicate, applied to partition columns, used to prune files.
    /// Best-effort; must not affect correctness.
    #[prost(message, optional, tag="6")]
    pub json_predicate_hints: ::core::option::Option<JsonPredicate>,
    /// A hint on the maximum number of rows the client intends to read; the server
    /// may use it to limit the number of files returned. Best-effort.
    #[prost(int32, optional, tag="7")]
    pub limit_hint: ::core::option::Option<i32>,
    /// Query the table at this specific Delta version (snapshot query).
    #[prost(int64, optional, tag="8")]
    pub version: ::core::option::Option<i64>,
    /// Query the table as of this timestamp, an ISO8601 string in the UTC timezone.
    #[prost(string, optional, tag="9")]
    pub timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// The starting version (inclusive) for a change-data-feed query.
    #[prost(int64, optional, tag="10")]
    pub starting_version: ::core::option::Option<i64>,
    /// The ending version (inclusive) for a change-data-feed query.
    #[prost(int64, optional, tag="11")]
    pub ending_version: ::core::option::Option<i64>,
}
/// Response for ListAllTablesRequest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListAllTablesResponse {
    /// The tables that were requested.
    #[prost(message, repeated, tag="1")]
    pub items: ::prost::alloc::vec::Vec<Table>,
    /// Token that can be used to retrieve the next page of tables.
    /// An empty or missing token means that no more tables are available for retrieval.
    #[prost(string, optional, tag="2")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// List the volumes in a schema.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListVolumesRequest {
    /// The share name to query. It's case-insensitive.
    #[prost(string, tag="1")]
    pub share: ::prost::alloc::string::String,
    /// The schema name to query. It's case-insensitive.
    #[prost(string, tag="2")]
    pub schema: ::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>,
    /// Specifies a page token to use, from a previous response's next_page_token.
    #[prost(string, optional, tag="4")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response for ListVolumesRequest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListVolumesResponse {
    /// The volumes that were requested.
    #[prost(message, repeated, tag="1")]
    pub items: ::prost::alloc::vec::Vec<SharingVolume>,
    /// Token that can be used to retrieve the next page of volumes.
    #[prost(string, optional, tag="2")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// List all the volumes under a share, across all schemas.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListAllVolumesRequest {
    /// The share name to query. It's case-insensitive.
    #[prost(string, tag="1")]
    pub share: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    #[prost(int32, optional, tag="2")]
    pub max_results: ::core::option::Option<i32>,
    /// Specifies a page token to use, from a previous response's next_page_token.
    #[prost(string, optional, tag="3")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response for ListAllVolumesRequest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListAllVolumesResponse {
    /// The volumes that were requested.
    #[prost(message, repeated, tag="1")]
    pub items: ::prost::alloc::vec::Vec<SharingVolume>,
    /// Token that can be used to retrieve the next page of volumes.
    #[prost(string, optional, tag="2")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
/// Get a single volume by name.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetVolumeRequest {
    /// The share name to query. It's case-insensitive.
    #[prost(string, tag="1")]
    pub share: ::prost::alloc::string::String,
    /// The schema name to query. It's case-insensitive.
    #[prost(string, tag="2")]
    pub schema: ::prost::alloc::string::String,
    /// The volume name to query. It's case-insensitive.
    #[prost(string, tag="3")]
    pub name: ::prost::alloc::string::String,
}
/// Request temporary credentials scoped to a shared volume's storage location.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GenerateTemporaryVolumeCredentialsRequest {
    /// The share name. It's case-insensitive.
    #[prost(string, tag="1")]
    pub share: ::prost::alloc::string::String,
    /// The schema name. It's case-insensitive.
    #[prost(string, tag="2")]
    pub schema: ::prost::alloc::string::String,
    /// The volume name. It's case-insensitive.
    #[prost(string, tag="3")]
    pub name: ::prost::alloc::string::String,
}
include!("open_sharing.v1.serde.rs");
// @@protoc_insertion_point(module)