google_cloud_spanner_admin_database_v1/model/
debug.rs

1// Copyright 2025 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Code generated by sidekick. DO NOT EDIT.
16
17#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Backup {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("Backup");
23        debug_struct.field("database", &self.database);
24        debug_struct.field("version_time", &self.version_time);
25        debug_struct.field("expire_time", &self.expire_time);
26        debug_struct.field("name", &self.name);
27        debug_struct.field("create_time", &self.create_time);
28        debug_struct.field("size_bytes", &self.size_bytes);
29        debug_struct.field("freeable_size_bytes", &self.freeable_size_bytes);
30        debug_struct.field("exclusive_size_bytes", &self.exclusive_size_bytes);
31        debug_struct.field("state", &self.state);
32        debug_struct.field("referencing_databases", &self.referencing_databases);
33        debug_struct.field("encryption_info", &self.encryption_info);
34        debug_struct.field("encryption_information", &self.encryption_information);
35        debug_struct.field("database_dialect", &self.database_dialect);
36        debug_struct.field("referencing_backups", &self.referencing_backups);
37        debug_struct.field("max_expire_time", &self.max_expire_time);
38        debug_struct.field("backup_schedules", &self.backup_schedules);
39        debug_struct.field(
40            "incremental_backup_chain_id",
41            &self.incremental_backup_chain_id,
42        );
43        debug_struct.field("oldest_version_time", &self.oldest_version_time);
44        debug_struct.field("instance_partitions", &self.instance_partitions);
45        if !self._unknown_fields.is_empty() {
46            debug_struct.field("_unknown_fields", &self._unknown_fields);
47        }
48        debug_struct.finish()
49    }
50}
51
52impl std::fmt::Debug for super::CreateBackupRequest {
53    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
54        let mut debug_struct = f.debug_struct("CreateBackupRequest");
55        debug_struct.field("parent", &self.parent);
56        debug_struct.field("backup_id", &self.backup_id);
57        debug_struct.field("backup", &self.backup);
58        debug_struct.field("encryption_config", &self.encryption_config);
59        if !self._unknown_fields.is_empty() {
60            debug_struct.field("_unknown_fields", &self._unknown_fields);
61        }
62        debug_struct.finish()
63    }
64}
65
66impl std::fmt::Debug for super::CreateBackupMetadata {
67    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
68        let mut debug_struct = f.debug_struct("CreateBackupMetadata");
69        debug_struct.field("name", &self.name);
70        debug_struct.field("database", &self.database);
71        debug_struct.field("progress", &self.progress);
72        debug_struct.field("cancel_time", &self.cancel_time);
73        if !self._unknown_fields.is_empty() {
74            debug_struct.field("_unknown_fields", &self._unknown_fields);
75        }
76        debug_struct.finish()
77    }
78}
79
80impl std::fmt::Debug for super::CopyBackupRequest {
81    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
82        let mut debug_struct = f.debug_struct("CopyBackupRequest");
83        debug_struct.field("parent", &self.parent);
84        debug_struct.field("backup_id", &self.backup_id);
85        debug_struct.field("source_backup", &self.source_backup);
86        debug_struct.field("expire_time", &self.expire_time);
87        debug_struct.field("encryption_config", &self.encryption_config);
88        if !self._unknown_fields.is_empty() {
89            debug_struct.field("_unknown_fields", &self._unknown_fields);
90        }
91        debug_struct.finish()
92    }
93}
94
95impl std::fmt::Debug for super::CopyBackupMetadata {
96    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
97        let mut debug_struct = f.debug_struct("CopyBackupMetadata");
98        debug_struct.field("name", &self.name);
99        debug_struct.field("source_backup", &self.source_backup);
100        debug_struct.field("progress", &self.progress);
101        debug_struct.field("cancel_time", &self.cancel_time);
102        if !self._unknown_fields.is_empty() {
103            debug_struct.field("_unknown_fields", &self._unknown_fields);
104        }
105        debug_struct.finish()
106    }
107}
108
109impl std::fmt::Debug for super::UpdateBackupRequest {
110    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
111        let mut debug_struct = f.debug_struct("UpdateBackupRequest");
112        debug_struct.field("backup", &self.backup);
113        debug_struct.field("update_mask", &self.update_mask);
114        if !self._unknown_fields.is_empty() {
115            debug_struct.field("_unknown_fields", &self._unknown_fields);
116        }
117        debug_struct.finish()
118    }
119}
120
121impl std::fmt::Debug for super::GetBackupRequest {
122    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
123        let mut debug_struct = f.debug_struct("GetBackupRequest");
124        debug_struct.field("name", &self.name);
125        if !self._unknown_fields.is_empty() {
126            debug_struct.field("_unknown_fields", &self._unknown_fields);
127        }
128        debug_struct.finish()
129    }
130}
131
132impl std::fmt::Debug for super::DeleteBackupRequest {
133    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
134        let mut debug_struct = f.debug_struct("DeleteBackupRequest");
135        debug_struct.field("name", &self.name);
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::ListBackupsRequest {
144    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
145        let mut debug_struct = f.debug_struct("ListBackupsRequest");
146        debug_struct.field("parent", &self.parent);
147        debug_struct.field("filter", &self.filter);
148        debug_struct.field("page_size", &self.page_size);
149        debug_struct.field("page_token", &self.page_token);
150        if !self._unknown_fields.is_empty() {
151            debug_struct.field("_unknown_fields", &self._unknown_fields);
152        }
153        debug_struct.finish()
154    }
155}
156
157impl std::fmt::Debug for super::ListBackupsResponse {
158    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
159        let mut debug_struct = f.debug_struct("ListBackupsResponse");
160        debug_struct.field("backups", &self.backups);
161        debug_struct.field("next_page_token", &self.next_page_token);
162        if !self._unknown_fields.is_empty() {
163            debug_struct.field("_unknown_fields", &self._unknown_fields);
164        }
165        debug_struct.finish()
166    }
167}
168
169impl std::fmt::Debug for super::ListBackupOperationsRequest {
170    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
171        let mut debug_struct = f.debug_struct("ListBackupOperationsRequest");
172        debug_struct.field("parent", &self.parent);
173        debug_struct.field("filter", &self.filter);
174        debug_struct.field("page_size", &self.page_size);
175        debug_struct.field("page_token", &self.page_token);
176        if !self._unknown_fields.is_empty() {
177            debug_struct.field("_unknown_fields", &self._unknown_fields);
178        }
179        debug_struct.finish()
180    }
181}
182
183impl std::fmt::Debug for super::ListBackupOperationsResponse {
184    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
185        let mut debug_struct = f.debug_struct("ListBackupOperationsResponse");
186        debug_struct.field("operations", &self.operations);
187        debug_struct.field("next_page_token", &self.next_page_token);
188        if !self._unknown_fields.is_empty() {
189            debug_struct.field("_unknown_fields", &self._unknown_fields);
190        }
191        debug_struct.finish()
192    }
193}
194
195impl std::fmt::Debug for super::BackupInfo {
196    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
197        let mut debug_struct = f.debug_struct("BackupInfo");
198        debug_struct.field("backup", &self.backup);
199        debug_struct.field("version_time", &self.version_time);
200        debug_struct.field("create_time", &self.create_time);
201        debug_struct.field("source_database", &self.source_database);
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::CreateBackupEncryptionConfig {
210    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
211        let mut debug_struct = f.debug_struct("CreateBackupEncryptionConfig");
212        debug_struct.field("encryption_type", &self.encryption_type);
213        debug_struct.field("kms_key_name", &self.kms_key_name);
214        debug_struct.field("kms_key_names", &self.kms_key_names);
215        if !self._unknown_fields.is_empty() {
216            debug_struct.field("_unknown_fields", &self._unknown_fields);
217        }
218        debug_struct.finish()
219    }
220}
221
222impl std::fmt::Debug for super::CopyBackupEncryptionConfig {
223    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
224        let mut debug_struct = f.debug_struct("CopyBackupEncryptionConfig");
225        debug_struct.field("encryption_type", &self.encryption_type);
226        debug_struct.field("kms_key_name", &self.kms_key_name);
227        debug_struct.field("kms_key_names", &self.kms_key_names);
228        if !self._unknown_fields.is_empty() {
229            debug_struct.field("_unknown_fields", &self._unknown_fields);
230        }
231        debug_struct.finish()
232    }
233}
234
235impl std::fmt::Debug for super::FullBackupSpec {
236    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
237        let mut debug_struct = f.debug_struct("FullBackupSpec");
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::IncrementalBackupSpec {
246    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
247        let mut debug_struct = f.debug_struct("IncrementalBackupSpec");
248        if !self._unknown_fields.is_empty() {
249            debug_struct.field("_unknown_fields", &self._unknown_fields);
250        }
251        debug_struct.finish()
252    }
253}
254
255impl std::fmt::Debug for super::BackupInstancePartition {
256    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
257        let mut debug_struct = f.debug_struct("BackupInstancePartition");
258        debug_struct.field("instance_partition", &self.instance_partition);
259        if !self._unknown_fields.is_empty() {
260            debug_struct.field("_unknown_fields", &self._unknown_fields);
261        }
262        debug_struct.finish()
263    }
264}
265
266impl std::fmt::Debug for super::BackupScheduleSpec {
267    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
268        let mut debug_struct = f.debug_struct("BackupScheduleSpec");
269        debug_struct.field("schedule_spec", &self.schedule_spec);
270        if !self._unknown_fields.is_empty() {
271            debug_struct.field("_unknown_fields", &self._unknown_fields);
272        }
273        debug_struct.finish()
274    }
275}
276
277impl std::fmt::Debug for super::BackupSchedule {
278    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
279        let mut debug_struct = f.debug_struct("BackupSchedule");
280        debug_struct.field("name", &self.name);
281        debug_struct.field("spec", &self.spec);
282        debug_struct.field("retention_duration", &self.retention_duration);
283        debug_struct.field("encryption_config", &self.encryption_config);
284        debug_struct.field("update_time", &self.update_time);
285        debug_struct.field("backup_type_spec", &self.backup_type_spec);
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::CrontabSpec {
294    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
295        let mut debug_struct = f.debug_struct("CrontabSpec");
296        debug_struct.field("text", &self.text);
297        debug_struct.field("time_zone", &self.time_zone);
298        debug_struct.field("creation_window", &self.creation_window);
299        if !self._unknown_fields.is_empty() {
300            debug_struct.field("_unknown_fields", &self._unknown_fields);
301        }
302        debug_struct.finish()
303    }
304}
305
306impl std::fmt::Debug for super::CreateBackupScheduleRequest {
307    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
308        let mut debug_struct = f.debug_struct("CreateBackupScheduleRequest");
309        debug_struct.field("parent", &self.parent);
310        debug_struct.field("backup_schedule_id", &self.backup_schedule_id);
311        debug_struct.field("backup_schedule", &self.backup_schedule);
312        if !self._unknown_fields.is_empty() {
313            debug_struct.field("_unknown_fields", &self._unknown_fields);
314        }
315        debug_struct.finish()
316    }
317}
318
319impl std::fmt::Debug for super::GetBackupScheduleRequest {
320    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
321        let mut debug_struct = f.debug_struct("GetBackupScheduleRequest");
322        debug_struct.field("name", &self.name);
323        if !self._unknown_fields.is_empty() {
324            debug_struct.field("_unknown_fields", &self._unknown_fields);
325        }
326        debug_struct.finish()
327    }
328}
329
330impl std::fmt::Debug for super::DeleteBackupScheduleRequest {
331    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
332        let mut debug_struct = f.debug_struct("DeleteBackupScheduleRequest");
333        debug_struct.field("name", &self.name);
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::ListBackupSchedulesRequest {
342    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
343        let mut debug_struct = f.debug_struct("ListBackupSchedulesRequest");
344        debug_struct.field("parent", &self.parent);
345        debug_struct.field("page_size", &self.page_size);
346        debug_struct.field("page_token", &self.page_token);
347        if !self._unknown_fields.is_empty() {
348            debug_struct.field("_unknown_fields", &self._unknown_fields);
349        }
350        debug_struct.finish()
351    }
352}
353
354impl std::fmt::Debug for super::ListBackupSchedulesResponse {
355    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
356        let mut debug_struct = f.debug_struct("ListBackupSchedulesResponse");
357        debug_struct.field("backup_schedules", &self.backup_schedules);
358        debug_struct.field("next_page_token", &self.next_page_token);
359        if !self._unknown_fields.is_empty() {
360            debug_struct.field("_unknown_fields", &self._unknown_fields);
361        }
362        debug_struct.finish()
363    }
364}
365
366impl std::fmt::Debug for super::UpdateBackupScheduleRequest {
367    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
368        let mut debug_struct = f.debug_struct("UpdateBackupScheduleRequest");
369        debug_struct.field("backup_schedule", &self.backup_schedule);
370        debug_struct.field("update_mask", &self.update_mask);
371        if !self._unknown_fields.is_empty() {
372            debug_struct.field("_unknown_fields", &self._unknown_fields);
373        }
374        debug_struct.finish()
375    }
376}
377
378impl std::fmt::Debug for super::OperationProgress {
379    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
380        let mut debug_struct = f.debug_struct("OperationProgress");
381        debug_struct.field("progress_percent", &self.progress_percent);
382        debug_struct.field("start_time", &self.start_time);
383        debug_struct.field("end_time", &self.end_time);
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::EncryptionConfig {
392    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
393        let mut debug_struct = f.debug_struct("EncryptionConfig");
394        debug_struct.field("kms_key_name", &self.kms_key_name);
395        debug_struct.field("kms_key_names", &self.kms_key_names);
396        if !self._unknown_fields.is_empty() {
397            debug_struct.field("_unknown_fields", &self._unknown_fields);
398        }
399        debug_struct.finish()
400    }
401}
402
403impl std::fmt::Debug for super::EncryptionInfo {
404    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
405        let mut debug_struct = f.debug_struct("EncryptionInfo");
406        debug_struct.field("encryption_type", &self.encryption_type);
407        debug_struct.field("encryption_status", &self.encryption_status);
408        debug_struct.field("kms_key_version", &self.kms_key_version);
409        if !self._unknown_fields.is_empty() {
410            debug_struct.field("_unknown_fields", &self._unknown_fields);
411        }
412        debug_struct.finish()
413    }
414}
415
416impl std::fmt::Debug for super::RestoreInfo {
417    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
418        let mut debug_struct = f.debug_struct("RestoreInfo");
419        debug_struct.field("source_type", &self.source_type);
420        debug_struct.field("source_info", &self.source_info);
421        if !self._unknown_fields.is_empty() {
422            debug_struct.field("_unknown_fields", &self._unknown_fields);
423        }
424        debug_struct.finish()
425    }
426}
427
428impl std::fmt::Debug for super::Database {
429    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
430        let mut debug_struct = f.debug_struct("Database");
431        debug_struct.field("name", &self.name);
432        debug_struct.field("state", &self.state);
433        debug_struct.field("create_time", &self.create_time);
434        debug_struct.field("restore_info", &self.restore_info);
435        debug_struct.field("encryption_config", &self.encryption_config);
436        debug_struct.field("encryption_info", &self.encryption_info);
437        debug_struct.field("version_retention_period", &self.version_retention_period);
438        debug_struct.field("earliest_version_time", &self.earliest_version_time);
439        debug_struct.field("default_leader", &self.default_leader);
440        debug_struct.field("database_dialect", &self.database_dialect);
441        debug_struct.field("enable_drop_protection", &self.enable_drop_protection);
442        debug_struct.field("reconciling", &self.reconciling);
443        if !self._unknown_fields.is_empty() {
444            debug_struct.field("_unknown_fields", &self._unknown_fields);
445        }
446        debug_struct.finish()
447    }
448}
449
450impl std::fmt::Debug for super::ListDatabasesRequest {
451    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
452        let mut debug_struct = f.debug_struct("ListDatabasesRequest");
453        debug_struct.field("parent", &self.parent);
454        debug_struct.field("page_size", &self.page_size);
455        debug_struct.field("page_token", &self.page_token);
456        if !self._unknown_fields.is_empty() {
457            debug_struct.field("_unknown_fields", &self._unknown_fields);
458        }
459        debug_struct.finish()
460    }
461}
462
463impl std::fmt::Debug for super::ListDatabasesResponse {
464    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
465        let mut debug_struct = f.debug_struct("ListDatabasesResponse");
466        debug_struct.field("databases", &self.databases);
467        debug_struct.field("next_page_token", &self.next_page_token);
468        if !self._unknown_fields.is_empty() {
469            debug_struct.field("_unknown_fields", &self._unknown_fields);
470        }
471        debug_struct.finish()
472    }
473}
474
475impl std::fmt::Debug for super::CreateDatabaseRequest {
476    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
477        let mut debug_struct = f.debug_struct("CreateDatabaseRequest");
478        debug_struct.field("parent", &self.parent);
479        debug_struct.field("create_statement", &self.create_statement);
480        debug_struct.field("extra_statements", &self.extra_statements);
481        debug_struct.field("encryption_config", &self.encryption_config);
482        debug_struct.field("database_dialect", &self.database_dialect);
483        debug_struct.field("proto_descriptors", &self.proto_descriptors);
484        if !self._unknown_fields.is_empty() {
485            debug_struct.field("_unknown_fields", &self._unknown_fields);
486        }
487        debug_struct.finish()
488    }
489}
490
491impl std::fmt::Debug for super::CreateDatabaseMetadata {
492    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
493        let mut debug_struct = f.debug_struct("CreateDatabaseMetadata");
494        debug_struct.field("database", &self.database);
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::GetDatabaseRequest {
503    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
504        let mut debug_struct = f.debug_struct("GetDatabaseRequest");
505        debug_struct.field("name", &self.name);
506        if !self._unknown_fields.is_empty() {
507            debug_struct.field("_unknown_fields", &self._unknown_fields);
508        }
509        debug_struct.finish()
510    }
511}
512
513impl std::fmt::Debug for super::UpdateDatabaseRequest {
514    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
515        let mut debug_struct = f.debug_struct("UpdateDatabaseRequest");
516        debug_struct.field("database", &self.database);
517        debug_struct.field("update_mask", &self.update_mask);
518        if !self._unknown_fields.is_empty() {
519            debug_struct.field("_unknown_fields", &self._unknown_fields);
520        }
521        debug_struct.finish()
522    }
523}
524
525impl std::fmt::Debug for super::UpdateDatabaseMetadata {
526    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
527        let mut debug_struct = f.debug_struct("UpdateDatabaseMetadata");
528        debug_struct.field("request", &self.request);
529        debug_struct.field("progress", &self.progress);
530        debug_struct.field("cancel_time", &self.cancel_time);
531        if !self._unknown_fields.is_empty() {
532            debug_struct.field("_unknown_fields", &self._unknown_fields);
533        }
534        debug_struct.finish()
535    }
536}
537
538impl std::fmt::Debug for super::UpdateDatabaseDdlRequest {
539    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
540        let mut debug_struct = f.debug_struct("UpdateDatabaseDdlRequest");
541        debug_struct.field("database", &self.database);
542        debug_struct.field("statements", &self.statements);
543        debug_struct.field("operation_id", &self.operation_id);
544        debug_struct.field("proto_descriptors", &self.proto_descriptors);
545        debug_struct.field("throughput_mode", &self.throughput_mode);
546        if !self._unknown_fields.is_empty() {
547            debug_struct.field("_unknown_fields", &self._unknown_fields);
548        }
549        debug_struct.finish()
550    }
551}
552
553impl std::fmt::Debug for super::DdlStatementActionInfo {
554    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
555        let mut debug_struct = f.debug_struct("DdlStatementActionInfo");
556        debug_struct.field("action", &self.action);
557        debug_struct.field("entity_type", &self.entity_type);
558        debug_struct.field("entity_names", &self.entity_names);
559        if !self._unknown_fields.is_empty() {
560            debug_struct.field("_unknown_fields", &self._unknown_fields);
561        }
562        debug_struct.finish()
563    }
564}
565
566impl std::fmt::Debug for super::UpdateDatabaseDdlMetadata {
567    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
568        let mut debug_struct = f.debug_struct("UpdateDatabaseDdlMetadata");
569        debug_struct.field("database", &self.database);
570        debug_struct.field("statements", &self.statements);
571        debug_struct.field("commit_timestamps", &self.commit_timestamps);
572        debug_struct.field("throttled", &self.throttled);
573        debug_struct.field("progress", &self.progress);
574        debug_struct.field("actions", &self.actions);
575        if !self._unknown_fields.is_empty() {
576            debug_struct.field("_unknown_fields", &self._unknown_fields);
577        }
578        debug_struct.finish()
579    }
580}
581
582impl std::fmt::Debug for super::DropDatabaseRequest {
583    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
584        let mut debug_struct = f.debug_struct("DropDatabaseRequest");
585        debug_struct.field("database", &self.database);
586        if !self._unknown_fields.is_empty() {
587            debug_struct.field("_unknown_fields", &self._unknown_fields);
588        }
589        debug_struct.finish()
590    }
591}
592
593impl std::fmt::Debug for super::GetDatabaseDdlRequest {
594    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
595        let mut debug_struct = f.debug_struct("GetDatabaseDdlRequest");
596        debug_struct.field("database", &self.database);
597        if !self._unknown_fields.is_empty() {
598            debug_struct.field("_unknown_fields", &self._unknown_fields);
599        }
600        debug_struct.finish()
601    }
602}
603
604impl std::fmt::Debug for super::GetDatabaseDdlResponse {
605    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
606        let mut debug_struct = f.debug_struct("GetDatabaseDdlResponse");
607        debug_struct.field("statements", &self.statements);
608        debug_struct.field("proto_descriptors", &self.proto_descriptors);
609        if !self._unknown_fields.is_empty() {
610            debug_struct.field("_unknown_fields", &self._unknown_fields);
611        }
612        debug_struct.finish()
613    }
614}
615
616impl std::fmt::Debug for super::ListDatabaseOperationsRequest {
617    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
618        let mut debug_struct = f.debug_struct("ListDatabaseOperationsRequest");
619        debug_struct.field("parent", &self.parent);
620        debug_struct.field("filter", &self.filter);
621        debug_struct.field("page_size", &self.page_size);
622        debug_struct.field("page_token", &self.page_token);
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::ListDatabaseOperationsResponse {
631    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
632        let mut debug_struct = f.debug_struct("ListDatabaseOperationsResponse");
633        debug_struct.field("operations", &self.operations);
634        debug_struct.field("next_page_token", &self.next_page_token);
635        if !self._unknown_fields.is_empty() {
636            debug_struct.field("_unknown_fields", &self._unknown_fields);
637        }
638        debug_struct.finish()
639    }
640}
641
642impl std::fmt::Debug for super::RestoreDatabaseRequest {
643    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
644        let mut debug_struct = f.debug_struct("RestoreDatabaseRequest");
645        debug_struct.field("parent", &self.parent);
646        debug_struct.field("database_id", &self.database_id);
647        debug_struct.field("encryption_config", &self.encryption_config);
648        debug_struct.field("source", &self.source);
649        if !self._unknown_fields.is_empty() {
650            debug_struct.field("_unknown_fields", &self._unknown_fields);
651        }
652        debug_struct.finish()
653    }
654}
655
656impl std::fmt::Debug for super::RestoreDatabaseEncryptionConfig {
657    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
658        let mut debug_struct = f.debug_struct("RestoreDatabaseEncryptionConfig");
659        debug_struct.field("encryption_type", &self.encryption_type);
660        debug_struct.field("kms_key_name", &self.kms_key_name);
661        debug_struct.field("kms_key_names", &self.kms_key_names);
662        if !self._unknown_fields.is_empty() {
663            debug_struct.field("_unknown_fields", &self._unknown_fields);
664        }
665        debug_struct.finish()
666    }
667}
668
669impl std::fmt::Debug for super::RestoreDatabaseMetadata {
670    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
671        let mut debug_struct = f.debug_struct("RestoreDatabaseMetadata");
672        debug_struct.field("name", &self.name);
673        debug_struct.field("source_type", &self.source_type);
674        debug_struct.field("progress", &self.progress);
675        debug_struct.field("cancel_time", &self.cancel_time);
676        debug_struct.field(
677            "optimize_database_operation_name",
678            &self.optimize_database_operation_name,
679        );
680        debug_struct.field("source_info", &self.source_info);
681        if !self._unknown_fields.is_empty() {
682            debug_struct.field("_unknown_fields", &self._unknown_fields);
683        }
684        debug_struct.finish()
685    }
686}
687
688impl std::fmt::Debug for super::OptimizeRestoredDatabaseMetadata {
689    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
690        let mut debug_struct = f.debug_struct("OptimizeRestoredDatabaseMetadata");
691        debug_struct.field("name", &self.name);
692        debug_struct.field("progress", &self.progress);
693        if !self._unknown_fields.is_empty() {
694            debug_struct.field("_unknown_fields", &self._unknown_fields);
695        }
696        debug_struct.finish()
697    }
698}
699
700impl std::fmt::Debug for super::DatabaseRole {
701    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
702        let mut debug_struct = f.debug_struct("DatabaseRole");
703        debug_struct.field("name", &self.name);
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::ListDatabaseRolesRequest {
712    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
713        let mut debug_struct = f.debug_struct("ListDatabaseRolesRequest");
714        debug_struct.field("parent", &self.parent);
715        debug_struct.field("page_size", &self.page_size);
716        debug_struct.field("page_token", &self.page_token);
717        if !self._unknown_fields.is_empty() {
718            debug_struct.field("_unknown_fields", &self._unknown_fields);
719        }
720        debug_struct.finish()
721    }
722}
723
724impl std::fmt::Debug for super::ListDatabaseRolesResponse {
725    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
726        let mut debug_struct = f.debug_struct("ListDatabaseRolesResponse");
727        debug_struct.field("database_roles", &self.database_roles);
728        debug_struct.field("next_page_token", &self.next_page_token);
729        if !self._unknown_fields.is_empty() {
730            debug_struct.field("_unknown_fields", &self._unknown_fields);
731        }
732        debug_struct.finish()
733    }
734}
735
736impl std::fmt::Debug for super::AddSplitPointsRequest {
737    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
738        let mut debug_struct = f.debug_struct("AddSplitPointsRequest");
739        debug_struct.field("database", &self.database);
740        debug_struct.field("split_points", &self.split_points);
741        debug_struct.field("initiator", &self.initiator);
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::AddSplitPointsResponse {
750    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
751        let mut debug_struct = f.debug_struct("AddSplitPointsResponse");
752        if !self._unknown_fields.is_empty() {
753            debug_struct.field("_unknown_fields", &self._unknown_fields);
754        }
755        debug_struct.finish()
756    }
757}
758
759impl std::fmt::Debug for super::SplitPoints {
760    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
761        let mut debug_struct = f.debug_struct("SplitPoints");
762        debug_struct.field("table", &self.table);
763        debug_struct.field("index", &self.index);
764        debug_struct.field("keys", &self.keys);
765        debug_struct.field("expire_time", &self.expire_time);
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::split_points::Key {
774    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
775        let mut debug_struct = f.debug_struct("Key");
776        debug_struct.field("key_parts", &self.key_parts);
777        if !self._unknown_fields.is_empty() {
778            debug_struct.field("_unknown_fields", &self._unknown_fields);
779        }
780        debug_struct.finish()
781    }
782}