Skip to main content

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