1#[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 debug_struct.field("enable_image_annotation", &self.enable_image_annotation);
949 debug_struct.field("enable_table_annotation", &self.enable_table_annotation);
950 if !self._unknown_fields.is_empty() {
951 debug_struct.field("_unknown_fields", &self._unknown_fields);
952 }
953 debug_struct.finish()
954 }
955}
956
957impl std::fmt::Debug for super::process_options::layout_config::ChunkingConfig {
958 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
959 let mut debug_struct = f.debug_struct("ChunkingConfig");
960 debug_struct.field("chunk_size", &self.chunk_size);
961 debug_struct.field("include_ancestor_headings", &self.include_ancestor_headings);
962 if !self._unknown_fields.is_empty() {
963 debug_struct.field("_unknown_fields", &self._unknown_fields);
964 }
965 debug_struct.finish()
966 }
967}
968
969impl std::fmt::Debug for super::process_options::IndividualPageSelector {
970 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
971 let mut debug_struct = f.debug_struct("IndividualPageSelector");
972 debug_struct.field("pages", &self.pages);
973 if !self._unknown_fields.is_empty() {
974 debug_struct.field("_unknown_fields", &self._unknown_fields);
975 }
976 debug_struct.finish()
977 }
978}
979
980impl std::fmt::Debug for super::ProcessRequest {
981 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
982 let mut debug_struct = f.debug_struct("ProcessRequest");
983 debug_struct.field("name", &self.name);
984 debug_struct.field("skip_human_review", &self.skip_human_review);
985 debug_struct.field("field_mask", &self.field_mask);
986 debug_struct.field("process_options", &self.process_options);
987 debug_struct.field("labels", &self.labels);
988 debug_struct.field("imageless_mode", &self.imageless_mode);
989 debug_struct.field("source", &self.source);
990 if !self._unknown_fields.is_empty() {
991 debug_struct.field("_unknown_fields", &self._unknown_fields);
992 }
993 debug_struct.finish()
994 }
995}
996
997impl std::fmt::Debug for super::HumanReviewStatus {
998 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
999 let mut debug_struct = f.debug_struct("HumanReviewStatus");
1000 debug_struct.field("state", &self.state);
1001 debug_struct.field("state_message", &self.state_message);
1002 debug_struct.field("human_review_operation", &self.human_review_operation);
1003 if !self._unknown_fields.is_empty() {
1004 debug_struct.field("_unknown_fields", &self._unknown_fields);
1005 }
1006 debug_struct.finish()
1007 }
1008}
1009
1010impl std::fmt::Debug for super::ProcessResponse {
1011 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1012 let mut debug_struct = f.debug_struct("ProcessResponse");
1013 debug_struct.field("document", &self.document);
1014 debug_struct.field("human_review_status", &self.human_review_status);
1015 if !self._unknown_fields.is_empty() {
1016 debug_struct.field("_unknown_fields", &self._unknown_fields);
1017 }
1018 debug_struct.finish()
1019 }
1020}
1021
1022impl std::fmt::Debug for super::BatchProcessRequest {
1023 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1024 let mut debug_struct = f.debug_struct("BatchProcessRequest");
1025 debug_struct.field("name", &self.name);
1026 debug_struct.field("input_documents", &self.input_documents);
1027 debug_struct.field("document_output_config", &self.document_output_config);
1028 debug_struct.field("skip_human_review", &self.skip_human_review);
1029 debug_struct.field("process_options", &self.process_options);
1030 debug_struct.field("labels", &self.labels);
1031 if !self._unknown_fields.is_empty() {
1032 debug_struct.field("_unknown_fields", &self._unknown_fields);
1033 }
1034 debug_struct.finish()
1035 }
1036}
1037
1038impl std::fmt::Debug for super::BatchProcessResponse {
1039 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1040 let mut debug_struct = f.debug_struct("BatchProcessResponse");
1041 if !self._unknown_fields.is_empty() {
1042 debug_struct.field("_unknown_fields", &self._unknown_fields);
1043 }
1044 debug_struct.finish()
1045 }
1046}
1047
1048impl std::fmt::Debug for super::BatchProcessMetadata {
1049 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1050 let mut debug_struct = f.debug_struct("BatchProcessMetadata");
1051 debug_struct.field("state", &self.state);
1052 debug_struct.field("state_message", &self.state_message);
1053 debug_struct.field("create_time", &self.create_time);
1054 debug_struct.field("update_time", &self.update_time);
1055 debug_struct.field(
1056 "individual_process_statuses",
1057 &self.individual_process_statuses,
1058 );
1059 if !self._unknown_fields.is_empty() {
1060 debug_struct.field("_unknown_fields", &self._unknown_fields);
1061 }
1062 debug_struct.finish()
1063 }
1064}
1065
1066impl std::fmt::Debug for super::batch_process_metadata::IndividualProcessStatus {
1067 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1068 let mut debug_struct = f.debug_struct("IndividualProcessStatus");
1069 debug_struct.field("input_gcs_source", &self.input_gcs_source);
1070 debug_struct.field("status", &self.status);
1071 debug_struct.field("output_gcs_destination", &self.output_gcs_destination);
1072 debug_struct.field("human_review_status", &self.human_review_status);
1073 if !self._unknown_fields.is_empty() {
1074 debug_struct.field("_unknown_fields", &self._unknown_fields);
1075 }
1076 debug_struct.finish()
1077 }
1078}
1079
1080impl std::fmt::Debug for super::FetchProcessorTypesRequest {
1081 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1082 let mut debug_struct = f.debug_struct("FetchProcessorTypesRequest");
1083 debug_struct.field("parent", &self.parent);
1084 if !self._unknown_fields.is_empty() {
1085 debug_struct.field("_unknown_fields", &self._unknown_fields);
1086 }
1087 debug_struct.finish()
1088 }
1089}
1090
1091impl std::fmt::Debug for super::FetchProcessorTypesResponse {
1092 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1093 let mut debug_struct = f.debug_struct("FetchProcessorTypesResponse");
1094 debug_struct.field("processor_types", &self.processor_types);
1095 if !self._unknown_fields.is_empty() {
1096 debug_struct.field("_unknown_fields", &self._unknown_fields);
1097 }
1098 debug_struct.finish()
1099 }
1100}
1101
1102impl std::fmt::Debug for super::ListProcessorTypesRequest {
1103 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1104 let mut debug_struct = f.debug_struct("ListProcessorTypesRequest");
1105 debug_struct.field("parent", &self.parent);
1106 debug_struct.field("page_size", &self.page_size);
1107 debug_struct.field("page_token", &self.page_token);
1108 if !self._unknown_fields.is_empty() {
1109 debug_struct.field("_unknown_fields", &self._unknown_fields);
1110 }
1111 debug_struct.finish()
1112 }
1113}
1114
1115impl std::fmt::Debug for super::ListProcessorTypesResponse {
1116 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1117 let mut debug_struct = f.debug_struct("ListProcessorTypesResponse");
1118 debug_struct.field("processor_types", &self.processor_types);
1119 debug_struct.field("next_page_token", &self.next_page_token);
1120 if !self._unknown_fields.is_empty() {
1121 debug_struct.field("_unknown_fields", &self._unknown_fields);
1122 }
1123 debug_struct.finish()
1124 }
1125}
1126
1127impl std::fmt::Debug for super::ListProcessorsRequest {
1128 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1129 let mut debug_struct = f.debug_struct("ListProcessorsRequest");
1130 debug_struct.field("parent", &self.parent);
1131 debug_struct.field("page_size", &self.page_size);
1132 debug_struct.field("page_token", &self.page_token);
1133 if !self._unknown_fields.is_empty() {
1134 debug_struct.field("_unknown_fields", &self._unknown_fields);
1135 }
1136 debug_struct.finish()
1137 }
1138}
1139
1140impl std::fmt::Debug for super::ListProcessorsResponse {
1141 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1142 let mut debug_struct = f.debug_struct("ListProcessorsResponse");
1143 debug_struct.field("processors", &self.processors);
1144 debug_struct.field("next_page_token", &self.next_page_token);
1145 if !self._unknown_fields.is_empty() {
1146 debug_struct.field("_unknown_fields", &self._unknown_fields);
1147 }
1148 debug_struct.finish()
1149 }
1150}
1151
1152impl std::fmt::Debug for super::GetProcessorTypeRequest {
1153 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1154 let mut debug_struct = f.debug_struct("GetProcessorTypeRequest");
1155 debug_struct.field("name", &self.name);
1156 if !self._unknown_fields.is_empty() {
1157 debug_struct.field("_unknown_fields", &self._unknown_fields);
1158 }
1159 debug_struct.finish()
1160 }
1161}
1162
1163impl std::fmt::Debug for super::GetProcessorRequest {
1164 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1165 let mut debug_struct = f.debug_struct("GetProcessorRequest");
1166 debug_struct.field("name", &self.name);
1167 if !self._unknown_fields.is_empty() {
1168 debug_struct.field("_unknown_fields", &self._unknown_fields);
1169 }
1170 debug_struct.finish()
1171 }
1172}
1173
1174impl std::fmt::Debug for super::GetProcessorVersionRequest {
1175 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1176 let mut debug_struct = f.debug_struct("GetProcessorVersionRequest");
1177 debug_struct.field("name", &self.name);
1178 if !self._unknown_fields.is_empty() {
1179 debug_struct.field("_unknown_fields", &self._unknown_fields);
1180 }
1181 debug_struct.finish()
1182 }
1183}
1184
1185impl std::fmt::Debug for super::ListProcessorVersionsRequest {
1186 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1187 let mut debug_struct = f.debug_struct("ListProcessorVersionsRequest");
1188 debug_struct.field("parent", &self.parent);
1189 debug_struct.field("page_size", &self.page_size);
1190 debug_struct.field("page_token", &self.page_token);
1191 if !self._unknown_fields.is_empty() {
1192 debug_struct.field("_unknown_fields", &self._unknown_fields);
1193 }
1194 debug_struct.finish()
1195 }
1196}
1197
1198impl std::fmt::Debug for super::ListProcessorVersionsResponse {
1199 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1200 let mut debug_struct = f.debug_struct("ListProcessorVersionsResponse");
1201 debug_struct.field("processor_versions", &self.processor_versions);
1202 debug_struct.field("next_page_token", &self.next_page_token);
1203 if !self._unknown_fields.is_empty() {
1204 debug_struct.field("_unknown_fields", &self._unknown_fields);
1205 }
1206 debug_struct.finish()
1207 }
1208}
1209
1210impl std::fmt::Debug for super::DeleteProcessorVersionRequest {
1211 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1212 let mut debug_struct = f.debug_struct("DeleteProcessorVersionRequest");
1213 debug_struct.field("name", &self.name);
1214 if !self._unknown_fields.is_empty() {
1215 debug_struct.field("_unknown_fields", &self._unknown_fields);
1216 }
1217 debug_struct.finish()
1218 }
1219}
1220
1221impl std::fmt::Debug for super::DeleteProcessorVersionMetadata {
1222 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1223 let mut debug_struct = f.debug_struct("DeleteProcessorVersionMetadata");
1224 debug_struct.field("common_metadata", &self.common_metadata);
1225 if !self._unknown_fields.is_empty() {
1226 debug_struct.field("_unknown_fields", &self._unknown_fields);
1227 }
1228 debug_struct.finish()
1229 }
1230}
1231
1232impl std::fmt::Debug for super::DeployProcessorVersionRequest {
1233 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1234 let mut debug_struct = f.debug_struct("DeployProcessorVersionRequest");
1235 debug_struct.field("name", &self.name);
1236 if !self._unknown_fields.is_empty() {
1237 debug_struct.field("_unknown_fields", &self._unknown_fields);
1238 }
1239 debug_struct.finish()
1240 }
1241}
1242
1243impl std::fmt::Debug for super::DeployProcessorVersionResponse {
1244 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1245 let mut debug_struct = f.debug_struct("DeployProcessorVersionResponse");
1246 if !self._unknown_fields.is_empty() {
1247 debug_struct.field("_unknown_fields", &self._unknown_fields);
1248 }
1249 debug_struct.finish()
1250 }
1251}
1252
1253impl std::fmt::Debug for super::DeployProcessorVersionMetadata {
1254 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1255 let mut debug_struct = f.debug_struct("DeployProcessorVersionMetadata");
1256 debug_struct.field("common_metadata", &self.common_metadata);
1257 if !self._unknown_fields.is_empty() {
1258 debug_struct.field("_unknown_fields", &self._unknown_fields);
1259 }
1260 debug_struct.finish()
1261 }
1262}
1263
1264impl std::fmt::Debug for super::UndeployProcessorVersionRequest {
1265 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1266 let mut debug_struct = f.debug_struct("UndeployProcessorVersionRequest");
1267 debug_struct.field("name", &self.name);
1268 if !self._unknown_fields.is_empty() {
1269 debug_struct.field("_unknown_fields", &self._unknown_fields);
1270 }
1271 debug_struct.finish()
1272 }
1273}
1274
1275impl std::fmt::Debug for super::UndeployProcessorVersionResponse {
1276 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1277 let mut debug_struct = f.debug_struct("UndeployProcessorVersionResponse");
1278 if !self._unknown_fields.is_empty() {
1279 debug_struct.field("_unknown_fields", &self._unknown_fields);
1280 }
1281 debug_struct.finish()
1282 }
1283}
1284
1285impl std::fmt::Debug for super::UndeployProcessorVersionMetadata {
1286 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1287 let mut debug_struct = f.debug_struct("UndeployProcessorVersionMetadata");
1288 debug_struct.field("common_metadata", &self.common_metadata);
1289 if !self._unknown_fields.is_empty() {
1290 debug_struct.field("_unknown_fields", &self._unknown_fields);
1291 }
1292 debug_struct.finish()
1293 }
1294}
1295
1296impl std::fmt::Debug for super::CreateProcessorRequest {
1297 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1298 let mut debug_struct = f.debug_struct("CreateProcessorRequest");
1299 debug_struct.field("parent", &self.parent);
1300 debug_struct.field("processor", &self.processor);
1301 if !self._unknown_fields.is_empty() {
1302 debug_struct.field("_unknown_fields", &self._unknown_fields);
1303 }
1304 debug_struct.finish()
1305 }
1306}
1307
1308impl std::fmt::Debug for super::DeleteProcessorRequest {
1309 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1310 let mut debug_struct = f.debug_struct("DeleteProcessorRequest");
1311 debug_struct.field("name", &self.name);
1312 if !self._unknown_fields.is_empty() {
1313 debug_struct.field("_unknown_fields", &self._unknown_fields);
1314 }
1315 debug_struct.finish()
1316 }
1317}
1318
1319impl std::fmt::Debug for super::DeleteProcessorMetadata {
1320 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1321 let mut debug_struct = f.debug_struct("DeleteProcessorMetadata");
1322 debug_struct.field("common_metadata", &self.common_metadata);
1323 if !self._unknown_fields.is_empty() {
1324 debug_struct.field("_unknown_fields", &self._unknown_fields);
1325 }
1326 debug_struct.finish()
1327 }
1328}
1329
1330impl std::fmt::Debug for super::EnableProcessorRequest {
1331 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1332 let mut debug_struct = f.debug_struct("EnableProcessorRequest");
1333 debug_struct.field("name", &self.name);
1334 if !self._unknown_fields.is_empty() {
1335 debug_struct.field("_unknown_fields", &self._unknown_fields);
1336 }
1337 debug_struct.finish()
1338 }
1339}
1340
1341impl std::fmt::Debug for super::EnableProcessorResponse {
1342 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1343 let mut debug_struct = f.debug_struct("EnableProcessorResponse");
1344 if !self._unknown_fields.is_empty() {
1345 debug_struct.field("_unknown_fields", &self._unknown_fields);
1346 }
1347 debug_struct.finish()
1348 }
1349}
1350
1351impl std::fmt::Debug for super::EnableProcessorMetadata {
1352 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1353 let mut debug_struct = f.debug_struct("EnableProcessorMetadata");
1354 debug_struct.field("common_metadata", &self.common_metadata);
1355 if !self._unknown_fields.is_empty() {
1356 debug_struct.field("_unknown_fields", &self._unknown_fields);
1357 }
1358 debug_struct.finish()
1359 }
1360}
1361
1362impl std::fmt::Debug for super::DisableProcessorRequest {
1363 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1364 let mut debug_struct = f.debug_struct("DisableProcessorRequest");
1365 debug_struct.field("name", &self.name);
1366 if !self._unknown_fields.is_empty() {
1367 debug_struct.field("_unknown_fields", &self._unknown_fields);
1368 }
1369 debug_struct.finish()
1370 }
1371}
1372
1373impl std::fmt::Debug for super::DisableProcessorResponse {
1374 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1375 let mut debug_struct = f.debug_struct("DisableProcessorResponse");
1376 if !self._unknown_fields.is_empty() {
1377 debug_struct.field("_unknown_fields", &self._unknown_fields);
1378 }
1379 debug_struct.finish()
1380 }
1381}
1382
1383impl std::fmt::Debug for super::DisableProcessorMetadata {
1384 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1385 let mut debug_struct = f.debug_struct("DisableProcessorMetadata");
1386 debug_struct.field("common_metadata", &self.common_metadata);
1387 if !self._unknown_fields.is_empty() {
1388 debug_struct.field("_unknown_fields", &self._unknown_fields);
1389 }
1390 debug_struct.finish()
1391 }
1392}
1393
1394impl std::fmt::Debug for super::SetDefaultProcessorVersionRequest {
1395 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1396 let mut debug_struct = f.debug_struct("SetDefaultProcessorVersionRequest");
1397 debug_struct.field("processor", &self.processor);
1398 debug_struct.field("default_processor_version", &self.default_processor_version);
1399 if !self._unknown_fields.is_empty() {
1400 debug_struct.field("_unknown_fields", &self._unknown_fields);
1401 }
1402 debug_struct.finish()
1403 }
1404}
1405
1406impl std::fmt::Debug for super::SetDefaultProcessorVersionResponse {
1407 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1408 let mut debug_struct = f.debug_struct("SetDefaultProcessorVersionResponse");
1409 if !self._unknown_fields.is_empty() {
1410 debug_struct.field("_unknown_fields", &self._unknown_fields);
1411 }
1412 debug_struct.finish()
1413 }
1414}
1415
1416impl std::fmt::Debug for super::SetDefaultProcessorVersionMetadata {
1417 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1418 let mut debug_struct = f.debug_struct("SetDefaultProcessorVersionMetadata");
1419 debug_struct.field("common_metadata", &self.common_metadata);
1420 if !self._unknown_fields.is_empty() {
1421 debug_struct.field("_unknown_fields", &self._unknown_fields);
1422 }
1423 debug_struct.finish()
1424 }
1425}
1426
1427impl std::fmt::Debug for super::TrainProcessorVersionRequest {
1428 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1429 let mut debug_struct = f.debug_struct("TrainProcessorVersionRequest");
1430 debug_struct.field("parent", &self.parent);
1431 debug_struct.field("processor_version", &self.processor_version);
1432 debug_struct.field("document_schema", &self.document_schema);
1433 debug_struct.field("input_data", &self.input_data);
1434 debug_struct.field("base_processor_version", &self.base_processor_version);
1435 debug_struct.field("processor_flags", &self.processor_flags);
1436 if !self._unknown_fields.is_empty() {
1437 debug_struct.field("_unknown_fields", &self._unknown_fields);
1438 }
1439 debug_struct.finish()
1440 }
1441}
1442
1443impl std::fmt::Debug for super::train_processor_version_request::InputData {
1444 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1445 let mut debug_struct = f.debug_struct("InputData");
1446 debug_struct.field("training_documents", &self.training_documents);
1447 debug_struct.field("test_documents", &self.test_documents);
1448 if !self._unknown_fields.is_empty() {
1449 debug_struct.field("_unknown_fields", &self._unknown_fields);
1450 }
1451 debug_struct.finish()
1452 }
1453}
1454
1455impl std::fmt::Debug for super::train_processor_version_request::CustomDocumentExtractionOptions {
1456 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1457 let mut debug_struct = f.debug_struct("CustomDocumentExtractionOptions");
1458 debug_struct.field("training_method", &self.training_method);
1459 if !self._unknown_fields.is_empty() {
1460 debug_struct.field("_unknown_fields", &self._unknown_fields);
1461 }
1462 debug_struct.finish()
1463 }
1464}
1465
1466impl std::fmt::Debug for super::train_processor_version_request::FoundationModelTuningOptions {
1467 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1468 let mut debug_struct = f.debug_struct("FoundationModelTuningOptions");
1469 debug_struct.field("train_steps", &self.train_steps);
1470 debug_struct.field("learning_rate_multiplier", &self.learning_rate_multiplier);
1471 if !self._unknown_fields.is_empty() {
1472 debug_struct.field("_unknown_fields", &self._unknown_fields);
1473 }
1474 debug_struct.finish()
1475 }
1476}
1477
1478impl std::fmt::Debug for super::TrainProcessorVersionResponse {
1479 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1480 let mut debug_struct = f.debug_struct("TrainProcessorVersionResponse");
1481 debug_struct.field("processor_version", &self.processor_version);
1482 if !self._unknown_fields.is_empty() {
1483 debug_struct.field("_unknown_fields", &self._unknown_fields);
1484 }
1485 debug_struct.finish()
1486 }
1487}
1488
1489impl std::fmt::Debug for super::TrainProcessorVersionMetadata {
1490 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1491 let mut debug_struct = f.debug_struct("TrainProcessorVersionMetadata");
1492 debug_struct.field("common_metadata", &self.common_metadata);
1493 debug_struct.field(
1494 "training_dataset_validation",
1495 &self.training_dataset_validation,
1496 );
1497 debug_struct.field("test_dataset_validation", &self.test_dataset_validation);
1498 if !self._unknown_fields.is_empty() {
1499 debug_struct.field("_unknown_fields", &self._unknown_fields);
1500 }
1501 debug_struct.finish()
1502 }
1503}
1504
1505impl std::fmt::Debug for super::train_processor_version_metadata::DatasetValidation {
1506 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1507 let mut debug_struct = f.debug_struct("DatasetValidation");
1508 debug_struct.field("document_error_count", &self.document_error_count);
1509 debug_struct.field("dataset_error_count", &self.dataset_error_count);
1510 debug_struct.field("document_errors", &self.document_errors);
1511 debug_struct.field("dataset_errors", &self.dataset_errors);
1512 if !self._unknown_fields.is_empty() {
1513 debug_struct.field("_unknown_fields", &self._unknown_fields);
1514 }
1515 debug_struct.finish()
1516 }
1517}
1518
1519impl std::fmt::Debug for super::ReviewDocumentRequest {
1520 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1521 let mut debug_struct = f.debug_struct("ReviewDocumentRequest");
1522 debug_struct.field("human_review_config", &self.human_review_config);
1523 debug_struct.field("enable_schema_validation", &self.enable_schema_validation);
1524 debug_struct.field("priority", &self.priority);
1525 debug_struct.field("document_schema", &self.document_schema);
1526 debug_struct.field("source", &self.source);
1527 if !self._unknown_fields.is_empty() {
1528 debug_struct.field("_unknown_fields", &self._unknown_fields);
1529 }
1530 debug_struct.finish()
1531 }
1532}
1533
1534impl std::fmt::Debug for super::ReviewDocumentResponse {
1535 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1536 let mut debug_struct = f.debug_struct("ReviewDocumentResponse");
1537 debug_struct.field("gcs_destination", &self.gcs_destination);
1538 debug_struct.field("state", &self.state);
1539 debug_struct.field("rejection_reason", &self.rejection_reason);
1540 if !self._unknown_fields.is_empty() {
1541 debug_struct.field("_unknown_fields", &self._unknown_fields);
1542 }
1543 debug_struct.finish()
1544 }
1545}
1546
1547impl std::fmt::Debug for super::ReviewDocumentOperationMetadata {
1548 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1549 let mut debug_struct = f.debug_struct("ReviewDocumentOperationMetadata");
1550 debug_struct.field("common_metadata", &self.common_metadata);
1551 debug_struct.field("question_id", &self.question_id);
1552 if !self._unknown_fields.is_empty() {
1553 debug_struct.field("_unknown_fields", &self._unknown_fields);
1554 }
1555 debug_struct.finish()
1556 }
1557}
1558
1559impl std::fmt::Debug for super::EvaluateProcessorVersionRequest {
1560 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1561 let mut debug_struct = f.debug_struct("EvaluateProcessorVersionRequest");
1562 debug_struct.field("processor_version", &self.processor_version);
1563 debug_struct.field("evaluation_documents", &self.evaluation_documents);
1564 if !self._unknown_fields.is_empty() {
1565 debug_struct.field("_unknown_fields", &self._unknown_fields);
1566 }
1567 debug_struct.finish()
1568 }
1569}
1570
1571impl std::fmt::Debug for super::EvaluateProcessorVersionMetadata {
1572 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1573 let mut debug_struct = f.debug_struct("EvaluateProcessorVersionMetadata");
1574 debug_struct.field("common_metadata", &self.common_metadata);
1575 if !self._unknown_fields.is_empty() {
1576 debug_struct.field("_unknown_fields", &self._unknown_fields);
1577 }
1578 debug_struct.finish()
1579 }
1580}
1581
1582impl std::fmt::Debug for super::EvaluateProcessorVersionResponse {
1583 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1584 let mut debug_struct = f.debug_struct("EvaluateProcessorVersionResponse");
1585 debug_struct.field("evaluation", &self.evaluation);
1586 if !self._unknown_fields.is_empty() {
1587 debug_struct.field("_unknown_fields", &self._unknown_fields);
1588 }
1589 debug_struct.finish()
1590 }
1591}
1592
1593impl std::fmt::Debug for super::GetEvaluationRequest {
1594 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1595 let mut debug_struct = f.debug_struct("GetEvaluationRequest");
1596 debug_struct.field("name", &self.name);
1597 if !self._unknown_fields.is_empty() {
1598 debug_struct.field("_unknown_fields", &self._unknown_fields);
1599 }
1600 debug_struct.finish()
1601 }
1602}
1603
1604impl std::fmt::Debug for super::ListEvaluationsRequest {
1605 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1606 let mut debug_struct = f.debug_struct("ListEvaluationsRequest");
1607 debug_struct.field("parent", &self.parent);
1608 debug_struct.field("page_size", &self.page_size);
1609 debug_struct.field("page_token", &self.page_token);
1610 if !self._unknown_fields.is_empty() {
1611 debug_struct.field("_unknown_fields", &self._unknown_fields);
1612 }
1613 debug_struct.finish()
1614 }
1615}
1616
1617impl std::fmt::Debug for super::ListEvaluationsResponse {
1618 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1619 let mut debug_struct = f.debug_struct("ListEvaluationsResponse");
1620 debug_struct.field("evaluations", &self.evaluations);
1621 debug_struct.field("next_page_token", &self.next_page_token);
1622 if !self._unknown_fields.is_empty() {
1623 debug_struct.field("_unknown_fields", &self._unknown_fields);
1624 }
1625 debug_struct.finish()
1626 }
1627}
1628
1629impl std::fmt::Debug for super::DocumentSchema {
1630 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1631 let mut debug_struct = f.debug_struct("DocumentSchema");
1632 debug_struct.field("display_name", &self.display_name);
1633 debug_struct.field("description", &self.description);
1634 debug_struct.field("entity_types", &self.entity_types);
1635 debug_struct.field("metadata", &self.metadata);
1636 if !self._unknown_fields.is_empty() {
1637 debug_struct.field("_unknown_fields", &self._unknown_fields);
1638 }
1639 debug_struct.finish()
1640 }
1641}
1642
1643impl std::fmt::Debug for super::document_schema::EntityType {
1644 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1645 let mut debug_struct = f.debug_struct("EntityType");
1646 debug_struct.field("display_name", &self.display_name);
1647 debug_struct.field("name", &self.name);
1648 debug_struct.field("base_types", &self.base_types);
1649 debug_struct.field("properties", &self.properties);
1650 debug_struct.field("value_source", &self.value_source);
1651 if !self._unknown_fields.is_empty() {
1652 debug_struct.field("_unknown_fields", &self._unknown_fields);
1653 }
1654 debug_struct.finish()
1655 }
1656}
1657
1658impl std::fmt::Debug for super::document_schema::entity_type::EnumValues {
1659 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1660 let mut debug_struct = f.debug_struct("EnumValues");
1661 debug_struct.field("values", &self.values);
1662 if !self._unknown_fields.is_empty() {
1663 debug_struct.field("_unknown_fields", &self._unknown_fields);
1664 }
1665 debug_struct.finish()
1666 }
1667}
1668
1669impl std::fmt::Debug for super::document_schema::entity_type::Property {
1670 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1671 let mut debug_struct = f.debug_struct("Property");
1672 debug_struct.field("name", &self.name);
1673 debug_struct.field("display_name", &self.display_name);
1674 debug_struct.field("value_type", &self.value_type);
1675 debug_struct.field("occurrence_type", &self.occurrence_type);
1676 debug_struct.field("method", &self.method);
1677 if !self._unknown_fields.is_empty() {
1678 debug_struct.field("_unknown_fields", &self._unknown_fields);
1679 }
1680 debug_struct.finish()
1681 }
1682}
1683
1684impl std::fmt::Debug for super::document_schema::Metadata {
1685 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1686 let mut debug_struct = f.debug_struct("Metadata");
1687 debug_struct.field("document_splitter", &self.document_splitter);
1688 debug_struct.field(
1689 "document_allow_multiple_labels",
1690 &self.document_allow_multiple_labels,
1691 );
1692 debug_struct.field(
1693 "prefixed_naming_on_properties",
1694 &self.prefixed_naming_on_properties,
1695 );
1696 debug_struct.field("skip_naming_validation", &self.skip_naming_validation);
1697 if !self._unknown_fields.is_empty() {
1698 debug_struct.field("_unknown_fields", &self._unknown_fields);
1699 }
1700 debug_struct.finish()
1701 }
1702}
1703
1704impl std::fmt::Debug for super::EvaluationReference {
1705 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1706 let mut debug_struct = f.debug_struct("EvaluationReference");
1707 debug_struct.field("operation", &self.operation);
1708 debug_struct.field("evaluation", &self.evaluation);
1709 debug_struct.field("aggregate_metrics", &self.aggregate_metrics);
1710 debug_struct.field("aggregate_metrics_exact", &self.aggregate_metrics_exact);
1711 if !self._unknown_fields.is_empty() {
1712 debug_struct.field("_unknown_fields", &self._unknown_fields);
1713 }
1714 debug_struct.finish()
1715 }
1716}
1717
1718impl std::fmt::Debug for super::Evaluation {
1719 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1720 let mut debug_struct = f.debug_struct("Evaluation");
1721 debug_struct.field("name", &self.name);
1722 debug_struct.field("create_time", &self.create_time);
1723 debug_struct.field("document_counters", &self.document_counters);
1724 debug_struct.field("all_entities_metrics", &self.all_entities_metrics);
1725 debug_struct.field("entity_metrics", &self.entity_metrics);
1726 debug_struct.field("kms_key_name", &self.kms_key_name);
1727 debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
1728 if !self._unknown_fields.is_empty() {
1729 debug_struct.field("_unknown_fields", &self._unknown_fields);
1730 }
1731 debug_struct.finish()
1732 }
1733}
1734
1735impl std::fmt::Debug for super::evaluation::Counters {
1736 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1737 let mut debug_struct = f.debug_struct("Counters");
1738 debug_struct.field("input_documents_count", &self.input_documents_count);
1739 debug_struct.field("invalid_documents_count", &self.invalid_documents_count);
1740 debug_struct.field("failed_documents_count", &self.failed_documents_count);
1741 debug_struct.field("evaluated_documents_count", &self.evaluated_documents_count);
1742 if !self._unknown_fields.is_empty() {
1743 debug_struct.field("_unknown_fields", &self._unknown_fields);
1744 }
1745 debug_struct.finish()
1746 }
1747}
1748
1749impl std::fmt::Debug for super::evaluation::Metrics {
1750 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1751 let mut debug_struct = f.debug_struct("Metrics");
1752 debug_struct.field("precision", &self.precision);
1753 debug_struct.field("recall", &self.recall);
1754 debug_struct.field("f1_score", &self.f1_score);
1755 debug_struct.field(
1756 "predicted_occurrences_count",
1757 &self.predicted_occurrences_count,
1758 );
1759 debug_struct.field(
1760 "ground_truth_occurrences_count",
1761 &self.ground_truth_occurrences_count,
1762 );
1763 debug_struct.field("predicted_document_count", &self.predicted_document_count);
1764 debug_struct.field(
1765 "ground_truth_document_count",
1766 &self.ground_truth_document_count,
1767 );
1768 debug_struct.field("true_positives_count", &self.true_positives_count);
1769 debug_struct.field("false_positives_count", &self.false_positives_count);
1770 debug_struct.field("false_negatives_count", &self.false_negatives_count);
1771 debug_struct.field("total_documents_count", &self.total_documents_count);
1772 if !self._unknown_fields.is_empty() {
1773 debug_struct.field("_unknown_fields", &self._unknown_fields);
1774 }
1775 debug_struct.finish()
1776 }
1777}
1778
1779impl std::fmt::Debug for super::evaluation::ConfidenceLevelMetrics {
1780 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1781 let mut debug_struct = f.debug_struct("ConfidenceLevelMetrics");
1782 debug_struct.field("confidence_level", &self.confidence_level);
1783 debug_struct.field("metrics", &self.metrics);
1784 if !self._unknown_fields.is_empty() {
1785 debug_struct.field("_unknown_fields", &self._unknown_fields);
1786 }
1787 debug_struct.finish()
1788 }
1789}
1790
1791impl std::fmt::Debug for super::evaluation::MultiConfidenceMetrics {
1792 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1793 let mut debug_struct = f.debug_struct("MultiConfidenceMetrics");
1794 debug_struct.field("confidence_level_metrics", &self.confidence_level_metrics);
1795 debug_struct.field(
1796 "confidence_level_metrics_exact",
1797 &self.confidence_level_metrics_exact,
1798 );
1799 debug_struct.field("auprc", &self.auprc);
1800 debug_struct.field(
1801 "estimated_calibration_error",
1802 &self.estimated_calibration_error,
1803 );
1804 debug_struct.field("auprc_exact", &self.auprc_exact);
1805 debug_struct.field(
1806 "estimated_calibration_error_exact",
1807 &self.estimated_calibration_error_exact,
1808 );
1809 debug_struct.field("metrics_type", &self.metrics_type);
1810 if !self._unknown_fields.is_empty() {
1811 debug_struct.field("_unknown_fields", &self._unknown_fields);
1812 }
1813 debug_struct.finish()
1814 }
1815}
1816
1817impl std::fmt::Debug for super::Vertex {
1818 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1819 let mut debug_struct = f.debug_struct("Vertex");
1820 debug_struct.field("x", &self.x);
1821 debug_struct.field("y", &self.y);
1822 if !self._unknown_fields.is_empty() {
1823 debug_struct.field("_unknown_fields", &self._unknown_fields);
1824 }
1825 debug_struct.finish()
1826 }
1827}
1828
1829impl std::fmt::Debug for super::NormalizedVertex {
1830 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1831 let mut debug_struct = f.debug_struct("NormalizedVertex");
1832 debug_struct.field("x", &self.x);
1833 debug_struct.field("y", &self.y);
1834 if !self._unknown_fields.is_empty() {
1835 debug_struct.field("_unknown_fields", &self._unknown_fields);
1836 }
1837 debug_struct.finish()
1838 }
1839}
1840
1841impl std::fmt::Debug for super::BoundingPoly {
1842 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1843 let mut debug_struct = f.debug_struct("BoundingPoly");
1844 debug_struct.field("vertices", &self.vertices);
1845 debug_struct.field("normalized_vertices", &self.normalized_vertices);
1846 if !self._unknown_fields.is_empty() {
1847 debug_struct.field("_unknown_fields", &self._unknown_fields);
1848 }
1849 debug_struct.finish()
1850 }
1851}
1852
1853impl std::fmt::Debug for super::CommonOperationMetadata {
1854 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1855 let mut debug_struct = f.debug_struct("CommonOperationMetadata");
1856 debug_struct.field("state", &self.state);
1857 debug_struct.field("state_message", &self.state_message);
1858 debug_struct.field("resource", &self.resource);
1859 debug_struct.field("create_time", &self.create_time);
1860 debug_struct.field("update_time", &self.update_time);
1861 if !self._unknown_fields.is_empty() {
1862 debug_struct.field("_unknown_fields", &self._unknown_fields);
1863 }
1864 debug_struct.finish()
1865 }
1866}
1867
1868impl std::fmt::Debug for super::ProcessorVersion {
1869 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1870 let mut debug_struct = f.debug_struct("ProcessorVersion");
1871 debug_struct.field("name", &self.name);
1872 debug_struct.field("display_name", &self.display_name);
1873 debug_struct.field("document_schema", &self.document_schema);
1874 debug_struct.field("state", &self.state);
1875 debug_struct.field("create_time", &self.create_time);
1876 debug_struct.field("latest_evaluation", &self.latest_evaluation);
1877 debug_struct.field("kms_key_name", &self.kms_key_name);
1878 debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
1879 debug_struct.field("google_managed", &self.google_managed);
1880 debug_struct.field("deprecation_info", &self.deprecation_info);
1881 debug_struct.field("model_type", &self.model_type);
1882 debug_struct.field("satisfies_pzs", &self.satisfies_pzs);
1883 debug_struct.field("satisfies_pzi", &self.satisfies_pzi);
1884 debug_struct.field("gen_ai_model_info", &self.gen_ai_model_info);
1885 if !self._unknown_fields.is_empty() {
1886 debug_struct.field("_unknown_fields", &self._unknown_fields);
1887 }
1888 debug_struct.finish()
1889 }
1890}
1891
1892impl std::fmt::Debug for super::processor_version::DeprecationInfo {
1893 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1894 let mut debug_struct = f.debug_struct("DeprecationInfo");
1895 debug_struct.field("deprecation_time", &self.deprecation_time);
1896 debug_struct.field(
1897 "replacement_processor_version",
1898 &self.replacement_processor_version,
1899 );
1900 if !self._unknown_fields.is_empty() {
1901 debug_struct.field("_unknown_fields", &self._unknown_fields);
1902 }
1903 debug_struct.finish()
1904 }
1905}
1906
1907impl std::fmt::Debug for super::processor_version::GenAiModelInfo {
1908 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1909 let mut debug_struct = f.debug_struct("GenAiModelInfo");
1910 debug_struct.field("model_info", &self.model_info);
1911 if !self._unknown_fields.is_empty() {
1912 debug_struct.field("_unknown_fields", &self._unknown_fields);
1913 }
1914 debug_struct.finish()
1915 }
1916}
1917
1918impl std::fmt::Debug for super::processor_version::gen_ai_model_info::FoundationGenAiModelInfo {
1919 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1920 let mut debug_struct = f.debug_struct("FoundationGenAiModelInfo");
1921 debug_struct.field("finetuning_allowed", &self.finetuning_allowed);
1922 debug_struct.field(
1923 "min_train_labeled_documents",
1924 &self.min_train_labeled_documents,
1925 );
1926 if !self._unknown_fields.is_empty() {
1927 debug_struct.field("_unknown_fields", &self._unknown_fields);
1928 }
1929 debug_struct.finish()
1930 }
1931}
1932
1933impl std::fmt::Debug for super::processor_version::gen_ai_model_info::CustomGenAiModelInfo {
1934 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1935 let mut debug_struct = f.debug_struct("CustomGenAiModelInfo");
1936 debug_struct.field("custom_model_type", &self.custom_model_type);
1937 debug_struct.field("base_processor_version_id", &self.base_processor_version_id);
1938 if !self._unknown_fields.is_empty() {
1939 debug_struct.field("_unknown_fields", &self._unknown_fields);
1940 }
1941 debug_struct.finish()
1942 }
1943}
1944
1945impl std::fmt::Debug for super::ProcessorVersionAlias {
1946 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1947 let mut debug_struct = f.debug_struct("ProcessorVersionAlias");
1948 debug_struct.field("alias", &self.alias);
1949 debug_struct.field("processor_version", &self.processor_version);
1950 if !self._unknown_fields.is_empty() {
1951 debug_struct.field("_unknown_fields", &self._unknown_fields);
1952 }
1953 debug_struct.finish()
1954 }
1955}
1956
1957impl std::fmt::Debug for super::Processor {
1958 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1959 let mut debug_struct = f.debug_struct("Processor");
1960 debug_struct.field("name", &self.name);
1961 debug_struct.field("r#type", &self.r#type);
1962 debug_struct.field("display_name", &self.display_name);
1963 debug_struct.field("state", &self.state);
1964 debug_struct.field("default_processor_version", &self.default_processor_version);
1965 debug_struct.field("processor_version_aliases", &self.processor_version_aliases);
1966 debug_struct.field("process_endpoint", &self.process_endpoint);
1967 debug_struct.field("create_time", &self.create_time);
1968 debug_struct.field("kms_key_name", &self.kms_key_name);
1969 debug_struct.field("satisfies_pzs", &self.satisfies_pzs);
1970 debug_struct.field("satisfies_pzi", &self.satisfies_pzi);
1971 if !self._unknown_fields.is_empty() {
1972 debug_struct.field("_unknown_fields", &self._unknown_fields);
1973 }
1974 debug_struct.finish()
1975 }
1976}
1977
1978impl std::fmt::Debug for super::ProcessorType {
1979 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1980 let mut debug_struct = f.debug_struct("ProcessorType");
1981 debug_struct.field("name", &self.name);
1982 debug_struct.field("r#type", &self.r#type);
1983 debug_struct.field("category", &self.category);
1984 debug_struct.field("available_locations", &self.available_locations);
1985 debug_struct.field("allow_creation", &self.allow_creation);
1986 debug_struct.field("launch_stage", &self.launch_stage);
1987 debug_struct.field("sample_document_uris", &self.sample_document_uris);
1988 if !self._unknown_fields.is_empty() {
1989 debug_struct.field("_unknown_fields", &self._unknown_fields);
1990 }
1991 debug_struct.finish()
1992 }
1993}
1994
1995impl std::fmt::Debug for super::processor_type::LocationInfo {
1996 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1997 let mut debug_struct = f.debug_struct("LocationInfo");
1998 debug_struct.field("location_id", &self.location_id);
1999 if !self._unknown_fields.is_empty() {
2000 debug_struct.field("_unknown_fields", &self._unknown_fields);
2001 }
2002 debug_struct.finish()
2003 }
2004}