google_cloud_firestore_admin_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("name", &self.name);
24        debug_struct.field("database", &self.database);
25        debug_struct.field("database_uid", &self.database_uid);
26        debug_struct.field("snapshot_time", &self.snapshot_time);
27        debug_struct.field("expire_time", &self.expire_time);
28        debug_struct.field("stats", &self.stats);
29        debug_struct.field("state", &self.state);
30        if !self._unknown_fields.is_empty() {
31            debug_struct.field("_unknown_fields", &self._unknown_fields);
32        }
33        debug_struct.finish()
34    }
35}
36
37impl std::fmt::Debug for super::backup::Stats {
38    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
39        let mut debug_struct = f.debug_struct("Stats");
40        debug_struct.field("size_bytes", &self.size_bytes);
41        debug_struct.field("document_count", &self.document_count);
42        debug_struct.field("index_count", &self.index_count);
43        if !self._unknown_fields.is_empty() {
44            debug_struct.field("_unknown_fields", &self._unknown_fields);
45        }
46        debug_struct.finish()
47    }
48}
49
50impl std::fmt::Debug for super::Database {
51    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
52        let mut debug_struct = f.debug_struct("Database");
53        debug_struct.field("name", &self.name);
54        debug_struct.field("uid", &self.uid);
55        debug_struct.field("create_time", &self.create_time);
56        debug_struct.field("update_time", &self.update_time);
57        debug_struct.field("delete_time", &self.delete_time);
58        debug_struct.field("location_id", &self.location_id);
59        debug_struct.field("r#type", &self.r#type);
60        debug_struct.field("concurrency_mode", &self.concurrency_mode);
61        debug_struct.field("version_retention_period", &self.version_retention_period);
62        debug_struct.field("earliest_version_time", &self.earliest_version_time);
63        debug_struct.field(
64            "point_in_time_recovery_enablement",
65            &self.point_in_time_recovery_enablement,
66        );
67        debug_struct.field(
68            "app_engine_integration_mode",
69            &self.app_engine_integration_mode,
70        );
71        debug_struct.field("key_prefix", &self.key_prefix);
72        debug_struct.field("delete_protection_state", &self.delete_protection_state);
73        debug_struct.field("cmek_config", &self.cmek_config);
74        debug_struct.field("previous_id", &self.previous_id);
75        debug_struct.field("source_info", &self.source_info);
76        debug_struct.field("tags", &self.tags);
77        debug_struct.field("free_tier", &self.free_tier);
78        debug_struct.field("etag", &self.etag);
79        debug_struct.field("database_edition", &self.database_edition);
80        if !self._unknown_fields.is_empty() {
81            debug_struct.field("_unknown_fields", &self._unknown_fields);
82        }
83        debug_struct.finish()
84    }
85}
86
87impl std::fmt::Debug for super::database::CmekConfig {
88    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
89        let mut debug_struct = f.debug_struct("CmekConfig");
90        debug_struct.field("kms_key_name", &self.kms_key_name);
91        debug_struct.field("active_key_version", &self.active_key_version);
92        if !self._unknown_fields.is_empty() {
93            debug_struct.field("_unknown_fields", &self._unknown_fields);
94        }
95        debug_struct.finish()
96    }
97}
98
99impl std::fmt::Debug for super::database::SourceInfo {
100    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
101        let mut debug_struct = f.debug_struct("SourceInfo");
102        debug_struct.field("operation", &self.operation);
103        debug_struct.field("source", &self.source);
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::database::source_info::BackupSource {
112    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
113        let mut debug_struct = f.debug_struct("BackupSource");
114        debug_struct.field("backup", &self.backup);
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::database::EncryptionConfig {
123    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
124        let mut debug_struct = f.debug_struct("EncryptionConfig");
125        debug_struct.field("encryption_type", &self.encryption_type);
126        if !self._unknown_fields.is_empty() {
127            debug_struct.field("_unknown_fields", &self._unknown_fields);
128        }
129        debug_struct.finish()
130    }
131}
132
133impl std::fmt::Debug for super::database::encryption_config::GoogleDefaultEncryptionOptions {
134    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
135        let mut debug_struct = f.debug_struct("GoogleDefaultEncryptionOptions");
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::database::encryption_config::SourceEncryptionOptions {
144    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
145        let mut debug_struct = f.debug_struct("SourceEncryptionOptions");
146        if !self._unknown_fields.is_empty() {
147            debug_struct.field("_unknown_fields", &self._unknown_fields);
148        }
149        debug_struct.finish()
150    }
151}
152
153impl std::fmt::Debug for super::database::encryption_config::CustomerManagedEncryptionOptions {
154    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
155        let mut debug_struct = f.debug_struct("CustomerManagedEncryptionOptions");
156        debug_struct.field("kms_key_name", &self.kms_key_name);
157        if !self._unknown_fields.is_empty() {
158            debug_struct.field("_unknown_fields", &self._unknown_fields);
159        }
160        debug_struct.finish()
161    }
162}
163
164impl std::fmt::Debug for super::Field {
165    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
166        let mut debug_struct = f.debug_struct("Field");
167        debug_struct.field("name", &self.name);
168        debug_struct.field("index_config", &self.index_config);
169        debug_struct.field("ttl_config", &self.ttl_config);
170        if !self._unknown_fields.is_empty() {
171            debug_struct.field("_unknown_fields", &self._unknown_fields);
172        }
173        debug_struct.finish()
174    }
175}
176
177impl std::fmt::Debug for super::field::IndexConfig {
178    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
179        let mut debug_struct = f.debug_struct("IndexConfig");
180        debug_struct.field("indexes", &self.indexes);
181        debug_struct.field("uses_ancestor_config", &self.uses_ancestor_config);
182        debug_struct.field("ancestor_field", &self.ancestor_field);
183        debug_struct.field("reverting", &self.reverting);
184        if !self._unknown_fields.is_empty() {
185            debug_struct.field("_unknown_fields", &self._unknown_fields);
186        }
187        debug_struct.finish()
188    }
189}
190
191impl std::fmt::Debug for super::field::TtlConfig {
192    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
193        let mut debug_struct = f.debug_struct("TtlConfig");
194        debug_struct.field("state", &self.state);
195        if !self._unknown_fields.is_empty() {
196            debug_struct.field("_unknown_fields", &self._unknown_fields);
197        }
198        debug_struct.finish()
199    }
200}
201
202impl std::fmt::Debug for super::ListDatabasesRequest {
203    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
204        let mut debug_struct = f.debug_struct("ListDatabasesRequest");
205        debug_struct.field("parent", &self.parent);
206        debug_struct.field("show_deleted", &self.show_deleted);
207        if !self._unknown_fields.is_empty() {
208            debug_struct.field("_unknown_fields", &self._unknown_fields);
209        }
210        debug_struct.finish()
211    }
212}
213
214impl std::fmt::Debug for super::CreateDatabaseRequest {
215    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
216        let mut debug_struct = f.debug_struct("CreateDatabaseRequest");
217        debug_struct.field("parent", &self.parent);
218        debug_struct.field("database", &self.database);
219        debug_struct.field("database_id", &self.database_id);
220        if !self._unknown_fields.is_empty() {
221            debug_struct.field("_unknown_fields", &self._unknown_fields);
222        }
223        debug_struct.finish()
224    }
225}
226
227impl std::fmt::Debug for super::CreateDatabaseMetadata {
228    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
229        let mut debug_struct = f.debug_struct("CreateDatabaseMetadata");
230        if !self._unknown_fields.is_empty() {
231            debug_struct.field("_unknown_fields", &self._unknown_fields);
232        }
233        debug_struct.finish()
234    }
235}
236
237impl std::fmt::Debug for super::ListDatabasesResponse {
238    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
239        let mut debug_struct = f.debug_struct("ListDatabasesResponse");
240        debug_struct.field("databases", &self.databases);
241        debug_struct.field("unreachable", &self.unreachable);
242        if !self._unknown_fields.is_empty() {
243            debug_struct.field("_unknown_fields", &self._unknown_fields);
244        }
245        debug_struct.finish()
246    }
247}
248
249impl std::fmt::Debug for super::GetDatabaseRequest {
250    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
251        let mut debug_struct = f.debug_struct("GetDatabaseRequest");
252        debug_struct.field("name", &self.name);
253        if !self._unknown_fields.is_empty() {
254            debug_struct.field("_unknown_fields", &self._unknown_fields);
255        }
256        debug_struct.finish()
257    }
258}
259
260impl std::fmt::Debug for super::UpdateDatabaseRequest {
261    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
262        let mut debug_struct = f.debug_struct("UpdateDatabaseRequest");
263        debug_struct.field("database", &self.database);
264        debug_struct.field("update_mask", &self.update_mask);
265        if !self._unknown_fields.is_empty() {
266            debug_struct.field("_unknown_fields", &self._unknown_fields);
267        }
268        debug_struct.finish()
269    }
270}
271
272impl std::fmt::Debug for super::UpdateDatabaseMetadata {
273    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
274        let mut debug_struct = f.debug_struct("UpdateDatabaseMetadata");
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::DeleteDatabaseRequest {
283    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
284        let mut debug_struct = f.debug_struct("DeleteDatabaseRequest");
285        debug_struct.field("name", &self.name);
286        debug_struct.field("etag", &self.etag);
287        if !self._unknown_fields.is_empty() {
288            debug_struct.field("_unknown_fields", &self._unknown_fields);
289        }
290        debug_struct.finish()
291    }
292}
293
294impl std::fmt::Debug for super::DeleteDatabaseMetadata {
295    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
296        let mut debug_struct = f.debug_struct("DeleteDatabaseMetadata");
297        if !self._unknown_fields.is_empty() {
298            debug_struct.field("_unknown_fields", &self._unknown_fields);
299        }
300        debug_struct.finish()
301    }
302}
303
304impl std::fmt::Debug for super::CreateUserCredsRequest {
305    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
306        let mut debug_struct = f.debug_struct("CreateUserCredsRequest");
307        debug_struct.field("parent", &self.parent);
308        debug_struct.field("user_creds", &self.user_creds);
309        debug_struct.field("user_creds_id", &self.user_creds_id);
310        if !self._unknown_fields.is_empty() {
311            debug_struct.field("_unknown_fields", &self._unknown_fields);
312        }
313        debug_struct.finish()
314    }
315}
316
317impl std::fmt::Debug for super::GetUserCredsRequest {
318    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
319        let mut debug_struct = f.debug_struct("GetUserCredsRequest");
320        debug_struct.field("name", &self.name);
321        if !self._unknown_fields.is_empty() {
322            debug_struct.field("_unknown_fields", &self._unknown_fields);
323        }
324        debug_struct.finish()
325    }
326}
327
328impl std::fmt::Debug for super::ListUserCredsRequest {
329    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
330        let mut debug_struct = f.debug_struct("ListUserCredsRequest");
331        debug_struct.field("parent", &self.parent);
332        if !self._unknown_fields.is_empty() {
333            debug_struct.field("_unknown_fields", &self._unknown_fields);
334        }
335        debug_struct.finish()
336    }
337}
338
339impl std::fmt::Debug for super::ListUserCredsResponse {
340    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
341        let mut debug_struct = f.debug_struct("ListUserCredsResponse");
342        debug_struct.field("user_creds", &self.user_creds);
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::EnableUserCredsRequest {
351    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
352        let mut debug_struct = f.debug_struct("EnableUserCredsRequest");
353        debug_struct.field("name", &self.name);
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::DisableUserCredsRequest {
362    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
363        let mut debug_struct = f.debug_struct("DisableUserCredsRequest");
364        debug_struct.field("name", &self.name);
365        if !self._unknown_fields.is_empty() {
366            debug_struct.field("_unknown_fields", &self._unknown_fields);
367        }
368        debug_struct.finish()
369    }
370}
371
372impl std::fmt::Debug for super::ResetUserPasswordRequest {
373    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
374        let mut debug_struct = f.debug_struct("ResetUserPasswordRequest");
375        debug_struct.field("name", &self.name);
376        if !self._unknown_fields.is_empty() {
377            debug_struct.field("_unknown_fields", &self._unknown_fields);
378        }
379        debug_struct.finish()
380    }
381}
382
383impl std::fmt::Debug for super::DeleteUserCredsRequest {
384    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
385        let mut debug_struct = f.debug_struct("DeleteUserCredsRequest");
386        debug_struct.field("name", &self.name);
387        if !self._unknown_fields.is_empty() {
388            debug_struct.field("_unknown_fields", &self._unknown_fields);
389        }
390        debug_struct.finish()
391    }
392}
393
394impl std::fmt::Debug for super::CreateBackupScheduleRequest {
395    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
396        let mut debug_struct = f.debug_struct("CreateBackupScheduleRequest");
397        debug_struct.field("parent", &self.parent);
398        debug_struct.field("backup_schedule", &self.backup_schedule);
399        if !self._unknown_fields.is_empty() {
400            debug_struct.field("_unknown_fields", &self._unknown_fields);
401        }
402        debug_struct.finish()
403    }
404}
405
406impl std::fmt::Debug for super::GetBackupScheduleRequest {
407    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
408        let mut debug_struct = f.debug_struct("GetBackupScheduleRequest");
409        debug_struct.field("name", &self.name);
410        if !self._unknown_fields.is_empty() {
411            debug_struct.field("_unknown_fields", &self._unknown_fields);
412        }
413        debug_struct.finish()
414    }
415}
416
417impl std::fmt::Debug for super::UpdateBackupScheduleRequest {
418    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
419        let mut debug_struct = f.debug_struct("UpdateBackupScheduleRequest");
420        debug_struct.field("backup_schedule", &self.backup_schedule);
421        debug_struct.field("update_mask", &self.update_mask);
422        if !self._unknown_fields.is_empty() {
423            debug_struct.field("_unknown_fields", &self._unknown_fields);
424        }
425        debug_struct.finish()
426    }
427}
428
429impl std::fmt::Debug for super::ListBackupSchedulesRequest {
430    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
431        let mut debug_struct = f.debug_struct("ListBackupSchedulesRequest");
432        debug_struct.field("parent", &self.parent);
433        if !self._unknown_fields.is_empty() {
434            debug_struct.field("_unknown_fields", &self._unknown_fields);
435        }
436        debug_struct.finish()
437    }
438}
439
440impl std::fmt::Debug for super::ListBackupSchedulesResponse {
441    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
442        let mut debug_struct = f.debug_struct("ListBackupSchedulesResponse");
443        debug_struct.field("backup_schedules", &self.backup_schedules);
444        if !self._unknown_fields.is_empty() {
445            debug_struct.field("_unknown_fields", &self._unknown_fields);
446        }
447        debug_struct.finish()
448    }
449}
450
451impl std::fmt::Debug for super::DeleteBackupScheduleRequest {
452    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
453        let mut debug_struct = f.debug_struct("DeleteBackupScheduleRequest");
454        debug_struct.field("name", &self.name);
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::CreateIndexRequest {
463    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
464        let mut debug_struct = f.debug_struct("CreateIndexRequest");
465        debug_struct.field("parent", &self.parent);
466        debug_struct.field("index", &self.index);
467        if !self._unknown_fields.is_empty() {
468            debug_struct.field("_unknown_fields", &self._unknown_fields);
469        }
470        debug_struct.finish()
471    }
472}
473
474impl std::fmt::Debug for super::ListIndexesRequest {
475    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
476        let mut debug_struct = f.debug_struct("ListIndexesRequest");
477        debug_struct.field("parent", &self.parent);
478        debug_struct.field("filter", &self.filter);
479        debug_struct.field("page_size", &self.page_size);
480        debug_struct.field("page_token", &self.page_token);
481        if !self._unknown_fields.is_empty() {
482            debug_struct.field("_unknown_fields", &self._unknown_fields);
483        }
484        debug_struct.finish()
485    }
486}
487
488impl std::fmt::Debug for super::ListIndexesResponse {
489    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
490        let mut debug_struct = f.debug_struct("ListIndexesResponse");
491        debug_struct.field("indexes", &self.indexes);
492        debug_struct.field("next_page_token", &self.next_page_token);
493        if !self._unknown_fields.is_empty() {
494            debug_struct.field("_unknown_fields", &self._unknown_fields);
495        }
496        debug_struct.finish()
497    }
498}
499
500impl std::fmt::Debug for super::GetIndexRequest {
501    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
502        let mut debug_struct = f.debug_struct("GetIndexRequest");
503        debug_struct.field("name", &self.name);
504        if !self._unknown_fields.is_empty() {
505            debug_struct.field("_unknown_fields", &self._unknown_fields);
506        }
507        debug_struct.finish()
508    }
509}
510
511impl std::fmt::Debug for super::DeleteIndexRequest {
512    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
513        let mut debug_struct = f.debug_struct("DeleteIndexRequest");
514        debug_struct.field("name", &self.name);
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::UpdateFieldRequest {
523    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
524        let mut debug_struct = f.debug_struct("UpdateFieldRequest");
525        debug_struct.field("field", &self.field);
526        debug_struct.field("update_mask", &self.update_mask);
527        if !self._unknown_fields.is_empty() {
528            debug_struct.field("_unknown_fields", &self._unknown_fields);
529        }
530        debug_struct.finish()
531    }
532}
533
534impl std::fmt::Debug for super::GetFieldRequest {
535    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
536        let mut debug_struct = f.debug_struct("GetFieldRequest");
537        debug_struct.field("name", &self.name);
538        if !self._unknown_fields.is_empty() {
539            debug_struct.field("_unknown_fields", &self._unknown_fields);
540        }
541        debug_struct.finish()
542    }
543}
544
545impl std::fmt::Debug for super::ListFieldsRequest {
546    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
547        let mut debug_struct = f.debug_struct("ListFieldsRequest");
548        debug_struct.field("parent", &self.parent);
549        debug_struct.field("filter", &self.filter);
550        debug_struct.field("page_size", &self.page_size);
551        debug_struct.field("page_token", &self.page_token);
552        if !self._unknown_fields.is_empty() {
553            debug_struct.field("_unknown_fields", &self._unknown_fields);
554        }
555        debug_struct.finish()
556    }
557}
558
559impl std::fmt::Debug for super::ListFieldsResponse {
560    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
561        let mut debug_struct = f.debug_struct("ListFieldsResponse");
562        debug_struct.field("fields", &self.fields);
563        debug_struct.field("next_page_token", &self.next_page_token);
564        if !self._unknown_fields.is_empty() {
565            debug_struct.field("_unknown_fields", &self._unknown_fields);
566        }
567        debug_struct.finish()
568    }
569}
570
571impl std::fmt::Debug for super::ExportDocumentsRequest {
572    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
573        let mut debug_struct = f.debug_struct("ExportDocumentsRequest");
574        debug_struct.field("name", &self.name);
575        debug_struct.field("collection_ids", &self.collection_ids);
576        debug_struct.field("output_uri_prefix", &self.output_uri_prefix);
577        debug_struct.field("namespace_ids", &self.namespace_ids);
578        debug_struct.field("snapshot_time", &self.snapshot_time);
579        if !self._unknown_fields.is_empty() {
580            debug_struct.field("_unknown_fields", &self._unknown_fields);
581        }
582        debug_struct.finish()
583    }
584}
585
586impl std::fmt::Debug for super::ImportDocumentsRequest {
587    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
588        let mut debug_struct = f.debug_struct("ImportDocumentsRequest");
589        debug_struct.field("name", &self.name);
590        debug_struct.field("collection_ids", &self.collection_ids);
591        debug_struct.field("input_uri_prefix", &self.input_uri_prefix);
592        debug_struct.field("namespace_ids", &self.namespace_ids);
593        if !self._unknown_fields.is_empty() {
594            debug_struct.field("_unknown_fields", &self._unknown_fields);
595        }
596        debug_struct.finish()
597    }
598}
599
600impl std::fmt::Debug for super::BulkDeleteDocumentsRequest {
601    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
602        let mut debug_struct = f.debug_struct("BulkDeleteDocumentsRequest");
603        debug_struct.field("name", &self.name);
604        debug_struct.field("collection_ids", &self.collection_ids);
605        debug_struct.field("namespace_ids", &self.namespace_ids);
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::BulkDeleteDocumentsResponse {
614    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
615        let mut debug_struct = f.debug_struct("BulkDeleteDocumentsResponse");
616        if !self._unknown_fields.is_empty() {
617            debug_struct.field("_unknown_fields", &self._unknown_fields);
618        }
619        debug_struct.finish()
620    }
621}
622
623impl std::fmt::Debug for super::GetBackupRequest {
624    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
625        let mut debug_struct = f.debug_struct("GetBackupRequest");
626        debug_struct.field("name", &self.name);
627        if !self._unknown_fields.is_empty() {
628            debug_struct.field("_unknown_fields", &self._unknown_fields);
629        }
630        debug_struct.finish()
631    }
632}
633
634impl std::fmt::Debug for super::ListBackupsRequest {
635    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
636        let mut debug_struct = f.debug_struct("ListBackupsRequest");
637        debug_struct.field("parent", &self.parent);
638        debug_struct.field("filter", &self.filter);
639        if !self._unknown_fields.is_empty() {
640            debug_struct.field("_unknown_fields", &self._unknown_fields);
641        }
642        debug_struct.finish()
643    }
644}
645
646impl std::fmt::Debug for super::ListBackupsResponse {
647    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
648        let mut debug_struct = f.debug_struct("ListBackupsResponse");
649        debug_struct.field("backups", &self.backups);
650        debug_struct.field("unreachable", &self.unreachable);
651        if !self._unknown_fields.is_empty() {
652            debug_struct.field("_unknown_fields", &self._unknown_fields);
653        }
654        debug_struct.finish()
655    }
656}
657
658impl std::fmt::Debug for super::DeleteBackupRequest {
659    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
660        let mut debug_struct = f.debug_struct("DeleteBackupRequest");
661        debug_struct.field("name", &self.name);
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::RestoreDatabaseRequest {
670    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
671        let mut debug_struct = f.debug_struct("RestoreDatabaseRequest");
672        debug_struct.field("parent", &self.parent);
673        debug_struct.field("database_id", &self.database_id);
674        debug_struct.field("backup", &self.backup);
675        debug_struct.field("encryption_config", &self.encryption_config);
676        debug_struct.field("tags", &self.tags);
677        if !self._unknown_fields.is_empty() {
678            debug_struct.field("_unknown_fields", &self._unknown_fields);
679        }
680        debug_struct.finish()
681    }
682}
683
684impl std::fmt::Debug for super::CloneDatabaseRequest {
685    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
686        let mut debug_struct = f.debug_struct("CloneDatabaseRequest");
687        debug_struct.field("parent", &self.parent);
688        debug_struct.field("database_id", &self.database_id);
689        debug_struct.field("pitr_snapshot", &self.pitr_snapshot);
690        debug_struct.field("encryption_config", &self.encryption_config);
691        debug_struct.field("tags", &self.tags);
692        if !self._unknown_fields.is_empty() {
693            debug_struct.field("_unknown_fields", &self._unknown_fields);
694        }
695        debug_struct.finish()
696    }
697}
698
699impl std::fmt::Debug for super::Index {
700    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
701        let mut debug_struct = f.debug_struct("Index");
702        debug_struct.field("name", &self.name);
703        debug_struct.field("query_scope", &self.query_scope);
704        debug_struct.field("api_scope", &self.api_scope);
705        debug_struct.field("fields", &self.fields);
706        debug_struct.field("state", &self.state);
707        debug_struct.field("density", &self.density);
708        debug_struct.field("multikey", &self.multikey);
709        debug_struct.field("shard_count", &self.shard_count);
710        if !self._unknown_fields.is_empty() {
711            debug_struct.field("_unknown_fields", &self._unknown_fields);
712        }
713        debug_struct.finish()
714    }
715}
716
717impl std::fmt::Debug for super::index::IndexField {
718    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
719        let mut debug_struct = f.debug_struct("IndexField");
720        debug_struct.field("field_path", &self.field_path);
721        debug_struct.field("value_mode", &self.value_mode);
722        if !self._unknown_fields.is_empty() {
723            debug_struct.field("_unknown_fields", &self._unknown_fields);
724        }
725        debug_struct.finish()
726    }
727}
728
729impl std::fmt::Debug for super::index::index_field::VectorConfig {
730    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
731        let mut debug_struct = f.debug_struct("VectorConfig");
732        debug_struct.field("dimension", &self.dimension);
733        debug_struct.field("r#type", &self.r#type);
734        if !self._unknown_fields.is_empty() {
735            debug_struct.field("_unknown_fields", &self._unknown_fields);
736        }
737        debug_struct.finish()
738    }
739}
740
741impl std::fmt::Debug for super::index::index_field::vector_config::FlatIndex {
742    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
743        let mut debug_struct = f.debug_struct("FlatIndex");
744        if !self._unknown_fields.is_empty() {
745            debug_struct.field("_unknown_fields", &self._unknown_fields);
746        }
747        debug_struct.finish()
748    }
749}
750
751impl std::fmt::Debug for super::LocationMetadata {
752    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
753        let mut debug_struct = f.debug_struct("LocationMetadata");
754        if !self._unknown_fields.is_empty() {
755            debug_struct.field("_unknown_fields", &self._unknown_fields);
756        }
757        debug_struct.finish()
758    }
759}
760
761impl std::fmt::Debug for super::IndexOperationMetadata {
762    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
763        let mut debug_struct = f.debug_struct("IndexOperationMetadata");
764        debug_struct.field("start_time", &self.start_time);
765        debug_struct.field("end_time", &self.end_time);
766        debug_struct.field("index", &self.index);
767        debug_struct.field("state", &self.state);
768        debug_struct.field("progress_documents", &self.progress_documents);
769        debug_struct.field("progress_bytes", &self.progress_bytes);
770        if !self._unknown_fields.is_empty() {
771            debug_struct.field("_unknown_fields", &self._unknown_fields);
772        }
773        debug_struct.finish()
774    }
775}
776
777impl std::fmt::Debug for super::FieldOperationMetadata {
778    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
779        let mut debug_struct = f.debug_struct("FieldOperationMetadata");
780        debug_struct.field("start_time", &self.start_time);
781        debug_struct.field("end_time", &self.end_time);
782        debug_struct.field("field", &self.field);
783        debug_struct.field("index_config_deltas", &self.index_config_deltas);
784        debug_struct.field("state", &self.state);
785        debug_struct.field("progress_documents", &self.progress_documents);
786        debug_struct.field("progress_bytes", &self.progress_bytes);
787        debug_struct.field("ttl_config_delta", &self.ttl_config_delta);
788        if !self._unknown_fields.is_empty() {
789            debug_struct.field("_unknown_fields", &self._unknown_fields);
790        }
791        debug_struct.finish()
792    }
793}
794
795impl std::fmt::Debug for super::field_operation_metadata::IndexConfigDelta {
796    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
797        let mut debug_struct = f.debug_struct("IndexConfigDelta");
798        debug_struct.field("change_type", &self.change_type);
799        debug_struct.field("index", &self.index);
800        if !self._unknown_fields.is_empty() {
801            debug_struct.field("_unknown_fields", &self._unknown_fields);
802        }
803        debug_struct.finish()
804    }
805}
806
807impl std::fmt::Debug for super::field_operation_metadata::TtlConfigDelta {
808    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
809        let mut debug_struct = f.debug_struct("TtlConfigDelta");
810        debug_struct.field("change_type", &self.change_type);
811        if !self._unknown_fields.is_empty() {
812            debug_struct.field("_unknown_fields", &self._unknown_fields);
813        }
814        debug_struct.finish()
815    }
816}
817
818impl std::fmt::Debug for super::ExportDocumentsMetadata {
819    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
820        let mut debug_struct = f.debug_struct("ExportDocumentsMetadata");
821        debug_struct.field("start_time", &self.start_time);
822        debug_struct.field("end_time", &self.end_time);
823        debug_struct.field("operation_state", &self.operation_state);
824        debug_struct.field("progress_documents", &self.progress_documents);
825        debug_struct.field("progress_bytes", &self.progress_bytes);
826        debug_struct.field("collection_ids", &self.collection_ids);
827        debug_struct.field("output_uri_prefix", &self.output_uri_prefix);
828        debug_struct.field("namespace_ids", &self.namespace_ids);
829        debug_struct.field("snapshot_time", &self.snapshot_time);
830        if !self._unknown_fields.is_empty() {
831            debug_struct.field("_unknown_fields", &self._unknown_fields);
832        }
833        debug_struct.finish()
834    }
835}
836
837impl std::fmt::Debug for super::ImportDocumentsMetadata {
838    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
839        let mut debug_struct = f.debug_struct("ImportDocumentsMetadata");
840        debug_struct.field("start_time", &self.start_time);
841        debug_struct.field("end_time", &self.end_time);
842        debug_struct.field("operation_state", &self.operation_state);
843        debug_struct.field("progress_documents", &self.progress_documents);
844        debug_struct.field("progress_bytes", &self.progress_bytes);
845        debug_struct.field("collection_ids", &self.collection_ids);
846        debug_struct.field("input_uri_prefix", &self.input_uri_prefix);
847        debug_struct.field("namespace_ids", &self.namespace_ids);
848        if !self._unknown_fields.is_empty() {
849            debug_struct.field("_unknown_fields", &self._unknown_fields);
850        }
851        debug_struct.finish()
852    }
853}
854
855impl std::fmt::Debug for super::BulkDeleteDocumentsMetadata {
856    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
857        let mut debug_struct = f.debug_struct("BulkDeleteDocumentsMetadata");
858        debug_struct.field("start_time", &self.start_time);
859        debug_struct.field("end_time", &self.end_time);
860        debug_struct.field("operation_state", &self.operation_state);
861        debug_struct.field("progress_documents", &self.progress_documents);
862        debug_struct.field("progress_bytes", &self.progress_bytes);
863        debug_struct.field("collection_ids", &self.collection_ids);
864        debug_struct.field("namespace_ids", &self.namespace_ids);
865        debug_struct.field("snapshot_time", &self.snapshot_time);
866        if !self._unknown_fields.is_empty() {
867            debug_struct.field("_unknown_fields", &self._unknown_fields);
868        }
869        debug_struct.finish()
870    }
871}
872
873impl std::fmt::Debug for super::ExportDocumentsResponse {
874    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
875        let mut debug_struct = f.debug_struct("ExportDocumentsResponse");
876        debug_struct.field("output_uri_prefix", &self.output_uri_prefix);
877        if !self._unknown_fields.is_empty() {
878            debug_struct.field("_unknown_fields", &self._unknown_fields);
879        }
880        debug_struct.finish()
881    }
882}
883
884impl std::fmt::Debug for super::RestoreDatabaseMetadata {
885    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
886        let mut debug_struct = f.debug_struct("RestoreDatabaseMetadata");
887        debug_struct.field("start_time", &self.start_time);
888        debug_struct.field("end_time", &self.end_time);
889        debug_struct.field("operation_state", &self.operation_state);
890        debug_struct.field("database", &self.database);
891        debug_struct.field("backup", &self.backup);
892        debug_struct.field("progress_percentage", &self.progress_percentage);
893        if !self._unknown_fields.is_empty() {
894            debug_struct.field("_unknown_fields", &self._unknown_fields);
895        }
896        debug_struct.finish()
897    }
898}
899
900impl std::fmt::Debug for super::CloneDatabaseMetadata {
901    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
902        let mut debug_struct = f.debug_struct("CloneDatabaseMetadata");
903        debug_struct.field("start_time", &self.start_time);
904        debug_struct.field("end_time", &self.end_time);
905        debug_struct.field("operation_state", &self.operation_state);
906        debug_struct.field("database", &self.database);
907        debug_struct.field("pitr_snapshot", &self.pitr_snapshot);
908        debug_struct.field("progress_percentage", &self.progress_percentage);
909        if !self._unknown_fields.is_empty() {
910            debug_struct.field("_unknown_fields", &self._unknown_fields);
911        }
912        debug_struct.finish()
913    }
914}
915
916impl std::fmt::Debug for super::Progress {
917    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
918        let mut debug_struct = f.debug_struct("Progress");
919        debug_struct.field("estimated_work", &self.estimated_work);
920        debug_struct.field("completed_work", &self.completed_work);
921        if !self._unknown_fields.is_empty() {
922            debug_struct.field("_unknown_fields", &self._unknown_fields);
923        }
924        debug_struct.finish()
925    }
926}
927
928impl std::fmt::Debug for super::BackupSchedule {
929    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
930        let mut debug_struct = f.debug_struct("BackupSchedule");
931        debug_struct.field("name", &self.name);
932        debug_struct.field("create_time", &self.create_time);
933        debug_struct.field("update_time", &self.update_time);
934        debug_struct.field("retention", &self.retention);
935        debug_struct.field("recurrence", &self.recurrence);
936        if !self._unknown_fields.is_empty() {
937            debug_struct.field("_unknown_fields", &self._unknown_fields);
938        }
939        debug_struct.finish()
940    }
941}
942
943impl std::fmt::Debug for super::DailyRecurrence {
944    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
945        let mut debug_struct = f.debug_struct("DailyRecurrence");
946        if !self._unknown_fields.is_empty() {
947            debug_struct.field("_unknown_fields", &self._unknown_fields);
948        }
949        debug_struct.finish()
950    }
951}
952
953impl std::fmt::Debug for super::WeeklyRecurrence {
954    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
955        let mut debug_struct = f.debug_struct("WeeklyRecurrence");
956        debug_struct.field("day", &self.day);
957        if !self._unknown_fields.is_empty() {
958            debug_struct.field("_unknown_fields", &self._unknown_fields);
959        }
960        debug_struct.finish()
961    }
962}
963
964impl std::fmt::Debug for super::PitrSnapshot {
965    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
966        let mut debug_struct = f.debug_struct("PitrSnapshot");
967        debug_struct.field("database", &self.database);
968        debug_struct.field("database_uid", &self.database_uid);
969        debug_struct.field("snapshot_time", &self.snapshot_time);
970        if !self._unknown_fields.is_empty() {
971            debug_struct.field("_unknown_fields", &self._unknown_fields);
972        }
973        debug_struct.finish()
974    }
975}
976
977impl std::fmt::Debug for super::UserCreds {
978    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
979        let mut debug_struct = f.debug_struct("UserCreds");
980        debug_struct.field("name", &self.name);
981        debug_struct.field("create_time", &self.create_time);
982        debug_struct.field("update_time", &self.update_time);
983        debug_struct.field("state", &self.state);
984        debug_struct.field("secure_password", &self.secure_password);
985        debug_struct.field("user_creds_identity", &self.user_creds_identity);
986        if !self._unknown_fields.is_empty() {
987            debug_struct.field("_unknown_fields", &self._unknown_fields);
988        }
989        debug_struct.finish()
990    }
991}
992
993impl std::fmt::Debug for super::user_creds::ResourceIdentity {
994    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
995        let mut debug_struct = f.debug_struct("ResourceIdentity");
996        debug_struct.field("principal", &self.principal);
997        if !self._unknown_fields.is_empty() {
998            debug_struct.field("_unknown_fields", &self._unknown_fields);
999        }
1000        debug_struct.finish()
1001    }
1002}