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 if !self._unknown_fields.is_empty() {
722 debug_struct.field("_unknown_fields", &self._unknown_fields);
723 }
724 debug_struct.finish()
725 }
726}
727
728impl std::fmt::Debug for super::index::IndexField {
729 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
730 let mut debug_struct = f.debug_struct("IndexField");
731 debug_struct.field("field_path", &self.field_path);
732 debug_struct.field("value_mode", &self.value_mode);
733 if !self._unknown_fields.is_empty() {
734 debug_struct.field("_unknown_fields", &self._unknown_fields);
735 }
736 debug_struct.finish()
737 }
738}
739
740impl std::fmt::Debug for super::index::index_field::VectorConfig {
741 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
742 let mut debug_struct = f.debug_struct("VectorConfig");
743 debug_struct.field("dimension", &self.dimension);
744 debug_struct.field("r#type", &self.r#type);
745 if !self._unknown_fields.is_empty() {
746 debug_struct.field("_unknown_fields", &self._unknown_fields);
747 }
748 debug_struct.finish()
749 }
750}
751
752impl std::fmt::Debug for super::index::index_field::vector_config::FlatIndex {
753 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
754 let mut debug_struct = f.debug_struct("FlatIndex");
755 if !self._unknown_fields.is_empty() {
756 debug_struct.field("_unknown_fields", &self._unknown_fields);
757 }
758 debug_struct.finish()
759 }
760}
761
762impl std::fmt::Debug for super::LocationMetadata {
763 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
764 let mut debug_struct = f.debug_struct("LocationMetadata");
765 if !self._unknown_fields.is_empty() {
766 debug_struct.field("_unknown_fields", &self._unknown_fields);
767 }
768 debug_struct.finish()
769 }
770}
771
772impl std::fmt::Debug for super::IndexOperationMetadata {
773 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
774 let mut debug_struct = f.debug_struct("IndexOperationMetadata");
775 debug_struct.field("start_time", &self.start_time);
776 debug_struct.field("end_time", &self.end_time);
777 debug_struct.field("index", &self.index);
778 debug_struct.field("state", &self.state);
779 debug_struct.field("progress_documents", &self.progress_documents);
780 debug_struct.field("progress_bytes", &self.progress_bytes);
781 if !self._unknown_fields.is_empty() {
782 debug_struct.field("_unknown_fields", &self._unknown_fields);
783 }
784 debug_struct.finish()
785 }
786}
787
788impl std::fmt::Debug for super::FieldOperationMetadata {
789 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
790 let mut debug_struct = f.debug_struct("FieldOperationMetadata");
791 debug_struct.field("start_time", &self.start_time);
792 debug_struct.field("end_time", &self.end_time);
793 debug_struct.field("field", &self.field);
794 debug_struct.field("index_config_deltas", &self.index_config_deltas);
795 debug_struct.field("state", &self.state);
796 debug_struct.field("progress_documents", &self.progress_documents);
797 debug_struct.field("progress_bytes", &self.progress_bytes);
798 debug_struct.field("ttl_config_delta", &self.ttl_config_delta);
799 if !self._unknown_fields.is_empty() {
800 debug_struct.field("_unknown_fields", &self._unknown_fields);
801 }
802 debug_struct.finish()
803 }
804}
805
806impl std::fmt::Debug for super::field_operation_metadata::IndexConfigDelta {
807 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
808 let mut debug_struct = f.debug_struct("IndexConfigDelta");
809 debug_struct.field("change_type", &self.change_type);
810 debug_struct.field("index", &self.index);
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::field_operation_metadata::TtlConfigDelta {
819 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
820 let mut debug_struct = f.debug_struct("TtlConfigDelta");
821 debug_struct.field("change_type", &self.change_type);
822 debug_struct.field("expiration_offset", &self.expiration_offset);
823 if !self._unknown_fields.is_empty() {
824 debug_struct.field("_unknown_fields", &self._unknown_fields);
825 }
826 debug_struct.finish()
827 }
828}
829
830impl std::fmt::Debug for super::ExportDocumentsMetadata {
831 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
832 let mut debug_struct = f.debug_struct("ExportDocumentsMetadata");
833 debug_struct.field("start_time", &self.start_time);
834 debug_struct.field("end_time", &self.end_time);
835 debug_struct.field("operation_state", &self.operation_state);
836 debug_struct.field("progress_documents", &self.progress_documents);
837 debug_struct.field("progress_bytes", &self.progress_bytes);
838 debug_struct.field("collection_ids", &self.collection_ids);
839 debug_struct.field("output_uri_prefix", &self.output_uri_prefix);
840 debug_struct.field("namespace_ids", &self.namespace_ids);
841 debug_struct.field("snapshot_time", &self.snapshot_time);
842 if !self._unknown_fields.is_empty() {
843 debug_struct.field("_unknown_fields", &self._unknown_fields);
844 }
845 debug_struct.finish()
846 }
847}
848
849impl std::fmt::Debug for super::ImportDocumentsMetadata {
850 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
851 let mut debug_struct = f.debug_struct("ImportDocumentsMetadata");
852 debug_struct.field("start_time", &self.start_time);
853 debug_struct.field("end_time", &self.end_time);
854 debug_struct.field("operation_state", &self.operation_state);
855 debug_struct.field("progress_documents", &self.progress_documents);
856 debug_struct.field("progress_bytes", &self.progress_bytes);
857 debug_struct.field("collection_ids", &self.collection_ids);
858 debug_struct.field("input_uri_prefix", &self.input_uri_prefix);
859 debug_struct.field("namespace_ids", &self.namespace_ids);
860 if !self._unknown_fields.is_empty() {
861 debug_struct.field("_unknown_fields", &self._unknown_fields);
862 }
863 debug_struct.finish()
864 }
865}
866
867impl std::fmt::Debug for super::BulkDeleteDocumentsMetadata {
868 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
869 let mut debug_struct = f.debug_struct("BulkDeleteDocumentsMetadata");
870 debug_struct.field("start_time", &self.start_time);
871 debug_struct.field("end_time", &self.end_time);
872 debug_struct.field("operation_state", &self.operation_state);
873 debug_struct.field("progress_documents", &self.progress_documents);
874 debug_struct.field("progress_bytes", &self.progress_bytes);
875 debug_struct.field("collection_ids", &self.collection_ids);
876 debug_struct.field("namespace_ids", &self.namespace_ids);
877 debug_struct.field("snapshot_time", &self.snapshot_time);
878 if !self._unknown_fields.is_empty() {
879 debug_struct.field("_unknown_fields", &self._unknown_fields);
880 }
881 debug_struct.finish()
882 }
883}
884
885impl std::fmt::Debug for super::ExportDocumentsResponse {
886 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
887 let mut debug_struct = f.debug_struct("ExportDocumentsResponse");
888 debug_struct.field("output_uri_prefix", &self.output_uri_prefix);
889 if !self._unknown_fields.is_empty() {
890 debug_struct.field("_unknown_fields", &self._unknown_fields);
891 }
892 debug_struct.finish()
893 }
894}
895
896impl std::fmt::Debug for super::RestoreDatabaseMetadata {
897 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
898 let mut debug_struct = f.debug_struct("RestoreDatabaseMetadata");
899 debug_struct.field("start_time", &self.start_time);
900 debug_struct.field("end_time", &self.end_time);
901 debug_struct.field("operation_state", &self.operation_state);
902 debug_struct.field("database", &self.database);
903 debug_struct.field("backup", &self.backup);
904 debug_struct.field("progress_percentage", &self.progress_percentage);
905 if !self._unknown_fields.is_empty() {
906 debug_struct.field("_unknown_fields", &self._unknown_fields);
907 }
908 debug_struct.finish()
909 }
910}
911
912impl std::fmt::Debug for super::CloneDatabaseMetadata {
913 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
914 let mut debug_struct = f.debug_struct("CloneDatabaseMetadata");
915 debug_struct.field("start_time", &self.start_time);
916 debug_struct.field("end_time", &self.end_time);
917 debug_struct.field("operation_state", &self.operation_state);
918 debug_struct.field("database", &self.database);
919 debug_struct.field("pitr_snapshot", &self.pitr_snapshot);
920 debug_struct.field("progress_percentage", &self.progress_percentage);
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::Progress {
929 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
930 let mut debug_struct = f.debug_struct("Progress");
931 debug_struct.field("estimated_work", &self.estimated_work);
932 debug_struct.field("completed_work", &self.completed_work);
933 if !self._unknown_fields.is_empty() {
934 debug_struct.field("_unknown_fields", &self._unknown_fields);
935 }
936 debug_struct.finish()
937 }
938}
939
940impl std::fmt::Debug for super::BackupSchedule {
941 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
942 let mut debug_struct = f.debug_struct("BackupSchedule");
943 debug_struct.field("name", &self.name);
944 debug_struct.field("create_time", &self.create_time);
945 debug_struct.field("update_time", &self.update_time);
946 debug_struct.field("retention", &self.retention);
947 debug_struct.field("recurrence", &self.recurrence);
948 if !self._unknown_fields.is_empty() {
949 debug_struct.field("_unknown_fields", &self._unknown_fields);
950 }
951 debug_struct.finish()
952 }
953}
954
955impl std::fmt::Debug for super::DailyRecurrence {
956 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
957 let mut debug_struct = f.debug_struct("DailyRecurrence");
958 if !self._unknown_fields.is_empty() {
959 debug_struct.field("_unknown_fields", &self._unknown_fields);
960 }
961 debug_struct.finish()
962 }
963}
964
965impl std::fmt::Debug for super::WeeklyRecurrence {
966 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
967 let mut debug_struct = f.debug_struct("WeeklyRecurrence");
968 debug_struct.field("day", &self.day);
969 if !self._unknown_fields.is_empty() {
970 debug_struct.field("_unknown_fields", &self._unknown_fields);
971 }
972 debug_struct.finish()
973 }
974}
975
976impl std::fmt::Debug for super::PitrSnapshot {
977 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
978 let mut debug_struct = f.debug_struct("PitrSnapshot");
979 debug_struct.field("database", &self.database);
980 debug_struct.field("database_uid", &self.database_uid);
981 debug_struct.field("snapshot_time", &self.snapshot_time);
982 if !self._unknown_fields.is_empty() {
983 debug_struct.field("_unknown_fields", &self._unknown_fields);
984 }
985 debug_struct.finish()
986 }
987}
988
989impl std::fmt::Debug for super::UserCreds {
990 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
991 let mut debug_struct = f.debug_struct("UserCreds");
992 debug_struct.field("name", &self.name);
993 debug_struct.field("create_time", &self.create_time);
994 debug_struct.field("update_time", &self.update_time);
995 debug_struct.field("state", &self.state);
996 debug_struct.field("secure_password", &self.secure_password);
997 debug_struct.field("user_creds_identity", &self.user_creds_identity);
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::user_creds::ResourceIdentity {
1006 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1007 let mut debug_struct = f.debug_struct("ResourceIdentity");
1008 debug_struct.field("principal", &self.principal);
1009 if !self._unknown_fields.is_empty() {
1010 debug_struct.field("_unknown_fields", &self._unknown_fields);
1011 }
1012 debug_struct.finish()
1013 }
1014}