1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Template {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Template");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("create_time", &self.create_time);
25 debug_struct.field("update_time", &self.update_time);
26 debug_struct.field("labels", &self.labels);
27 debug_struct.field("filter_config", &self.filter_config);
28 debug_struct.field("template_metadata", &self.template_metadata);
29 if !self._unknown_fields.is_empty() {
30 debug_struct.field("_unknown_fields", &self._unknown_fields);
31 }
32 debug_struct.finish()
33 }
34}
35
36impl std::fmt::Debug for super::template::TemplateMetadata {
37 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
38 let mut debug_struct = f.debug_struct("TemplateMetadata");
39 debug_struct.field(
40 "ignore_partial_invocation_failures",
41 &self.ignore_partial_invocation_failures,
42 );
43 debug_struct.field(
44 "custom_prompt_safety_error_code",
45 &self.custom_prompt_safety_error_code,
46 );
47 debug_struct.field(
48 "custom_prompt_safety_error_message",
49 &self.custom_prompt_safety_error_message,
50 );
51 debug_struct.field(
52 "custom_llm_response_safety_error_code",
53 &self.custom_llm_response_safety_error_code,
54 );
55 debug_struct.field(
56 "custom_llm_response_safety_error_message",
57 &self.custom_llm_response_safety_error_message,
58 );
59 debug_struct.field("log_template_operations", &self.log_template_operations);
60 debug_struct.field("log_sanitize_operations", &self.log_sanitize_operations);
61 debug_struct.field("enforcement_type", &self.enforcement_type);
62 debug_struct.field("multi_language_detection", &self.multi_language_detection);
63 debug_struct.field("modalities", &self.modalities);
64 if !self._unknown_fields.is_empty() {
65 debug_struct.field("_unknown_fields", &self._unknown_fields);
66 }
67 debug_struct.finish()
68 }
69}
70
71impl std::fmt::Debug for super::template::template_metadata::MultiLanguageDetection {
72 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
73 let mut debug_struct = f.debug_struct("MultiLanguageDetection");
74 debug_struct.field(
75 "enable_multi_language_detection",
76 &self.enable_multi_language_detection,
77 );
78 if !self._unknown_fields.is_empty() {
79 debug_struct.field("_unknown_fields", &self._unknown_fields);
80 }
81 debug_struct.finish()
82 }
83}
84
85impl std::fmt::Debug for super::FloorSetting {
86 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
87 let mut debug_struct = f.debug_struct("FloorSetting");
88 debug_struct.field("name", &self.name);
89 debug_struct.field("create_time", &self.create_time);
90 debug_struct.field("update_time", &self.update_time);
91 debug_struct.field("filter_config", &self.filter_config);
92 debug_struct.field(
93 "enable_floor_setting_enforcement",
94 &self.enable_floor_setting_enforcement,
95 );
96 debug_struct.field("integrated_services", &self.integrated_services);
97 debug_struct.field("ai_platform_floor_setting", &self.ai_platform_floor_setting);
98 debug_struct.field("floor_setting_metadata", &self.floor_setting_metadata);
99 if !self._unknown_fields.is_empty() {
100 debug_struct.field("_unknown_fields", &self._unknown_fields);
101 }
102 debug_struct.finish()
103 }
104}
105
106impl std::fmt::Debug for super::floor_setting::FloorSettingMetadata {
107 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
108 let mut debug_struct = f.debug_struct("FloorSettingMetadata");
109 debug_struct.field("multi_language_detection", &self.multi_language_detection);
110 if !self._unknown_fields.is_empty() {
111 debug_struct.field("_unknown_fields", &self._unknown_fields);
112 }
113 debug_struct.finish()
114 }
115}
116
117impl std::fmt::Debug for super::floor_setting::floor_setting_metadata::MultiLanguageDetection {
118 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
119 let mut debug_struct = f.debug_struct("MultiLanguageDetection");
120 debug_struct.field(
121 "enable_multi_language_detection",
122 &self.enable_multi_language_detection,
123 );
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::AiPlatformFloorSetting {
132 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
133 let mut debug_struct = f.debug_struct("AiPlatformFloorSetting");
134 debug_struct.field("enable_cloud_logging", &self.enable_cloud_logging);
135 debug_struct.field("enforcement_type", &self.enforcement_type);
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::ListTemplatesRequest {
144 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
145 let mut debug_struct = f.debug_struct("ListTemplatesRequest");
146 debug_struct.field("parent", &self.parent);
147 debug_struct.field("page_size", &self.page_size);
148 debug_struct.field("page_token", &self.page_token);
149 debug_struct.field("filter", &self.filter);
150 debug_struct.field("order_by", &self.order_by);
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::ListTemplatesResponse {
159 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
160 let mut debug_struct = f.debug_struct("ListTemplatesResponse");
161 debug_struct.field("templates", &self.templates);
162 debug_struct.field("next_page_token", &self.next_page_token);
163 debug_struct.field("unreachable", &self.unreachable);
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::GetTemplateRequest {
172 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
173 let mut debug_struct = f.debug_struct("GetTemplateRequest");
174 debug_struct.field("name", &self.name);
175 if !self._unknown_fields.is_empty() {
176 debug_struct.field("_unknown_fields", &self._unknown_fields);
177 }
178 debug_struct.finish()
179 }
180}
181
182impl std::fmt::Debug for super::CreateTemplateRequest {
183 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
184 let mut debug_struct = f.debug_struct("CreateTemplateRequest");
185 debug_struct.field("parent", &self.parent);
186 debug_struct.field("template_id", &self.template_id);
187 debug_struct.field("template", &self.template);
188 debug_struct.field("request_id", &self.request_id);
189 if !self._unknown_fields.is_empty() {
190 debug_struct.field("_unknown_fields", &self._unknown_fields);
191 }
192 debug_struct.finish()
193 }
194}
195
196impl std::fmt::Debug for super::UpdateTemplateRequest {
197 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
198 let mut debug_struct = f.debug_struct("UpdateTemplateRequest");
199 debug_struct.field("update_mask", &self.update_mask);
200 debug_struct.field("template", &self.template);
201 debug_struct.field("request_id", &self.request_id);
202 if !self._unknown_fields.is_empty() {
203 debug_struct.field("_unknown_fields", &self._unknown_fields);
204 }
205 debug_struct.finish()
206 }
207}
208
209impl std::fmt::Debug for super::DeleteTemplateRequest {
210 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
211 let mut debug_struct = f.debug_struct("DeleteTemplateRequest");
212 debug_struct.field("name", &self.name);
213 debug_struct.field("request_id", &self.request_id);
214 if !self._unknown_fields.is_empty() {
215 debug_struct.field("_unknown_fields", &self._unknown_fields);
216 }
217 debug_struct.finish()
218 }
219}
220
221impl std::fmt::Debug for super::GetFloorSettingRequest {
222 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
223 let mut debug_struct = f.debug_struct("GetFloorSettingRequest");
224 debug_struct.field("name", &self.name);
225 if !self._unknown_fields.is_empty() {
226 debug_struct.field("_unknown_fields", &self._unknown_fields);
227 }
228 debug_struct.finish()
229 }
230}
231
232impl std::fmt::Debug for super::UpdateFloorSettingRequest {
233 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
234 let mut debug_struct = f.debug_struct("UpdateFloorSettingRequest");
235 debug_struct.field("floor_setting", &self.floor_setting);
236 debug_struct.field("update_mask", &self.update_mask);
237 if !self._unknown_fields.is_empty() {
238 debug_struct.field("_unknown_fields", &self._unknown_fields);
239 }
240 debug_struct.finish()
241 }
242}
243
244impl std::fmt::Debug for super::FilterConfig {
245 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
246 let mut debug_struct = f.debug_struct("FilterConfig");
247 debug_struct.field("rai_settings", &self.rai_settings);
248 debug_struct.field("sdp_settings", &self.sdp_settings);
249 debug_struct.field(
250 "pi_and_jailbreak_filter_settings",
251 &self.pi_and_jailbreak_filter_settings,
252 );
253 debug_struct.field(
254 "malicious_uri_filter_settings",
255 &self.malicious_uri_filter_settings,
256 );
257 if !self._unknown_fields.is_empty() {
258 debug_struct.field("_unknown_fields", &self._unknown_fields);
259 }
260 debug_struct.finish()
261 }
262}
263
264impl std::fmt::Debug for super::PiAndJailbreakFilterSettings {
265 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
266 let mut debug_struct = f.debug_struct("PiAndJailbreakFilterSettings");
267 debug_struct.field("filter_enforcement", &self.filter_enforcement);
268 debug_struct.field("confidence_level", &self.confidence_level);
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::MaliciousUriFilterSettings {
277 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
278 let mut debug_struct = f.debug_struct("MaliciousUriFilterSettings");
279 debug_struct.field("filter_enforcement", &self.filter_enforcement);
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::RaiFilterSettings {
288 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
289 let mut debug_struct = f.debug_struct("RaiFilterSettings");
290 debug_struct.field("rai_filters", &self.rai_filters);
291 if !self._unknown_fields.is_empty() {
292 debug_struct.field("_unknown_fields", &self._unknown_fields);
293 }
294 debug_struct.finish()
295 }
296}
297
298impl std::fmt::Debug for super::rai_filter_settings::RaiFilter {
299 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
300 let mut debug_struct = f.debug_struct("RaiFilter");
301 debug_struct.field("filter_type", &self.filter_type);
302 debug_struct.field("confidence_level", &self.confidence_level);
303 if !self._unknown_fields.is_empty() {
304 debug_struct.field("_unknown_fields", &self._unknown_fields);
305 }
306 debug_struct.finish()
307 }
308}
309
310impl std::fmt::Debug for super::SdpFilterSettings {
311 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
312 let mut debug_struct = f.debug_struct("SdpFilterSettings");
313 debug_struct.field("sdp_configuration", &self.sdp_configuration);
314 if !self._unknown_fields.is_empty() {
315 debug_struct.field("_unknown_fields", &self._unknown_fields);
316 }
317 debug_struct.finish()
318 }
319}
320
321impl std::fmt::Debug for super::SdpBasicConfig {
322 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
323 let mut debug_struct = f.debug_struct("SdpBasicConfig");
324 debug_struct.field("filter_enforcement", &self.filter_enforcement);
325 if !self._unknown_fields.is_empty() {
326 debug_struct.field("_unknown_fields", &self._unknown_fields);
327 }
328 debug_struct.finish()
329 }
330}
331
332impl std::fmt::Debug for super::SdpAdvancedConfig {
333 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
334 let mut debug_struct = f.debug_struct("SdpAdvancedConfig");
335 debug_struct.field("inspect_template", &self.inspect_template);
336 debug_struct.field("deidentify_template", &self.deidentify_template);
337 if !self._unknown_fields.is_empty() {
338 debug_struct.field("_unknown_fields", &self._unknown_fields);
339 }
340 debug_struct.finish()
341 }
342}
343
344impl std::fmt::Debug for super::SanitizeUserPromptRequest {
345 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
346 let mut debug_struct = f.debug_struct("SanitizeUserPromptRequest");
347 debug_struct.field("name", &self.name);
348 debug_struct.field("user_prompt_data", &self.user_prompt_data);
349 debug_struct.field(
350 "multi_language_detection_metadata",
351 &self.multi_language_detection_metadata,
352 );
353 debug_struct.field("streaming_mode", &self.streaming_mode);
354 if !self._unknown_fields.is_empty() {
355 debug_struct.field("_unknown_fields", &self._unknown_fields);
356 }
357 debug_struct.finish()
358 }
359}
360
361impl std::fmt::Debug for super::SanitizeModelResponseRequest {
362 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
363 let mut debug_struct = f.debug_struct("SanitizeModelResponseRequest");
364 debug_struct.field("name", &self.name);
365 debug_struct.field("model_response_data", &self.model_response_data);
366 debug_struct.field("user_prompt", &self.user_prompt);
367 debug_struct.field(
368 "multi_language_detection_metadata",
369 &self.multi_language_detection_metadata,
370 );
371 debug_struct.field("streaming_mode", &self.streaming_mode);
372 if !self._unknown_fields.is_empty() {
373 debug_struct.field("_unknown_fields", &self._unknown_fields);
374 }
375 debug_struct.finish()
376 }
377}
378
379impl std::fmt::Debug for super::SanitizeUserPromptResponse {
380 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
381 let mut debug_struct = f.debug_struct("SanitizeUserPromptResponse");
382 debug_struct.field("sanitization_result", &self.sanitization_result);
383 if !self._unknown_fields.is_empty() {
384 debug_struct.field("_unknown_fields", &self._unknown_fields);
385 }
386 debug_struct.finish()
387 }
388}
389
390impl std::fmt::Debug for super::SanitizeModelResponseResponse {
391 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
392 let mut debug_struct = f.debug_struct("SanitizeModelResponseResponse");
393 debug_struct.field("sanitization_result", &self.sanitization_result);
394 if !self._unknown_fields.is_empty() {
395 debug_struct.field("_unknown_fields", &self._unknown_fields);
396 }
397 debug_struct.finish()
398 }
399}
400
401impl std::fmt::Debug for super::SanitizationResult {
402 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
403 let mut debug_struct = f.debug_struct("SanitizationResult");
404 debug_struct.field("filter_match_state", &self.filter_match_state);
405 debug_struct.field("filter_results", &self.filter_results);
406 debug_struct.field("invocation_result", &self.invocation_result);
407 debug_struct.field("sanitization_metadata", &self.sanitization_metadata);
408 if !self._unknown_fields.is_empty() {
409 debug_struct.field("_unknown_fields", &self._unknown_fields);
410 }
411 debug_struct.finish()
412 }
413}
414
415impl std::fmt::Debug for super::sanitization_result::SanitizationMetadata {
416 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
417 let mut debug_struct = f.debug_struct("SanitizationMetadata");
418 debug_struct.field("error_code", &self.error_code);
419 debug_struct.field("error_message", &self.error_message);
420 debug_struct.field(
421 "ignore_partial_invocation_failures",
422 &self.ignore_partial_invocation_failures,
423 );
424 debug_struct.field("stream_chunk_processed", &self.stream_chunk_processed);
425 if !self._unknown_fields.is_empty() {
426 debug_struct.field("_unknown_fields", &self._unknown_fields);
427 }
428 debug_struct.finish()
429 }
430}
431
432impl std::fmt::Debug for super::MultiLanguageDetectionMetadata {
433 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
434 let mut debug_struct = f.debug_struct("MultiLanguageDetectionMetadata");
435 debug_struct.field("source_language", &self.source_language);
436 debug_struct.field(
437 "enable_multi_language_detection",
438 &self.enable_multi_language_detection,
439 );
440 if !self._unknown_fields.is_empty() {
441 debug_struct.field("_unknown_fields", &self._unknown_fields);
442 }
443 debug_struct.finish()
444 }
445}
446
447impl std::fmt::Debug for super::FilterResult {
448 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
449 let mut debug_struct = f.debug_struct("FilterResult");
450 debug_struct.field("filter_result", &self.filter_result);
451 if !self._unknown_fields.is_empty() {
452 debug_struct.field("_unknown_fields", &self._unknown_fields);
453 }
454 debug_struct.finish()
455 }
456}
457
458impl std::fmt::Debug for super::RaiFilterResult {
459 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
460 let mut debug_struct = f.debug_struct("RaiFilterResult");
461 debug_struct.field("execution_state", &self.execution_state);
462 debug_struct.field("message_items", &self.message_items);
463 debug_struct.field("match_state", &self.match_state);
464 debug_struct.field("rai_filter_type_results", &self.rai_filter_type_results);
465 if !self._unknown_fields.is_empty() {
466 debug_struct.field("_unknown_fields", &self._unknown_fields);
467 }
468 debug_struct.finish()
469 }
470}
471
472impl std::fmt::Debug for super::rai_filter_result::RaiFilterTypeResult {
473 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
474 let mut debug_struct = f.debug_struct("RaiFilterTypeResult");
475 debug_struct.field("filter_type", &self.filter_type);
476 debug_struct.field("confidence_level", &self.confidence_level);
477 debug_struct.field("match_state", &self.match_state);
478 if !self._unknown_fields.is_empty() {
479 debug_struct.field("_unknown_fields", &self._unknown_fields);
480 }
481 debug_struct.finish()
482 }
483}
484
485impl std::fmt::Debug for super::SdpFilterResult {
486 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
487 let mut debug_struct = f.debug_struct("SdpFilterResult");
488 debug_struct.field("result", &self.result);
489 if !self._unknown_fields.is_empty() {
490 debug_struct.field("_unknown_fields", &self._unknown_fields);
491 }
492 debug_struct.finish()
493 }
494}
495
496impl std::fmt::Debug for super::SdpInspectResult {
497 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
498 let mut debug_struct = f.debug_struct("SdpInspectResult");
499 debug_struct.field("execution_state", &self.execution_state);
500 debug_struct.field("message_items", &self.message_items);
501 debug_struct.field("match_state", &self.match_state);
502 debug_struct.field("findings", &self.findings);
503 debug_struct.field("findings_truncated", &self.findings_truncated);
504 debug_struct.field("extracted_image_text", &self.extracted_image_text);
505 if !self._unknown_fields.is_empty() {
506 debug_struct.field("_unknown_fields", &self._unknown_fields);
507 }
508 debug_struct.finish()
509 }
510}
511
512impl std::fmt::Debug for super::DataItem {
513 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
514 let mut debug_struct = f.debug_struct("DataItem");
515 debug_struct.field("data_item", &self.data_item);
516 if !self._unknown_fields.is_empty() {
517 debug_struct.field("_unknown_fields", &self._unknown_fields);
518 }
519 debug_struct.finish()
520 }
521}
522
523impl std::fmt::Debug for super::ByteDataItem {
524 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
525 let mut debug_struct = f.debug_struct("ByteDataItem");
526 debug_struct.field("byte_data_type", &self.byte_data_type);
527 debug_struct.field("byte_data", &self.byte_data);
528 if !self._unknown_fields.is_empty() {
529 debug_struct.field("_unknown_fields", &self._unknown_fields);
530 }
531 debug_struct.finish()
532 }
533}
534
535impl std::fmt::Debug for super::SdpDeidentifyResult {
536 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
537 let mut debug_struct = f.debug_struct("SdpDeidentifyResult");
538 debug_struct.field("execution_state", &self.execution_state);
539 debug_struct.field("message_items", &self.message_items);
540 debug_struct.field("match_state", &self.match_state);
541 debug_struct.field("data", &self.data);
542 debug_struct.field("transformed_bytes", &self.transformed_bytes);
543 debug_struct.field("info_types", &self.info_types);
544 if !self._unknown_fields.is_empty() {
545 debug_struct.field("_unknown_fields", &self._unknown_fields);
546 }
547 debug_struct.finish()
548 }
549}
550
551impl std::fmt::Debug for super::SdpImageFindingLocation {
552 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
553 let mut debug_struct = f.debug_struct("SdpImageFindingLocation");
554 debug_struct.field("bounding_boxes", &self.bounding_boxes);
555 if !self._unknown_fields.is_empty() {
556 debug_struct.field("_unknown_fields", &self._unknown_fields);
557 }
558 debug_struct.finish()
559 }
560}
561
562impl std::fmt::Debug for super::sdp_image_finding_location::SdpBoundingBox {
563 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
564 let mut debug_struct = f.debug_struct("SdpBoundingBox");
565 debug_struct.field("top", &self.top);
566 debug_struct.field("left", &self.left);
567 debug_struct.field("width", &self.width);
568 debug_struct.field("height", &self.height);
569 if !self._unknown_fields.is_empty() {
570 debug_struct.field("_unknown_fields", &self._unknown_fields);
571 }
572 debug_struct.finish()
573 }
574}
575
576impl std::fmt::Debug for super::SdpContentLocation {
577 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
578 let mut debug_struct = f.debug_struct("SdpContentLocation");
579 debug_struct.field("container_name", &self.container_name);
580 debug_struct.field("location", &self.location);
581 if !self._unknown_fields.is_empty() {
582 debug_struct.field("_unknown_fields", &self._unknown_fields);
583 }
584 debug_struct.finish()
585 }
586}
587
588impl std::fmt::Debug for super::SdpFinding {
589 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
590 let mut debug_struct = f.debug_struct("SdpFinding");
591 debug_struct.field("info_type", &self.info_type);
592 debug_struct.field("likelihood", &self.likelihood);
593 debug_struct.field("location", &self.location);
594 if !self._unknown_fields.is_empty() {
595 debug_struct.field("_unknown_fields", &self._unknown_fields);
596 }
597 debug_struct.finish()
598 }
599}
600
601impl std::fmt::Debug for super::sdp_finding::SdpFindingLocation {
602 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
603 let mut debug_struct = f.debug_struct("SdpFindingLocation");
604 debug_struct.field("byte_range", &self.byte_range);
605 debug_struct.field("codepoint_range", &self.codepoint_range);
606 debug_struct.field("content_locations", &self.content_locations);
607 if !self._unknown_fields.is_empty() {
608 debug_struct.field("_unknown_fields", &self._unknown_fields);
609 }
610 debug_struct.finish()
611 }
612}
613
614impl std::fmt::Debug for super::SdpRedactResult {
615 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
616 let mut debug_struct = f.debug_struct("SdpRedactResult");
617 debug_struct.field("execution_state", &self.execution_state);
618 debug_struct.field("message_items", &self.message_items);
619 debug_struct.field("match_state", &self.match_state);
620 debug_struct.field("redacted_image", &self.redacted_image);
621 debug_struct.field("findings", &self.findings);
622 debug_struct.field("extracted_image_text", &self.extracted_image_text);
623 if !self._unknown_fields.is_empty() {
624 debug_struct.field("_unknown_fields", &self._unknown_fields);
625 }
626 debug_struct.finish()
627 }
628}
629
630impl std::fmt::Debug for super::PiAndJailbreakFilterResult {
631 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
632 let mut debug_struct = f.debug_struct("PiAndJailbreakFilterResult");
633 debug_struct.field("execution_state", &self.execution_state);
634 debug_struct.field("message_items", &self.message_items);
635 debug_struct.field("match_state", &self.match_state);
636 debug_struct.field("confidence_level", &self.confidence_level);
637 if !self._unknown_fields.is_empty() {
638 debug_struct.field("_unknown_fields", &self._unknown_fields);
639 }
640 debug_struct.finish()
641 }
642}
643
644impl std::fmt::Debug for super::MaliciousUriFilterResult {
645 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
646 let mut debug_struct = f.debug_struct("MaliciousUriFilterResult");
647 debug_struct.field("execution_state", &self.execution_state);
648 debug_struct.field("message_items", &self.message_items);
649 debug_struct.field("match_state", &self.match_state);
650 debug_struct.field(
651 "malicious_uri_matched_items",
652 &self.malicious_uri_matched_items,
653 );
654 if !self._unknown_fields.is_empty() {
655 debug_struct.field("_unknown_fields", &self._unknown_fields);
656 }
657 debug_struct.finish()
658 }
659}
660
661impl std::fmt::Debug for super::malicious_uri_filter_result::MaliciousUriMatchedItem {
662 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
663 let mut debug_struct = f.debug_struct("MaliciousUriMatchedItem");
664 debug_struct.field("uri", &self.uri);
665 debug_struct.field("locations", &self.locations);
666 if !self._unknown_fields.is_empty() {
667 debug_struct.field("_unknown_fields", &self._unknown_fields);
668 }
669 debug_struct.finish()
670 }
671}
672
673impl std::fmt::Debug for super::VirusScanFilterResult {
674 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
675 let mut debug_struct = f.debug_struct("VirusScanFilterResult");
676 debug_struct.field("execution_state", &self.execution_state);
677 debug_struct.field("message_items", &self.message_items);
678 debug_struct.field("match_state", &self.match_state);
679 debug_struct.field("scanned_content_type", &self.scanned_content_type);
680 debug_struct.field("scanned_size", &self.scanned_size);
681 debug_struct.field("virus_details", &self.virus_details);
682 if !self._unknown_fields.is_empty() {
683 debug_struct.field("_unknown_fields", &self._unknown_fields);
684 }
685 debug_struct.finish()
686 }
687}
688
689impl std::fmt::Debug for super::VirusDetail {
690 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
691 let mut debug_struct = f.debug_struct("VirusDetail");
692 debug_struct.field("vendor", &self.vendor);
693 debug_struct.field("names", &self.names);
694 debug_struct.field("threat_type", &self.threat_type);
695 if !self._unknown_fields.is_empty() {
696 debug_struct.field("_unknown_fields", &self._unknown_fields);
697 }
698 debug_struct.finish()
699 }
700}
701
702impl std::fmt::Debug for super::CsamFilterResult {
703 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
704 let mut debug_struct = f.debug_struct("CsamFilterResult");
705 debug_struct.field("execution_state", &self.execution_state);
706 debug_struct.field("message_items", &self.message_items);
707 debug_struct.field("match_state", &self.match_state);
708 if !self._unknown_fields.is_empty() {
709 debug_struct.field("_unknown_fields", &self._unknown_fields);
710 }
711 debug_struct.finish()
712 }
713}
714
715impl std::fmt::Debug for super::MessageItem {
716 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
717 let mut debug_struct = f.debug_struct("MessageItem");
718 debug_struct.field("message_type", &self.message_type);
719 debug_struct.field("message", &self.message);
720 if !self._unknown_fields.is_empty() {
721 debug_struct.field("_unknown_fields", &self._unknown_fields);
722 }
723 debug_struct.finish()
724 }
725}
726
727impl std::fmt::Debug for super::RangeInfo {
728 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
729 let mut debug_struct = f.debug_struct("RangeInfo");
730 debug_struct.field("start", &self.start);
731 debug_struct.field("end", &self.end);
732 if !self._unknown_fields.is_empty() {
733 debug_struct.field("_unknown_fields", &self._unknown_fields);
734 }
735 debug_struct.finish()
736 }
737}