1#[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 debug_struct.field("expiration_offset", &self.expiration_offset);
205 if !self._unknown_fields.is_empty() {
206 debug_struct.field("_unknown_fields", &self._unknown_fields);
207 }
208 debug_struct.finish()
209 }
210}
211
212impl std::fmt::Debug for super::ListDatabasesRequest {
213 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
214 let mut debug_struct = f.debug_struct("ListDatabasesRequest");
215 debug_struct.field("parent", &self.parent);
216 debug_struct.field("show_deleted", &self.show_deleted);
217 if !self._unknown_fields.is_empty() {
218 debug_struct.field("_unknown_fields", &self._unknown_fields);
219 }
220 debug_struct.finish()
221 }
222}
223
224impl std::fmt::Debug for super::CreateDatabaseRequest {
225 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
226 let mut debug_struct = f.debug_struct("CreateDatabaseRequest");
227 debug_struct.field("parent", &self.parent);
228 debug_struct.field("database", &self.database);
229 debug_struct.field("database_id", &self.database_id);
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::CreateDatabaseMetadata {
238 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
239 let mut debug_struct = f.debug_struct("CreateDatabaseMetadata");
240 if !self._unknown_fields.is_empty() {
241 debug_struct.field("_unknown_fields", &self._unknown_fields);
242 }
243 debug_struct.finish()
244 }
245}
246
247impl std::fmt::Debug for super::ListDatabasesResponse {
248 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
249 let mut debug_struct = f.debug_struct("ListDatabasesResponse");
250 debug_struct.field("databases", &self.databases);
251 debug_struct.field("unreachable", &self.unreachable);
252 if !self._unknown_fields.is_empty() {
253 debug_struct.field("_unknown_fields", &self._unknown_fields);
254 }
255 debug_struct.finish()
256 }
257}
258
259impl std::fmt::Debug for super::GetDatabaseRequest {
260 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
261 let mut debug_struct = f.debug_struct("GetDatabaseRequest");
262 debug_struct.field("name", &self.name);
263 if !self._unknown_fields.is_empty() {
264 debug_struct.field("_unknown_fields", &self._unknown_fields);
265 }
266 debug_struct.finish()
267 }
268}
269
270impl std::fmt::Debug for super::UpdateDatabaseRequest {
271 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
272 let mut debug_struct = f.debug_struct("UpdateDatabaseRequest");
273 debug_struct.field("database", &self.database);
274 debug_struct.field("update_mask", &self.update_mask);
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::UpdateDatabaseMetadata {
283 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
284 let mut debug_struct = f.debug_struct("UpdateDatabaseMetadata");
285 if !self._unknown_fields.is_empty() {
286 debug_struct.field("_unknown_fields", &self._unknown_fields);
287 }
288 debug_struct.finish()
289 }
290}
291
292impl std::fmt::Debug for super::DeleteDatabaseRequest {
293 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
294 let mut debug_struct = f.debug_struct("DeleteDatabaseRequest");
295 debug_struct.field("name", &self.name);
296 debug_struct.field("etag", &self.etag);
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::DeleteDatabaseMetadata {
305 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
306 let mut debug_struct = f.debug_struct("DeleteDatabaseMetadata");
307 if !self._unknown_fields.is_empty() {
308 debug_struct.field("_unknown_fields", &self._unknown_fields);
309 }
310 debug_struct.finish()
311 }
312}
313
314impl std::fmt::Debug for super::CreateUserCredsRequest {
315 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
316 let mut debug_struct = f.debug_struct("CreateUserCredsRequest");
317 debug_struct.field("parent", &self.parent);
318 debug_struct.field("user_creds", &self.user_creds);
319 debug_struct.field("user_creds_id", &self.user_creds_id);
320 if !self._unknown_fields.is_empty() {
321 debug_struct.field("_unknown_fields", &self._unknown_fields);
322 }
323 debug_struct.finish()
324 }
325}
326
327impl std::fmt::Debug for super::GetUserCredsRequest {
328 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
329 let mut debug_struct = f.debug_struct("GetUserCredsRequest");
330 debug_struct.field("name", &self.name);
331 if !self._unknown_fields.is_empty() {
332 debug_struct.field("_unknown_fields", &self._unknown_fields);
333 }
334 debug_struct.finish()
335 }
336}
337
338impl std::fmt::Debug for super::ListUserCredsRequest {
339 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
340 let mut debug_struct = f.debug_struct("ListUserCredsRequest");
341 debug_struct.field("parent", &self.parent);
342 if !self._unknown_fields.is_empty() {
343 debug_struct.field("_unknown_fields", &self._unknown_fields);
344 }
345 debug_struct.finish()
346 }
347}
348
349impl std::fmt::Debug for super::ListUserCredsResponse {
350 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
351 let mut debug_struct = f.debug_struct("ListUserCredsResponse");
352 debug_struct.field("user_creds", &self.user_creds);
353 if !self._unknown_fields.is_empty() {
354 debug_struct.field("_unknown_fields", &self._unknown_fields);
355 }
356 debug_struct.finish()
357 }
358}
359
360impl std::fmt::Debug for super::EnableUserCredsRequest {
361 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
362 let mut debug_struct = f.debug_struct("EnableUserCredsRequest");
363 debug_struct.field("name", &self.name);
364 if !self._unknown_fields.is_empty() {
365 debug_struct.field("_unknown_fields", &self._unknown_fields);
366 }
367 debug_struct.finish()
368 }
369}
370
371impl std::fmt::Debug for super::DisableUserCredsRequest {
372 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
373 let mut debug_struct = f.debug_struct("DisableUserCredsRequest");
374 debug_struct.field("name", &self.name);
375 if !self._unknown_fields.is_empty() {
376 debug_struct.field("_unknown_fields", &self._unknown_fields);
377 }
378 debug_struct.finish()
379 }
380}
381
382impl std::fmt::Debug for super::ResetUserPasswordRequest {
383 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
384 let mut debug_struct = f.debug_struct("ResetUserPasswordRequest");
385 debug_struct.field("name", &self.name);
386 if !self._unknown_fields.is_empty() {
387 debug_struct.field("_unknown_fields", &self._unknown_fields);
388 }
389 debug_struct.finish()
390 }
391}
392
393impl std::fmt::Debug for super::DeleteUserCredsRequest {
394 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
395 let mut debug_struct = f.debug_struct("DeleteUserCredsRequest");
396 debug_struct.field("name", &self.name);
397 if !self._unknown_fields.is_empty() {
398 debug_struct.field("_unknown_fields", &self._unknown_fields);
399 }
400 debug_struct.finish()
401 }
402}
403
404impl std::fmt::Debug for super::CreateBackupScheduleRequest {
405 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
406 let mut debug_struct = f.debug_struct("CreateBackupScheduleRequest");
407 debug_struct.field("parent", &self.parent);
408 debug_struct.field("backup_schedule", &self.backup_schedule);
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::GetBackupScheduleRequest {
417 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
418 let mut debug_struct = f.debug_struct("GetBackupScheduleRequest");
419 debug_struct.field("name", &self.name);
420 if !self._unknown_fields.is_empty() {
421 debug_struct.field("_unknown_fields", &self._unknown_fields);
422 }
423 debug_struct.finish()
424 }
425}
426
427impl std::fmt::Debug for super::UpdateBackupScheduleRequest {
428 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
429 let mut debug_struct = f.debug_struct("UpdateBackupScheduleRequest");
430 debug_struct.field("backup_schedule", &self.backup_schedule);
431 debug_struct.field("update_mask", &self.update_mask);
432 if !self._unknown_fields.is_empty() {
433 debug_struct.field("_unknown_fields", &self._unknown_fields);
434 }
435 debug_struct.finish()
436 }
437}
438
439impl std::fmt::Debug for super::ListBackupSchedulesRequest {
440 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
441 let mut debug_struct = f.debug_struct("ListBackupSchedulesRequest");
442 debug_struct.field("parent", &self.parent);
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::ListBackupSchedulesResponse {
451 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
452 let mut debug_struct = f.debug_struct("ListBackupSchedulesResponse");
453 debug_struct.field("backup_schedules", &self.backup_schedules);
454 if !self._unknown_fields.is_empty() {
455 debug_struct.field("_unknown_fields", &self._unknown_fields);
456 }
457 debug_struct.finish()
458 }
459}
460
461impl std::fmt::Debug for super::DeleteBackupScheduleRequest {
462 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
463 let mut debug_struct = f.debug_struct("DeleteBackupScheduleRequest");
464 debug_struct.field("name", &self.name);
465 if !self._unknown_fields.is_empty() {
466 debug_struct.field("_unknown_fields", &self._unknown_fields);
467 }
468 debug_struct.finish()
469 }
470}
471
472impl std::fmt::Debug for super::CreateIndexRequest {
473 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
474 let mut debug_struct = f.debug_struct("CreateIndexRequest");
475 debug_struct.field("parent", &self.parent);
476 debug_struct.field("index", &self.index);
477 if !self._unknown_fields.is_empty() {
478 debug_struct.field("_unknown_fields", &self._unknown_fields);
479 }
480 debug_struct.finish()
481 }
482}
483
484impl std::fmt::Debug for super::ListIndexesRequest {
485 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
486 let mut debug_struct = f.debug_struct("ListIndexesRequest");
487 debug_struct.field("parent", &self.parent);
488 debug_struct.field("filter", &self.filter);
489 debug_struct.field("page_size", &self.page_size);
490 debug_struct.field("page_token", &self.page_token);
491 if !self._unknown_fields.is_empty() {
492 debug_struct.field("_unknown_fields", &self._unknown_fields);
493 }
494 debug_struct.finish()
495 }
496}
497
498impl std::fmt::Debug for super::ListIndexesResponse {
499 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
500 let mut debug_struct = f.debug_struct("ListIndexesResponse");
501 debug_struct.field("indexes", &self.indexes);
502 debug_struct.field("next_page_token", &self.next_page_token);
503 if !self._unknown_fields.is_empty() {
504 debug_struct.field("_unknown_fields", &self._unknown_fields);
505 }
506 debug_struct.finish()
507 }
508}
509
510impl std::fmt::Debug for super::GetIndexRequest {
511 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
512 let mut debug_struct = f.debug_struct("GetIndexRequest");
513 debug_struct.field("name", &self.name);
514 if !self._unknown_fields.is_empty() {
515 debug_struct.field("_unknown_fields", &self._unknown_fields);
516 }
517 debug_struct.finish()
518 }
519}
520
521impl std::fmt::Debug for super::DeleteIndexRequest {
522 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
523 let mut debug_struct = f.debug_struct("DeleteIndexRequest");
524 debug_struct.field("name", &self.name);
525 if !self._unknown_fields.is_empty() {
526 debug_struct.field("_unknown_fields", &self._unknown_fields);
527 }
528 debug_struct.finish()
529 }
530}
531
532impl std::fmt::Debug for super::UpdateFieldRequest {
533 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
534 let mut debug_struct = f.debug_struct("UpdateFieldRequest");
535 debug_struct.field("field", &self.field);
536 debug_struct.field("update_mask", &self.update_mask);
537 if !self._unknown_fields.is_empty() {
538 debug_struct.field("_unknown_fields", &self._unknown_fields);
539 }
540 debug_struct.finish()
541 }
542}
543
544impl std::fmt::Debug for super::GetFieldRequest {
545 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
546 let mut debug_struct = f.debug_struct("GetFieldRequest");
547 debug_struct.field("name", &self.name);
548 if !self._unknown_fields.is_empty() {
549 debug_struct.field("_unknown_fields", &self._unknown_fields);
550 }
551 debug_struct.finish()
552 }
553}
554
555impl std::fmt::Debug for super::ListFieldsRequest {
556 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
557 let mut debug_struct = f.debug_struct("ListFieldsRequest");
558 debug_struct.field("parent", &self.parent);
559 debug_struct.field("filter", &self.filter);
560 debug_struct.field("page_size", &self.page_size);
561 debug_struct.field("page_token", &self.page_token);
562 if !self._unknown_fields.is_empty() {
563 debug_struct.field("_unknown_fields", &self._unknown_fields);
564 }
565 debug_struct.finish()
566 }
567}
568
569impl std::fmt::Debug for super::ListFieldsResponse {
570 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
571 let mut debug_struct = f.debug_struct("ListFieldsResponse");
572 debug_struct.field("fields", &self.fields);
573 debug_struct.field("next_page_token", &self.next_page_token);
574 if !self._unknown_fields.is_empty() {
575 debug_struct.field("_unknown_fields", &self._unknown_fields);
576 }
577 debug_struct.finish()
578 }
579}
580
581impl std::fmt::Debug for super::ExportDocumentsRequest {
582 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
583 let mut debug_struct = f.debug_struct("ExportDocumentsRequest");
584 debug_struct.field("name", &self.name);
585 debug_struct.field("collection_ids", &self.collection_ids);
586 debug_struct.field("output_uri_prefix", &self.output_uri_prefix);
587 debug_struct.field("namespace_ids", &self.namespace_ids);
588 debug_struct.field("snapshot_time", &self.snapshot_time);
589 if !self._unknown_fields.is_empty() {
590 debug_struct.field("_unknown_fields", &self._unknown_fields);
591 }
592 debug_struct.finish()
593 }
594}
595
596impl std::fmt::Debug for super::ImportDocumentsRequest {
597 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
598 let mut debug_struct = f.debug_struct("ImportDocumentsRequest");
599 debug_struct.field("name", &self.name);
600 debug_struct.field("collection_ids", &self.collection_ids);
601 debug_struct.field("input_uri_prefix", &self.input_uri_prefix);
602 debug_struct.field("namespace_ids", &self.namespace_ids);
603 if !self._unknown_fields.is_empty() {
604 debug_struct.field("_unknown_fields", &self._unknown_fields);
605 }
606 debug_struct.finish()
607 }
608}
609
610impl std::fmt::Debug for super::BulkDeleteDocumentsRequest {
611 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
612 let mut debug_struct = f.debug_struct("BulkDeleteDocumentsRequest");
613 debug_struct.field("name", &self.name);
614 debug_struct.field("collection_ids", &self.collection_ids);
615 debug_struct.field("namespace_ids", &self.namespace_ids);
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::BulkDeleteDocumentsResponse {
624 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
625 let mut debug_struct = f.debug_struct("BulkDeleteDocumentsResponse");
626 if !self._unknown_fields.is_empty() {
627 debug_struct.field("_unknown_fields", &self._unknown_fields);
628 }
629 debug_struct.finish()
630 }
631}
632
633impl std::fmt::Debug for super::GetBackupRequest {
634 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
635 let mut debug_struct = f.debug_struct("GetBackupRequest");
636 debug_struct.field("name", &self.name);
637 if !self._unknown_fields.is_empty() {
638 debug_struct.field("_unknown_fields", &self._unknown_fields);
639 }
640 debug_struct.finish()
641 }
642}
643
644impl std::fmt::Debug for super::ListBackupsRequest {
645 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
646 let mut debug_struct = f.debug_struct("ListBackupsRequest");
647 debug_struct.field("parent", &self.parent);
648 debug_struct.field("filter", &self.filter);
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::ListBackupsResponse {
657 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
658 let mut debug_struct = f.debug_struct("ListBackupsResponse");
659 debug_struct.field("backups", &self.backups);
660 debug_struct.field("unreachable", &self.unreachable);
661 if !self._unknown_fields.is_empty() {
662 debug_struct.field("_unknown_fields", &self._unknown_fields);
663 }
664 debug_struct.finish()
665 }
666}
667
668impl std::fmt::Debug for super::DeleteBackupRequest {
669 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
670 let mut debug_struct = f.debug_struct("DeleteBackupRequest");
671 debug_struct.field("name", &self.name);
672 if !self._unknown_fields.is_empty() {
673 debug_struct.field("_unknown_fields", &self._unknown_fields);
674 }
675 debug_struct.finish()
676 }
677}
678
679impl std::fmt::Debug for super::RestoreDatabaseRequest {
680 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
681 let mut debug_struct = f.debug_struct("RestoreDatabaseRequest");
682 debug_struct.field("parent", &self.parent);
683 debug_struct.field("database_id", &self.database_id);
684 debug_struct.field("backup", &self.backup);
685 debug_struct.field("encryption_config", &self.encryption_config);
686 debug_struct.field("tags", &self.tags);
687 if !self._unknown_fields.is_empty() {
688 debug_struct.field("_unknown_fields", &self._unknown_fields);
689 }
690 debug_struct.finish()
691 }
692}
693
694impl std::fmt::Debug for super::CloneDatabaseRequest {
695 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
696 let mut debug_struct = f.debug_struct("CloneDatabaseRequest");
697 debug_struct.field("parent", &self.parent);
698 debug_struct.field("database_id", &self.database_id);
699 debug_struct.field("pitr_snapshot", &self.pitr_snapshot);
700 debug_struct.field("encryption_config", &self.encryption_config);
701 debug_struct.field("tags", &self.tags);
702 if !self._unknown_fields.is_empty() {
703 debug_struct.field("_unknown_fields", &self._unknown_fields);
704 }
705 debug_struct.finish()
706 }
707}
708
709impl std::fmt::Debug for super::Index {
710 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
711 let mut debug_struct = f.debug_struct("Index");
712 debug_struct.field("name", &self.name);
713 debug_struct.field("query_scope", &self.query_scope);
714 debug_struct.field("api_scope", &self.api_scope);
715 debug_struct.field("fields", &self.fields);
716 debug_struct.field("state", &self.state);
717 debug_struct.field("density", &self.density);
718 debug_struct.field("multikey", &self.multikey);
719 debug_struct.field("shard_count", &self.shard_count);
720 debug_struct.field("unique", &self.unique);
721 debug_struct.field("search_index_options", &self.search_index_options);
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::IndexField {
730 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
731 let mut debug_struct = f.debug_struct("IndexField");
732 debug_struct.field("field_path", &self.field_path);
733 debug_struct.field("value_mode", &self.value_mode);
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::VectorConfig {
742 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
743 let mut debug_struct = f.debug_struct("VectorConfig");
744 debug_struct.field("dimension", &self.dimension);
745 debug_struct.field("r#type", &self.r#type);
746 if !self._unknown_fields.is_empty() {
747 debug_struct.field("_unknown_fields", &self._unknown_fields);
748 }
749 debug_struct.finish()
750 }
751}
752
753impl std::fmt::Debug for super::index::index_field::vector_config::FlatIndex {
754 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
755 let mut debug_struct = f.debug_struct("FlatIndex");
756 if !self._unknown_fields.is_empty() {
757 debug_struct.field("_unknown_fields", &self._unknown_fields);
758 }
759 debug_struct.finish()
760 }
761}
762
763impl std::fmt::Debug for super::index::index_field::SearchConfig {
764 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
765 let mut debug_struct = f.debug_struct("SearchConfig");
766 debug_struct.field("text_spec", &self.text_spec);
767 debug_struct.field("geo_spec", &self.geo_spec);
768 if !self._unknown_fields.is_empty() {
769 debug_struct.field("_unknown_fields", &self._unknown_fields);
770 }
771 debug_struct.finish()
772 }
773}
774
775impl std::fmt::Debug for super::index::index_field::search_config::SearchTextIndexSpec {
776 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
777 let mut debug_struct = f.debug_struct("SearchTextIndexSpec");
778 debug_struct.field("index_type", &self.index_type);
779 debug_struct.field("match_type", &self.match_type);
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::index::index_field::search_config::SearchTextSpec {
788 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
789 let mut debug_struct = f.debug_struct("SearchTextSpec");
790 debug_struct.field("index_specs", &self.index_specs);
791 if !self._unknown_fields.is_empty() {
792 debug_struct.field("_unknown_fields", &self._unknown_fields);
793 }
794 debug_struct.finish()
795 }
796}
797
798impl std::fmt::Debug for super::index::index_field::search_config::SearchGeoSpec {
799 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
800 let mut debug_struct = f.debug_struct("SearchGeoSpec");
801 debug_struct.field(
802 "geo_json_indexing_disabled",
803 &self.geo_json_indexing_disabled,
804 );
805 if !self._unknown_fields.is_empty() {
806 debug_struct.field("_unknown_fields", &self._unknown_fields);
807 }
808 debug_struct.finish()
809 }
810}
811
812impl std::fmt::Debug for super::index::SearchIndexOptions {
813 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
814 let mut debug_struct = f.debug_struct("SearchIndexOptions");
815 debug_struct.field("text_language", &self.text_language);
816 debug_struct.field(
817 "text_language_override_field_path",
818 &self.text_language_override_field_path,
819 );
820 if !self._unknown_fields.is_empty() {
821 debug_struct.field("_unknown_fields", &self._unknown_fields);
822 }
823 debug_struct.finish()
824 }
825}
826
827impl std::fmt::Debug for super::LocationMetadata {
828 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
829 let mut debug_struct = f.debug_struct("LocationMetadata");
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::IndexOperationMetadata {
838 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
839 let mut debug_struct = f.debug_struct("IndexOperationMetadata");
840 debug_struct.field("start_time", &self.start_time);
841 debug_struct.field("end_time", &self.end_time);
842 debug_struct.field("index", &self.index);
843 debug_struct.field("state", &self.state);
844 debug_struct.field("progress_documents", &self.progress_documents);
845 debug_struct.field("progress_bytes", &self.progress_bytes);
846 if !self._unknown_fields.is_empty() {
847 debug_struct.field("_unknown_fields", &self._unknown_fields);
848 }
849 debug_struct.finish()
850 }
851}
852
853impl std::fmt::Debug for super::FieldOperationMetadata {
854 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
855 let mut debug_struct = f.debug_struct("FieldOperationMetadata");
856 debug_struct.field("start_time", &self.start_time);
857 debug_struct.field("end_time", &self.end_time);
858 debug_struct.field("field", &self.field);
859 debug_struct.field("index_config_deltas", &self.index_config_deltas);
860 debug_struct.field("state", &self.state);
861 debug_struct.field("progress_documents", &self.progress_documents);
862 debug_struct.field("progress_bytes", &self.progress_bytes);
863 debug_struct.field("ttl_config_delta", &self.ttl_config_delta);
864 if !self._unknown_fields.is_empty() {
865 debug_struct.field("_unknown_fields", &self._unknown_fields);
866 }
867 debug_struct.finish()
868 }
869}
870
871impl std::fmt::Debug for super::field_operation_metadata::IndexConfigDelta {
872 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
873 let mut debug_struct = f.debug_struct("IndexConfigDelta");
874 debug_struct.field("change_type", &self.change_type);
875 debug_struct.field("index", &self.index);
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::field_operation_metadata::TtlConfigDelta {
884 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
885 let mut debug_struct = f.debug_struct("TtlConfigDelta");
886 debug_struct.field("change_type", &self.change_type);
887 debug_struct.field("expiration_offset", &self.expiration_offset);
888 if !self._unknown_fields.is_empty() {
889 debug_struct.field("_unknown_fields", &self._unknown_fields);
890 }
891 debug_struct.finish()
892 }
893}
894
895impl std::fmt::Debug for super::ExportDocumentsMetadata {
896 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
897 let mut debug_struct = f.debug_struct("ExportDocumentsMetadata");
898 debug_struct.field("start_time", &self.start_time);
899 debug_struct.field("end_time", &self.end_time);
900 debug_struct.field("operation_state", &self.operation_state);
901 debug_struct.field("progress_documents", &self.progress_documents);
902 debug_struct.field("progress_bytes", &self.progress_bytes);
903 debug_struct.field("collection_ids", &self.collection_ids);
904 debug_struct.field("output_uri_prefix", &self.output_uri_prefix);
905 debug_struct.field("namespace_ids", &self.namespace_ids);
906 debug_struct.field("snapshot_time", &self.snapshot_time);
907 if !self._unknown_fields.is_empty() {
908 debug_struct.field("_unknown_fields", &self._unknown_fields);
909 }
910 debug_struct.finish()
911 }
912}
913
914impl std::fmt::Debug for super::ImportDocumentsMetadata {
915 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
916 let mut debug_struct = f.debug_struct("ImportDocumentsMetadata");
917 debug_struct.field("start_time", &self.start_time);
918 debug_struct.field("end_time", &self.end_time);
919 debug_struct.field("operation_state", &self.operation_state);
920 debug_struct.field("progress_documents", &self.progress_documents);
921 debug_struct.field("progress_bytes", &self.progress_bytes);
922 debug_struct.field("collection_ids", &self.collection_ids);
923 debug_struct.field("input_uri_prefix", &self.input_uri_prefix);
924 debug_struct.field("namespace_ids", &self.namespace_ids);
925 if !self._unknown_fields.is_empty() {
926 debug_struct.field("_unknown_fields", &self._unknown_fields);
927 }
928 debug_struct.finish()
929 }
930}
931
932impl std::fmt::Debug for super::BulkDeleteDocumentsMetadata {
933 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
934 let mut debug_struct = f.debug_struct("BulkDeleteDocumentsMetadata");
935 debug_struct.field("start_time", &self.start_time);
936 debug_struct.field("end_time", &self.end_time);
937 debug_struct.field("operation_state", &self.operation_state);
938 debug_struct.field("progress_documents", &self.progress_documents);
939 debug_struct.field("progress_bytes", &self.progress_bytes);
940 debug_struct.field("collection_ids", &self.collection_ids);
941 debug_struct.field("namespace_ids", &self.namespace_ids);
942 debug_struct.field("snapshot_time", &self.snapshot_time);
943 if !self._unknown_fields.is_empty() {
944 debug_struct.field("_unknown_fields", &self._unknown_fields);
945 }
946 debug_struct.finish()
947 }
948}
949
950impl std::fmt::Debug for super::ExportDocumentsResponse {
951 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
952 let mut debug_struct = f.debug_struct("ExportDocumentsResponse");
953 debug_struct.field("output_uri_prefix", &self.output_uri_prefix);
954 if !self._unknown_fields.is_empty() {
955 debug_struct.field("_unknown_fields", &self._unknown_fields);
956 }
957 debug_struct.finish()
958 }
959}
960
961impl std::fmt::Debug for super::RestoreDatabaseMetadata {
962 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
963 let mut debug_struct = f.debug_struct("RestoreDatabaseMetadata");
964 debug_struct.field("start_time", &self.start_time);
965 debug_struct.field("end_time", &self.end_time);
966 debug_struct.field("operation_state", &self.operation_state);
967 debug_struct.field("database", &self.database);
968 debug_struct.field("backup", &self.backup);
969 debug_struct.field("progress_percentage", &self.progress_percentage);
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::CloneDatabaseMetadata {
978 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
979 let mut debug_struct = f.debug_struct("CloneDatabaseMetadata");
980 debug_struct.field("start_time", &self.start_time);
981 debug_struct.field("end_time", &self.end_time);
982 debug_struct.field("operation_state", &self.operation_state);
983 debug_struct.field("database", &self.database);
984 debug_struct.field("pitr_snapshot", &self.pitr_snapshot);
985 debug_struct.field("progress_percentage", &self.progress_percentage);
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::Progress {
994 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
995 let mut debug_struct = f.debug_struct("Progress");
996 debug_struct.field("estimated_work", &self.estimated_work);
997 debug_struct.field("completed_work", &self.completed_work);
998 if !self._unknown_fields.is_empty() {
999 debug_struct.field("_unknown_fields", &self._unknown_fields);
1000 }
1001 debug_struct.finish()
1002 }
1003}
1004
1005impl std::fmt::Debug for super::BackupSchedule {
1006 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1007 let mut debug_struct = f.debug_struct("BackupSchedule");
1008 debug_struct.field("name", &self.name);
1009 debug_struct.field("create_time", &self.create_time);
1010 debug_struct.field("update_time", &self.update_time);
1011 debug_struct.field("retention", &self.retention);
1012 debug_struct.field("recurrence", &self.recurrence);
1013 if !self._unknown_fields.is_empty() {
1014 debug_struct.field("_unknown_fields", &self._unknown_fields);
1015 }
1016 debug_struct.finish()
1017 }
1018}
1019
1020impl std::fmt::Debug for super::DailyRecurrence {
1021 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1022 let mut debug_struct = f.debug_struct("DailyRecurrence");
1023 if !self._unknown_fields.is_empty() {
1024 debug_struct.field("_unknown_fields", &self._unknown_fields);
1025 }
1026 debug_struct.finish()
1027 }
1028}
1029
1030impl std::fmt::Debug for super::WeeklyRecurrence {
1031 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1032 let mut debug_struct = f.debug_struct("WeeklyRecurrence");
1033 debug_struct.field("day", &self.day);
1034 if !self._unknown_fields.is_empty() {
1035 debug_struct.field("_unknown_fields", &self._unknown_fields);
1036 }
1037 debug_struct.finish()
1038 }
1039}
1040
1041impl std::fmt::Debug for super::PitrSnapshot {
1042 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1043 let mut debug_struct = f.debug_struct("PitrSnapshot");
1044 debug_struct.field("database", &self.database);
1045 debug_struct.field("database_uid", &self.database_uid);
1046 debug_struct.field("snapshot_time", &self.snapshot_time);
1047 if !self._unknown_fields.is_empty() {
1048 debug_struct.field("_unknown_fields", &self._unknown_fields);
1049 }
1050 debug_struct.finish()
1051 }
1052}
1053
1054impl std::fmt::Debug for super::UserCreds {
1055 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1056 let mut debug_struct = f.debug_struct("UserCreds");
1057 debug_struct.field("name", &self.name);
1058 debug_struct.field("create_time", &self.create_time);
1059 debug_struct.field("update_time", &self.update_time);
1060 debug_struct.field("state", &self.state);
1061 debug_struct.field("secure_password", &self.secure_password);
1062 debug_struct.field("user_creds_identity", &self.user_creds_identity);
1063 if !self._unknown_fields.is_empty() {
1064 debug_struct.field("_unknown_fields", &self._unknown_fields);
1065 }
1066 debug_struct.finish()
1067 }
1068}
1069
1070impl std::fmt::Debug for super::user_creds::ResourceIdentity {
1071 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1072 let mut debug_struct = f.debug_struct("ResourceIdentity");
1073 debug_struct.field("principal", &self.principal);
1074 if !self._unknown_fields.is_empty() {
1075 debug_struct.field("_unknown_fields", &self._unknown_fields);
1076 }
1077 debug_struct.finish()
1078 }
1079}