Skip to main content

nominal_api_proto/proto/
nominal.datareview.v1.rs

1// This file is @generated by prost-build.
2#[derive(Clone, Copy, PartialEq, ::prost::Message)]
3pub struct Timestamp {
4    #[prost(int64, tag = "1")]
5    pub seconds: i64,
6    #[prost(int64, tag = "2")]
7    pub nanos: i64,
8}
9#[derive(Clone, PartialEq, ::prost::Message)]
10pub struct VersionedVizId {
11    #[prost(string, tag = "1")]
12    pub rid: ::prost::alloc::string::String,
13    #[prost(int32, tag = "2")]
14    pub version: i32,
15}
16#[derive(Clone, PartialEq, ::prost::Message)]
17pub struct PinnedChecklistRef {
18    #[prost(string, tag = "1")]
19    pub rid: ::prost::alloc::string::String,
20    #[prost(string, tag = "2")]
21    pub commit: ::prost::alloc::string::String,
22}
23#[derive(Clone, PartialEq, ::prost::Message)]
24pub struct ChecklistRef {
25    #[prost(string, tag = "1")]
26    pub rid: ::prost::alloc::string::String,
27    #[prost(string, optional, tag = "2")]
28    pub commit: ::core::option::Option<::prost::alloc::string::String>,
29}
30#[derive(Clone, PartialEq, ::prost::Message)]
31pub struct NotificationConfiguration {
32    #[prost(string, tag = "1")]
33    pub integration_rid: ::prost::alloc::string::String,
34    #[prost(message, optional, tag = "2")]
35    pub notification_filters: ::core::option::Option<NotificationFilterSetWrapper>,
36    #[prost(string, optional, tag = "3")]
37    pub appended_workbook_rid: ::core::option::Option<::prost::alloc::string::String>,
38    #[prost(string, repeated, tag = "4")]
39    pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
40    #[prost(message, optional, tag = "5")]
41    pub mute_until: ::core::option::Option<
42        super::super::super::google::protobuf::Timestamp,
43    >,
44}
45#[derive(Clone, PartialEq, ::prost::Message)]
46pub struct NotificationFilterSetWrapper {
47    #[prost(enumeration = "NotificationFilter", repeated, tag = "1")]
48    pub notification_filters: ::prost::alloc::vec::Vec<i32>,
49}
50#[derive(Clone, PartialEq, ::prost::Message)]
51pub struct CheckAlertState {
52    #[prost(oneof = "check_alert_state::CheckAlertState", tags = "1, 2, 3")]
53    pub check_alert_state: ::core::option::Option<check_alert_state::CheckAlertState>,
54}
55/// Nested message and enum types in `CheckAlertState`.
56pub mod check_alert_state {
57    #[derive(Clone, PartialEq, ::prost::Oneof)]
58    pub enum CheckAlertState {
59        #[prost(message, tag = "1")]
60        PendingReview(super::PendingReviewAlertState),
61        #[prost(message, tag = "2")]
62        ClosedWithFurtherAction(super::ClosedWithFurtherActionAlertState),
63        #[prost(message, tag = "3")]
64        ClosedWithIgnore(super::ClosedWithIgnoreAlertState),
65    }
66}
67#[derive(Clone, Copy, PartialEq, ::prost::Message)]
68pub struct PendingReviewAlertState {}
69#[derive(Clone, PartialEq, ::prost::Message)]
70pub struct ClosedWithFurtherActionAlertState {
71    #[prost(string, tag = "1")]
72    pub comment: ::prost::alloc::string::String,
73    #[prost(string, tag = "2")]
74    pub closed_by: ::prost::alloc::string::String,
75}
76#[derive(Clone, PartialEq, ::prost::Message)]
77pub struct ClosedWithIgnoreAlertState {
78    #[prost(string, tag = "1")]
79    pub comment: ::prost::alloc::string::String,
80    #[prost(string, tag = "2")]
81    pub closed_by: ::prost::alloc::string::String,
82}
83#[derive(Clone, Copy, PartialEq, ::prost::Message)]
84pub struct ArchiveDataReview {}
85#[derive(Clone, PartialEq, ::prost::Message)]
86pub struct AutomaticCheckEvaluation {
87    #[prost(string, tag = "1")]
88    pub rid: ::prost::alloc::string::String,
89    #[prost(string, tag = "2")]
90    pub check_rid: ::prost::alloc::string::String,
91    #[prost(int32, optional, tag = "3")]
92    pub check_implementation_index: ::core::option::Option<i32>,
93    #[prost(string, tag = "4")]
94    pub data_review_rid: ::prost::alloc::string::String,
95    #[prost(message, optional, tag = "5")]
96    pub state: ::core::option::Option<AutomaticCheckEvaluationState>,
97}
98#[derive(Clone, PartialEq, ::prost::Message)]
99pub struct AutomaticCheckEvaluationAction {
100    #[prost(
101        oneof = "automatic_check_evaluation_action::AutomaticCheckEvaluationAction",
102        tags = "1, 2, 3, 4"
103    )]
104    pub automatic_check_evaluation_action: ::core::option::Option<
105        automatic_check_evaluation_action::AutomaticCheckEvaluationAction,
106    >,
107}
108/// Nested message and enum types in `AutomaticCheckEvaluationAction`.
109pub mod automatic_check_evaluation_action {
110    #[derive(Clone, PartialEq, ::prost::Oneof)]
111    pub enum AutomaticCheckEvaluationAction {
112        #[prost(message, tag = "1")]
113        ExecutionFinished(super::AutomaticCheckExecutionFinished),
114        #[prost(message, tag = "2")]
115        ExecutionFailedToRun(super::AutomaticCheckExecutionFailedToRun),
116        #[prost(message, tag = "3")]
117        ExecutionRetriggered(super::ExecutionRetriggered),
118        #[prost(message, tag = "4")]
119        ExecutionStarted(super::AutomaticCheckExecutionStarted),
120    }
121}
122#[derive(Clone, PartialEq, ::prost::Message)]
123pub struct AutomaticCheckEvaluationActionLog {
124    #[prost(message, repeated, tag = "1")]
125    pub entries: ::prost::alloc::vec::Vec<AutomaticCheckEvaluationActionLogEntry>,
126}
127#[derive(Clone, PartialEq, ::prost::Message)]
128pub struct AutomaticCheckEvaluationActionLogEntry {
129    #[prost(message, optional, tag = "1")]
130    pub action: ::core::option::Option<AutomaticCheckEvaluationAction>,
131    #[prost(message, optional, tag = "2")]
132    pub timestamp: ::core::option::Option<
133        super::super::super::google::protobuf::Timestamp,
134    >,
135}
136#[derive(Clone, PartialEq, ::prost::Message)]
137pub struct AutomaticCheckEvaluationReviewAction {
138    #[prost(
139        oneof = "automatic_check_evaluation_review_action::AutomaticCheckEvaluationReviewAction",
140        tags = "1, 2, 3, 4, 5"
141    )]
142    pub automatic_check_evaluation_review_action: ::core::option::Option<
143        automatic_check_evaluation_review_action::AutomaticCheckEvaluationReviewAction,
144    >,
145}
146/// Nested message and enum types in `AutomaticCheckEvaluationReviewAction`.
147pub mod automatic_check_evaluation_review_action {
148    #[derive(Clone, PartialEq, ::prost::Oneof)]
149    pub enum AutomaticCheckEvaluationReviewAction {
150        #[prost(message, tag = "1")]
151        CloseWithIgnore(super::CloseWithIgnoreAlert),
152        #[prost(message, tag = "2")]
153        CloseWithFurtherAction(super::CloseWithFurtherAction),
154        #[prost(message, tag = "3")]
155        Reopen(super::Reopen),
156        #[prost(message, tag = "4")]
157        Reassign(super::Reassign),
158        #[prost(message, tag = "5")]
159        UpdateNotes(super::UpdateNotes),
160    }
161}
162#[derive(Clone, PartialEq, ::prost::Message)]
163pub struct AutomaticCheckEvaluationReviewActionLog {
164    #[prost(message, repeated, tag = "1")]
165    pub entries: ::prost::alloc::vec::Vec<AutomaticCheckEvaluationReviewActionLogEntry>,
166}
167#[derive(Clone, PartialEq, ::prost::Message)]
168pub struct AutomaticCheckEvaluationReviewActionLogEntry {
169    #[prost(string, tag = "1")]
170    pub performed_by: ::prost::alloc::string::String,
171    #[prost(message, optional, tag = "2")]
172    pub action: ::core::option::Option<AutomaticCheckEvaluationReviewAction>,
173    #[prost(message, optional, tag = "3")]
174    pub timestamp: ::core::option::Option<
175        super::super::super::google::protobuf::Timestamp,
176    >,
177}
178#[derive(Clone, PartialEq, ::prost::Message)]
179pub struct AutomaticCheckEvaluationState {
180    #[prost(
181        oneof = "automatic_check_evaluation_state::AutomaticCheckEvaluationState",
182        tags = "1, 2, 3, 4, 5, 6"
183    )]
184    pub automatic_check_evaluation_state: ::core::option::Option<
185        automatic_check_evaluation_state::AutomaticCheckEvaluationState,
186    >,
187}
188/// Nested message and enum types in `AutomaticCheckEvaluationState`.
189pub mod automatic_check_evaluation_state {
190    #[derive(Clone, PartialEq, ::prost::Oneof)]
191    pub enum AutomaticCheckEvaluationState {
192        #[prost(message, tag = "1")]
193        PendingExecution(super::PendingExecutionState),
194        #[prost(message, tag = "2")]
195        FailedToExecute(super::FailedToExecuteState),
196        #[prost(message, tag = "3")]
197        Passing(super::PassingExecutionState),
198        #[prost(message, tag = "4")]
199        GeneratedAlerts(super::GeneratedAlertsState),
200        #[prost(message, tag = "5")]
201        TooManyAlerts(super::TooManyAlertsState),
202        #[prost(message, tag = "6")]
203        Executing(super::ExecutingState),
204    }
205}
206#[derive(Clone, PartialEq, ::prost::Message)]
207pub struct AutomaticCheckExecutionFailedToRun {
208    #[prost(string, tag = "1")]
209    pub job_rid: ::prost::alloc::string::String,
210}
211#[derive(Clone, PartialEq, ::prost::Message)]
212pub struct AutomaticCheckExecutionFinished {
213    #[prost(string, tag = "1")]
214    pub job_rid: ::prost::alloc::string::String,
215    #[prost(enumeration = "Status", tag = "2")]
216    pub status: i32,
217}
218#[derive(Clone, PartialEq, ::prost::Message)]
219pub struct AutomaticCheckExecutionStarted {
220    #[prost(string, tag = "1")]
221    pub job_rid: ::prost::alloc::string::String,
222}
223#[derive(Clone, PartialEq, ::prost::Message)]
224pub struct BatchAutomaticCheckEvaluationActionRequest {
225    #[prost(message, optional, tag = "1")]
226    pub check_evaluation_action: ::core::option::Option<
227        AutomaticCheckEvaluationReviewAction,
228    >,
229    #[prost(string, repeated, tag = "2")]
230    pub check_evaluation_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
231}
232#[derive(Clone, PartialEq, ::prost::Message)]
233pub struct BatchAutomaticCheckEvaluationActionResponse {
234    #[prost(message, repeated, tag = "1")]
235    pub check_evaluations: ::prost::alloc::vec::Vec<AutomaticCheckEvaluation>,
236}
237#[derive(Clone, PartialEq, ::prost::Message)]
238pub struct BatchCheckAlertActionRequest {
239    #[prost(message, optional, tag = "1")]
240    pub check_alert_action: ::core::option::Option<CheckAlertAction>,
241    #[prost(string, repeated, tag = "2")]
242    pub check_alert_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
243}
244#[derive(Clone, PartialEq, ::prost::Message)]
245pub struct BatchCheckAlertActionResponse {
246    #[prost(message, repeated, tag = "1")]
247    pub check_alerts: ::prost::alloc::vec::Vec<CheckAlert>,
248}
249#[derive(Clone, PartialEq, ::prost::Message)]
250pub struct BatchInitiateDataReviewRequest {
251    #[prost(message, repeated, tag = "1")]
252    pub requests: ::prost::alloc::vec::Vec<CreateDataReviewRequest>,
253    #[prost(message, repeated, tag = "2")]
254    pub notification_configurations: ::prost::alloc::vec::Vec<NotificationConfiguration>,
255}
256#[derive(Clone, PartialEq, ::prost::Message)]
257pub struct BatchInitiateDataReviewResponse {
258    #[prost(string, repeated, tag = "1")]
259    pub rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
260}
261#[derive(Clone, PartialEq, ::prost::Message)]
262pub struct BatchManualCheckEvaluationActionRequest {
263    #[prost(message, optional, tag = "1")]
264    pub check_alert_action: ::core::option::Option<ManualCheckAlertAction>,
265    #[prost(string, repeated, tag = "2")]
266    pub check_evaluation_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
267}
268#[derive(Clone, PartialEq, ::prost::Message)]
269pub struct CheckAlert {
270    #[prost(string, tag = "1")]
271    pub rid: ::prost::alloc::string::String,
272    #[prost(string, tag = "2")]
273    pub check_rid: ::prost::alloc::string::String,
274    #[prost(int32, optional, tag = "3")]
275    pub implementation_index: ::core::option::Option<i32>,
276    #[prost(string, tag = "4")]
277    pub data_review_rid: ::prost::alloc::string::String,
278    #[prost(string, tag = "5")]
279    pub check_evaluation_rid: ::prost::alloc::string::String,
280    #[prost(string, tag = "6")]
281    pub name: ::prost::alloc::string::String,
282    #[prost(string, optional, tag = "7")]
283    pub autogenerated_check_title: ::core::option::Option<
284        ::prost::alloc::string::String,
285    >,
286    #[prost(string, optional, tag = "8")]
287    pub autogenerated_check_description: ::core::option::Option<
288        ::prost::alloc::string::String,
289    >,
290    #[prost(string, repeated, tag = "9")]
291    pub assignee_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
292    #[prost(message, optional, tag = "10")]
293    pub start: ::core::option::Option<Timestamp>,
294    #[prost(message, optional, tag = "11")]
295    pub end: ::core::option::Option<Timestamp>,
296    #[prost(message, optional, tag = "12")]
297    pub state: ::core::option::Option<CheckAlertState>,
298    #[prost(enumeration = "super::super::types::Priority", tag = "13")]
299    pub priority: i32,
300    #[prost(message, optional, tag = "14")]
301    pub chart: ::core::option::Option<VersionedVizId>,
302    #[prost(string, optional, tag = "15")]
303    pub notes: ::core::option::Option<::prost::alloc::string::String>,
304    #[prost(string, optional, tag = "16")]
305    pub notebook: ::core::option::Option<::prost::alloc::string::String>,
306}
307#[derive(Clone, PartialEq, ::prost::Message)]
308pub struct CheckAlertAction {
309    #[prost(
310        oneof = "check_alert_action::CheckAlertAction",
311        tags = "1, 2, 3, 4, 5, 6, 7, 8, 9"
312    )]
313    pub check_alert_action: ::core::option::Option<check_alert_action::CheckAlertAction>,
314}
315/// Nested message and enum types in `CheckAlertAction`.
316pub mod check_alert_action {
317    #[derive(Clone, PartialEq, ::prost::Oneof)]
318    pub enum CheckAlertAction {
319        #[prost(message, tag = "1")]
320        CloseWithIgnore(super::CloseWithIgnoreAlert),
321        #[prost(message, tag = "2")]
322        CloseWithFurtherAction(super::CloseWithFurtherAction),
323        #[prost(message, tag = "3")]
324        Reopen(super::Reopen),
325        #[prost(message, tag = "4")]
326        Reassign(super::Reassign),
327        #[prost(message, tag = "5")]
328        UpdateNotes(super::UpdateNotes),
329        #[prost(message, tag = "6")]
330        LinkNotebook(super::LinkNotebook),
331        #[prost(message, tag = "7")]
332        UnlinkNotebook(super::UnlinkNotebook),
333        #[prost(message, tag = "8")]
334        ArchiveDataReview(super::ArchiveDataReview),
335        #[prost(message, tag = "9")]
336        UnarchiveDataReview(super::UnarchiveDataReview),
337    }
338}
339#[derive(Clone, PartialEq, ::prost::Message)]
340pub struct CheckAlertActionLog {
341    #[prost(message, repeated, tag = "1")]
342    pub entries: ::prost::alloc::vec::Vec<CheckAlertActionLogEntry>,
343}
344#[derive(Clone, PartialEq, ::prost::Message)]
345pub struct CheckAlertActionLogEntry {
346    #[prost(string, tag = "1")]
347    pub performed_by: ::prost::alloc::string::String,
348    #[prost(message, optional, tag = "2")]
349    pub action: ::core::option::Option<CheckAlertAction>,
350    #[prost(message, optional, tag = "3")]
351    pub timestamp: ::core::option::Option<
352        super::super::super::google::protobuf::Timestamp,
353    >,
354}
355#[derive(Clone, PartialEq, ::prost::Message)]
356pub struct CheckAlertsHistogramBuckets {
357    #[prost(
358        oneof = "check_alerts_histogram_buckets::CheckAlertsHistogramBuckets",
359        tags = "1, 2, 3"
360    )]
361    pub check_alerts_histogram_buckets: ::core::option::Option<
362        check_alerts_histogram_buckets::CheckAlertsHistogramBuckets,
363    >,
364}
365/// Nested message and enum types in `CheckAlertsHistogramBuckets`.
366pub mod check_alerts_histogram_buckets {
367    #[derive(Clone, PartialEq, ::prost::Oneof)]
368    pub enum CheckAlertsHistogramBuckets {
369        #[prost(message, tag = "1")]
370        Unstacked(super::CheckAlertsUnstackedHistogram),
371        #[prost(message, tag = "2")]
372        Priority(super::CheckAlertsPriorityHistogram),
373        #[prost(message, tag = "3")]
374        Status(super::CheckAlertsStatusHistogram),
375    }
376}
377#[derive(Clone, PartialEq, ::prost::Message)]
378pub struct CheckAlertsHistogramRequest {
379    #[prost(int32, optional, tag = "1")]
380    pub num_bins: ::core::option::Option<i32>,
381    #[prost(string, optional, tag = "2")]
382    pub search_text: ::core::option::Option<::prost::alloc::string::String>,
383    #[prost(message, optional, tag = "3")]
384    pub distribution_variable: ::core::option::Option<HistogramDistributionVariable>,
385    #[prost(message, optional, tag = "4")]
386    pub sub_group_variable: ::core::option::Option<HistogramSubGroupVariable>,
387    #[prost(message, optional, tag = "5")]
388    pub start_time_after: ::core::option::Option<Timestamp>,
389    #[prost(message, optional, tag = "6")]
390    pub start_time_before: ::core::option::Option<Timestamp>,
391    #[prost(message, optional, tag = "7")]
392    pub status: ::core::option::Option<CheckAlertStatusSetWrapper>,
393    #[prost(message, optional, tag = "8")]
394    pub check_rids: ::core::option::Option<CheckRidSetWrapper>,
395    #[prost(message, optional, tag = "9")]
396    pub data_review_rids: ::core::option::Option<DataReviewRidSetWrapper>,
397    #[prost(message, optional, tag = "10")]
398    pub assignee_rids: ::core::option::Option<UserRidSetWrapper>,
399    #[prost(message, optional, tag = "11")]
400    pub priorities: ::core::option::Option<PrioritySetWrapper>,
401    #[prost(string, repeated, tag = "12")]
402    pub run_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
403    #[prost(string, repeated, tag = "13")]
404    pub asset_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
405    #[prost(message, optional, tag = "14")]
406    pub pinned_checklist_refs: ::core::option::Option<PinnedChecklistRefSetWrapper>,
407    #[prost(message, optional, tag = "15")]
408    pub chart_rids: ::core::option::Option<VersionedVizIdSetWrapper>,
409    #[prost(message, optional, tag = "16")]
410    pub notebook_rids: ::core::option::Option<NotebookRidSetWrapper>,
411    #[prost(bool, optional, tag = "17")]
412    pub show_archived: ::core::option::Option<bool>,
413    #[prost(message, optional, tag = "18")]
414    pub archived_statuses: ::core::option::Option<ArchivedStatusSetWrapper>,
415}
416#[derive(Clone, PartialEq, ::prost::Message)]
417pub struct CheckAlertsHistogramResponse {
418    #[prost(message, optional, tag = "1")]
419    pub buckets: ::core::option::Option<CheckAlertsHistogramBuckets>,
420}
421#[derive(Clone, PartialEq, ::prost::Message)]
422pub struct CheckAlertsPriorityHistogram {
423    #[prost(message, repeated, tag = "1")]
424    pub buckets: ::prost::alloc::vec::Vec<HistogramPriorityBucket>,
425}
426#[derive(Clone, PartialEq, ::prost::Message)]
427pub struct CheckAlertsStatusHistogram {
428    #[prost(message, repeated, tag = "1")]
429    pub buckets: ::prost::alloc::vec::Vec<HistogramStatusBucket>,
430}
431#[derive(Clone, PartialEq, ::prost::Message)]
432pub struct CheckAlertsUnstackedHistogram {
433    #[prost(message, repeated, tag = "1")]
434    pub buckets: ::prost::alloc::vec::Vec<HistogramBucket>,
435}
436#[derive(Clone, PartialEq, ::prost::Message)]
437pub struct CheckEvaluation {
438    #[prost(oneof = "check_evaluation::CheckEvaluation", tags = "1, 2")]
439    pub check_evaluation: ::core::option::Option<check_evaluation::CheckEvaluation>,
440}
441/// Nested message and enum types in `CheckEvaluation`.
442pub mod check_evaluation {
443    #[derive(Clone, PartialEq, ::prost::Oneof)]
444    pub enum CheckEvaluation {
445        #[prost(message, tag = "1")]
446        AutomaticCheck(super::AutomaticCheckEvaluation),
447        #[prost(message, tag = "2")]
448        ManualCheck(super::ManualCheckEvaluation),
449    }
450}
451#[derive(Clone, PartialEq, ::prost::Message)]
452pub struct ChecklistEvaluation {
453    #[prost(message, optional, tag = "1")]
454    pub checklist: ::core::option::Option<PinnedChecklistRef>,
455    #[prost(string, tag = "2")]
456    pub data_review_rid: ::prost::alloc::string::String,
457    #[prost(message, repeated, tag = "3")]
458    pub checks: ::prost::alloc::vec::Vec<CheckEvaluation>,
459}
460#[derive(Clone, PartialEq, ::prost::Message)]
461pub struct CloseAction {
462    #[prost(oneof = "close_action::CloseAction", tags = "1, 2")]
463    pub close_action: ::core::option::Option<close_action::CloseAction>,
464}
465/// Nested message and enum types in `CloseAction`.
466pub mod close_action {
467    #[derive(Clone, PartialEq, ::prost::Oneof)]
468    pub enum CloseAction {
469        #[prost(message, tag = "1")]
470        CloseWithIgnore(super::CloseWithIgnoreAlert),
471        #[prost(message, tag = "2")]
472        CloseWithFurtherAction(super::CloseWithFurtherAction),
473    }
474}
475#[derive(Clone, Copy, PartialEq, ::prost::Message)]
476pub struct CloseAllLinkedAlerts {}
477#[derive(Clone, Copy, PartialEq, ::prost::Message)]
478pub struct CloseAndDetachFromNotebook {}
479#[derive(Clone, Copy, PartialEq, ::prost::Message)]
480pub struct CloseAndDuplicatePreviouslyLinkedNotebook {}
481#[derive(Clone, PartialEq, ::prost::Message)]
482pub struct CloseAndLinkToNotebook {
483    #[prost(message, optional, tag = "1")]
484    pub close_action: ::core::option::Option<CloseAction>,
485}
486#[derive(Clone, Copy, PartialEq, ::prost::Message)]
487pub struct CloseStrategy {
488    #[prost(oneof = "close_strategy::CloseStrategy", tags = "1, 2, 3")]
489    pub close_strategy: ::core::option::Option<close_strategy::CloseStrategy>,
490}
491/// Nested message and enum types in `CloseStrategy`.
492pub mod close_strategy {
493    #[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
494    pub enum CloseStrategy {
495        #[prost(message, tag = "1")]
496        CloseAllLinkedAlerts(super::CloseAllLinkedAlerts),
497        #[prost(message, tag = "2")]
498        CloseAndDetachFromNotebook(super::CloseAndDetachFromNotebook),
499        #[prost(message, tag = "3")]
500        CloseAndDuplicatePreviouslyLinkedNotebook(
501            super::CloseAndDuplicatePreviouslyLinkedNotebook,
502        ),
503    }
504}
505#[derive(Clone, PartialEq, ::prost::Message)]
506pub struct CloseWithFurtherAction {
507    #[prost(string, tag = "1")]
508    pub comment: ::prost::alloc::string::String,
509    #[prost(message, optional, tag = "2")]
510    pub strategy: ::core::option::Option<CloseStrategy>,
511}
512#[derive(Clone, PartialEq, ::prost::Message)]
513pub struct CloseWithIgnoreAlert {
514    #[prost(string, tag = "1")]
515    pub comment: ::prost::alloc::string::String,
516    #[prost(message, optional, tag = "2")]
517    pub strategy: ::core::option::Option<CloseStrategy>,
518}
519#[derive(Clone, PartialEq, ::prost::Message)]
520pub struct ClosedWithFurtherActionState {
521    #[prost(string, tag = "1")]
522    pub comment: ::prost::alloc::string::String,
523    #[prost(string, tag = "2")]
524    pub closed_by: ::prost::alloc::string::String,
525}
526#[derive(Clone, PartialEq, ::prost::Message)]
527pub struct CreateDataReviewRequest {
528    #[prost(string, tag = "1")]
529    pub run_rid: ::prost::alloc::string::String,
530    #[prost(string, optional, tag = "2")]
531    pub asset_rid: ::core::option::Option<::prost::alloc::string::String>,
532    #[prost(string, tag = "3")]
533    pub checklist_rid: ::prost::alloc::string::String,
534    #[prost(string, optional, tag = "4")]
535    pub commit: ::core::option::Option<::prost::alloc::string::String>,
536}
537#[derive(Clone, PartialEq, ::prost::Message)]
538pub struct DataReview {
539    #[prost(string, tag = "1")]
540    pub rid: ::prost::alloc::string::String,
541    #[prost(string, tag = "2")]
542    pub run_rid: ::prost::alloc::string::String,
543    #[prost(string, tag = "3")]
544    pub asset_rid: ::prost::alloc::string::String,
545    #[prost(message, optional, tag = "4")]
546    pub created_at: ::core::option::Option<
547        super::super::super::google::protobuf::Timestamp,
548    >,
549    #[prost(string, tag = "5")]
550    pub created_by: ::prost::alloc::string::String,
551    #[prost(message, optional, tag = "6")]
552    pub checklist: ::core::option::Option<ChecklistEvaluation>,
553    #[prost(message, optional, tag = "7")]
554    pub checklist_ref: ::core::option::Option<PinnedChecklistRef>,
555    #[prost(message, repeated, tag = "8")]
556    pub check_evaluations: ::prost::alloc::vec::Vec<AutomaticCheckEvaluation>,
557    #[prost(bool, tag = "9")]
558    pub archived: bool,
559}
560#[derive(Clone, PartialEq, ::prost::Message)]
561pub struct DataReviewCheckMetricsScope {
562    #[prost(
563        oneof = "data_review_check_metrics_scope::DataReviewCheckMetricsScope",
564        tags = "1, 2, 3"
565    )]
566    pub data_review_check_metrics_scope: ::core::option::Option<
567        data_review_check_metrics_scope::DataReviewCheckMetricsScope,
568    >,
569}
570/// Nested message and enum types in `DataReviewCheckMetricsScope`.
571pub mod data_review_check_metrics_scope {
572    #[derive(Clone, PartialEq, ::prost::Oneof)]
573    pub enum DataReviewCheckMetricsScope {
574        #[prost(string, tag = "1")]
575        RunRid(::prost::alloc::string::String),
576        #[prost(string, tag = "2")]
577        AssetRid(::prost::alloc::string::String),
578        #[prost(string, tag = "3")]
579        DataReviewRid(::prost::alloc::string::String),
580    }
581}
582#[derive(Clone, PartialEq, ::prost::Message)]
583pub struct DataReviewPage {
584    #[prost(message, repeated, tag = "1")]
585    pub data_reviews: ::prost::alloc::vec::Vec<DataReview>,
586    #[prost(string, optional, tag = "2")]
587    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
588}
589#[derive(Clone, Copy, PartialEq, ::prost::Message)]
590pub struct DuplicateAndLinkNotebook {}
591#[derive(Clone, PartialEq, ::prost::Message)]
592pub struct ExecutingState {
593    #[prost(string, tag = "1")]
594    pub job_rid: ::prost::alloc::string::String,
595}
596#[derive(Clone, PartialEq, ::prost::Message)]
597pub struct ExecutionRetriggered {
598    #[prost(string, tag = "1")]
599    pub job_rid: ::prost::alloc::string::String,
600}
601#[derive(Clone, PartialEq, ::prost::Message)]
602pub struct FailedToExecuteState {
603    #[prost(string, tag = "1")]
604    pub job_rid: ::prost::alloc::string::String,
605    #[prost(message, optional, tag = "2")]
606    pub review_state: ::core::option::Option<CheckAlertState>,
607    #[prost(string, optional, tag = "3")]
608    pub review_notes: ::core::option::Option<::prost::alloc::string::String>,
609    #[prost(string, repeated, tag = "4")]
610    pub assignee_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
611}
612#[derive(Clone, PartialEq, ::prost::Message)]
613pub struct FindDataReviewsRequest {
614    #[prost(string, repeated, tag = "1")]
615    pub run_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
616    #[prost(string, repeated, tag = "2")]
617    pub asset_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
618    #[prost(bool, optional, tag = "3")]
619    pub filter_by_both_runs_and_assets: ::core::option::Option<bool>,
620    #[prost(message, repeated, tag = "4")]
621    pub checklist_refs: ::prost::alloc::vec::Vec<ChecklistRef>,
622    #[prost(string, optional, tag = "5")]
623    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
624    #[prost(int32, optional, tag = "6")]
625    pub page_size: ::core::option::Option<i32>,
626    #[prost(bool, optional, tag = "7")]
627    pub show_archived: ::core::option::Option<bool>,
628    #[prost(message, optional, tag = "8")]
629    pub archived_statuses: ::core::option::Option<ArchivedStatusSetWrapper>,
630}
631#[derive(Clone, PartialEq, ::prost::Message)]
632pub struct GeneratedAlertsState {
633    #[prost(message, optional, tag = "1")]
634    pub rids: ::core::option::Option<CheckAlertRidSetWrapper>,
635    #[prost(string, repeated, tag = "2")]
636    pub event_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
637}
638#[derive(Clone, PartialEq, ::prost::Message)]
639pub struct GetDataReviewCheckMetricsRequest {
640    #[prost(message, optional, tag = "1")]
641    pub scope: ::core::option::Option<DataReviewCheckMetricsScope>,
642}
643#[derive(Clone, Copy, PartialEq, ::prost::Message)]
644pub struct GetDataReviewCheckMetricsResponse {
645    #[prost(int32, tag = "1")]
646    pub checks_pending_execution: i32,
647    #[prost(int32, tag = "2")]
648    pub checks_executing: i32,
649    #[prost(int32, tag = "3")]
650    pub checks_passed: i32,
651    #[prost(int32, tag = "4")]
652    pub checks_with_events_pending_review: i32,
653    #[prost(int32, tag = "5")]
654    pub checks_with_events_closed_with_ignore: i32,
655    #[prost(int32, tag = "6")]
656    pub checks_with_events_closed_with_further_action: i32,
657    #[prost(int32, tag = "7")]
658    pub checks_with_events: i32,
659    #[prost(int32, tag = "8")]
660    pub checks_with_too_many_events: i32,
661    #[prost(int32, tag = "9")]
662    pub checks_failed_to_execute_pending_review: i32,
663    #[prost(int32, tag = "10")]
664    pub checks_failed_to_execute_closed_with_ignore: i32,
665    #[prost(int32, tag = "11")]
666    pub checks_failed_to_execute_closed_with_further_action: i32,
667    #[prost(int32, tag = "12")]
668    pub checks_failed_to_execute: i32,
669    #[prost(int32, tag = "13")]
670    pub checks_executed: i32,
671    #[prost(int32, tag = "14")]
672    pub checks_total: i32,
673    #[prost(int32, tag = "15")]
674    pub events_pending_review: i32,
675    #[prost(int32, tag = "16")]
676    pub events_closed_with_ignore: i32,
677    #[prost(int32, tag = "17")]
678    pub events_closed_with_further_action: i32,
679    #[prost(int32, tag = "18")]
680    pub events_total: i32,
681}
682#[derive(Clone, Copy, PartialEq, ::prost::Message)]
683pub struct HistogramBucket {
684    #[prost(message, optional, tag = "1")]
685    pub start_inclusive: ::core::option::Option<Timestamp>,
686    #[prost(message, optional, tag = "2")]
687    pub end_exclusive: ::core::option::Option<Timestamp>,
688    #[prost(int32, tag = "3")]
689    pub count: i32,
690}
691#[derive(Clone, Copy, PartialEq, ::prost::Message)]
692pub struct HistogramDistributionVariable {
693    #[prost(
694        oneof = "histogram_distribution_variable::HistogramDistributionVariable",
695        tags = "1"
696    )]
697    pub histogram_distribution_variable: ::core::option::Option<
698        histogram_distribution_variable::HistogramDistributionVariable,
699    >,
700}
701/// Nested message and enum types in `HistogramDistributionVariable`.
702pub mod histogram_distribution_variable {
703    #[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
704    pub enum HistogramDistributionVariable {
705        #[prost(message, tag = "1")]
706        StartTime(super::HistogramStartTimeVariable),
707    }
708}
709#[derive(Clone, Copy, PartialEq, ::prost::Message)]
710pub struct HistogramEndTimeVariable {}
711#[derive(Clone, PartialEq, ::prost::Message)]
712pub struct HistogramPriorityBucket {
713    #[prost(message, optional, tag = "1")]
714    pub start_inclusive: ::core::option::Option<Timestamp>,
715    #[prost(message, optional, tag = "2")]
716    pub end_exclusive: ::core::option::Option<Timestamp>,
717    #[prost(map = "string, int32", tag = "3")]
718    pub counts: ::std::collections::HashMap<::prost::alloc::string::String, i32>,
719}
720#[derive(Clone, Copy, PartialEq, ::prost::Message)]
721pub struct HistogramPriorityVariable {}
722#[derive(Clone, Copy, PartialEq, ::prost::Message)]
723pub struct HistogramStartTimeVariable {}
724#[derive(Clone, PartialEq, ::prost::Message)]
725pub struct HistogramStatusBucket {
726    #[prost(message, optional, tag = "1")]
727    pub start_inclusive: ::core::option::Option<Timestamp>,
728    #[prost(message, optional, tag = "2")]
729    pub end_exclusive: ::core::option::Option<Timestamp>,
730    #[prost(map = "string, int32", tag = "3")]
731    pub counts: ::std::collections::HashMap<::prost::alloc::string::String, i32>,
732}
733#[derive(Clone, Copy, PartialEq, ::prost::Message)]
734pub struct HistogramStatusVariable {}
735#[derive(Clone, Copy, PartialEq, ::prost::Message)]
736pub struct HistogramSubGroupVariable {
737    #[prost(
738        oneof = "histogram_sub_group_variable::HistogramSubGroupVariable",
739        tags = "1, 2"
740    )]
741    pub histogram_sub_group_variable: ::core::option::Option<
742        histogram_sub_group_variable::HistogramSubGroupVariable,
743    >,
744}
745/// Nested message and enum types in `HistogramSubGroupVariable`.
746pub mod histogram_sub_group_variable {
747    #[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
748    pub enum HistogramSubGroupVariable {
749        #[prost(message, tag = "1")]
750        Priority(super::HistogramPriorityVariable),
751        #[prost(message, tag = "2")]
752        Status(super::HistogramStatusVariable),
753    }
754}
755#[derive(Clone, PartialEq, ::prost::Message)]
756pub struct LinkNotebook {
757    #[prost(string, tag = "1")]
758    pub rid: ::prost::alloc::string::String,
759    #[prost(message, optional, tag = "2")]
760    pub strategy: ::core::option::Option<LinkNotebookStrategy>,
761}
762#[derive(Clone, PartialEq, ::prost::Message)]
763pub struct LinkNotebookStrategy {
764    #[prost(oneof = "link_notebook_strategy::LinkNotebookStrategy", tags = "1, 2, 3")]
765    pub link_notebook_strategy: ::core::option::Option<
766        link_notebook_strategy::LinkNotebookStrategy,
767    >,
768}
769/// Nested message and enum types in `LinkNotebookStrategy`.
770pub mod link_notebook_strategy {
771    #[derive(Clone, PartialEq, ::prost::Oneof)]
772    pub enum LinkNotebookStrategy {
773        #[prost(message, tag = "1")]
774        DuplicateAndLinkToNewNotebook(super::DuplicateAndLinkNotebook),
775        #[prost(message, tag = "2")]
776        CloseAndLink(super::CloseAndLinkToNotebook),
777        #[prost(message, tag = "3")]
778        ReopenAndLink(super::ReopenAndLinkToNotebook),
779    }
780}
781#[derive(Clone, PartialEq, ::prost::Message)]
782pub struct ManualCheckAlertAction {
783    #[prost(
784        oneof = "manual_check_alert_action::ManualCheckAlertAction",
785        tags = "1, 2, 3, 4, 5, 6"
786    )]
787    pub manual_check_alert_action: ::core::option::Option<
788        manual_check_alert_action::ManualCheckAlertAction,
789    >,
790}
791/// Nested message and enum types in `ManualCheckAlertAction`.
792pub mod manual_check_alert_action {
793    #[derive(Clone, PartialEq, ::prost::Oneof)]
794    pub enum ManualCheckAlertAction {
795        #[prost(message, tag = "1")]
796        Pass(super::Pass),
797        #[prost(message, tag = "2")]
798        CloseWithFurtherAction(super::CloseWithFurtherAction),
799        #[prost(message, tag = "3")]
800        Reopen(super::Reopen),
801        #[prost(message, tag = "4")]
802        Reassign(super::Reassign),
803        #[prost(message, tag = "5")]
804        UpdateNotes(super::UpdateNotes),
805        #[prost(message, tag = "6")]
806        LinkNotebook(super::LinkNotebook),
807    }
808}
809#[derive(Clone, PartialEq, ::prost::Message)]
810pub struct ManualCheckEvaluation {
811    #[prost(string, tag = "1")]
812    pub rid: ::prost::alloc::string::String,
813    #[prost(string, tag = "2")]
814    pub check_rid: ::prost::alloc::string::String,
815    #[prost(string, tag = "3")]
816    pub data_review_rid: ::prost::alloc::string::String,
817    #[prost(message, optional, tag = "4")]
818    pub state: ::core::option::Option<ManualCheckEvaluationState>,
819    #[prost(string, repeated, tag = "5")]
820    pub assignee_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
821    #[prost(message, optional, tag = "6")]
822    pub chart: ::core::option::Option<VersionedVizId>,
823    #[prost(string, optional, tag = "7")]
824    pub notes: ::core::option::Option<::prost::alloc::string::String>,
825    #[prost(string, optional, tag = "8")]
826    pub notebook: ::core::option::Option<::prost::alloc::string::String>,
827}
828#[derive(Clone, PartialEq, ::prost::Message)]
829pub struct ManualCheckEvaluationActionLog {
830    #[prost(message, repeated, tag = "1")]
831    pub entries: ::prost::alloc::vec::Vec<ManualCheckEvaluationActionLogEntry>,
832}
833#[derive(Clone, PartialEq, ::prost::Message)]
834pub struct ManualCheckEvaluationActionLogEntry {
835    #[prost(string, tag = "1")]
836    pub performed_by: ::prost::alloc::string::String,
837    #[prost(message, optional, tag = "2")]
838    pub action: ::core::option::Option<ManualCheckAlertAction>,
839    #[prost(message, optional, tag = "3")]
840    pub timestamp: ::core::option::Option<
841        super::super::super::google::protobuf::Timestamp,
842    >,
843}
844#[derive(Clone, PartialEq, ::prost::Message)]
845pub struct ManualCheckEvaluationState {
846    #[prost(
847        oneof = "manual_check_evaluation_state::ManualCheckEvaluationState",
848        tags = "1, 2, 3"
849    )]
850    pub manual_check_evaluation_state: ::core::option::Option<
851        manual_check_evaluation_state::ManualCheckEvaluationState,
852    >,
853}
854/// Nested message and enum types in `ManualCheckEvaluationState`.
855pub mod manual_check_evaluation_state {
856    #[derive(Clone, PartialEq, ::prost::Oneof)]
857    pub enum ManualCheckEvaluationState {
858        #[prost(message, tag = "1")]
859        PendingReview(super::PendingReviewState),
860        #[prost(message, tag = "2")]
861        ClosedWithFurtherAction(super::ClosedWithFurtherActionState),
862        #[prost(message, tag = "3")]
863        Passing(super::PassState),
864    }
865}
866#[derive(Clone, PartialEq, ::prost::Message)]
867pub struct Pass {
868    #[prost(string, tag = "1")]
869    pub comment: ::prost::alloc::string::String,
870}
871#[derive(Clone, PartialEq, ::prost::Message)]
872pub struct PassState {
873    #[prost(string, tag = "1")]
874    pub comment: ::prost::alloc::string::String,
875    #[prost(string, tag = "2")]
876    pub closed_by: ::prost::alloc::string::String,
877}
878#[derive(Clone, Copy, PartialEq, ::prost::Message)]
879pub struct PassingExecutionState {}
880#[derive(Clone, PartialEq, ::prost::Message)]
881pub struct PendingExecutionState {
882    #[prost(string, tag = "1")]
883    pub job_rid: ::prost::alloc::string::String,
884}
885#[derive(Clone, Copy, PartialEq, ::prost::Message)]
886pub struct PendingReviewState {}
887#[derive(Clone, PartialEq, ::prost::Message)]
888pub struct Reassign {
889    #[prost(string, repeated, tag = "1")]
890    pub assignee_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
891}
892#[derive(Clone, PartialEq, ::prost::Message)]
893pub struct Reopen {
894    #[prost(string, tag = "1")]
895    pub comment: ::prost::alloc::string::String,
896    #[prost(message, optional, tag = "2")]
897    pub strategy: ::core::option::Option<ReopenStrategy>,
898}
899#[derive(Clone, Copy, PartialEq, ::prost::Message)]
900pub struct ReopenAllLinkedAlerts {}
901#[derive(Clone, Copy, PartialEq, ::prost::Message)]
902pub struct ReopenAndDetachFromNotebook {}
903#[derive(Clone, Copy, PartialEq, ::prost::Message)]
904pub struct ReopenAndDuplicatePreviouslyLinkedNotebook {}
905#[derive(Clone, PartialEq, ::prost::Message)]
906pub struct ReopenAndLinkToNotebook {
907    #[prost(string, tag = "1")]
908    pub comment: ::prost::alloc::string::String,
909}
910#[derive(Clone, Copy, PartialEq, ::prost::Message)]
911pub struct ReopenStrategy {
912    #[prost(oneof = "reopen_strategy::ReopenStrategy", tags = "1, 2, 3")]
913    pub reopen_strategy: ::core::option::Option<reopen_strategy::ReopenStrategy>,
914}
915/// Nested message and enum types in `ReopenStrategy`.
916pub mod reopen_strategy {
917    #[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
918    pub enum ReopenStrategy {
919        #[prost(message, tag = "1")]
920        ReopenAllLinkedAlerts(super::ReopenAllLinkedAlerts),
921        #[prost(message, tag = "2")]
922        ReopenAndDetachFromNotebook(super::ReopenAndDetachFromNotebook),
923        #[prost(message, tag = "3")]
924        ReopenAndDuplicatePreviouslyLinkedNotebook(
925            super::ReopenAndDuplicatePreviouslyLinkedNotebook,
926        ),
927    }
928}
929#[derive(Clone, PartialEq, ::prost::Message)]
930pub struct RerunFailedAutomaticChecksRequest {
931    #[prost(string, tag = "1")]
932    pub data_review_rid: ::prost::alloc::string::String,
933}
934#[derive(Clone, PartialEq, ::prost::Message)]
935pub struct SearchCheckAlertsRequest {
936    #[prost(string, optional, tag = "1")]
937    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
938    #[prost(int32, optional, tag = "2")]
939    pub page_size: ::core::option::Option<i32>,
940    #[prost(message, optional, tag = "3")]
941    pub sort_by: ::core::option::Option<SearchCheckAlertsSortOptions>,
942    #[prost(string, optional, tag = "4")]
943    pub search_text: ::core::option::Option<::prost::alloc::string::String>,
944    #[prost(message, optional, tag = "5")]
945    pub after: ::core::option::Option<Timestamp>,
946    #[prost(message, optional, tag = "6")]
947    pub before: ::core::option::Option<Timestamp>,
948    #[prost(message, optional, tag = "7")]
949    pub status: ::core::option::Option<CheckAlertStatusSetWrapper>,
950    #[prost(message, optional, tag = "8")]
951    pub check_rids: ::core::option::Option<CheckRidSetWrapper>,
952    #[prost(message, optional, tag = "9")]
953    pub data_review_rids: ::core::option::Option<DataReviewRidSetWrapper>,
954    #[prost(message, optional, tag = "10")]
955    pub assignee_rids: ::core::option::Option<UserRidSetWrapper>,
956    #[prost(message, optional, tag = "11")]
957    pub priorities: ::core::option::Option<PrioritySetWrapper>,
958    #[prost(string, repeated, tag = "12")]
959    pub run_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
960    #[prost(string, repeated, tag = "13")]
961    pub asset_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
962    #[prost(message, optional, tag = "14")]
963    pub pinned_checklist_refs: ::core::option::Option<PinnedChecklistRefSetWrapper>,
964    #[prost(message, optional, tag = "15")]
965    pub chart_rids: ::core::option::Option<VersionedVizIdSetWrapper>,
966    #[prost(message, optional, tag = "16")]
967    pub notebook_rids: ::core::option::Option<NotebookRidSetWrapper>,
968    #[prost(bool, optional, tag = "17")]
969    pub show_archived: ::core::option::Option<bool>,
970    #[prost(message, optional, tag = "18")]
971    pub archived_statuses: ::core::option::Option<ArchivedStatusSetWrapper>,
972}
973#[derive(Clone, PartialEq, ::prost::Message)]
974pub struct SearchCheckAlertsResponse {
975    #[prost(string, optional, tag = "1")]
976    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
977    #[prost(message, repeated, tag = "2")]
978    pub check_alerts: ::prost::alloc::vec::Vec<CheckAlert>,
979}
980#[derive(Clone, Copy, PartialEq, ::prost::Message)]
981pub struct SearchCheckAlertsSortOptions {
982    #[prost(bool, tag = "1")]
983    pub is_descending: bool,
984    #[prost(enumeration = "SearchCheckAlertsSortField", tag = "2")]
985    pub field: i32,
986}
987#[derive(Clone, Copy, PartialEq, ::prost::Message)]
988pub struct TooManyAlertsState {}
989#[derive(Clone, Copy, PartialEq, ::prost::Message)]
990pub struct UnarchiveDataReview {}
991#[derive(Clone, Copy, PartialEq, ::prost::Message)]
992pub struct UnlinkNotebook {}
993#[derive(Clone, PartialEq, ::prost::Message)]
994pub struct UpdateNotes {
995    #[prost(string, tag = "1")]
996    pub notes: ::prost::alloc::string::String,
997}
998#[derive(Clone, PartialEq, ::prost::Message)]
999pub struct ArchivedStatusSetWrapper {
1000    #[prost(enumeration = "super::super::types::ArchivedStatus", repeated, tag = "1")]
1001    pub archived_statuses: ::prost::alloc::vec::Vec<i32>,
1002}
1003#[derive(Clone, PartialEq, ::prost::Message)]
1004pub struct CheckAlertStatusSetWrapper {
1005    #[prost(enumeration = "CheckAlertStatus", repeated, tag = "1")]
1006    pub status: ::prost::alloc::vec::Vec<i32>,
1007}
1008#[derive(Clone, PartialEq, ::prost::Message)]
1009pub struct CheckRidSetWrapper {
1010    #[prost(string, repeated, tag = "1")]
1011    pub check_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1012}
1013#[derive(Clone, PartialEq, ::prost::Message)]
1014pub struct CheckAlertRidSetWrapper {
1015    #[prost(string, repeated, tag = "1")]
1016    pub rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1017}
1018#[derive(Clone, PartialEq, ::prost::Message)]
1019pub struct DataReviewRidSetWrapper {
1020    #[prost(string, repeated, tag = "1")]
1021    pub data_review_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1022}
1023#[derive(Clone, PartialEq, ::prost::Message)]
1024pub struct UserRidSetWrapper {
1025    #[prost(string, repeated, tag = "1")]
1026    pub assignee_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1027}
1028#[derive(Clone, PartialEq, ::prost::Message)]
1029pub struct PrioritySetWrapper {
1030    #[prost(enumeration = "super::super::types::Priority", repeated, tag = "1")]
1031    pub priorities: ::prost::alloc::vec::Vec<i32>,
1032}
1033#[derive(Clone, PartialEq, ::prost::Message)]
1034pub struct PinnedChecklistRefSetWrapper {
1035    #[prost(message, repeated, tag = "1")]
1036    pub pinned_checklist_refs: ::prost::alloc::vec::Vec<PinnedChecklistRef>,
1037}
1038#[derive(Clone, PartialEq, ::prost::Message)]
1039pub struct VersionedVizIdSetWrapper {
1040    #[prost(message, repeated, tag = "1")]
1041    pub chart_rids: ::prost::alloc::vec::Vec<VersionedVizId>,
1042}
1043#[derive(Clone, PartialEq, ::prost::Message)]
1044pub struct NotebookRidSetWrapper {
1045    #[prost(string, repeated, tag = "1")]
1046    pub notebook_rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1047}
1048#[derive(Clone, Copy, PartialEq, ::prost::Message)]
1049pub struct RerunFailedAutomaticChecksResponse {}
1050#[derive(Clone, PartialEq, ::prost::Message)]
1051pub struct FindDataReviewsResponse {
1052    #[prost(message, optional, tag = "1")]
1053    pub data_review_page: ::core::option::Option<DataReviewPage>,
1054}
1055#[derive(Clone, PartialEq, ::prost::Message)]
1056pub struct GetRequest {
1057    #[prost(string, tag = "1")]
1058    pub data_review_rid: ::prost::alloc::string::String,
1059}
1060#[derive(Clone, PartialEq, ::prost::Message)]
1061pub struct GetResponse {
1062    #[prost(message, optional, tag = "1")]
1063    pub data_review: ::core::option::Option<DataReview>,
1064}
1065#[derive(Clone, PartialEq, ::prost::Message)]
1066pub struct GetCheckAlertRequest {
1067    #[prost(string, tag = "1")]
1068    pub check_alert_rid: ::prost::alloc::string::String,
1069}
1070#[derive(Clone, PartialEq, ::prost::Message)]
1071pub struct GetCheckAlertResponse {
1072    #[prost(message, optional, tag = "1")]
1073    pub check_alert: ::core::option::Option<CheckAlert>,
1074}
1075#[derive(Clone, PartialEq, ::prost::Message)]
1076pub struct GetCheckAlertsForDataReviewRequest {
1077    #[prost(string, tag = "1")]
1078    pub data_review_rid: ::prost::alloc::string::String,
1079}
1080#[derive(Clone, PartialEq, ::prost::Message)]
1081pub struct GetCheckAlertsForDataReviewResponse {
1082    #[prost(message, repeated, tag = "1")]
1083    pub check_alerts: ::prost::alloc::vec::Vec<CheckAlert>,
1084}
1085#[derive(Clone, PartialEq, ::prost::Message)]
1086pub struct GetCheckAlertActionLogRequest {
1087    #[prost(string, tag = "1")]
1088    pub check_alert_rid: ::prost::alloc::string::String,
1089}
1090#[derive(Clone, PartialEq, ::prost::Message)]
1091pub struct GetCheckAlertActionLogResponse {
1092    #[prost(message, optional, tag = "1")]
1093    pub check_alert_action_log: ::core::option::Option<CheckAlertActionLog>,
1094}
1095#[derive(Clone, PartialEq, ::prost::Message)]
1096pub struct GetCheckAlertCountsForNotebooksRequest {
1097    #[prost(string, repeated, tag = "1")]
1098    pub rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1099}
1100#[derive(Clone, PartialEq, ::prost::Message)]
1101pub struct GetCheckAlertCountsForNotebooksResponse {
1102    #[prost(map = "string, int32", tag = "1")]
1103    pub responses: ::std::collections::HashMap<::prost::alloc::string::String, i32>,
1104}
1105#[derive(Clone, PartialEq, ::prost::Message)]
1106pub struct GetCheckAlertStatusForNotebooksRequest {
1107    #[prost(string, repeated, tag = "1")]
1108    pub rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1109}
1110#[derive(Clone, PartialEq, ::prost::Message)]
1111pub struct GetCheckAlertStatusForNotebooksResponse {
1112    #[prost(map = "string, message", tag = "1")]
1113    pub responses: ::std::collections::HashMap<
1114        ::prost::alloc::string::String,
1115        CheckAlertStatusWrapper,
1116    >,
1117}
1118#[derive(Clone, Copy, PartialEq, ::prost::Message)]
1119pub struct CheckAlertStatusWrapper {
1120    #[prost(enumeration = "CheckAlertStatus", optional, tag = "1")]
1121    pub value: ::core::option::Option<i32>,
1122}
1123#[derive(Clone, PartialEq, ::prost::Message)]
1124pub struct PerformCheckAlertActionRequest {
1125    #[prost(string, tag = "1")]
1126    pub check_alert_rid: ::prost::alloc::string::String,
1127    #[prost(message, optional, tag = "2")]
1128    pub request: ::core::option::Option<CheckAlertAction>,
1129}
1130#[derive(Clone, PartialEq, ::prost::Message)]
1131pub struct PerformCheckAlertActionResponse {
1132    #[prost(message, optional, tag = "1")]
1133    pub check_alert: ::core::option::Option<CheckAlert>,
1134}
1135#[derive(Clone, PartialEq, ::prost::Message)]
1136pub struct GetAutomaticCheckEvaluationActionLogRequest {
1137    #[prost(string, tag = "1")]
1138    pub rid: ::prost::alloc::string::String,
1139}
1140#[derive(Clone, PartialEq, ::prost::Message)]
1141pub struct GetAutomaticCheckEvaluationActionLogResponse {
1142    #[prost(message, optional, tag = "1")]
1143    pub automatic_check_evaluation_action_log: ::core::option::Option<
1144        AutomaticCheckEvaluationActionLog,
1145    >,
1146}
1147#[derive(Clone, Copy, PartialEq, ::prost::Message)]
1148pub struct BatchPerformManualCheckAlertActionResponse {}
1149#[derive(Clone, PartialEq, ::prost::Message)]
1150pub struct GetManualCheckEvaluationActionLogRequest {
1151    #[prost(string, tag = "1")]
1152    pub rid: ::prost::alloc::string::String,
1153}
1154#[derive(Clone, PartialEq, ::prost::Message)]
1155pub struct GetManualCheckEvaluationActionLogResponse {
1156    #[prost(message, optional, tag = "1")]
1157    pub manual_check_evaluation_action_log: ::core::option::Option<
1158        ManualCheckEvaluationActionLog,
1159    >,
1160}
1161#[derive(Clone, PartialEq, ::prost::Message)]
1162pub struct ArchiveDataReviewRequest {
1163    #[prost(string, tag = "1")]
1164    pub data_review_rid: ::prost::alloc::string::String,
1165}
1166#[derive(Clone, Copy, PartialEq, ::prost::Message)]
1167pub struct ArchiveDataReviewResponse {
1168    #[prost(bool, tag = "1")]
1169    pub archived: bool,
1170}
1171#[derive(Clone, PartialEq, ::prost::Message)]
1172pub struct BatchArchiveDataReviewRequest {
1173    #[prost(string, repeated, tag = "1")]
1174    pub rids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1175}
1176#[derive(Clone, Copy, PartialEq, ::prost::Message)]
1177pub struct BatchArchiveDataReviewResponse {}
1178#[derive(Clone, PartialEq, ::prost::Message)]
1179pub struct UnarchiveDataReviewRequest {
1180    #[prost(string, tag = "1")]
1181    pub data_review_rid: ::prost::alloc::string::String,
1182}
1183#[derive(Clone, Copy, PartialEq, ::prost::Message)]
1184pub struct UnarchiveDataReviewResponse {}
1185#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
1186#[repr(i32)]
1187pub enum NotificationFilter {
1188    Unspecified = 0,
1189    ExecutionError = 1,
1190}
1191impl NotificationFilter {
1192    /// String value of the enum field names used in the ProtoBuf definition.
1193    ///
1194    /// The values are not transformed in any way and thus are considered stable
1195    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
1196    pub fn as_str_name(&self) -> &'static str {
1197        match self {
1198            Self::Unspecified => "NOTIFICATION_FILTER_UNSPECIFIED",
1199            Self::ExecutionError => "EXECUTION_ERROR",
1200        }
1201    }
1202    /// Creates an enum from field names used in the ProtoBuf definition.
1203    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
1204        match value {
1205            "NOTIFICATION_FILTER_UNSPECIFIED" => Some(Self::Unspecified),
1206            "EXECUTION_ERROR" => Some(Self::ExecutionError),
1207            _ => None,
1208        }
1209    }
1210}
1211#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
1212#[repr(i32)]
1213pub enum CheckAlertStatus {
1214    Unspecified = 0,
1215    PendingReview = 1,
1216    ClosedIgnored = 2,
1217    ClosedRequiresFurtherAction = 3,
1218}
1219impl CheckAlertStatus {
1220    /// String value of the enum field names used in the ProtoBuf definition.
1221    ///
1222    /// The values are not transformed in any way and thus are considered stable
1223    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
1224    pub fn as_str_name(&self) -> &'static str {
1225        match self {
1226            Self::Unspecified => "CHECK_ALERT_STATUS_UNSPECIFIED",
1227            Self::PendingReview => "PENDING_REVIEW",
1228            Self::ClosedIgnored => "CLOSED_IGNORED",
1229            Self::ClosedRequiresFurtherAction => "CLOSED_REQUIRES_FURTHER_ACTION",
1230        }
1231    }
1232    /// Creates an enum from field names used in the ProtoBuf definition.
1233    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
1234        match value {
1235            "CHECK_ALERT_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
1236            "PENDING_REVIEW" => Some(Self::PendingReview),
1237            "CLOSED_IGNORED" => Some(Self::ClosedIgnored),
1238            "CLOSED_REQUIRES_FURTHER_ACTION" => Some(Self::ClosedRequiresFurtherAction),
1239            _ => None,
1240        }
1241    }
1242}
1243#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
1244#[repr(i32)]
1245pub enum SearchCheckAlertsSortField {
1246    Unspecified = 0,
1247    CheckName = 1,
1248    Start = 2,
1249    End = 3,
1250    Status = 4,
1251    Priority = 5,
1252    Duration = 6,
1253}
1254impl SearchCheckAlertsSortField {
1255    /// String value of the enum field names used in the ProtoBuf definition.
1256    ///
1257    /// The values are not transformed in any way and thus are considered stable
1258    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
1259    pub fn as_str_name(&self) -> &'static str {
1260        match self {
1261            Self::Unspecified => "SEARCH_CHECK_ALERTS_SORT_FIELD_UNSPECIFIED",
1262            Self::CheckName => "CHECK_NAME",
1263            Self::Start => "START",
1264            Self::End => "END",
1265            Self::Status => "STATUS",
1266            Self::Priority => "PRIORITY",
1267            Self::Duration => "DURATION",
1268        }
1269    }
1270    /// Creates an enum from field names used in the ProtoBuf definition.
1271    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
1272        match value {
1273            "SEARCH_CHECK_ALERTS_SORT_FIELD_UNSPECIFIED" => Some(Self::Unspecified),
1274            "CHECK_NAME" => Some(Self::CheckName),
1275            "START" => Some(Self::Start),
1276            "END" => Some(Self::End),
1277            "STATUS" => Some(Self::Status),
1278            "PRIORITY" => Some(Self::Priority),
1279            "DURATION" => Some(Self::Duration),
1280            _ => None,
1281        }
1282    }
1283}
1284#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
1285#[repr(i32)]
1286pub enum Status {
1287    Unspecified = 0,
1288    Pass = 1,
1289    Fail = 2,
1290}
1291impl Status {
1292    /// String value of the enum field names used in the ProtoBuf definition.
1293    ///
1294    /// The values are not transformed in any way and thus are considered stable
1295    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
1296    pub fn as_str_name(&self) -> &'static str {
1297        match self {
1298            Self::Unspecified => "STATUS_UNSPECIFIED",
1299            Self::Pass => "PASS",
1300            Self::Fail => "FAIL",
1301        }
1302    }
1303    /// Creates an enum from field names used in the ProtoBuf definition.
1304    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
1305        match value {
1306            "STATUS_UNSPECIFIED" => Some(Self::Unspecified),
1307            "PASS" => Some(Self::Pass),
1308            "FAIL" => Some(Self::Fail),
1309            _ => None,
1310        }
1311    }
1312}
1313#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
1314#[repr(i32)]
1315pub enum DataReviewError {
1316    InvalidDataReviewRequest = 0,
1317}
1318impl DataReviewError {
1319    /// String value of the enum field names used in the ProtoBuf definition.
1320    ///
1321    /// The values are not transformed in any way and thus are considered stable
1322    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
1323    pub fn as_str_name(&self) -> &'static str {
1324        match self {
1325            Self::InvalidDataReviewRequest => {
1326                "DATA_REVIEW_ERROR_INVALID_DATA_REVIEW_REQUEST"
1327            }
1328        }
1329    }
1330    /// Creates an enum from field names used in the ProtoBuf definition.
1331    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
1332        match value {
1333            "DATA_REVIEW_ERROR_INVALID_DATA_REVIEW_REQUEST" => {
1334                Some(Self::InvalidDataReviewRequest)
1335            }
1336            _ => None,
1337        }
1338    }
1339}
1340/// Generated client implementations.
1341pub mod data_review_service_client {
1342    #![allow(
1343        unused_variables,
1344        dead_code,
1345        missing_docs,
1346        clippy::wildcard_imports,
1347        clippy::let_unit_value,
1348    )]
1349    use tonic::codegen::*;
1350    use tonic::codegen::http::Uri;
1351    #[derive(Debug, Clone)]
1352    pub struct DataReviewServiceClient<T> {
1353        inner: tonic::client::Grpc<T>,
1354    }
1355    impl DataReviewServiceClient<tonic::transport::Channel> {
1356        /// Attempt to create a new client by connecting to a given endpoint.
1357        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
1358        where
1359            D: TryInto<tonic::transport::Endpoint>,
1360            D::Error: Into<StdError>,
1361        {
1362            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
1363            Ok(Self::new(conn))
1364        }
1365    }
1366    impl<T> DataReviewServiceClient<T>
1367    where
1368        T: tonic::client::GrpcService<tonic::body::Body>,
1369        T::Error: Into<StdError>,
1370        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
1371        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
1372    {
1373        pub fn new(inner: T) -> Self {
1374            let inner = tonic::client::Grpc::new(inner);
1375            Self { inner }
1376        }
1377        pub fn with_origin(inner: T, origin: Uri) -> Self {
1378            let inner = tonic::client::Grpc::with_origin(inner, origin);
1379            Self { inner }
1380        }
1381        pub fn with_interceptor<F>(
1382            inner: T,
1383            interceptor: F,
1384        ) -> DataReviewServiceClient<InterceptedService<T, F>>
1385        where
1386            F: tonic::service::Interceptor,
1387            T::ResponseBody: Default,
1388            T: tonic::codegen::Service<
1389                http::Request<tonic::body::Body>,
1390                Response = http::Response<
1391                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
1392                >,
1393            >,
1394            <T as tonic::codegen::Service<
1395                http::Request<tonic::body::Body>,
1396            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
1397        {
1398            DataReviewServiceClient::new(InterceptedService::new(inner, interceptor))
1399        }
1400        /// Compress requests with the given encoding.
1401        ///
1402        /// This requires the server to support it otherwise it might respond with an
1403        /// error.
1404        #[must_use]
1405        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
1406            self.inner = self.inner.send_compressed(encoding);
1407            self
1408        }
1409        /// Enable decompressing responses.
1410        #[must_use]
1411        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
1412            self.inner = self.inner.accept_compressed(encoding);
1413            self
1414        }
1415        /// Limits the maximum size of a decoded message.
1416        ///
1417        /// Default: `4MB`
1418        #[must_use]
1419        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
1420            self.inner = self.inner.max_decoding_message_size(limit);
1421            self
1422        }
1423        /// Limits the maximum size of an encoded message.
1424        ///
1425        /// Default: `usize::MAX`
1426        #[must_use]
1427        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
1428            self.inner = self.inner.max_encoding_message_size(limit);
1429            self
1430        }
1431        pub async fn batch_initiate(
1432            &mut self,
1433            request: impl tonic::IntoRequest<super::BatchInitiateDataReviewRequest>,
1434        ) -> std::result::Result<
1435            tonic::Response<super::BatchInitiateDataReviewResponse>,
1436            tonic::Status,
1437        > {
1438            self.inner
1439                .ready()
1440                .await
1441                .map_err(|e| {
1442                    tonic::Status::unknown(
1443                        format!("Service was not ready: {}", e.into()),
1444                    )
1445                })?;
1446            let codec = tonic::codec::ProstCodec::default();
1447            let path = http::uri::PathAndQuery::from_static(
1448                "/nominal.datareview.v1.DataReviewService/BatchInitiate",
1449            );
1450            let mut req = request.into_request();
1451            req.extensions_mut()
1452                .insert(
1453                    GrpcMethod::new(
1454                        "nominal.datareview.v1.DataReviewService",
1455                        "BatchInitiate",
1456                    ),
1457                );
1458            self.inner.unary(req, path, codec).await
1459        }
1460        pub async fn rerun_failed_automatic_checks(
1461            &mut self,
1462            request: impl tonic::IntoRequest<super::RerunFailedAutomaticChecksRequest>,
1463        ) -> std::result::Result<
1464            tonic::Response<super::RerunFailedAutomaticChecksResponse>,
1465            tonic::Status,
1466        > {
1467            self.inner
1468                .ready()
1469                .await
1470                .map_err(|e| {
1471                    tonic::Status::unknown(
1472                        format!("Service was not ready: {}", e.into()),
1473                    )
1474                })?;
1475            let codec = tonic::codec::ProstCodec::default();
1476            let path = http::uri::PathAndQuery::from_static(
1477                "/nominal.datareview.v1.DataReviewService/RerunFailedAutomaticChecks",
1478            );
1479            let mut req = request.into_request();
1480            req.extensions_mut()
1481                .insert(
1482                    GrpcMethod::new(
1483                        "nominal.datareview.v1.DataReviewService",
1484                        "RerunFailedAutomaticChecks",
1485                    ),
1486                );
1487            self.inner.unary(req, path, codec).await
1488        }
1489        pub async fn find_data_reviews(
1490            &mut self,
1491            request: impl tonic::IntoRequest<super::FindDataReviewsRequest>,
1492        ) -> std::result::Result<
1493            tonic::Response<super::FindDataReviewsResponse>,
1494            tonic::Status,
1495        > {
1496            self.inner
1497                .ready()
1498                .await
1499                .map_err(|e| {
1500                    tonic::Status::unknown(
1501                        format!("Service was not ready: {}", e.into()),
1502                    )
1503                })?;
1504            let codec = tonic::codec::ProstCodec::default();
1505            let path = http::uri::PathAndQuery::from_static(
1506                "/nominal.datareview.v1.DataReviewService/FindDataReviews",
1507            );
1508            let mut req = request.into_request();
1509            req.extensions_mut()
1510                .insert(
1511                    GrpcMethod::new(
1512                        "nominal.datareview.v1.DataReviewService",
1513                        "FindDataReviews",
1514                    ),
1515                );
1516            self.inner.unary(req, path, codec).await
1517        }
1518        pub async fn get(
1519            &mut self,
1520            request: impl tonic::IntoRequest<super::GetRequest>,
1521        ) -> std::result::Result<tonic::Response<super::GetResponse>, tonic::Status> {
1522            self.inner
1523                .ready()
1524                .await
1525                .map_err(|e| {
1526                    tonic::Status::unknown(
1527                        format!("Service was not ready: {}", e.into()),
1528                    )
1529                })?;
1530            let codec = tonic::codec::ProstCodec::default();
1531            let path = http::uri::PathAndQuery::from_static(
1532                "/nominal.datareview.v1.DataReviewService/Get",
1533            );
1534            let mut req = request.into_request();
1535            req.extensions_mut()
1536                .insert(
1537                    GrpcMethod::new("nominal.datareview.v1.DataReviewService", "Get"),
1538                );
1539            self.inner.unary(req, path, codec).await
1540        }
1541        pub async fn get_check_alert(
1542            &mut self,
1543            request: impl tonic::IntoRequest<super::GetCheckAlertRequest>,
1544        ) -> std::result::Result<
1545            tonic::Response<super::GetCheckAlertResponse>,
1546            tonic::Status,
1547        > {
1548            self.inner
1549                .ready()
1550                .await
1551                .map_err(|e| {
1552                    tonic::Status::unknown(
1553                        format!("Service was not ready: {}", e.into()),
1554                    )
1555                })?;
1556            let codec = tonic::codec::ProstCodec::default();
1557            let path = http::uri::PathAndQuery::from_static(
1558                "/nominal.datareview.v1.DataReviewService/GetCheckAlert",
1559            );
1560            let mut req = request.into_request();
1561            req.extensions_mut()
1562                .insert(
1563                    GrpcMethod::new(
1564                        "nominal.datareview.v1.DataReviewService",
1565                        "GetCheckAlert",
1566                    ),
1567                );
1568            self.inner.unary(req, path, codec).await
1569        }
1570        pub async fn get_check_alerts_for_data_review(
1571            &mut self,
1572            request: impl tonic::IntoRequest<super::GetCheckAlertsForDataReviewRequest>,
1573        ) -> std::result::Result<
1574            tonic::Response<super::GetCheckAlertsForDataReviewResponse>,
1575            tonic::Status,
1576        > {
1577            self.inner
1578                .ready()
1579                .await
1580                .map_err(|e| {
1581                    tonic::Status::unknown(
1582                        format!("Service was not ready: {}", e.into()),
1583                    )
1584                })?;
1585            let codec = tonic::codec::ProstCodec::default();
1586            let path = http::uri::PathAndQuery::from_static(
1587                "/nominal.datareview.v1.DataReviewService/GetCheckAlertsForDataReview",
1588            );
1589            let mut req = request.into_request();
1590            req.extensions_mut()
1591                .insert(
1592                    GrpcMethod::new(
1593                        "nominal.datareview.v1.DataReviewService",
1594                        "GetCheckAlertsForDataReview",
1595                    ),
1596                );
1597            self.inner.unary(req, path, codec).await
1598        }
1599        pub async fn get_check_alerts_histogram(
1600            &mut self,
1601            request: impl tonic::IntoRequest<super::CheckAlertsHistogramRequest>,
1602        ) -> std::result::Result<
1603            tonic::Response<super::CheckAlertsHistogramResponse>,
1604            tonic::Status,
1605        > {
1606            self.inner
1607                .ready()
1608                .await
1609                .map_err(|e| {
1610                    tonic::Status::unknown(
1611                        format!("Service was not ready: {}", e.into()),
1612                    )
1613                })?;
1614            let codec = tonic::codec::ProstCodec::default();
1615            let path = http::uri::PathAndQuery::from_static(
1616                "/nominal.datareview.v1.DataReviewService/GetCheckAlertsHistogram",
1617            );
1618            let mut req = request.into_request();
1619            req.extensions_mut()
1620                .insert(
1621                    GrpcMethod::new(
1622                        "nominal.datareview.v1.DataReviewService",
1623                        "GetCheckAlertsHistogram",
1624                    ),
1625                );
1626            self.inner.unary(req, path, codec).await
1627        }
1628        pub async fn search_check_alerts(
1629            &mut self,
1630            request: impl tonic::IntoRequest<super::SearchCheckAlertsRequest>,
1631        ) -> std::result::Result<
1632            tonic::Response<super::SearchCheckAlertsResponse>,
1633            tonic::Status,
1634        > {
1635            self.inner
1636                .ready()
1637                .await
1638                .map_err(|e| {
1639                    tonic::Status::unknown(
1640                        format!("Service was not ready: {}", e.into()),
1641                    )
1642                })?;
1643            let codec = tonic::codec::ProstCodec::default();
1644            let path = http::uri::PathAndQuery::from_static(
1645                "/nominal.datareview.v1.DataReviewService/SearchCheckAlerts",
1646            );
1647            let mut req = request.into_request();
1648            req.extensions_mut()
1649                .insert(
1650                    GrpcMethod::new(
1651                        "nominal.datareview.v1.DataReviewService",
1652                        "SearchCheckAlerts",
1653                    ),
1654                );
1655            self.inner.unary(req, path, codec).await
1656        }
1657        pub async fn get_check_alert_action_log(
1658            &mut self,
1659            request: impl tonic::IntoRequest<super::GetCheckAlertActionLogRequest>,
1660        ) -> std::result::Result<
1661            tonic::Response<super::GetCheckAlertActionLogResponse>,
1662            tonic::Status,
1663        > {
1664            self.inner
1665                .ready()
1666                .await
1667                .map_err(|e| {
1668                    tonic::Status::unknown(
1669                        format!("Service was not ready: {}", e.into()),
1670                    )
1671                })?;
1672            let codec = tonic::codec::ProstCodec::default();
1673            let path = http::uri::PathAndQuery::from_static(
1674                "/nominal.datareview.v1.DataReviewService/GetCheckAlertActionLog",
1675            );
1676            let mut req = request.into_request();
1677            req.extensions_mut()
1678                .insert(
1679                    GrpcMethod::new(
1680                        "nominal.datareview.v1.DataReviewService",
1681                        "GetCheckAlertActionLog",
1682                    ),
1683                );
1684            self.inner.unary(req, path, codec).await
1685        }
1686        pub async fn get_check_alert_counts_for_notebooks(
1687            &mut self,
1688            request: impl tonic::IntoRequest<
1689                super::GetCheckAlertCountsForNotebooksRequest,
1690            >,
1691        ) -> std::result::Result<
1692            tonic::Response<super::GetCheckAlertCountsForNotebooksResponse>,
1693            tonic::Status,
1694        > {
1695            self.inner
1696                .ready()
1697                .await
1698                .map_err(|e| {
1699                    tonic::Status::unknown(
1700                        format!("Service was not ready: {}", e.into()),
1701                    )
1702                })?;
1703            let codec = tonic::codec::ProstCodec::default();
1704            let path = http::uri::PathAndQuery::from_static(
1705                "/nominal.datareview.v1.DataReviewService/GetCheckAlertCountsForNotebooks",
1706            );
1707            let mut req = request.into_request();
1708            req.extensions_mut()
1709                .insert(
1710                    GrpcMethod::new(
1711                        "nominal.datareview.v1.DataReviewService",
1712                        "GetCheckAlertCountsForNotebooks",
1713                    ),
1714                );
1715            self.inner.unary(req, path, codec).await
1716        }
1717        pub async fn get_check_alert_status_for_notebooks(
1718            &mut self,
1719            request: impl tonic::IntoRequest<
1720                super::GetCheckAlertStatusForNotebooksRequest,
1721            >,
1722        ) -> std::result::Result<
1723            tonic::Response<super::GetCheckAlertStatusForNotebooksResponse>,
1724            tonic::Status,
1725        > {
1726            self.inner
1727                .ready()
1728                .await
1729                .map_err(|e| {
1730                    tonic::Status::unknown(
1731                        format!("Service was not ready: {}", e.into()),
1732                    )
1733                })?;
1734            let codec = tonic::codec::ProstCodec::default();
1735            let path = http::uri::PathAndQuery::from_static(
1736                "/nominal.datareview.v1.DataReviewService/GetCheckAlertStatusForNotebooks",
1737            );
1738            let mut req = request.into_request();
1739            req.extensions_mut()
1740                .insert(
1741                    GrpcMethod::new(
1742                        "nominal.datareview.v1.DataReviewService",
1743                        "GetCheckAlertStatusForNotebooks",
1744                    ),
1745                );
1746            self.inner.unary(req, path, codec).await
1747        }
1748        pub async fn perform_check_alert_action(
1749            &mut self,
1750            request: impl tonic::IntoRequest<super::PerformCheckAlertActionRequest>,
1751        ) -> std::result::Result<
1752            tonic::Response<super::PerformCheckAlertActionResponse>,
1753            tonic::Status,
1754        > {
1755            self.inner
1756                .ready()
1757                .await
1758                .map_err(|e| {
1759                    tonic::Status::unknown(
1760                        format!("Service was not ready: {}", e.into()),
1761                    )
1762                })?;
1763            let codec = tonic::codec::ProstCodec::default();
1764            let path = http::uri::PathAndQuery::from_static(
1765                "/nominal.datareview.v1.DataReviewService/PerformCheckAlertAction",
1766            );
1767            let mut req = request.into_request();
1768            req.extensions_mut()
1769                .insert(
1770                    GrpcMethod::new(
1771                        "nominal.datareview.v1.DataReviewService",
1772                        "PerformCheckAlertAction",
1773                    ),
1774                );
1775            self.inner.unary(req, path, codec).await
1776        }
1777        pub async fn batch_perform_check_alert_action(
1778            &mut self,
1779            request: impl tonic::IntoRequest<super::BatchCheckAlertActionRequest>,
1780        ) -> std::result::Result<
1781            tonic::Response<super::BatchCheckAlertActionResponse>,
1782            tonic::Status,
1783        > {
1784            self.inner
1785                .ready()
1786                .await
1787                .map_err(|e| {
1788                    tonic::Status::unknown(
1789                        format!("Service was not ready: {}", e.into()),
1790                    )
1791                })?;
1792            let codec = tonic::codec::ProstCodec::default();
1793            let path = http::uri::PathAndQuery::from_static(
1794                "/nominal.datareview.v1.DataReviewService/BatchPerformCheckAlertAction",
1795            );
1796            let mut req = request.into_request();
1797            req.extensions_mut()
1798                .insert(
1799                    GrpcMethod::new(
1800                        "nominal.datareview.v1.DataReviewService",
1801                        "BatchPerformCheckAlertAction",
1802                    ),
1803                );
1804            self.inner.unary(req, path, codec).await
1805        }
1806        pub async fn batch_perform_automatic_check_evaluation_review_action(
1807            &mut self,
1808            request: impl tonic::IntoRequest<
1809                super::BatchAutomaticCheckEvaluationActionRequest,
1810            >,
1811        ) -> std::result::Result<
1812            tonic::Response<super::BatchAutomaticCheckEvaluationActionResponse>,
1813            tonic::Status,
1814        > {
1815            self.inner
1816                .ready()
1817                .await
1818                .map_err(|e| {
1819                    tonic::Status::unknown(
1820                        format!("Service was not ready: {}", e.into()),
1821                    )
1822                })?;
1823            let codec = tonic::codec::ProstCodec::default();
1824            let path = http::uri::PathAndQuery::from_static(
1825                "/nominal.datareview.v1.DataReviewService/BatchPerformAutomaticCheckEvaluationReviewAction",
1826            );
1827            let mut req = request.into_request();
1828            req.extensions_mut()
1829                .insert(
1830                    GrpcMethod::new(
1831                        "nominal.datareview.v1.DataReviewService",
1832                        "BatchPerformAutomaticCheckEvaluationReviewAction",
1833                    ),
1834                );
1835            self.inner.unary(req, path, codec).await
1836        }
1837        pub async fn get_automatic_check_evaluation_action_log(
1838            &mut self,
1839            request: impl tonic::IntoRequest<
1840                super::GetAutomaticCheckEvaluationActionLogRequest,
1841            >,
1842        ) -> std::result::Result<
1843            tonic::Response<super::GetAutomaticCheckEvaluationActionLogResponse>,
1844            tonic::Status,
1845        > {
1846            self.inner
1847                .ready()
1848                .await
1849                .map_err(|e| {
1850                    tonic::Status::unknown(
1851                        format!("Service was not ready: {}", e.into()),
1852                    )
1853                })?;
1854            let codec = tonic::codec::ProstCodec::default();
1855            let path = http::uri::PathAndQuery::from_static(
1856                "/nominal.datareview.v1.DataReviewService/GetAutomaticCheckEvaluationActionLog",
1857            );
1858            let mut req = request.into_request();
1859            req.extensions_mut()
1860                .insert(
1861                    GrpcMethod::new(
1862                        "nominal.datareview.v1.DataReviewService",
1863                        "GetAutomaticCheckEvaluationActionLog",
1864                    ),
1865                );
1866            self.inner.unary(req, path, codec).await
1867        }
1868        pub async fn batch_perform_manual_check_alert_action(
1869            &mut self,
1870            request: impl tonic::IntoRequest<
1871                super::BatchManualCheckEvaluationActionRequest,
1872            >,
1873        ) -> std::result::Result<
1874            tonic::Response<super::BatchPerformManualCheckAlertActionResponse>,
1875            tonic::Status,
1876        > {
1877            self.inner
1878                .ready()
1879                .await
1880                .map_err(|e| {
1881                    tonic::Status::unknown(
1882                        format!("Service was not ready: {}", e.into()),
1883                    )
1884                })?;
1885            let codec = tonic::codec::ProstCodec::default();
1886            let path = http::uri::PathAndQuery::from_static(
1887                "/nominal.datareview.v1.DataReviewService/BatchPerformManualCheckAlertAction",
1888            );
1889            let mut req = request.into_request();
1890            req.extensions_mut()
1891                .insert(
1892                    GrpcMethod::new(
1893                        "nominal.datareview.v1.DataReviewService",
1894                        "BatchPerformManualCheckAlertAction",
1895                    ),
1896                );
1897            self.inner.unary(req, path, codec).await
1898        }
1899        pub async fn get_manual_check_evaluation_action_log(
1900            &mut self,
1901            request: impl tonic::IntoRequest<
1902                super::GetManualCheckEvaluationActionLogRequest,
1903            >,
1904        ) -> std::result::Result<
1905            tonic::Response<super::GetManualCheckEvaluationActionLogResponse>,
1906            tonic::Status,
1907        > {
1908            self.inner
1909                .ready()
1910                .await
1911                .map_err(|e| {
1912                    tonic::Status::unknown(
1913                        format!("Service was not ready: {}", e.into()),
1914                    )
1915                })?;
1916            let codec = tonic::codec::ProstCodec::default();
1917            let path = http::uri::PathAndQuery::from_static(
1918                "/nominal.datareview.v1.DataReviewService/GetManualCheckEvaluationActionLog",
1919            );
1920            let mut req = request.into_request();
1921            req.extensions_mut()
1922                .insert(
1923                    GrpcMethod::new(
1924                        "nominal.datareview.v1.DataReviewService",
1925                        "GetManualCheckEvaluationActionLog",
1926                    ),
1927                );
1928            self.inner.unary(req, path, codec).await
1929        }
1930        pub async fn archive_data_review(
1931            &mut self,
1932            request: impl tonic::IntoRequest<super::ArchiveDataReviewRequest>,
1933        ) -> std::result::Result<
1934            tonic::Response<super::ArchiveDataReviewResponse>,
1935            tonic::Status,
1936        > {
1937            self.inner
1938                .ready()
1939                .await
1940                .map_err(|e| {
1941                    tonic::Status::unknown(
1942                        format!("Service was not ready: {}", e.into()),
1943                    )
1944                })?;
1945            let codec = tonic::codec::ProstCodec::default();
1946            let path = http::uri::PathAndQuery::from_static(
1947                "/nominal.datareview.v1.DataReviewService/ArchiveDataReview",
1948            );
1949            let mut req = request.into_request();
1950            req.extensions_mut()
1951                .insert(
1952                    GrpcMethod::new(
1953                        "nominal.datareview.v1.DataReviewService",
1954                        "ArchiveDataReview",
1955                    ),
1956                );
1957            self.inner.unary(req, path, codec).await
1958        }
1959        pub async fn batch_archive_data_review(
1960            &mut self,
1961            request: impl tonic::IntoRequest<super::BatchArchiveDataReviewRequest>,
1962        ) -> std::result::Result<
1963            tonic::Response<super::BatchArchiveDataReviewResponse>,
1964            tonic::Status,
1965        > {
1966            self.inner
1967                .ready()
1968                .await
1969                .map_err(|e| {
1970                    tonic::Status::unknown(
1971                        format!("Service was not ready: {}", e.into()),
1972                    )
1973                })?;
1974            let codec = tonic::codec::ProstCodec::default();
1975            let path = http::uri::PathAndQuery::from_static(
1976                "/nominal.datareview.v1.DataReviewService/BatchArchiveDataReview",
1977            );
1978            let mut req = request.into_request();
1979            req.extensions_mut()
1980                .insert(
1981                    GrpcMethod::new(
1982                        "nominal.datareview.v1.DataReviewService",
1983                        "BatchArchiveDataReview",
1984                    ),
1985                );
1986            self.inner.unary(req, path, codec).await
1987        }
1988        pub async fn unarchive_data_review(
1989            &mut self,
1990            request: impl tonic::IntoRequest<super::UnarchiveDataReviewRequest>,
1991        ) -> std::result::Result<
1992            tonic::Response<super::UnarchiveDataReviewResponse>,
1993            tonic::Status,
1994        > {
1995            self.inner
1996                .ready()
1997                .await
1998                .map_err(|e| {
1999                    tonic::Status::unknown(
2000                        format!("Service was not ready: {}", e.into()),
2001                    )
2002                })?;
2003            let codec = tonic::codec::ProstCodec::default();
2004            let path = http::uri::PathAndQuery::from_static(
2005                "/nominal.datareview.v1.DataReviewService/UnarchiveDataReview",
2006            );
2007            let mut req = request.into_request();
2008            req.extensions_mut()
2009                .insert(
2010                    GrpcMethod::new(
2011                        "nominal.datareview.v1.DataReviewService",
2012                        "UnarchiveDataReview",
2013                    ),
2014                );
2015            self.inner.unary(req, path, codec).await
2016        }
2017        pub async fn get_data_review_check_metrics(
2018            &mut self,
2019            request: impl tonic::IntoRequest<super::GetDataReviewCheckMetricsRequest>,
2020        ) -> std::result::Result<
2021            tonic::Response<super::GetDataReviewCheckMetricsResponse>,
2022            tonic::Status,
2023        > {
2024            self.inner
2025                .ready()
2026                .await
2027                .map_err(|e| {
2028                    tonic::Status::unknown(
2029                        format!("Service was not ready: {}", e.into()),
2030                    )
2031                })?;
2032            let codec = tonic::codec::ProstCodec::default();
2033            let path = http::uri::PathAndQuery::from_static(
2034                "/nominal.datareview.v1.DataReviewService/GetDataReviewCheckMetrics",
2035            );
2036            let mut req = request.into_request();
2037            req.extensions_mut()
2038                .insert(
2039                    GrpcMethod::new(
2040                        "nominal.datareview.v1.DataReviewService",
2041                        "GetDataReviewCheckMetrics",
2042                    ),
2043                );
2044            self.inner.unary(req, path, codec).await
2045        }
2046    }
2047}