google_cloud_documentai_v1/model/
debug.rs

1// Copyright 2025 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Code generated by sidekick. DO NOT EDIT.
16
17#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Barcode {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("Barcode");
23        debug_struct.field("format", &self.format);
24        debug_struct.field("value_format", &self.value_format);
25        debug_struct.field("raw_value", &self.raw_value);
26        if !self._unknown_fields.is_empty() {
27            debug_struct.field("_unknown_fields", &self._unknown_fields);
28        }
29        debug_struct.finish()
30    }
31}
32
33impl std::fmt::Debug for super::Document {
34    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
35        let mut debug_struct = f.debug_struct("Document");
36        debug_struct.field("docid", &self.docid);
37        debug_struct.field("mime_type", &self.mime_type);
38        debug_struct.field("text", &self.text);
39        debug_struct.field("text_styles", &self.text_styles);
40        debug_struct.field("pages", &self.pages);
41        debug_struct.field("entities", &self.entities);
42        debug_struct.field("entity_relations", &self.entity_relations);
43        debug_struct.field("text_changes", &self.text_changes);
44        debug_struct.field("shard_info", &self.shard_info);
45        debug_struct.field("error", &self.error);
46        debug_struct.field("revisions", &self.revisions);
47        debug_struct.field("document_layout", &self.document_layout);
48        debug_struct.field("chunked_document", &self.chunked_document);
49        debug_struct.field("entity_validation_output", &self.entity_validation_output);
50        debug_struct.field("entities_revisions", &self.entities_revisions);
51        debug_struct.field("entities_revision_id", &self.entities_revision_id);
52        debug_struct.field("source", &self.source);
53        if !self._unknown_fields.is_empty() {
54            debug_struct.field("_unknown_fields", &self._unknown_fields);
55        }
56        debug_struct.finish()
57    }
58}
59
60impl std::fmt::Debug for super::document::ShardInfo {
61    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
62        let mut debug_struct = f.debug_struct("ShardInfo");
63        debug_struct.field("shard_index", &self.shard_index);
64        debug_struct.field("shard_count", &self.shard_count);
65        debug_struct.field("text_offset", &self.text_offset);
66        if !self._unknown_fields.is_empty() {
67            debug_struct.field("_unknown_fields", &self._unknown_fields);
68        }
69        debug_struct.finish()
70    }
71}
72
73impl std::fmt::Debug for super::document::Style {
74    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
75        let mut debug_struct = f.debug_struct("Style");
76        debug_struct.field("text_anchor", &self.text_anchor);
77        debug_struct.field("color", &self.color);
78        debug_struct.field("background_color", &self.background_color);
79        debug_struct.field("font_weight", &self.font_weight);
80        debug_struct.field("text_style", &self.text_style);
81        debug_struct.field("text_decoration", &self.text_decoration);
82        debug_struct.field("font_size", &self.font_size);
83        debug_struct.field("font_family", &self.font_family);
84        if !self._unknown_fields.is_empty() {
85            debug_struct.field("_unknown_fields", &self._unknown_fields);
86        }
87        debug_struct.finish()
88    }
89}
90
91impl std::fmt::Debug for super::document::style::FontSize {
92    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
93        let mut debug_struct = f.debug_struct("FontSize");
94        debug_struct.field("size", &self.size);
95        debug_struct.field("unit", &self.unit);
96        if !self._unknown_fields.is_empty() {
97            debug_struct.field("_unknown_fields", &self._unknown_fields);
98        }
99        debug_struct.finish()
100    }
101}
102
103impl std::fmt::Debug for super::document::Page {
104    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
105        let mut debug_struct = f.debug_struct("Page");
106        debug_struct.field("page_number", &self.page_number);
107        debug_struct.field("image", &self.image);
108        debug_struct.field("transforms", &self.transforms);
109        debug_struct.field("dimension", &self.dimension);
110        debug_struct.field("layout", &self.layout);
111        debug_struct.field("detected_languages", &self.detected_languages);
112        debug_struct.field("blocks", &self.blocks);
113        debug_struct.field("paragraphs", &self.paragraphs);
114        debug_struct.field("lines", &self.lines);
115        debug_struct.field("tokens", &self.tokens);
116        debug_struct.field("visual_elements", &self.visual_elements);
117        debug_struct.field("tables", &self.tables);
118        debug_struct.field("form_fields", &self.form_fields);
119        debug_struct.field("symbols", &self.symbols);
120        debug_struct.field("detected_barcodes", &self.detected_barcodes);
121        debug_struct.field("image_quality_scores", &self.image_quality_scores);
122        debug_struct.field("provenance", &self.provenance);
123        if !self._unknown_fields.is_empty() {
124            debug_struct.field("_unknown_fields", &self._unknown_fields);
125        }
126        debug_struct.finish()
127    }
128}
129
130impl std::fmt::Debug for super::document::page::Dimension {
131    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
132        let mut debug_struct = f.debug_struct("Dimension");
133        debug_struct.field("width", &self.width);
134        debug_struct.field("height", &self.height);
135        debug_struct.field("unit", &self.unit);
136        if !self._unknown_fields.is_empty() {
137            debug_struct.field("_unknown_fields", &self._unknown_fields);
138        }
139        debug_struct.finish()
140    }
141}
142
143impl std::fmt::Debug for super::document::page::Image {
144    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
145        let mut debug_struct = f.debug_struct("Image");
146        debug_struct.field("content", &self.content);
147        debug_struct.field("mime_type", &self.mime_type);
148        debug_struct.field("width", &self.width);
149        debug_struct.field("height", &self.height);
150        if !self._unknown_fields.is_empty() {
151            debug_struct.field("_unknown_fields", &self._unknown_fields);
152        }
153        debug_struct.finish()
154    }
155}
156
157impl std::fmt::Debug for super::document::page::Matrix {
158    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
159        let mut debug_struct = f.debug_struct("Matrix");
160        debug_struct.field("rows", &self.rows);
161        debug_struct.field("cols", &self.cols);
162        debug_struct.field("r#type", &self.r#type);
163        debug_struct.field("data", &self.data);
164        if !self._unknown_fields.is_empty() {
165            debug_struct.field("_unknown_fields", &self._unknown_fields);
166        }
167        debug_struct.finish()
168    }
169}
170
171impl std::fmt::Debug for super::document::page::Layout {
172    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
173        let mut debug_struct = f.debug_struct("Layout");
174        debug_struct.field("text_anchor", &self.text_anchor);
175        debug_struct.field("confidence", &self.confidence);
176        debug_struct.field("bounding_poly", &self.bounding_poly);
177        debug_struct.field("orientation", &self.orientation);
178        if !self._unknown_fields.is_empty() {
179            debug_struct.field("_unknown_fields", &self._unknown_fields);
180        }
181        debug_struct.finish()
182    }
183}
184
185impl std::fmt::Debug for super::document::page::Block {
186    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
187        let mut debug_struct = f.debug_struct("Block");
188        debug_struct.field("layout", &self.layout);
189        debug_struct.field("detected_languages", &self.detected_languages);
190        debug_struct.field("provenance", &self.provenance);
191        if !self._unknown_fields.is_empty() {
192            debug_struct.field("_unknown_fields", &self._unknown_fields);
193        }
194        debug_struct.finish()
195    }
196}
197
198impl std::fmt::Debug for super::document::page::Paragraph {
199    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
200        let mut debug_struct = f.debug_struct("Paragraph");
201        debug_struct.field("layout", &self.layout);
202        debug_struct.field("detected_languages", &self.detected_languages);
203        debug_struct.field("provenance", &self.provenance);
204        if !self._unknown_fields.is_empty() {
205            debug_struct.field("_unknown_fields", &self._unknown_fields);
206        }
207        debug_struct.finish()
208    }
209}
210
211impl std::fmt::Debug for super::document::page::Line {
212    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
213        let mut debug_struct = f.debug_struct("Line");
214        debug_struct.field("layout", &self.layout);
215        debug_struct.field("detected_languages", &self.detected_languages);
216        debug_struct.field("provenance", &self.provenance);
217        if !self._unknown_fields.is_empty() {
218            debug_struct.field("_unknown_fields", &self._unknown_fields);
219        }
220        debug_struct.finish()
221    }
222}
223
224impl std::fmt::Debug for super::document::page::Token {
225    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
226        let mut debug_struct = f.debug_struct("Token");
227        debug_struct.field("layout", &self.layout);
228        debug_struct.field("detected_break", &self.detected_break);
229        debug_struct.field("detected_languages", &self.detected_languages);
230        debug_struct.field("provenance", &self.provenance);
231        debug_struct.field("style_info", &self.style_info);
232        if !self._unknown_fields.is_empty() {
233            debug_struct.field("_unknown_fields", &self._unknown_fields);
234        }
235        debug_struct.finish()
236    }
237}
238
239impl std::fmt::Debug for super::document::page::token::DetectedBreak {
240    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
241        let mut debug_struct = f.debug_struct("DetectedBreak");
242        debug_struct.field("r#type", &self.r#type);
243        if !self._unknown_fields.is_empty() {
244            debug_struct.field("_unknown_fields", &self._unknown_fields);
245        }
246        debug_struct.finish()
247    }
248}
249
250impl std::fmt::Debug for super::document::page::token::StyleInfo {
251    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
252        let mut debug_struct = f.debug_struct("StyleInfo");
253        debug_struct.field("font_size", &self.font_size);
254        debug_struct.field("pixel_font_size", &self.pixel_font_size);
255        debug_struct.field("letter_spacing", &self.letter_spacing);
256        debug_struct.field("font_type", &self.font_type);
257        debug_struct.field("bold", &self.bold);
258        debug_struct.field("italic", &self.italic);
259        debug_struct.field("underlined", &self.underlined);
260        debug_struct.field("strikeout", &self.strikeout);
261        debug_struct.field("subscript", &self.subscript);
262        debug_struct.field("superscript", &self.superscript);
263        debug_struct.field("smallcaps", &self.smallcaps);
264        debug_struct.field("font_weight", &self.font_weight);
265        debug_struct.field("handwritten", &self.handwritten);
266        debug_struct.field("text_color", &self.text_color);
267        debug_struct.field("background_color", &self.background_color);
268        if !self._unknown_fields.is_empty() {
269            debug_struct.field("_unknown_fields", &self._unknown_fields);
270        }
271        debug_struct.finish()
272    }
273}
274
275impl std::fmt::Debug for super::document::page::Symbol {
276    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
277        let mut debug_struct = f.debug_struct("Symbol");
278        debug_struct.field("layout", &self.layout);
279        debug_struct.field("detected_languages", &self.detected_languages);
280        if !self._unknown_fields.is_empty() {
281            debug_struct.field("_unknown_fields", &self._unknown_fields);
282        }
283        debug_struct.finish()
284    }
285}
286
287impl std::fmt::Debug for super::document::page::VisualElement {
288    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
289        let mut debug_struct = f.debug_struct("VisualElement");
290        debug_struct.field("layout", &self.layout);
291        debug_struct.field("r#type", &self.r#type);
292        debug_struct.field("detected_languages", &self.detected_languages);
293        if !self._unknown_fields.is_empty() {
294            debug_struct.field("_unknown_fields", &self._unknown_fields);
295        }
296        debug_struct.finish()
297    }
298}
299
300impl std::fmt::Debug for super::document::page::Table {
301    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
302        let mut debug_struct = f.debug_struct("Table");
303        debug_struct.field("layout", &self.layout);
304        debug_struct.field("header_rows", &self.header_rows);
305        debug_struct.field("body_rows", &self.body_rows);
306        debug_struct.field("detected_languages", &self.detected_languages);
307        debug_struct.field("provenance", &self.provenance);
308        if !self._unknown_fields.is_empty() {
309            debug_struct.field("_unknown_fields", &self._unknown_fields);
310        }
311        debug_struct.finish()
312    }
313}
314
315impl std::fmt::Debug for super::document::page::table::TableRow {
316    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
317        let mut debug_struct = f.debug_struct("TableRow");
318        debug_struct.field("cells", &self.cells);
319        if !self._unknown_fields.is_empty() {
320            debug_struct.field("_unknown_fields", &self._unknown_fields);
321        }
322        debug_struct.finish()
323    }
324}
325
326impl std::fmt::Debug for super::document::page::table::TableCell {
327    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
328        let mut debug_struct = f.debug_struct("TableCell");
329        debug_struct.field("layout", &self.layout);
330        debug_struct.field("row_span", &self.row_span);
331        debug_struct.field("col_span", &self.col_span);
332        debug_struct.field("detected_languages", &self.detected_languages);
333        if !self._unknown_fields.is_empty() {
334            debug_struct.field("_unknown_fields", &self._unknown_fields);
335        }
336        debug_struct.finish()
337    }
338}
339
340impl std::fmt::Debug for super::document::page::FormField {
341    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
342        let mut debug_struct = f.debug_struct("FormField");
343        debug_struct.field("field_name", &self.field_name);
344        debug_struct.field("field_value", &self.field_value);
345        debug_struct.field("name_detected_languages", &self.name_detected_languages);
346        debug_struct.field("value_detected_languages", &self.value_detected_languages);
347        debug_struct.field("value_type", &self.value_type);
348        debug_struct.field("corrected_key_text", &self.corrected_key_text);
349        debug_struct.field("corrected_value_text", &self.corrected_value_text);
350        debug_struct.field("provenance", &self.provenance);
351        if !self._unknown_fields.is_empty() {
352            debug_struct.field("_unknown_fields", &self._unknown_fields);
353        }
354        debug_struct.finish()
355    }
356}
357
358impl std::fmt::Debug for super::document::page::DetectedBarcode {
359    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
360        let mut debug_struct = f.debug_struct("DetectedBarcode");
361        debug_struct.field("layout", &self.layout);
362        debug_struct.field("barcode", &self.barcode);
363        if !self._unknown_fields.is_empty() {
364            debug_struct.field("_unknown_fields", &self._unknown_fields);
365        }
366        debug_struct.finish()
367    }
368}
369
370impl std::fmt::Debug for super::document::page::DetectedLanguage {
371    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
372        let mut debug_struct = f.debug_struct("DetectedLanguage");
373        debug_struct.field("language_code", &self.language_code);
374        debug_struct.field("confidence", &self.confidence);
375        if !self._unknown_fields.is_empty() {
376            debug_struct.field("_unknown_fields", &self._unknown_fields);
377        }
378        debug_struct.finish()
379    }
380}
381
382impl std::fmt::Debug for super::document::page::ImageQualityScores {
383    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
384        let mut debug_struct = f.debug_struct("ImageQualityScores");
385        debug_struct.field("quality_score", &self.quality_score);
386        debug_struct.field("detected_defects", &self.detected_defects);
387        if !self._unknown_fields.is_empty() {
388            debug_struct.field("_unknown_fields", &self._unknown_fields);
389        }
390        debug_struct.finish()
391    }
392}
393
394impl std::fmt::Debug for super::document::page::image_quality_scores::DetectedDefect {
395    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
396        let mut debug_struct = f.debug_struct("DetectedDefect");
397        debug_struct.field("r#type", &self.r#type);
398        debug_struct.field("confidence", &self.confidence);
399        if !self._unknown_fields.is_empty() {
400            debug_struct.field("_unknown_fields", &self._unknown_fields);
401        }
402        debug_struct.finish()
403    }
404}
405
406impl std::fmt::Debug for super::document::Entity {
407    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
408        let mut debug_struct = f.debug_struct("Entity");
409        debug_struct.field("text_anchor", &self.text_anchor);
410        debug_struct.field("r#type", &self.r#type);
411        debug_struct.field("mention_text", &self.mention_text);
412        debug_struct.field("mention_id", &self.mention_id);
413        debug_struct.field("confidence", &self.confidence);
414        debug_struct.field("page_anchor", &self.page_anchor);
415        debug_struct.field("id", &self.id);
416        debug_struct.field("normalized_value", &self.normalized_value);
417        debug_struct.field("properties", &self.properties);
418        debug_struct.field("provenance", &self.provenance);
419        debug_struct.field("redacted", &self.redacted);
420        debug_struct.field("method", &self.method);
421        if !self._unknown_fields.is_empty() {
422            debug_struct.field("_unknown_fields", &self._unknown_fields);
423        }
424        debug_struct.finish()
425    }
426}
427
428impl std::fmt::Debug for super::document::entity::NormalizedValue {
429    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
430        let mut debug_struct = f.debug_struct("NormalizedValue");
431        debug_struct.field("text", &self.text);
432        debug_struct.field("structured_value", &self.structured_value);
433        if !self._unknown_fields.is_empty() {
434            debug_struct.field("_unknown_fields", &self._unknown_fields);
435        }
436        debug_struct.finish()
437    }
438}
439
440impl std::fmt::Debug for super::document::EntityRelation {
441    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
442        let mut debug_struct = f.debug_struct("EntityRelation");
443        debug_struct.field("subject_id", &self.subject_id);
444        debug_struct.field("object_id", &self.object_id);
445        debug_struct.field("relation", &self.relation);
446        if !self._unknown_fields.is_empty() {
447            debug_struct.field("_unknown_fields", &self._unknown_fields);
448        }
449        debug_struct.finish()
450    }
451}
452
453impl std::fmt::Debug for super::document::TextAnchor {
454    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
455        let mut debug_struct = f.debug_struct("TextAnchor");
456        debug_struct.field("text_segments", &self.text_segments);
457        debug_struct.field("content", &self.content);
458        if !self._unknown_fields.is_empty() {
459            debug_struct.field("_unknown_fields", &self._unknown_fields);
460        }
461        debug_struct.finish()
462    }
463}
464
465impl std::fmt::Debug for super::document::text_anchor::TextSegment {
466    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
467        let mut debug_struct = f.debug_struct("TextSegment");
468        debug_struct.field("start_index", &self.start_index);
469        debug_struct.field("end_index", &self.end_index);
470        if !self._unknown_fields.is_empty() {
471            debug_struct.field("_unknown_fields", &self._unknown_fields);
472        }
473        debug_struct.finish()
474    }
475}
476
477impl std::fmt::Debug for super::document::PageAnchor {
478    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
479        let mut debug_struct = f.debug_struct("PageAnchor");
480        debug_struct.field("page_refs", &self.page_refs);
481        if !self._unknown_fields.is_empty() {
482            debug_struct.field("_unknown_fields", &self._unknown_fields);
483        }
484        debug_struct.finish()
485    }
486}
487
488impl std::fmt::Debug for super::document::page_anchor::PageRef {
489    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
490        let mut debug_struct = f.debug_struct("PageRef");
491        debug_struct.field("page", &self.page);
492        debug_struct.field("layout_type", &self.layout_type);
493        debug_struct.field("layout_id", &self.layout_id);
494        debug_struct.field("bounding_poly", &self.bounding_poly);
495        debug_struct.field("confidence", &self.confidence);
496        if !self._unknown_fields.is_empty() {
497            debug_struct.field("_unknown_fields", &self._unknown_fields);
498        }
499        debug_struct.finish()
500    }
501}
502
503impl std::fmt::Debug for super::document::Provenance {
504    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
505        let mut debug_struct = f.debug_struct("Provenance");
506        debug_struct.field("revision", &self.revision);
507        debug_struct.field("id", &self.id);
508        debug_struct.field("parents", &self.parents);
509        debug_struct.field("r#type", &self.r#type);
510        if !self._unknown_fields.is_empty() {
511            debug_struct.field("_unknown_fields", &self._unknown_fields);
512        }
513        debug_struct.finish()
514    }
515}
516
517impl std::fmt::Debug for super::document::provenance::Parent {
518    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
519        let mut debug_struct = f.debug_struct("Parent");
520        debug_struct.field("revision", &self.revision);
521        debug_struct.field("index", &self.index);
522        debug_struct.field("id", &self.id);
523        if !self._unknown_fields.is_empty() {
524            debug_struct.field("_unknown_fields", &self._unknown_fields);
525        }
526        debug_struct.finish()
527    }
528}
529
530impl std::fmt::Debug for super::document::Revision {
531    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
532        let mut debug_struct = f.debug_struct("Revision");
533        debug_struct.field("id", &self.id);
534        debug_struct.field("parent", &self.parent);
535        debug_struct.field("parent_ids", &self.parent_ids);
536        debug_struct.field("create_time", &self.create_time);
537        debug_struct.field("human_review", &self.human_review);
538        debug_struct.field("source", &self.source);
539        if !self._unknown_fields.is_empty() {
540            debug_struct.field("_unknown_fields", &self._unknown_fields);
541        }
542        debug_struct.finish()
543    }
544}
545
546impl std::fmt::Debug for super::document::revision::HumanReview {
547    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
548        let mut debug_struct = f.debug_struct("HumanReview");
549        debug_struct.field("state", &self.state);
550        debug_struct.field("state_message", &self.state_message);
551        if !self._unknown_fields.is_empty() {
552            debug_struct.field("_unknown_fields", &self._unknown_fields);
553        }
554        debug_struct.finish()
555    }
556}
557
558impl std::fmt::Debug for super::document::TextChange {
559    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
560        let mut debug_struct = f.debug_struct("TextChange");
561        debug_struct.field("text_anchor", &self.text_anchor);
562        debug_struct.field("changed_text", &self.changed_text);
563        debug_struct.field("provenance", &self.provenance);
564        if !self._unknown_fields.is_empty() {
565            debug_struct.field("_unknown_fields", &self._unknown_fields);
566        }
567        debug_struct.finish()
568    }
569}
570
571impl std::fmt::Debug for super::document::DocumentLayout {
572    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
573        let mut debug_struct = f.debug_struct("DocumentLayout");
574        debug_struct.field("blocks", &self.blocks);
575        if !self._unknown_fields.is_empty() {
576            debug_struct.field("_unknown_fields", &self._unknown_fields);
577        }
578        debug_struct.finish()
579    }
580}
581
582impl std::fmt::Debug for super::document::document_layout::DocumentLayoutBlock {
583    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
584        let mut debug_struct = f.debug_struct("DocumentLayoutBlock");
585        debug_struct.field("block_id", &self.block_id);
586        debug_struct.field("page_span", &self.page_span);
587        debug_struct.field("bounding_box", &self.bounding_box);
588        debug_struct.field("block", &self.block);
589        if !self._unknown_fields.is_empty() {
590            debug_struct.field("_unknown_fields", &self._unknown_fields);
591        }
592        debug_struct.finish()
593    }
594}
595
596impl std::fmt::Debug for super::document::document_layout::document_layout_block::LayoutPageSpan {
597    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
598        let mut debug_struct = f.debug_struct("LayoutPageSpan");
599        debug_struct.field("page_start", &self.page_start);
600        debug_struct.field("page_end", &self.page_end);
601        if !self._unknown_fields.is_empty() {
602            debug_struct.field("_unknown_fields", &self._unknown_fields);
603        }
604        debug_struct.finish()
605    }
606}
607
608impl std::fmt::Debug for super::document::document_layout::document_layout_block::LayoutTextBlock {
609    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
610        let mut debug_struct = f.debug_struct("LayoutTextBlock");
611        debug_struct.field("text", &self.text);
612        debug_struct.field("r#type", &self.r#type);
613        debug_struct.field("blocks", &self.blocks);
614        if !self._unknown_fields.is_empty() {
615            debug_struct.field("_unknown_fields", &self._unknown_fields);
616        }
617        debug_struct.finish()
618    }
619}
620
621impl std::fmt::Debug for super::document::document_layout::document_layout_block::LayoutTableBlock {
622    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
623        let mut debug_struct = f.debug_struct("LayoutTableBlock");
624        debug_struct.field("header_rows", &self.header_rows);
625        debug_struct.field("body_rows", &self.body_rows);
626        debug_struct.field("caption", &self.caption);
627        if !self._unknown_fields.is_empty() {
628            debug_struct.field("_unknown_fields", &self._unknown_fields);
629        }
630        debug_struct.finish()
631    }
632}
633
634impl std::fmt::Debug for super::document::document_layout::document_layout_block::LayoutTableRow {
635    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
636        let mut debug_struct = f.debug_struct("LayoutTableRow");
637        debug_struct.field("cells", &self.cells);
638        if !self._unknown_fields.is_empty() {
639            debug_struct.field("_unknown_fields", &self._unknown_fields);
640        }
641        debug_struct.finish()
642    }
643}
644
645impl std::fmt::Debug for super::document::document_layout::document_layout_block::LayoutTableCell {
646    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
647        let mut debug_struct = f.debug_struct("LayoutTableCell");
648        debug_struct.field("blocks", &self.blocks);
649        debug_struct.field("row_span", &self.row_span);
650        debug_struct.field("col_span", &self.col_span);
651        if !self._unknown_fields.is_empty() {
652            debug_struct.field("_unknown_fields", &self._unknown_fields);
653        }
654        debug_struct.finish()
655    }
656}
657
658impl std::fmt::Debug for super::document::document_layout::document_layout_block::LayoutListBlock {
659    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
660        let mut debug_struct = f.debug_struct("LayoutListBlock");
661        debug_struct.field("list_entries", &self.list_entries);
662        debug_struct.field("r#type", &self.r#type);
663        if !self._unknown_fields.is_empty() {
664            debug_struct.field("_unknown_fields", &self._unknown_fields);
665        }
666        debug_struct.finish()
667    }
668}
669
670impl std::fmt::Debug for super::document::document_layout::document_layout_block::LayoutListEntry {
671    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
672        let mut debug_struct = f.debug_struct("LayoutListEntry");
673        debug_struct.field("blocks", &self.blocks);
674        if !self._unknown_fields.is_empty() {
675            debug_struct.field("_unknown_fields", &self._unknown_fields);
676        }
677        debug_struct.finish()
678    }
679}
680
681impl std::fmt::Debug for super::document::ChunkedDocument {
682    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
683        let mut debug_struct = f.debug_struct("ChunkedDocument");
684        debug_struct.field("chunks", &self.chunks);
685        if !self._unknown_fields.is_empty() {
686            debug_struct.field("_unknown_fields", &self._unknown_fields);
687        }
688        debug_struct.finish()
689    }
690}
691
692impl std::fmt::Debug for super::document::chunked_document::Chunk {
693    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
694        let mut debug_struct = f.debug_struct("Chunk");
695        debug_struct.field("chunk_id", &self.chunk_id);
696        debug_struct.field("source_block_ids", &self.source_block_ids);
697        debug_struct.field("content", &self.content);
698        debug_struct.field("page_span", &self.page_span);
699        debug_struct.field("page_headers", &self.page_headers);
700        debug_struct.field("page_footers", &self.page_footers);
701        if !self._unknown_fields.is_empty() {
702            debug_struct.field("_unknown_fields", &self._unknown_fields);
703        }
704        debug_struct.finish()
705    }
706}
707
708impl std::fmt::Debug for super::document::chunked_document::chunk::ChunkPageSpan {
709    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
710        let mut debug_struct = f.debug_struct("ChunkPageSpan");
711        debug_struct.field("page_start", &self.page_start);
712        debug_struct.field("page_end", &self.page_end);
713        if !self._unknown_fields.is_empty() {
714            debug_struct.field("_unknown_fields", &self._unknown_fields);
715        }
716        debug_struct.finish()
717    }
718}
719
720impl std::fmt::Debug for super::document::chunked_document::chunk::ChunkPageHeader {
721    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
722        let mut debug_struct = f.debug_struct("ChunkPageHeader");
723        debug_struct.field("text", &self.text);
724        debug_struct.field("page_span", &self.page_span);
725        if !self._unknown_fields.is_empty() {
726            debug_struct.field("_unknown_fields", &self._unknown_fields);
727        }
728        debug_struct.finish()
729    }
730}
731
732impl std::fmt::Debug for super::document::chunked_document::chunk::ChunkPageFooter {
733    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
734        let mut debug_struct = f.debug_struct("ChunkPageFooter");
735        debug_struct.field("text", &self.text);
736        debug_struct.field("page_span", &self.page_span);
737        if !self._unknown_fields.is_empty() {
738            debug_struct.field("_unknown_fields", &self._unknown_fields);
739        }
740        debug_struct.finish()
741    }
742}
743
744impl std::fmt::Debug for super::document::EntityValidationOutput {
745    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
746        let mut debug_struct = f.debug_struct("EntityValidationOutput");
747        debug_struct.field("validation_results", &self.validation_results);
748        debug_struct.field("pass_all_rules", &self.pass_all_rules);
749        if !self._unknown_fields.is_empty() {
750            debug_struct.field("_unknown_fields", &self._unknown_fields);
751        }
752        debug_struct.finish()
753    }
754}
755
756impl std::fmt::Debug for super::document::entity_validation_output::ValidationResult {
757    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
758        let mut debug_struct = f.debug_struct("ValidationResult");
759        debug_struct.field("rule_name", &self.rule_name);
760        debug_struct.field("rule_description", &self.rule_description);
761        debug_struct.field("validation_result_type", &self.validation_result_type);
762        debug_struct.field("validation_details", &self.validation_details);
763        if !self._unknown_fields.is_empty() {
764            debug_struct.field("_unknown_fields", &self._unknown_fields);
765        }
766        debug_struct.finish()
767    }
768}
769
770impl std::fmt::Debug for super::document::EntitiesRevision {
771    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
772        let mut debug_struct = f.debug_struct("EntitiesRevision");
773        debug_struct.field("revision_id", &self.revision_id);
774        debug_struct.field("entities", &self.entities);
775        debug_struct.field("entity_validation_output", &self.entity_validation_output);
776        if !self._unknown_fields.is_empty() {
777            debug_struct.field("_unknown_fields", &self._unknown_fields);
778        }
779        debug_struct.finish()
780    }
781}
782
783impl std::fmt::Debug for super::RawDocument {
784    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
785        let mut debug_struct = f.debug_struct("RawDocument");
786        debug_struct.field("content", &self.content);
787        debug_struct.field("mime_type", &self.mime_type);
788        debug_struct.field("display_name", &self.display_name);
789        if !self._unknown_fields.is_empty() {
790            debug_struct.field("_unknown_fields", &self._unknown_fields);
791        }
792        debug_struct.finish()
793    }
794}
795
796impl std::fmt::Debug for super::GcsDocument {
797    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
798        let mut debug_struct = f.debug_struct("GcsDocument");
799        debug_struct.field("gcs_uri", &self.gcs_uri);
800        debug_struct.field("mime_type", &self.mime_type);
801        if !self._unknown_fields.is_empty() {
802            debug_struct.field("_unknown_fields", &self._unknown_fields);
803        }
804        debug_struct.finish()
805    }
806}
807
808impl std::fmt::Debug for super::GcsDocuments {
809    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
810        let mut debug_struct = f.debug_struct("GcsDocuments");
811        debug_struct.field("documents", &self.documents);
812        if !self._unknown_fields.is_empty() {
813            debug_struct.field("_unknown_fields", &self._unknown_fields);
814        }
815        debug_struct.finish()
816    }
817}
818
819impl std::fmt::Debug for super::GcsPrefix {
820    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
821        let mut debug_struct = f.debug_struct("GcsPrefix");
822        debug_struct.field("gcs_uri_prefix", &self.gcs_uri_prefix);
823        if !self._unknown_fields.is_empty() {
824            debug_struct.field("_unknown_fields", &self._unknown_fields);
825        }
826        debug_struct.finish()
827    }
828}
829
830impl std::fmt::Debug for super::BatchDocumentsInputConfig {
831    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
832        let mut debug_struct = f.debug_struct("BatchDocumentsInputConfig");
833        debug_struct.field("source", &self.source);
834        if !self._unknown_fields.is_empty() {
835            debug_struct.field("_unknown_fields", &self._unknown_fields);
836        }
837        debug_struct.finish()
838    }
839}
840
841impl std::fmt::Debug for super::DocumentOutputConfig {
842    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
843        let mut debug_struct = f.debug_struct("DocumentOutputConfig");
844        debug_struct.field("destination", &self.destination);
845        if !self._unknown_fields.is_empty() {
846            debug_struct.field("_unknown_fields", &self._unknown_fields);
847        }
848        debug_struct.finish()
849    }
850}
851
852impl std::fmt::Debug for super::document_output_config::GcsOutputConfig {
853    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
854        let mut debug_struct = f.debug_struct("GcsOutputConfig");
855        debug_struct.field("gcs_uri", &self.gcs_uri);
856        debug_struct.field("field_mask", &self.field_mask);
857        debug_struct.field("sharding_config", &self.sharding_config);
858        if !self._unknown_fields.is_empty() {
859            debug_struct.field("_unknown_fields", &self._unknown_fields);
860        }
861        debug_struct.finish()
862    }
863}
864
865impl std::fmt::Debug for super::document_output_config::gcs_output_config::ShardingConfig {
866    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
867        let mut debug_struct = f.debug_struct("ShardingConfig");
868        debug_struct.field("pages_per_shard", &self.pages_per_shard);
869        debug_struct.field("pages_overlap", &self.pages_overlap);
870        if !self._unknown_fields.is_empty() {
871            debug_struct.field("_unknown_fields", &self._unknown_fields);
872        }
873        debug_struct.finish()
874    }
875}
876
877impl std::fmt::Debug for super::OcrConfig {
878    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
879        let mut debug_struct = f.debug_struct("OcrConfig");
880        debug_struct.field("hints", &self.hints);
881        debug_struct.field("enable_native_pdf_parsing", &self.enable_native_pdf_parsing);
882        debug_struct.field(
883            "enable_image_quality_scores",
884            &self.enable_image_quality_scores,
885        );
886        debug_struct.field("advanced_ocr_options", &self.advanced_ocr_options);
887        debug_struct.field("enable_symbol", &self.enable_symbol);
888        debug_struct.field("compute_style_info", &self.compute_style_info);
889        debug_struct.field(
890            "disable_character_boxes_detection",
891            &self.disable_character_boxes_detection,
892        );
893        debug_struct.field("premium_features", &self.premium_features);
894        if !self._unknown_fields.is_empty() {
895            debug_struct.field("_unknown_fields", &self._unknown_fields);
896        }
897        debug_struct.finish()
898    }
899}
900
901impl std::fmt::Debug for super::ocr_config::Hints {
902    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
903        let mut debug_struct = f.debug_struct("Hints");
904        debug_struct.field("language_hints", &self.language_hints);
905        if !self._unknown_fields.is_empty() {
906            debug_struct.field("_unknown_fields", &self._unknown_fields);
907        }
908        debug_struct.finish()
909    }
910}
911
912impl std::fmt::Debug for super::ocr_config::PremiumFeatures {
913    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
914        let mut debug_struct = f.debug_struct("PremiumFeatures");
915        debug_struct.field(
916            "enable_selection_mark_detection",
917            &self.enable_selection_mark_detection,
918        );
919        debug_struct.field("compute_style_info", &self.compute_style_info);
920        debug_struct.field("enable_math_ocr", &self.enable_math_ocr);
921        if !self._unknown_fields.is_empty() {
922            debug_struct.field("_unknown_fields", &self._unknown_fields);
923        }
924        debug_struct.finish()
925    }
926}
927
928impl std::fmt::Debug for super::ProcessOptions {
929    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
930        let mut debug_struct = f.debug_struct("ProcessOptions");
931        debug_struct.field("ocr_config", &self.ocr_config);
932        debug_struct.field("layout_config", &self.layout_config);
933        debug_struct.field("schema_override", &self.schema_override);
934        debug_struct.field("page_range", &self.page_range);
935        if !self._unknown_fields.is_empty() {
936            debug_struct.field("_unknown_fields", &self._unknown_fields);
937        }
938        debug_struct.finish()
939    }
940}
941
942impl std::fmt::Debug for super::process_options::LayoutConfig {
943    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
944        let mut debug_struct = f.debug_struct("LayoutConfig");
945        debug_struct.field("chunking_config", &self.chunking_config);
946        debug_struct.field("return_images", &self.return_images);
947        debug_struct.field("return_bounding_boxes", &self.return_bounding_boxes);
948        if !self._unknown_fields.is_empty() {
949            debug_struct.field("_unknown_fields", &self._unknown_fields);
950        }
951        debug_struct.finish()
952    }
953}
954
955impl std::fmt::Debug for super::process_options::layout_config::ChunkingConfig {
956    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
957        let mut debug_struct = f.debug_struct("ChunkingConfig");
958        debug_struct.field("chunk_size", &self.chunk_size);
959        debug_struct.field("include_ancestor_headings", &self.include_ancestor_headings);
960        if !self._unknown_fields.is_empty() {
961            debug_struct.field("_unknown_fields", &self._unknown_fields);
962        }
963        debug_struct.finish()
964    }
965}
966
967impl std::fmt::Debug for super::process_options::IndividualPageSelector {
968    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
969        let mut debug_struct = f.debug_struct("IndividualPageSelector");
970        debug_struct.field("pages", &self.pages);
971        if !self._unknown_fields.is_empty() {
972            debug_struct.field("_unknown_fields", &self._unknown_fields);
973        }
974        debug_struct.finish()
975    }
976}
977
978impl std::fmt::Debug for super::ProcessRequest {
979    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
980        let mut debug_struct = f.debug_struct("ProcessRequest");
981        debug_struct.field("name", &self.name);
982        debug_struct.field("skip_human_review", &self.skip_human_review);
983        debug_struct.field("field_mask", &self.field_mask);
984        debug_struct.field("process_options", &self.process_options);
985        debug_struct.field("labels", &self.labels);
986        debug_struct.field("imageless_mode", &self.imageless_mode);
987        debug_struct.field("source", &self.source);
988        if !self._unknown_fields.is_empty() {
989            debug_struct.field("_unknown_fields", &self._unknown_fields);
990        }
991        debug_struct.finish()
992    }
993}
994
995impl std::fmt::Debug for super::HumanReviewStatus {
996    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
997        let mut debug_struct = f.debug_struct("HumanReviewStatus");
998        debug_struct.field("state", &self.state);
999        debug_struct.field("state_message", &self.state_message);
1000        debug_struct.field("human_review_operation", &self.human_review_operation);
1001        if !self._unknown_fields.is_empty() {
1002            debug_struct.field("_unknown_fields", &self._unknown_fields);
1003        }
1004        debug_struct.finish()
1005    }
1006}
1007
1008impl std::fmt::Debug for super::ProcessResponse {
1009    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1010        let mut debug_struct = f.debug_struct("ProcessResponse");
1011        debug_struct.field("document", &self.document);
1012        debug_struct.field("human_review_status", &self.human_review_status);
1013        if !self._unknown_fields.is_empty() {
1014            debug_struct.field("_unknown_fields", &self._unknown_fields);
1015        }
1016        debug_struct.finish()
1017    }
1018}
1019
1020impl std::fmt::Debug for super::BatchProcessRequest {
1021    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1022        let mut debug_struct = f.debug_struct("BatchProcessRequest");
1023        debug_struct.field("name", &self.name);
1024        debug_struct.field("input_documents", &self.input_documents);
1025        debug_struct.field("document_output_config", &self.document_output_config);
1026        debug_struct.field("skip_human_review", &self.skip_human_review);
1027        debug_struct.field("process_options", &self.process_options);
1028        debug_struct.field("labels", &self.labels);
1029        if !self._unknown_fields.is_empty() {
1030            debug_struct.field("_unknown_fields", &self._unknown_fields);
1031        }
1032        debug_struct.finish()
1033    }
1034}
1035
1036impl std::fmt::Debug for super::BatchProcessResponse {
1037    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1038        let mut debug_struct = f.debug_struct("BatchProcessResponse");
1039        if !self._unknown_fields.is_empty() {
1040            debug_struct.field("_unknown_fields", &self._unknown_fields);
1041        }
1042        debug_struct.finish()
1043    }
1044}
1045
1046impl std::fmt::Debug for super::BatchProcessMetadata {
1047    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1048        let mut debug_struct = f.debug_struct("BatchProcessMetadata");
1049        debug_struct.field("state", &self.state);
1050        debug_struct.field("state_message", &self.state_message);
1051        debug_struct.field("create_time", &self.create_time);
1052        debug_struct.field("update_time", &self.update_time);
1053        debug_struct.field(
1054            "individual_process_statuses",
1055            &self.individual_process_statuses,
1056        );
1057        if !self._unknown_fields.is_empty() {
1058            debug_struct.field("_unknown_fields", &self._unknown_fields);
1059        }
1060        debug_struct.finish()
1061    }
1062}
1063
1064impl std::fmt::Debug for super::batch_process_metadata::IndividualProcessStatus {
1065    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1066        let mut debug_struct = f.debug_struct("IndividualProcessStatus");
1067        debug_struct.field("input_gcs_source", &self.input_gcs_source);
1068        debug_struct.field("status", &self.status);
1069        debug_struct.field("output_gcs_destination", &self.output_gcs_destination);
1070        debug_struct.field("human_review_status", &self.human_review_status);
1071        if !self._unknown_fields.is_empty() {
1072            debug_struct.field("_unknown_fields", &self._unknown_fields);
1073        }
1074        debug_struct.finish()
1075    }
1076}
1077
1078impl std::fmt::Debug for super::FetchProcessorTypesRequest {
1079    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1080        let mut debug_struct = f.debug_struct("FetchProcessorTypesRequest");
1081        debug_struct.field("parent", &self.parent);
1082        if !self._unknown_fields.is_empty() {
1083            debug_struct.field("_unknown_fields", &self._unknown_fields);
1084        }
1085        debug_struct.finish()
1086    }
1087}
1088
1089impl std::fmt::Debug for super::FetchProcessorTypesResponse {
1090    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1091        let mut debug_struct = f.debug_struct("FetchProcessorTypesResponse");
1092        debug_struct.field("processor_types", &self.processor_types);
1093        if !self._unknown_fields.is_empty() {
1094            debug_struct.field("_unknown_fields", &self._unknown_fields);
1095        }
1096        debug_struct.finish()
1097    }
1098}
1099
1100impl std::fmt::Debug for super::ListProcessorTypesRequest {
1101    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1102        let mut debug_struct = f.debug_struct("ListProcessorTypesRequest");
1103        debug_struct.field("parent", &self.parent);
1104        debug_struct.field("page_size", &self.page_size);
1105        debug_struct.field("page_token", &self.page_token);
1106        if !self._unknown_fields.is_empty() {
1107            debug_struct.field("_unknown_fields", &self._unknown_fields);
1108        }
1109        debug_struct.finish()
1110    }
1111}
1112
1113impl std::fmt::Debug for super::ListProcessorTypesResponse {
1114    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1115        let mut debug_struct = f.debug_struct("ListProcessorTypesResponse");
1116        debug_struct.field("processor_types", &self.processor_types);
1117        debug_struct.field("next_page_token", &self.next_page_token);
1118        if !self._unknown_fields.is_empty() {
1119            debug_struct.field("_unknown_fields", &self._unknown_fields);
1120        }
1121        debug_struct.finish()
1122    }
1123}
1124
1125impl std::fmt::Debug for super::ListProcessorsRequest {
1126    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1127        let mut debug_struct = f.debug_struct("ListProcessorsRequest");
1128        debug_struct.field("parent", &self.parent);
1129        debug_struct.field("page_size", &self.page_size);
1130        debug_struct.field("page_token", &self.page_token);
1131        if !self._unknown_fields.is_empty() {
1132            debug_struct.field("_unknown_fields", &self._unknown_fields);
1133        }
1134        debug_struct.finish()
1135    }
1136}
1137
1138impl std::fmt::Debug for super::ListProcessorsResponse {
1139    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1140        let mut debug_struct = f.debug_struct("ListProcessorsResponse");
1141        debug_struct.field("processors", &self.processors);
1142        debug_struct.field("next_page_token", &self.next_page_token);
1143        if !self._unknown_fields.is_empty() {
1144            debug_struct.field("_unknown_fields", &self._unknown_fields);
1145        }
1146        debug_struct.finish()
1147    }
1148}
1149
1150impl std::fmt::Debug for super::GetProcessorTypeRequest {
1151    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1152        let mut debug_struct = f.debug_struct("GetProcessorTypeRequest");
1153        debug_struct.field("name", &self.name);
1154        if !self._unknown_fields.is_empty() {
1155            debug_struct.field("_unknown_fields", &self._unknown_fields);
1156        }
1157        debug_struct.finish()
1158    }
1159}
1160
1161impl std::fmt::Debug for super::GetProcessorRequest {
1162    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1163        let mut debug_struct = f.debug_struct("GetProcessorRequest");
1164        debug_struct.field("name", &self.name);
1165        if !self._unknown_fields.is_empty() {
1166            debug_struct.field("_unknown_fields", &self._unknown_fields);
1167        }
1168        debug_struct.finish()
1169    }
1170}
1171
1172impl std::fmt::Debug for super::GetProcessorVersionRequest {
1173    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1174        let mut debug_struct = f.debug_struct("GetProcessorVersionRequest");
1175        debug_struct.field("name", &self.name);
1176        if !self._unknown_fields.is_empty() {
1177            debug_struct.field("_unknown_fields", &self._unknown_fields);
1178        }
1179        debug_struct.finish()
1180    }
1181}
1182
1183impl std::fmt::Debug for super::ListProcessorVersionsRequest {
1184    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1185        let mut debug_struct = f.debug_struct("ListProcessorVersionsRequest");
1186        debug_struct.field("parent", &self.parent);
1187        debug_struct.field("page_size", &self.page_size);
1188        debug_struct.field("page_token", &self.page_token);
1189        if !self._unknown_fields.is_empty() {
1190            debug_struct.field("_unknown_fields", &self._unknown_fields);
1191        }
1192        debug_struct.finish()
1193    }
1194}
1195
1196impl std::fmt::Debug for super::ListProcessorVersionsResponse {
1197    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1198        let mut debug_struct = f.debug_struct("ListProcessorVersionsResponse");
1199        debug_struct.field("processor_versions", &self.processor_versions);
1200        debug_struct.field("next_page_token", &self.next_page_token);
1201        if !self._unknown_fields.is_empty() {
1202            debug_struct.field("_unknown_fields", &self._unknown_fields);
1203        }
1204        debug_struct.finish()
1205    }
1206}
1207
1208impl std::fmt::Debug for super::DeleteProcessorVersionRequest {
1209    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1210        let mut debug_struct = f.debug_struct("DeleteProcessorVersionRequest");
1211        debug_struct.field("name", &self.name);
1212        if !self._unknown_fields.is_empty() {
1213            debug_struct.field("_unknown_fields", &self._unknown_fields);
1214        }
1215        debug_struct.finish()
1216    }
1217}
1218
1219impl std::fmt::Debug for super::DeleteProcessorVersionMetadata {
1220    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1221        let mut debug_struct = f.debug_struct("DeleteProcessorVersionMetadata");
1222        debug_struct.field("common_metadata", &self.common_metadata);
1223        if !self._unknown_fields.is_empty() {
1224            debug_struct.field("_unknown_fields", &self._unknown_fields);
1225        }
1226        debug_struct.finish()
1227    }
1228}
1229
1230impl std::fmt::Debug for super::DeployProcessorVersionRequest {
1231    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1232        let mut debug_struct = f.debug_struct("DeployProcessorVersionRequest");
1233        debug_struct.field("name", &self.name);
1234        if !self._unknown_fields.is_empty() {
1235            debug_struct.field("_unknown_fields", &self._unknown_fields);
1236        }
1237        debug_struct.finish()
1238    }
1239}
1240
1241impl std::fmt::Debug for super::DeployProcessorVersionResponse {
1242    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1243        let mut debug_struct = f.debug_struct("DeployProcessorVersionResponse");
1244        if !self._unknown_fields.is_empty() {
1245            debug_struct.field("_unknown_fields", &self._unknown_fields);
1246        }
1247        debug_struct.finish()
1248    }
1249}
1250
1251impl std::fmt::Debug for super::DeployProcessorVersionMetadata {
1252    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1253        let mut debug_struct = f.debug_struct("DeployProcessorVersionMetadata");
1254        debug_struct.field("common_metadata", &self.common_metadata);
1255        if !self._unknown_fields.is_empty() {
1256            debug_struct.field("_unknown_fields", &self._unknown_fields);
1257        }
1258        debug_struct.finish()
1259    }
1260}
1261
1262impl std::fmt::Debug for super::UndeployProcessorVersionRequest {
1263    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1264        let mut debug_struct = f.debug_struct("UndeployProcessorVersionRequest");
1265        debug_struct.field("name", &self.name);
1266        if !self._unknown_fields.is_empty() {
1267            debug_struct.field("_unknown_fields", &self._unknown_fields);
1268        }
1269        debug_struct.finish()
1270    }
1271}
1272
1273impl std::fmt::Debug for super::UndeployProcessorVersionResponse {
1274    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1275        let mut debug_struct = f.debug_struct("UndeployProcessorVersionResponse");
1276        if !self._unknown_fields.is_empty() {
1277            debug_struct.field("_unknown_fields", &self._unknown_fields);
1278        }
1279        debug_struct.finish()
1280    }
1281}
1282
1283impl std::fmt::Debug for super::UndeployProcessorVersionMetadata {
1284    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1285        let mut debug_struct = f.debug_struct("UndeployProcessorVersionMetadata");
1286        debug_struct.field("common_metadata", &self.common_metadata);
1287        if !self._unknown_fields.is_empty() {
1288            debug_struct.field("_unknown_fields", &self._unknown_fields);
1289        }
1290        debug_struct.finish()
1291    }
1292}
1293
1294impl std::fmt::Debug for super::CreateProcessorRequest {
1295    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1296        let mut debug_struct = f.debug_struct("CreateProcessorRequest");
1297        debug_struct.field("parent", &self.parent);
1298        debug_struct.field("processor", &self.processor);
1299        if !self._unknown_fields.is_empty() {
1300            debug_struct.field("_unknown_fields", &self._unknown_fields);
1301        }
1302        debug_struct.finish()
1303    }
1304}
1305
1306impl std::fmt::Debug for super::DeleteProcessorRequest {
1307    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1308        let mut debug_struct = f.debug_struct("DeleteProcessorRequest");
1309        debug_struct.field("name", &self.name);
1310        if !self._unknown_fields.is_empty() {
1311            debug_struct.field("_unknown_fields", &self._unknown_fields);
1312        }
1313        debug_struct.finish()
1314    }
1315}
1316
1317impl std::fmt::Debug for super::DeleteProcessorMetadata {
1318    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1319        let mut debug_struct = f.debug_struct("DeleteProcessorMetadata");
1320        debug_struct.field("common_metadata", &self.common_metadata);
1321        if !self._unknown_fields.is_empty() {
1322            debug_struct.field("_unknown_fields", &self._unknown_fields);
1323        }
1324        debug_struct.finish()
1325    }
1326}
1327
1328impl std::fmt::Debug for super::EnableProcessorRequest {
1329    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1330        let mut debug_struct = f.debug_struct("EnableProcessorRequest");
1331        debug_struct.field("name", &self.name);
1332        if !self._unknown_fields.is_empty() {
1333            debug_struct.field("_unknown_fields", &self._unknown_fields);
1334        }
1335        debug_struct.finish()
1336    }
1337}
1338
1339impl std::fmt::Debug for super::EnableProcessorResponse {
1340    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1341        let mut debug_struct = f.debug_struct("EnableProcessorResponse");
1342        if !self._unknown_fields.is_empty() {
1343            debug_struct.field("_unknown_fields", &self._unknown_fields);
1344        }
1345        debug_struct.finish()
1346    }
1347}
1348
1349impl std::fmt::Debug for super::EnableProcessorMetadata {
1350    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1351        let mut debug_struct = f.debug_struct("EnableProcessorMetadata");
1352        debug_struct.field("common_metadata", &self.common_metadata);
1353        if !self._unknown_fields.is_empty() {
1354            debug_struct.field("_unknown_fields", &self._unknown_fields);
1355        }
1356        debug_struct.finish()
1357    }
1358}
1359
1360impl std::fmt::Debug for super::DisableProcessorRequest {
1361    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1362        let mut debug_struct = f.debug_struct("DisableProcessorRequest");
1363        debug_struct.field("name", &self.name);
1364        if !self._unknown_fields.is_empty() {
1365            debug_struct.field("_unknown_fields", &self._unknown_fields);
1366        }
1367        debug_struct.finish()
1368    }
1369}
1370
1371impl std::fmt::Debug for super::DisableProcessorResponse {
1372    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1373        let mut debug_struct = f.debug_struct("DisableProcessorResponse");
1374        if !self._unknown_fields.is_empty() {
1375            debug_struct.field("_unknown_fields", &self._unknown_fields);
1376        }
1377        debug_struct.finish()
1378    }
1379}
1380
1381impl std::fmt::Debug for super::DisableProcessorMetadata {
1382    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1383        let mut debug_struct = f.debug_struct("DisableProcessorMetadata");
1384        debug_struct.field("common_metadata", &self.common_metadata);
1385        if !self._unknown_fields.is_empty() {
1386            debug_struct.field("_unknown_fields", &self._unknown_fields);
1387        }
1388        debug_struct.finish()
1389    }
1390}
1391
1392impl std::fmt::Debug for super::SetDefaultProcessorVersionRequest {
1393    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1394        let mut debug_struct = f.debug_struct("SetDefaultProcessorVersionRequest");
1395        debug_struct.field("processor", &self.processor);
1396        debug_struct.field("default_processor_version", &self.default_processor_version);
1397        if !self._unknown_fields.is_empty() {
1398            debug_struct.field("_unknown_fields", &self._unknown_fields);
1399        }
1400        debug_struct.finish()
1401    }
1402}
1403
1404impl std::fmt::Debug for super::SetDefaultProcessorVersionResponse {
1405    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1406        let mut debug_struct = f.debug_struct("SetDefaultProcessorVersionResponse");
1407        if !self._unknown_fields.is_empty() {
1408            debug_struct.field("_unknown_fields", &self._unknown_fields);
1409        }
1410        debug_struct.finish()
1411    }
1412}
1413
1414impl std::fmt::Debug for super::SetDefaultProcessorVersionMetadata {
1415    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1416        let mut debug_struct = f.debug_struct("SetDefaultProcessorVersionMetadata");
1417        debug_struct.field("common_metadata", &self.common_metadata);
1418        if !self._unknown_fields.is_empty() {
1419            debug_struct.field("_unknown_fields", &self._unknown_fields);
1420        }
1421        debug_struct.finish()
1422    }
1423}
1424
1425impl std::fmt::Debug for super::TrainProcessorVersionRequest {
1426    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1427        let mut debug_struct = f.debug_struct("TrainProcessorVersionRequest");
1428        debug_struct.field("parent", &self.parent);
1429        debug_struct.field("processor_version", &self.processor_version);
1430        debug_struct.field("document_schema", &self.document_schema);
1431        debug_struct.field("input_data", &self.input_data);
1432        debug_struct.field("base_processor_version", &self.base_processor_version);
1433        debug_struct.field("processor_flags", &self.processor_flags);
1434        if !self._unknown_fields.is_empty() {
1435            debug_struct.field("_unknown_fields", &self._unknown_fields);
1436        }
1437        debug_struct.finish()
1438    }
1439}
1440
1441impl std::fmt::Debug for super::train_processor_version_request::InputData {
1442    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1443        let mut debug_struct = f.debug_struct("InputData");
1444        debug_struct.field("training_documents", &self.training_documents);
1445        debug_struct.field("test_documents", &self.test_documents);
1446        if !self._unknown_fields.is_empty() {
1447            debug_struct.field("_unknown_fields", &self._unknown_fields);
1448        }
1449        debug_struct.finish()
1450    }
1451}
1452
1453impl std::fmt::Debug for super::train_processor_version_request::CustomDocumentExtractionOptions {
1454    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1455        let mut debug_struct = f.debug_struct("CustomDocumentExtractionOptions");
1456        debug_struct.field("training_method", &self.training_method);
1457        if !self._unknown_fields.is_empty() {
1458            debug_struct.field("_unknown_fields", &self._unknown_fields);
1459        }
1460        debug_struct.finish()
1461    }
1462}
1463
1464impl std::fmt::Debug for super::train_processor_version_request::FoundationModelTuningOptions {
1465    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1466        let mut debug_struct = f.debug_struct("FoundationModelTuningOptions");
1467        debug_struct.field("train_steps", &self.train_steps);
1468        debug_struct.field("learning_rate_multiplier", &self.learning_rate_multiplier);
1469        if !self._unknown_fields.is_empty() {
1470            debug_struct.field("_unknown_fields", &self._unknown_fields);
1471        }
1472        debug_struct.finish()
1473    }
1474}
1475
1476impl std::fmt::Debug for super::TrainProcessorVersionResponse {
1477    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1478        let mut debug_struct = f.debug_struct("TrainProcessorVersionResponse");
1479        debug_struct.field("processor_version", &self.processor_version);
1480        if !self._unknown_fields.is_empty() {
1481            debug_struct.field("_unknown_fields", &self._unknown_fields);
1482        }
1483        debug_struct.finish()
1484    }
1485}
1486
1487impl std::fmt::Debug for super::TrainProcessorVersionMetadata {
1488    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1489        let mut debug_struct = f.debug_struct("TrainProcessorVersionMetadata");
1490        debug_struct.field("common_metadata", &self.common_metadata);
1491        debug_struct.field(
1492            "training_dataset_validation",
1493            &self.training_dataset_validation,
1494        );
1495        debug_struct.field("test_dataset_validation", &self.test_dataset_validation);
1496        if !self._unknown_fields.is_empty() {
1497            debug_struct.field("_unknown_fields", &self._unknown_fields);
1498        }
1499        debug_struct.finish()
1500    }
1501}
1502
1503impl std::fmt::Debug for super::train_processor_version_metadata::DatasetValidation {
1504    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1505        let mut debug_struct = f.debug_struct("DatasetValidation");
1506        debug_struct.field("document_error_count", &self.document_error_count);
1507        debug_struct.field("dataset_error_count", &self.dataset_error_count);
1508        debug_struct.field("document_errors", &self.document_errors);
1509        debug_struct.field("dataset_errors", &self.dataset_errors);
1510        if !self._unknown_fields.is_empty() {
1511            debug_struct.field("_unknown_fields", &self._unknown_fields);
1512        }
1513        debug_struct.finish()
1514    }
1515}
1516
1517impl std::fmt::Debug for super::ReviewDocumentRequest {
1518    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1519        let mut debug_struct = f.debug_struct("ReviewDocumentRequest");
1520        debug_struct.field("human_review_config", &self.human_review_config);
1521        debug_struct.field("enable_schema_validation", &self.enable_schema_validation);
1522        debug_struct.field("priority", &self.priority);
1523        debug_struct.field("document_schema", &self.document_schema);
1524        debug_struct.field("source", &self.source);
1525        if !self._unknown_fields.is_empty() {
1526            debug_struct.field("_unknown_fields", &self._unknown_fields);
1527        }
1528        debug_struct.finish()
1529    }
1530}
1531
1532impl std::fmt::Debug for super::ReviewDocumentResponse {
1533    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1534        let mut debug_struct = f.debug_struct("ReviewDocumentResponse");
1535        debug_struct.field("gcs_destination", &self.gcs_destination);
1536        debug_struct.field("state", &self.state);
1537        debug_struct.field("rejection_reason", &self.rejection_reason);
1538        if !self._unknown_fields.is_empty() {
1539            debug_struct.field("_unknown_fields", &self._unknown_fields);
1540        }
1541        debug_struct.finish()
1542    }
1543}
1544
1545impl std::fmt::Debug for super::ReviewDocumentOperationMetadata {
1546    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1547        let mut debug_struct = f.debug_struct("ReviewDocumentOperationMetadata");
1548        debug_struct.field("common_metadata", &self.common_metadata);
1549        debug_struct.field("question_id", &self.question_id);
1550        if !self._unknown_fields.is_empty() {
1551            debug_struct.field("_unknown_fields", &self._unknown_fields);
1552        }
1553        debug_struct.finish()
1554    }
1555}
1556
1557impl std::fmt::Debug for super::EvaluateProcessorVersionRequest {
1558    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1559        let mut debug_struct = f.debug_struct("EvaluateProcessorVersionRequest");
1560        debug_struct.field("processor_version", &self.processor_version);
1561        debug_struct.field("evaluation_documents", &self.evaluation_documents);
1562        if !self._unknown_fields.is_empty() {
1563            debug_struct.field("_unknown_fields", &self._unknown_fields);
1564        }
1565        debug_struct.finish()
1566    }
1567}
1568
1569impl std::fmt::Debug for super::EvaluateProcessorVersionMetadata {
1570    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1571        let mut debug_struct = f.debug_struct("EvaluateProcessorVersionMetadata");
1572        debug_struct.field("common_metadata", &self.common_metadata);
1573        if !self._unknown_fields.is_empty() {
1574            debug_struct.field("_unknown_fields", &self._unknown_fields);
1575        }
1576        debug_struct.finish()
1577    }
1578}
1579
1580impl std::fmt::Debug for super::EvaluateProcessorVersionResponse {
1581    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1582        let mut debug_struct = f.debug_struct("EvaluateProcessorVersionResponse");
1583        debug_struct.field("evaluation", &self.evaluation);
1584        if !self._unknown_fields.is_empty() {
1585            debug_struct.field("_unknown_fields", &self._unknown_fields);
1586        }
1587        debug_struct.finish()
1588    }
1589}
1590
1591impl std::fmt::Debug for super::GetEvaluationRequest {
1592    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1593        let mut debug_struct = f.debug_struct("GetEvaluationRequest");
1594        debug_struct.field("name", &self.name);
1595        if !self._unknown_fields.is_empty() {
1596            debug_struct.field("_unknown_fields", &self._unknown_fields);
1597        }
1598        debug_struct.finish()
1599    }
1600}
1601
1602impl std::fmt::Debug for super::ListEvaluationsRequest {
1603    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1604        let mut debug_struct = f.debug_struct("ListEvaluationsRequest");
1605        debug_struct.field("parent", &self.parent);
1606        debug_struct.field("page_size", &self.page_size);
1607        debug_struct.field("page_token", &self.page_token);
1608        if !self._unknown_fields.is_empty() {
1609            debug_struct.field("_unknown_fields", &self._unknown_fields);
1610        }
1611        debug_struct.finish()
1612    }
1613}
1614
1615impl std::fmt::Debug for super::ListEvaluationsResponse {
1616    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1617        let mut debug_struct = f.debug_struct("ListEvaluationsResponse");
1618        debug_struct.field("evaluations", &self.evaluations);
1619        debug_struct.field("next_page_token", &self.next_page_token);
1620        if !self._unknown_fields.is_empty() {
1621            debug_struct.field("_unknown_fields", &self._unknown_fields);
1622        }
1623        debug_struct.finish()
1624    }
1625}
1626
1627impl std::fmt::Debug for super::DocumentSchema {
1628    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1629        let mut debug_struct = f.debug_struct("DocumentSchema");
1630        debug_struct.field("display_name", &self.display_name);
1631        debug_struct.field("description", &self.description);
1632        debug_struct.field("entity_types", &self.entity_types);
1633        debug_struct.field("metadata", &self.metadata);
1634        if !self._unknown_fields.is_empty() {
1635            debug_struct.field("_unknown_fields", &self._unknown_fields);
1636        }
1637        debug_struct.finish()
1638    }
1639}
1640
1641impl std::fmt::Debug for super::document_schema::EntityType {
1642    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1643        let mut debug_struct = f.debug_struct("EntityType");
1644        debug_struct.field("display_name", &self.display_name);
1645        debug_struct.field("name", &self.name);
1646        debug_struct.field("base_types", &self.base_types);
1647        debug_struct.field("properties", &self.properties);
1648        debug_struct.field("value_source", &self.value_source);
1649        if !self._unknown_fields.is_empty() {
1650            debug_struct.field("_unknown_fields", &self._unknown_fields);
1651        }
1652        debug_struct.finish()
1653    }
1654}
1655
1656impl std::fmt::Debug for super::document_schema::entity_type::EnumValues {
1657    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1658        let mut debug_struct = f.debug_struct("EnumValues");
1659        debug_struct.field("values", &self.values);
1660        if !self._unknown_fields.is_empty() {
1661            debug_struct.field("_unknown_fields", &self._unknown_fields);
1662        }
1663        debug_struct.finish()
1664    }
1665}
1666
1667impl std::fmt::Debug for super::document_schema::entity_type::Property {
1668    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1669        let mut debug_struct = f.debug_struct("Property");
1670        debug_struct.field("name", &self.name);
1671        debug_struct.field("display_name", &self.display_name);
1672        debug_struct.field("value_type", &self.value_type);
1673        debug_struct.field("occurrence_type", &self.occurrence_type);
1674        debug_struct.field("method", &self.method);
1675        if !self._unknown_fields.is_empty() {
1676            debug_struct.field("_unknown_fields", &self._unknown_fields);
1677        }
1678        debug_struct.finish()
1679    }
1680}
1681
1682impl std::fmt::Debug for super::document_schema::Metadata {
1683    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1684        let mut debug_struct = f.debug_struct("Metadata");
1685        debug_struct.field("document_splitter", &self.document_splitter);
1686        debug_struct.field(
1687            "document_allow_multiple_labels",
1688            &self.document_allow_multiple_labels,
1689        );
1690        debug_struct.field(
1691            "prefixed_naming_on_properties",
1692            &self.prefixed_naming_on_properties,
1693        );
1694        debug_struct.field("skip_naming_validation", &self.skip_naming_validation);
1695        if !self._unknown_fields.is_empty() {
1696            debug_struct.field("_unknown_fields", &self._unknown_fields);
1697        }
1698        debug_struct.finish()
1699    }
1700}
1701
1702impl std::fmt::Debug for super::EvaluationReference {
1703    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1704        let mut debug_struct = f.debug_struct("EvaluationReference");
1705        debug_struct.field("operation", &self.operation);
1706        debug_struct.field("evaluation", &self.evaluation);
1707        debug_struct.field("aggregate_metrics", &self.aggregate_metrics);
1708        debug_struct.field("aggregate_metrics_exact", &self.aggregate_metrics_exact);
1709        if !self._unknown_fields.is_empty() {
1710            debug_struct.field("_unknown_fields", &self._unknown_fields);
1711        }
1712        debug_struct.finish()
1713    }
1714}
1715
1716impl std::fmt::Debug for super::Evaluation {
1717    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1718        let mut debug_struct = f.debug_struct("Evaluation");
1719        debug_struct.field("name", &self.name);
1720        debug_struct.field("create_time", &self.create_time);
1721        debug_struct.field("document_counters", &self.document_counters);
1722        debug_struct.field("all_entities_metrics", &self.all_entities_metrics);
1723        debug_struct.field("entity_metrics", &self.entity_metrics);
1724        debug_struct.field("kms_key_name", &self.kms_key_name);
1725        debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
1726        if !self._unknown_fields.is_empty() {
1727            debug_struct.field("_unknown_fields", &self._unknown_fields);
1728        }
1729        debug_struct.finish()
1730    }
1731}
1732
1733impl std::fmt::Debug for super::evaluation::Counters {
1734    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1735        let mut debug_struct = f.debug_struct("Counters");
1736        debug_struct.field("input_documents_count", &self.input_documents_count);
1737        debug_struct.field("invalid_documents_count", &self.invalid_documents_count);
1738        debug_struct.field("failed_documents_count", &self.failed_documents_count);
1739        debug_struct.field("evaluated_documents_count", &self.evaluated_documents_count);
1740        if !self._unknown_fields.is_empty() {
1741            debug_struct.field("_unknown_fields", &self._unknown_fields);
1742        }
1743        debug_struct.finish()
1744    }
1745}
1746
1747impl std::fmt::Debug for super::evaluation::Metrics {
1748    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1749        let mut debug_struct = f.debug_struct("Metrics");
1750        debug_struct.field("precision", &self.precision);
1751        debug_struct.field("recall", &self.recall);
1752        debug_struct.field("f1_score", &self.f1_score);
1753        debug_struct.field(
1754            "predicted_occurrences_count",
1755            &self.predicted_occurrences_count,
1756        );
1757        debug_struct.field(
1758            "ground_truth_occurrences_count",
1759            &self.ground_truth_occurrences_count,
1760        );
1761        debug_struct.field("predicted_document_count", &self.predicted_document_count);
1762        debug_struct.field(
1763            "ground_truth_document_count",
1764            &self.ground_truth_document_count,
1765        );
1766        debug_struct.field("true_positives_count", &self.true_positives_count);
1767        debug_struct.field("false_positives_count", &self.false_positives_count);
1768        debug_struct.field("false_negatives_count", &self.false_negatives_count);
1769        debug_struct.field("total_documents_count", &self.total_documents_count);
1770        if !self._unknown_fields.is_empty() {
1771            debug_struct.field("_unknown_fields", &self._unknown_fields);
1772        }
1773        debug_struct.finish()
1774    }
1775}
1776
1777impl std::fmt::Debug for super::evaluation::ConfidenceLevelMetrics {
1778    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1779        let mut debug_struct = f.debug_struct("ConfidenceLevelMetrics");
1780        debug_struct.field("confidence_level", &self.confidence_level);
1781        debug_struct.field("metrics", &self.metrics);
1782        if !self._unknown_fields.is_empty() {
1783            debug_struct.field("_unknown_fields", &self._unknown_fields);
1784        }
1785        debug_struct.finish()
1786    }
1787}
1788
1789impl std::fmt::Debug for super::evaluation::MultiConfidenceMetrics {
1790    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1791        let mut debug_struct = f.debug_struct("MultiConfidenceMetrics");
1792        debug_struct.field("confidence_level_metrics", &self.confidence_level_metrics);
1793        debug_struct.field(
1794            "confidence_level_metrics_exact",
1795            &self.confidence_level_metrics_exact,
1796        );
1797        debug_struct.field("auprc", &self.auprc);
1798        debug_struct.field(
1799            "estimated_calibration_error",
1800            &self.estimated_calibration_error,
1801        );
1802        debug_struct.field("auprc_exact", &self.auprc_exact);
1803        debug_struct.field(
1804            "estimated_calibration_error_exact",
1805            &self.estimated_calibration_error_exact,
1806        );
1807        debug_struct.field("metrics_type", &self.metrics_type);
1808        if !self._unknown_fields.is_empty() {
1809            debug_struct.field("_unknown_fields", &self._unknown_fields);
1810        }
1811        debug_struct.finish()
1812    }
1813}
1814
1815impl std::fmt::Debug for super::Vertex {
1816    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1817        let mut debug_struct = f.debug_struct("Vertex");
1818        debug_struct.field("x", &self.x);
1819        debug_struct.field("y", &self.y);
1820        if !self._unknown_fields.is_empty() {
1821            debug_struct.field("_unknown_fields", &self._unknown_fields);
1822        }
1823        debug_struct.finish()
1824    }
1825}
1826
1827impl std::fmt::Debug for super::NormalizedVertex {
1828    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1829        let mut debug_struct = f.debug_struct("NormalizedVertex");
1830        debug_struct.field("x", &self.x);
1831        debug_struct.field("y", &self.y);
1832        if !self._unknown_fields.is_empty() {
1833            debug_struct.field("_unknown_fields", &self._unknown_fields);
1834        }
1835        debug_struct.finish()
1836    }
1837}
1838
1839impl std::fmt::Debug for super::BoundingPoly {
1840    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1841        let mut debug_struct = f.debug_struct("BoundingPoly");
1842        debug_struct.field("vertices", &self.vertices);
1843        debug_struct.field("normalized_vertices", &self.normalized_vertices);
1844        if !self._unknown_fields.is_empty() {
1845            debug_struct.field("_unknown_fields", &self._unknown_fields);
1846        }
1847        debug_struct.finish()
1848    }
1849}
1850
1851impl std::fmt::Debug for super::CommonOperationMetadata {
1852    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1853        let mut debug_struct = f.debug_struct("CommonOperationMetadata");
1854        debug_struct.field("state", &self.state);
1855        debug_struct.field("state_message", &self.state_message);
1856        debug_struct.field("resource", &self.resource);
1857        debug_struct.field("create_time", &self.create_time);
1858        debug_struct.field("update_time", &self.update_time);
1859        if !self._unknown_fields.is_empty() {
1860            debug_struct.field("_unknown_fields", &self._unknown_fields);
1861        }
1862        debug_struct.finish()
1863    }
1864}
1865
1866impl std::fmt::Debug for super::ProcessorVersion {
1867    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1868        let mut debug_struct = f.debug_struct("ProcessorVersion");
1869        debug_struct.field("name", &self.name);
1870        debug_struct.field("display_name", &self.display_name);
1871        debug_struct.field("document_schema", &self.document_schema);
1872        debug_struct.field("state", &self.state);
1873        debug_struct.field("create_time", &self.create_time);
1874        debug_struct.field("latest_evaluation", &self.latest_evaluation);
1875        debug_struct.field("kms_key_name", &self.kms_key_name);
1876        debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
1877        debug_struct.field("google_managed", &self.google_managed);
1878        debug_struct.field("deprecation_info", &self.deprecation_info);
1879        debug_struct.field("model_type", &self.model_type);
1880        debug_struct.field("satisfies_pzs", &self.satisfies_pzs);
1881        debug_struct.field("satisfies_pzi", &self.satisfies_pzi);
1882        debug_struct.field("gen_ai_model_info", &self.gen_ai_model_info);
1883        if !self._unknown_fields.is_empty() {
1884            debug_struct.field("_unknown_fields", &self._unknown_fields);
1885        }
1886        debug_struct.finish()
1887    }
1888}
1889
1890impl std::fmt::Debug for super::processor_version::DeprecationInfo {
1891    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1892        let mut debug_struct = f.debug_struct("DeprecationInfo");
1893        debug_struct.field("deprecation_time", &self.deprecation_time);
1894        debug_struct.field(
1895            "replacement_processor_version",
1896            &self.replacement_processor_version,
1897        );
1898        if !self._unknown_fields.is_empty() {
1899            debug_struct.field("_unknown_fields", &self._unknown_fields);
1900        }
1901        debug_struct.finish()
1902    }
1903}
1904
1905impl std::fmt::Debug for super::processor_version::GenAiModelInfo {
1906    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1907        let mut debug_struct = f.debug_struct("GenAiModelInfo");
1908        debug_struct.field("model_info", &self.model_info);
1909        if !self._unknown_fields.is_empty() {
1910            debug_struct.field("_unknown_fields", &self._unknown_fields);
1911        }
1912        debug_struct.finish()
1913    }
1914}
1915
1916impl std::fmt::Debug for super::processor_version::gen_ai_model_info::FoundationGenAiModelInfo {
1917    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1918        let mut debug_struct = f.debug_struct("FoundationGenAiModelInfo");
1919        debug_struct.field("finetuning_allowed", &self.finetuning_allowed);
1920        debug_struct.field(
1921            "min_train_labeled_documents",
1922            &self.min_train_labeled_documents,
1923        );
1924        if !self._unknown_fields.is_empty() {
1925            debug_struct.field("_unknown_fields", &self._unknown_fields);
1926        }
1927        debug_struct.finish()
1928    }
1929}
1930
1931impl std::fmt::Debug for super::processor_version::gen_ai_model_info::CustomGenAiModelInfo {
1932    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1933        let mut debug_struct = f.debug_struct("CustomGenAiModelInfo");
1934        debug_struct.field("custom_model_type", &self.custom_model_type);
1935        debug_struct.field("base_processor_version_id", &self.base_processor_version_id);
1936        if !self._unknown_fields.is_empty() {
1937            debug_struct.field("_unknown_fields", &self._unknown_fields);
1938        }
1939        debug_struct.finish()
1940    }
1941}
1942
1943impl std::fmt::Debug for super::ProcessorVersionAlias {
1944    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1945        let mut debug_struct = f.debug_struct("ProcessorVersionAlias");
1946        debug_struct.field("alias", &self.alias);
1947        debug_struct.field("processor_version", &self.processor_version);
1948        if !self._unknown_fields.is_empty() {
1949            debug_struct.field("_unknown_fields", &self._unknown_fields);
1950        }
1951        debug_struct.finish()
1952    }
1953}
1954
1955impl std::fmt::Debug for super::Processor {
1956    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1957        let mut debug_struct = f.debug_struct("Processor");
1958        debug_struct.field("name", &self.name);
1959        debug_struct.field("r#type", &self.r#type);
1960        debug_struct.field("display_name", &self.display_name);
1961        debug_struct.field("state", &self.state);
1962        debug_struct.field("default_processor_version", &self.default_processor_version);
1963        debug_struct.field("processor_version_aliases", &self.processor_version_aliases);
1964        debug_struct.field("process_endpoint", &self.process_endpoint);
1965        debug_struct.field("create_time", &self.create_time);
1966        debug_struct.field("kms_key_name", &self.kms_key_name);
1967        debug_struct.field("satisfies_pzs", &self.satisfies_pzs);
1968        debug_struct.field("satisfies_pzi", &self.satisfies_pzi);
1969        if !self._unknown_fields.is_empty() {
1970            debug_struct.field("_unknown_fields", &self._unknown_fields);
1971        }
1972        debug_struct.finish()
1973    }
1974}
1975
1976impl std::fmt::Debug for super::ProcessorType {
1977    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1978        let mut debug_struct = f.debug_struct("ProcessorType");
1979        debug_struct.field("name", &self.name);
1980        debug_struct.field("r#type", &self.r#type);
1981        debug_struct.field("category", &self.category);
1982        debug_struct.field("available_locations", &self.available_locations);
1983        debug_struct.field("allow_creation", &self.allow_creation);
1984        debug_struct.field("launch_stage", &self.launch_stage);
1985        debug_struct.field("sample_document_uris", &self.sample_document_uris);
1986        if !self._unknown_fields.is_empty() {
1987            debug_struct.field("_unknown_fields", &self._unknown_fields);
1988        }
1989        debug_struct.finish()
1990    }
1991}
1992
1993impl std::fmt::Debug for super::processor_type::LocationInfo {
1994    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1995        let mut debug_struct = f.debug_struct("LocationInfo");
1996        debug_struct.field("location_id", &self.location_id);
1997        if !self._unknown_fields.is_empty() {
1998            debug_struct.field("_unknown_fields", &self._unknown_fields);
1999        }
2000        debug_struct.finish()
2001    }
2002}