Skip to main content

google_cloud_bigquery_migration_v2/model/
debug.rs

1// Copyright 2025 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Code generated by sidekick. DO NOT EDIT.
16
17#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::AssessmentTaskDetails {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("AssessmentTaskDetails");
23        debug_struct.field("input_path", &self.input_path);
24        debug_struct.field("output_dataset", &self.output_dataset);
25        debug_struct.field("querylogs_path", &self.querylogs_path);
26        debug_struct.field("data_source", &self.data_source);
27        debug_struct.field("feature_handle", &self.feature_handle);
28        if !self._unknown_fields.is_empty() {
29            debug_struct.field("_unknown_fields", &self._unknown_fields);
30        }
31        debug_struct.finish()
32    }
33}
34
35impl std::fmt::Debug for super::AssessmentFeatureHandle {
36    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
37        let mut debug_struct = f.debug_struct("AssessmentFeatureHandle");
38        debug_struct.field("add_shareable_dataset", &self.add_shareable_dataset);
39        if !self._unknown_fields.is_empty() {
40            debug_struct.field("_unknown_fields", &self._unknown_fields);
41        }
42        debug_struct.finish()
43    }
44}
45
46impl std::fmt::Debug for super::MigrationWorkflow {
47    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
48        let mut debug_struct = f.debug_struct("MigrationWorkflow");
49        debug_struct.field("name", &self.name);
50        debug_struct.field("display_name", &self.display_name);
51        debug_struct.field("tasks", &self.tasks);
52        debug_struct.field("state", &self.state);
53        debug_struct.field("create_time", &self.create_time);
54        debug_struct.field("last_update_time", &self.last_update_time);
55        if !self._unknown_fields.is_empty() {
56            debug_struct.field("_unknown_fields", &self._unknown_fields);
57        }
58        debug_struct.finish()
59    }
60}
61
62impl std::fmt::Debug for super::MigrationTask {
63    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
64        let mut debug_struct = f.debug_struct("MigrationTask");
65        debug_struct.field("id", &self.id);
66        debug_struct.field("r#type", &self.r#type);
67        debug_struct.field("state", &self.state);
68        debug_struct.field("processing_error", &self.processing_error);
69        debug_struct.field("create_time", &self.create_time);
70        debug_struct.field("last_update_time", &self.last_update_time);
71        debug_struct.field("resource_error_details", &self.resource_error_details);
72        debug_struct.field("resource_error_count", &self.resource_error_count);
73        debug_struct.field("metrics", &self.metrics);
74        debug_struct.field("task_result", &self.task_result);
75        debug_struct.field(
76            "total_processing_error_count",
77            &self.total_processing_error_count,
78        );
79        debug_struct.field(
80            "total_resource_error_count",
81            &self.total_resource_error_count,
82        );
83        debug_struct.field("task_details", &self.task_details);
84        if !self._unknown_fields.is_empty() {
85            debug_struct.field("_unknown_fields", &self._unknown_fields);
86        }
87        debug_struct.finish()
88    }
89}
90
91impl std::fmt::Debug for super::MigrationSubtask {
92    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
93        let mut debug_struct = f.debug_struct("MigrationSubtask");
94        debug_struct.field("name", &self.name);
95        debug_struct.field("task_id", &self.task_id);
96        debug_struct.field("r#type", &self.r#type);
97        debug_struct.field("state", &self.state);
98        debug_struct.field("processing_error", &self.processing_error);
99        debug_struct.field("resource_error_details", &self.resource_error_details);
100        debug_struct.field("resource_error_count", &self.resource_error_count);
101        debug_struct.field("create_time", &self.create_time);
102        debug_struct.field("last_update_time", &self.last_update_time);
103        debug_struct.field("metrics", &self.metrics);
104        if !self._unknown_fields.is_empty() {
105            debug_struct.field("_unknown_fields", &self._unknown_fields);
106        }
107        debug_struct.finish()
108    }
109}
110
111impl std::fmt::Debug for super::MigrationTaskResult {
112    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
113        let mut debug_struct = f.debug_struct("MigrationTaskResult");
114        debug_struct.field("details", &self.details);
115        if !self._unknown_fields.is_empty() {
116            debug_struct.field("_unknown_fields", &self._unknown_fields);
117        }
118        debug_struct.finish()
119    }
120}
121
122impl std::fmt::Debug for super::TranslationTaskResult {
123    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
124        let mut debug_struct = f.debug_struct("TranslationTaskResult");
125        debug_struct.field("translated_literals", &self.translated_literals);
126        debug_struct.field("report_log_messages", &self.report_log_messages);
127        debug_struct.field("console_uri", &self.console_uri);
128        if !self._unknown_fields.is_empty() {
129            debug_struct.field("_unknown_fields", &self._unknown_fields);
130        }
131        debug_struct.finish()
132    }
133}
134
135impl std::fmt::Debug for super::ResourceErrorDetail {
136    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
137        let mut debug_struct = f.debug_struct("ResourceErrorDetail");
138        debug_struct.field("resource_info", &self.resource_info);
139        debug_struct.field("error_details", &self.error_details);
140        debug_struct.field("error_count", &self.error_count);
141        if !self._unknown_fields.is_empty() {
142            debug_struct.field("_unknown_fields", &self._unknown_fields);
143        }
144        debug_struct.finish()
145    }
146}
147
148impl std::fmt::Debug for super::ErrorDetail {
149    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
150        let mut debug_struct = f.debug_struct("ErrorDetail");
151        debug_struct.field("location", &self.location);
152        debug_struct.field("error_info", &self.error_info);
153        if !self._unknown_fields.is_empty() {
154            debug_struct.field("_unknown_fields", &self._unknown_fields);
155        }
156        debug_struct.finish()
157    }
158}
159
160impl std::fmt::Debug for super::ErrorLocation {
161    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
162        let mut debug_struct = f.debug_struct("ErrorLocation");
163        debug_struct.field("line", &self.line);
164        debug_struct.field("column", &self.column);
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::TimeSeries {
173    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
174        let mut debug_struct = f.debug_struct("TimeSeries");
175        debug_struct.field("metric", &self.metric);
176        debug_struct.field("value_type", &self.value_type);
177        debug_struct.field("metric_kind", &self.metric_kind);
178        debug_struct.field("points", &self.points);
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::Point {
187    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
188        let mut debug_struct = f.debug_struct("Point");
189        debug_struct.field("interval", &self.interval);
190        debug_struct.field("value", &self.value);
191        if !self._unknown_fields.is_empty() {
192            debug_struct.field("_unknown_fields", &self._unknown_fields);
193        }
194        debug_struct.finish()
195    }
196}
197
198impl std::fmt::Debug for super::TimeInterval {
199    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
200        let mut debug_struct = f.debug_struct("TimeInterval");
201        debug_struct.field("start_time", &self.start_time);
202        debug_struct.field("end_time", &self.end_time);
203        if !self._unknown_fields.is_empty() {
204            debug_struct.field("_unknown_fields", &self._unknown_fields);
205        }
206        debug_struct.finish()
207    }
208}
209
210impl std::fmt::Debug for super::TypedValue {
211    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
212        let mut debug_struct = f.debug_struct("TypedValue");
213        debug_struct.field("value", &self.value);
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::CreateMigrationWorkflowRequest {
222    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
223        let mut debug_struct = f.debug_struct("CreateMigrationWorkflowRequest");
224        debug_struct.field("parent", &self.parent);
225        debug_struct.field("migration_workflow", &self.migration_workflow);
226        if !self._unknown_fields.is_empty() {
227            debug_struct.field("_unknown_fields", &self._unknown_fields);
228        }
229        debug_struct.finish()
230    }
231}
232
233impl std::fmt::Debug for super::GetMigrationWorkflowRequest {
234    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
235        let mut debug_struct = f.debug_struct("GetMigrationWorkflowRequest");
236        debug_struct.field("name", &self.name);
237        debug_struct.field("read_mask", &self.read_mask);
238        if !self._unknown_fields.is_empty() {
239            debug_struct.field("_unknown_fields", &self._unknown_fields);
240        }
241        debug_struct.finish()
242    }
243}
244
245impl std::fmt::Debug for super::ListMigrationWorkflowsRequest {
246    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
247        let mut debug_struct = f.debug_struct("ListMigrationWorkflowsRequest");
248        debug_struct.field("parent", &self.parent);
249        debug_struct.field("read_mask", &self.read_mask);
250        debug_struct.field("page_size", &self.page_size);
251        debug_struct.field("page_token", &self.page_token);
252        if !self._unknown_fields.is_empty() {
253            debug_struct.field("_unknown_fields", &self._unknown_fields);
254        }
255        debug_struct.finish()
256    }
257}
258
259impl std::fmt::Debug for super::ListMigrationWorkflowsResponse {
260    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
261        let mut debug_struct = f.debug_struct("ListMigrationWorkflowsResponse");
262        debug_struct.field("migration_workflows", &self.migration_workflows);
263        debug_struct.field("next_page_token", &self.next_page_token);
264        if !self._unknown_fields.is_empty() {
265            debug_struct.field("_unknown_fields", &self._unknown_fields);
266        }
267        debug_struct.finish()
268    }
269}
270
271impl std::fmt::Debug for super::DeleteMigrationWorkflowRequest {
272    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
273        let mut debug_struct = f.debug_struct("DeleteMigrationWorkflowRequest");
274        debug_struct.field("name", &self.name);
275        if !self._unknown_fields.is_empty() {
276            debug_struct.field("_unknown_fields", &self._unknown_fields);
277        }
278        debug_struct.finish()
279    }
280}
281
282impl std::fmt::Debug for super::StartMigrationWorkflowRequest {
283    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
284        let mut debug_struct = f.debug_struct("StartMigrationWorkflowRequest");
285        debug_struct.field("name", &self.name);
286        if !self._unknown_fields.is_empty() {
287            debug_struct.field("_unknown_fields", &self._unknown_fields);
288        }
289        debug_struct.finish()
290    }
291}
292
293impl std::fmt::Debug for super::GetMigrationSubtaskRequest {
294    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
295        let mut debug_struct = f.debug_struct("GetMigrationSubtaskRequest");
296        debug_struct.field("name", &self.name);
297        debug_struct.field("read_mask", &self.read_mask);
298        if !self._unknown_fields.is_empty() {
299            debug_struct.field("_unknown_fields", &self._unknown_fields);
300        }
301        debug_struct.finish()
302    }
303}
304
305impl std::fmt::Debug for super::ListMigrationSubtasksRequest {
306    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
307        let mut debug_struct = f.debug_struct("ListMigrationSubtasksRequest");
308        debug_struct.field("parent", &self.parent);
309        debug_struct.field("read_mask", &self.read_mask);
310        debug_struct.field("page_size", &self.page_size);
311        debug_struct.field("page_token", &self.page_token);
312        debug_struct.field("filter", &self.filter);
313        if !self._unknown_fields.is_empty() {
314            debug_struct.field("_unknown_fields", &self._unknown_fields);
315        }
316        debug_struct.finish()
317    }
318}
319
320impl std::fmt::Debug for super::ListMigrationSubtasksResponse {
321    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
322        let mut debug_struct = f.debug_struct("ListMigrationSubtasksResponse");
323        debug_struct.field("migration_subtasks", &self.migration_subtasks);
324        debug_struct.field("next_page_token", &self.next_page_token);
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::TranslationConfigDetails {
333    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
334        let mut debug_struct = f.debug_struct("TranslationConfigDetails");
335        debug_struct.field("source_dialect", &self.source_dialect);
336        debug_struct.field("target_dialect", &self.target_dialect);
337        debug_struct.field("source_env", &self.source_env);
338        debug_struct.field("request_source", &self.request_source);
339        debug_struct.field("target_types", &self.target_types);
340        debug_struct.field("source_location", &self.source_location);
341        debug_struct.field("target_location", &self.target_location);
342        debug_struct.field("output_name_mapping", &self.output_name_mapping);
343        if !self._unknown_fields.is_empty() {
344            debug_struct.field("_unknown_fields", &self._unknown_fields);
345        }
346        debug_struct.finish()
347    }
348}
349
350impl std::fmt::Debug for super::Dialect {
351    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
352        let mut debug_struct = f.debug_struct("Dialect");
353        debug_struct.field("dialect_value", &self.dialect_value);
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::BigQueryDialect {
362    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
363        let mut debug_struct = f.debug_struct("BigQueryDialect");
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::HiveQLDialect {
372    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
373        let mut debug_struct = f.debug_struct("HiveQLDialect");
374        if !self._unknown_fields.is_empty() {
375            debug_struct.field("_unknown_fields", &self._unknown_fields);
376        }
377        debug_struct.finish()
378    }
379}
380
381impl std::fmt::Debug for super::RedshiftDialect {
382    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
383        let mut debug_struct = f.debug_struct("RedshiftDialect");
384        if !self._unknown_fields.is_empty() {
385            debug_struct.field("_unknown_fields", &self._unknown_fields);
386        }
387        debug_struct.finish()
388    }
389}
390
391impl std::fmt::Debug for super::TeradataDialect {
392    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
393        let mut debug_struct = f.debug_struct("TeradataDialect");
394        debug_struct.field("mode", &self.mode);
395        if !self._unknown_fields.is_empty() {
396            debug_struct.field("_unknown_fields", &self._unknown_fields);
397        }
398        debug_struct.finish()
399    }
400}
401
402impl std::fmt::Debug for super::OracleDialect {
403    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
404        let mut debug_struct = f.debug_struct("OracleDialect");
405        if !self._unknown_fields.is_empty() {
406            debug_struct.field("_unknown_fields", &self._unknown_fields);
407        }
408        debug_struct.finish()
409    }
410}
411
412impl std::fmt::Debug for super::SparkSQLDialect {
413    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
414        let mut debug_struct = f.debug_struct("SparkSQLDialect");
415        if !self._unknown_fields.is_empty() {
416            debug_struct.field("_unknown_fields", &self._unknown_fields);
417        }
418        debug_struct.finish()
419    }
420}
421
422impl std::fmt::Debug for super::SnowflakeDialect {
423    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
424        let mut debug_struct = f.debug_struct("SnowflakeDialect");
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::NetezzaDialect {
433    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
434        let mut debug_struct = f.debug_struct("NetezzaDialect");
435        if !self._unknown_fields.is_empty() {
436            debug_struct.field("_unknown_fields", &self._unknown_fields);
437        }
438        debug_struct.finish()
439    }
440}
441
442impl std::fmt::Debug for super::AzureSynapseDialect {
443    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
444        let mut debug_struct = f.debug_struct("AzureSynapseDialect");
445        if !self._unknown_fields.is_empty() {
446            debug_struct.field("_unknown_fields", &self._unknown_fields);
447        }
448        debug_struct.finish()
449    }
450}
451
452impl std::fmt::Debug for super::VerticaDialect {
453    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
454        let mut debug_struct = f.debug_struct("VerticaDialect");
455        if !self._unknown_fields.is_empty() {
456            debug_struct.field("_unknown_fields", &self._unknown_fields);
457        }
458        debug_struct.finish()
459    }
460}
461
462impl std::fmt::Debug for super::SQLServerDialect {
463    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
464        let mut debug_struct = f.debug_struct("SQLServerDialect");
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::PostgresqlDialect {
473    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
474        let mut debug_struct = f.debug_struct("PostgresqlDialect");
475        if !self._unknown_fields.is_empty() {
476            debug_struct.field("_unknown_fields", &self._unknown_fields);
477        }
478        debug_struct.finish()
479    }
480}
481
482impl std::fmt::Debug for super::PrestoDialect {
483    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
484        let mut debug_struct = f.debug_struct("PrestoDialect");
485        if !self._unknown_fields.is_empty() {
486            debug_struct.field("_unknown_fields", &self._unknown_fields);
487        }
488        debug_struct.finish()
489    }
490}
491
492impl std::fmt::Debug for super::MySQLDialect {
493    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
494        let mut debug_struct = f.debug_struct("MySQLDialect");
495        if !self._unknown_fields.is_empty() {
496            debug_struct.field("_unknown_fields", &self._unknown_fields);
497        }
498        debug_struct.finish()
499    }
500}
501
502impl std::fmt::Debug for super::DB2Dialect {
503    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
504        let mut debug_struct = f.debug_struct("DB2Dialect");
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::SQLiteDialect {
513    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
514        let mut debug_struct = f.debug_struct("SQLiteDialect");
515        if !self._unknown_fields.is_empty() {
516            debug_struct.field("_unknown_fields", &self._unknown_fields);
517        }
518        debug_struct.finish()
519    }
520}
521
522impl std::fmt::Debug for super::GreenplumDialect {
523    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
524        let mut debug_struct = f.debug_struct("GreenplumDialect");
525        if !self._unknown_fields.is_empty() {
526            debug_struct.field("_unknown_fields", &self._unknown_fields);
527        }
528        debug_struct.finish()
529    }
530}
531
532impl std::fmt::Debug for super::ObjectNameMappingList {
533    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
534        let mut debug_struct = f.debug_struct("ObjectNameMappingList");
535        debug_struct.field("name_map", &self.name_map);
536        if !self._unknown_fields.is_empty() {
537            debug_struct.field("_unknown_fields", &self._unknown_fields);
538        }
539        debug_struct.finish()
540    }
541}
542
543impl std::fmt::Debug for super::ObjectNameMapping {
544    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
545        let mut debug_struct = f.debug_struct("ObjectNameMapping");
546        debug_struct.field("source", &self.source);
547        debug_struct.field("target", &self.target);
548        if !self._unknown_fields.is_empty() {
549            debug_struct.field("_unknown_fields", &self._unknown_fields);
550        }
551        debug_struct.finish()
552    }
553}
554
555impl std::fmt::Debug for super::NameMappingKey {
556    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
557        let mut debug_struct = f.debug_struct("NameMappingKey");
558        debug_struct.field("r#type", &self.r#type);
559        debug_struct.field("database", &self.database);
560        debug_struct.field("schema", &self.schema);
561        debug_struct.field("relation", &self.relation);
562        debug_struct.field("attribute", &self.attribute);
563        if !self._unknown_fields.is_empty() {
564            debug_struct.field("_unknown_fields", &self._unknown_fields);
565        }
566        debug_struct.finish()
567    }
568}
569
570impl std::fmt::Debug for super::NameMappingValue {
571    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
572        let mut debug_struct = f.debug_struct("NameMappingValue");
573        debug_struct.field("database", &self.database);
574        debug_struct.field("schema", &self.schema);
575        debug_struct.field("relation", &self.relation);
576        debug_struct.field("attribute", &self.attribute);
577        if !self._unknown_fields.is_empty() {
578            debug_struct.field("_unknown_fields", &self._unknown_fields);
579        }
580        debug_struct.finish()
581    }
582}
583
584impl std::fmt::Debug for super::SourceEnv {
585    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
586        let mut debug_struct = f.debug_struct("SourceEnv");
587        debug_struct.field("default_database", &self.default_database);
588        debug_struct.field("schema_search_path", &self.schema_search_path);
589        debug_struct.field("metadata_store_dataset", &self.metadata_store_dataset);
590        if !self._unknown_fields.is_empty() {
591            debug_struct.field("_unknown_fields", &self._unknown_fields);
592        }
593        debug_struct.finish()
594    }
595}
596
597impl std::fmt::Debug for super::TranslationDetails {
598    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
599        let mut debug_struct = f.debug_struct("TranslationDetails");
600        debug_struct.field("source_target_mapping", &self.source_target_mapping);
601        debug_struct.field("target_base_uri", &self.target_base_uri);
602        debug_struct.field("source_environment", &self.source_environment);
603        debug_struct.field("target_return_literals", &self.target_return_literals);
604        debug_struct.field("target_types", &self.target_types);
605        debug_struct.field("suggestion_config", &self.suggestion_config);
606        if !self._unknown_fields.is_empty() {
607            debug_struct.field("_unknown_fields", &self._unknown_fields);
608        }
609        debug_struct.finish()
610    }
611}
612
613impl std::fmt::Debug for super::SuggestionConfig {
614    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
615        let mut debug_struct = f.debug_struct("SuggestionConfig");
616        debug_struct.field("skip_suggestion_steps", &self.skip_suggestion_steps);
617        if !self._unknown_fields.is_empty() {
618            debug_struct.field("_unknown_fields", &self._unknown_fields);
619        }
620        debug_struct.finish()
621    }
622}
623
624impl std::fmt::Debug for super::SuggestionStep {
625    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
626        let mut debug_struct = f.debug_struct("SuggestionStep");
627        debug_struct.field("suggestion_type", &self.suggestion_type);
628        debug_struct.field("rewrite_target", &self.rewrite_target);
629        if !self._unknown_fields.is_empty() {
630            debug_struct.field("_unknown_fields", &self._unknown_fields);
631        }
632        debug_struct.finish()
633    }
634}
635
636impl std::fmt::Debug for super::SourceTargetMapping {
637    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
638        let mut debug_struct = f.debug_struct("SourceTargetMapping");
639        debug_struct.field("source_spec", &self.source_spec);
640        debug_struct.field("target_spec", &self.target_spec);
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::SourceSpec {
649    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
650        let mut debug_struct = f.debug_struct("SourceSpec");
651        debug_struct.field("encoding", &self.encoding);
652        debug_struct.field("source", &self.source);
653        if !self._unknown_fields.is_empty() {
654            debug_struct.field("_unknown_fields", &self._unknown_fields);
655        }
656        debug_struct.finish()
657    }
658}
659
660impl std::fmt::Debug for super::TargetSpec {
661    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
662        let mut debug_struct = f.debug_struct("TargetSpec");
663        debug_struct.field("relative_path", &self.relative_path);
664        if !self._unknown_fields.is_empty() {
665            debug_struct.field("_unknown_fields", &self._unknown_fields);
666        }
667        debug_struct.finish()
668    }
669}
670
671impl std::fmt::Debug for super::Literal {
672    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
673        let mut debug_struct = f.debug_struct("Literal");
674        debug_struct.field("relative_path", &self.relative_path);
675        debug_struct.field("literal_data", &self.literal_data);
676        if !self._unknown_fields.is_empty() {
677            debug_struct.field("_unknown_fields", &self._unknown_fields);
678        }
679        debug_struct.finish()
680    }
681}
682
683impl std::fmt::Debug for super::SourceEnvironment {
684    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
685        let mut debug_struct = f.debug_struct("SourceEnvironment");
686        debug_struct.field("default_database", &self.default_database);
687        debug_struct.field("schema_search_path", &self.schema_search_path);
688        debug_struct.field("metadata_store_dataset", &self.metadata_store_dataset);
689        if !self._unknown_fields.is_empty() {
690            debug_struct.field("_unknown_fields", &self._unknown_fields);
691        }
692        debug_struct.finish()
693    }
694}
695
696impl std::fmt::Debug for super::TranslationReportRecord {
697    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
698        let mut debug_struct = f.debug_struct("TranslationReportRecord");
699        debug_struct.field("severity", &self.severity);
700        debug_struct.field("script_line", &self.script_line);
701        debug_struct.field("script_column", &self.script_column);
702        debug_struct.field("category", &self.category);
703        debug_struct.field("message", &self.message);
704        if !self._unknown_fields.is_empty() {
705            debug_struct.field("_unknown_fields", &self._unknown_fields);
706        }
707        debug_struct.finish()
708    }
709}
710
711impl std::fmt::Debug for super::GcsReportLogMessage {
712    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
713        let mut debug_struct = f.debug_struct("GcsReportLogMessage");
714        debug_struct.field("severity", &self.severity);
715        debug_struct.field("category", &self.category);
716        debug_struct.field("file_path", &self.file_path);
717        debug_struct.field("filename", &self.filename);
718        debug_struct.field("source_script_line", &self.source_script_line);
719        debug_struct.field("source_script_column", &self.source_script_column);
720        debug_struct.field("message", &self.message);
721        debug_struct.field("script_context", &self.script_context);
722        debug_struct.field("action", &self.action);
723        debug_struct.field("effect", &self.effect);
724        debug_struct.field("object_name", &self.object_name);
725        if !self._unknown_fields.is_empty() {
726            debug_struct.field("_unknown_fields", &self._unknown_fields);
727        }
728        debug_struct.finish()
729    }
730}