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