1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::NetworkConfig {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("NetworkConfig");
23 debug_struct.field("network", &self.network);
24 debug_struct.field("modes", &self.modes);
25 debug_struct.field("reserved_ip_range", &self.reserved_ip_range);
26 debug_struct.field("ip_addresses", &self.ip_addresses);
27 debug_struct.field("connect_mode", &self.connect_mode);
28 if !self._unknown_fields.is_empty() {
29 debug_struct.field("_unknown_fields", &self._unknown_fields);
30 }
31 debug_struct.finish()
32 }
33}
34
35impl std::fmt::Debug for super::FileShareConfig {
36 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
37 let mut debug_struct = f.debug_struct("FileShareConfig");
38 debug_struct.field("name", &self.name);
39 debug_struct.field("capacity_gb", &self.capacity_gb);
40 debug_struct.field("nfs_export_options", &self.nfs_export_options);
41 debug_struct.field("source", &self.source);
42 if !self._unknown_fields.is_empty() {
43 debug_struct.field("_unknown_fields", &self._unknown_fields);
44 }
45 debug_struct.finish()
46 }
47}
48
49impl std::fmt::Debug for super::NfsExportOptions {
50 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
51 let mut debug_struct = f.debug_struct("NfsExportOptions");
52 debug_struct.field("ip_ranges", &self.ip_ranges);
53 debug_struct.field("access_mode", &self.access_mode);
54 debug_struct.field("squash_mode", &self.squash_mode);
55 debug_struct.field("anon_uid", &self.anon_uid);
56 debug_struct.field("anon_gid", &self.anon_gid);
57 if !self._unknown_fields.is_empty() {
58 debug_struct.field("_unknown_fields", &self._unknown_fields);
59 }
60 debug_struct.finish()
61 }
62}
63
64impl std::fmt::Debug for super::ReplicaConfig {
65 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
66 let mut debug_struct = f.debug_struct("ReplicaConfig");
67 debug_struct.field("state", &self.state);
68 debug_struct.field("state_reasons", &self.state_reasons);
69 debug_struct.field("peer_instance", &self.peer_instance);
70 debug_struct.field("last_active_sync_time", &self.last_active_sync_time);
71 if !self._unknown_fields.is_empty() {
72 debug_struct.field("_unknown_fields", &self._unknown_fields);
73 }
74 debug_struct.finish()
75 }
76}
77
78impl std::fmt::Debug for super::Replication {
79 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
80 let mut debug_struct = f.debug_struct("Replication");
81 debug_struct.field("role", &self.role);
82 debug_struct.field("replicas", &self.replicas);
83 if !self._unknown_fields.is_empty() {
84 debug_struct.field("_unknown_fields", &self._unknown_fields);
85 }
86 debug_struct.finish()
87 }
88}
89
90impl std::fmt::Debug for super::Instance {
91 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
92 let mut debug_struct = f.debug_struct("Instance");
93 debug_struct.field("name", &self.name);
94 debug_struct.field("description", &self.description);
95 debug_struct.field("state", &self.state);
96 debug_struct.field("status_message", &self.status_message);
97 debug_struct.field("create_time", &self.create_time);
98 debug_struct.field("tier", &self.tier);
99 debug_struct.field("labels", &self.labels);
100 debug_struct.field("file_shares", &self.file_shares);
101 debug_struct.field("networks", &self.networks);
102 debug_struct.field("etag", &self.etag);
103 debug_struct.field("satisfies_pzs", &self.satisfies_pzs);
104 debug_struct.field("satisfies_pzi", &self.satisfies_pzi);
105 debug_struct.field("kms_key_name", &self.kms_key_name);
106 debug_struct.field("suspension_reasons", &self.suspension_reasons);
107 debug_struct.field("replication", &self.replication);
108 debug_struct.field("tags", &self.tags);
109 debug_struct.field("protocol", &self.protocol);
110 debug_struct.field(
111 "custom_performance_supported",
112 &self.custom_performance_supported,
113 );
114 debug_struct.field("performance_config", &self.performance_config);
115 debug_struct.field("performance_limits", &self.performance_limits);
116 debug_struct.field(
117 "deletion_protection_enabled",
118 &self.deletion_protection_enabled,
119 );
120 debug_struct.field(
121 "deletion_protection_reason",
122 &self.deletion_protection_reason,
123 );
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::instance::IOPSPerTB {
132 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
133 let mut debug_struct = f.debug_struct("IOPSPerTB");
134 debug_struct.field("max_iops_per_tb", &self.max_iops_per_tb);
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::instance::FixedIOPS {
143 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
144 let mut debug_struct = f.debug_struct("FixedIOPS");
145 debug_struct.field("max_iops", &self.max_iops);
146 if !self._unknown_fields.is_empty() {
147 debug_struct.field("_unknown_fields", &self._unknown_fields);
148 }
149 debug_struct.finish()
150 }
151}
152
153impl std::fmt::Debug for super::instance::PerformanceConfig {
154 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
155 let mut debug_struct = f.debug_struct("PerformanceConfig");
156 debug_struct.field("mode", &self.mode);
157 if !self._unknown_fields.is_empty() {
158 debug_struct.field("_unknown_fields", &self._unknown_fields);
159 }
160 debug_struct.finish()
161 }
162}
163
164impl std::fmt::Debug for super::instance::PerformanceLimits {
165 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
166 let mut debug_struct = f.debug_struct("PerformanceLimits");
167 debug_struct.field("max_iops", &self.max_iops);
168 debug_struct.field("max_read_iops", &self.max_read_iops);
169 debug_struct.field("max_write_iops", &self.max_write_iops);
170 debug_struct.field("max_read_throughput_bps", &self.max_read_throughput_bps);
171 debug_struct.field("max_write_throughput_bps", &self.max_write_throughput_bps);
172 if !self._unknown_fields.is_empty() {
173 debug_struct.field("_unknown_fields", &self._unknown_fields);
174 }
175 debug_struct.finish()
176 }
177}
178
179impl std::fmt::Debug for super::CreateInstanceRequest {
180 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
181 let mut debug_struct = f.debug_struct("CreateInstanceRequest");
182 debug_struct.field("parent", &self.parent);
183 debug_struct.field("instance_id", &self.instance_id);
184 debug_struct.field("instance", &self.instance);
185 if !self._unknown_fields.is_empty() {
186 debug_struct.field("_unknown_fields", &self._unknown_fields);
187 }
188 debug_struct.finish()
189 }
190}
191
192impl std::fmt::Debug for super::GetInstanceRequest {
193 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
194 let mut debug_struct = f.debug_struct("GetInstanceRequest");
195 debug_struct.field("name", &self.name);
196 if !self._unknown_fields.is_empty() {
197 debug_struct.field("_unknown_fields", &self._unknown_fields);
198 }
199 debug_struct.finish()
200 }
201}
202
203impl std::fmt::Debug for super::UpdateInstanceRequest {
204 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
205 let mut debug_struct = f.debug_struct("UpdateInstanceRequest");
206 debug_struct.field("update_mask", &self.update_mask);
207 debug_struct.field("instance", &self.instance);
208 if !self._unknown_fields.is_empty() {
209 debug_struct.field("_unknown_fields", &self._unknown_fields);
210 }
211 debug_struct.finish()
212 }
213}
214
215impl std::fmt::Debug for super::RestoreInstanceRequest {
216 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
217 let mut debug_struct = f.debug_struct("RestoreInstanceRequest");
218 debug_struct.field("name", &self.name);
219 debug_struct.field("file_share", &self.file_share);
220 debug_struct.field("source", &self.source);
221 if !self._unknown_fields.is_empty() {
222 debug_struct.field("_unknown_fields", &self._unknown_fields);
223 }
224 debug_struct.finish()
225 }
226}
227
228impl std::fmt::Debug for super::RevertInstanceRequest {
229 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
230 let mut debug_struct = f.debug_struct("RevertInstanceRequest");
231 debug_struct.field("name", &self.name);
232 debug_struct.field("target_snapshot_id", &self.target_snapshot_id);
233 if !self._unknown_fields.is_empty() {
234 debug_struct.field("_unknown_fields", &self._unknown_fields);
235 }
236 debug_struct.finish()
237 }
238}
239
240impl std::fmt::Debug for super::DeleteInstanceRequest {
241 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
242 let mut debug_struct = f.debug_struct("DeleteInstanceRequest");
243 debug_struct.field("name", &self.name);
244 debug_struct.field("force", &self.force);
245 if !self._unknown_fields.is_empty() {
246 debug_struct.field("_unknown_fields", &self._unknown_fields);
247 }
248 debug_struct.finish()
249 }
250}
251
252impl std::fmt::Debug for super::ListInstancesRequest {
253 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
254 let mut debug_struct = f.debug_struct("ListInstancesRequest");
255 debug_struct.field("parent", &self.parent);
256 debug_struct.field("page_size", &self.page_size);
257 debug_struct.field("page_token", &self.page_token);
258 debug_struct.field("order_by", &self.order_by);
259 debug_struct.field("filter", &self.filter);
260 if !self._unknown_fields.is_empty() {
261 debug_struct.field("_unknown_fields", &self._unknown_fields);
262 }
263 debug_struct.finish()
264 }
265}
266
267impl std::fmt::Debug for super::ListInstancesResponse {
268 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
269 let mut debug_struct = f.debug_struct("ListInstancesResponse");
270 debug_struct.field("instances", &self.instances);
271 debug_struct.field("next_page_token", &self.next_page_token);
272 debug_struct.field("unreachable", &self.unreachable);
273 if !self._unknown_fields.is_empty() {
274 debug_struct.field("_unknown_fields", &self._unknown_fields);
275 }
276 debug_struct.finish()
277 }
278}
279
280impl std::fmt::Debug for super::Snapshot {
281 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
282 let mut debug_struct = f.debug_struct("Snapshot");
283 debug_struct.field("name", &self.name);
284 debug_struct.field("description", &self.description);
285 debug_struct.field("state", &self.state);
286 debug_struct.field("create_time", &self.create_time);
287 debug_struct.field("labels", &self.labels);
288 debug_struct.field("filesystem_used_bytes", &self.filesystem_used_bytes);
289 debug_struct.field("tags", &self.tags);
290 if !self._unknown_fields.is_empty() {
291 debug_struct.field("_unknown_fields", &self._unknown_fields);
292 }
293 debug_struct.finish()
294 }
295}
296
297impl std::fmt::Debug for super::CreateSnapshotRequest {
298 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
299 let mut debug_struct = f.debug_struct("CreateSnapshotRequest");
300 debug_struct.field("parent", &self.parent);
301 debug_struct.field("snapshot_id", &self.snapshot_id);
302 debug_struct.field("snapshot", &self.snapshot);
303 if !self._unknown_fields.is_empty() {
304 debug_struct.field("_unknown_fields", &self._unknown_fields);
305 }
306 debug_struct.finish()
307 }
308}
309
310impl std::fmt::Debug for super::GetSnapshotRequest {
311 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
312 let mut debug_struct = f.debug_struct("GetSnapshotRequest");
313 debug_struct.field("name", &self.name);
314 if !self._unknown_fields.is_empty() {
315 debug_struct.field("_unknown_fields", &self._unknown_fields);
316 }
317 debug_struct.finish()
318 }
319}
320
321impl std::fmt::Debug for super::DeleteSnapshotRequest {
322 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
323 let mut debug_struct = f.debug_struct("DeleteSnapshotRequest");
324 debug_struct.field("name", &self.name);
325 if !self._unknown_fields.is_empty() {
326 debug_struct.field("_unknown_fields", &self._unknown_fields);
327 }
328 debug_struct.finish()
329 }
330}
331
332impl std::fmt::Debug for super::UpdateSnapshotRequest {
333 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
334 let mut debug_struct = f.debug_struct("UpdateSnapshotRequest");
335 debug_struct.field("update_mask", &self.update_mask);
336 debug_struct.field("snapshot", &self.snapshot);
337 if !self._unknown_fields.is_empty() {
338 debug_struct.field("_unknown_fields", &self._unknown_fields);
339 }
340 debug_struct.finish()
341 }
342}
343
344impl std::fmt::Debug for super::ListSnapshotsRequest {
345 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
346 let mut debug_struct = f.debug_struct("ListSnapshotsRequest");
347 debug_struct.field("parent", &self.parent);
348 debug_struct.field("page_size", &self.page_size);
349 debug_struct.field("page_token", &self.page_token);
350 debug_struct.field("order_by", &self.order_by);
351 debug_struct.field("filter", &self.filter);
352 debug_struct.field("return_partial_success", &self.return_partial_success);
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::ListSnapshotsResponse {
361 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
362 let mut debug_struct = f.debug_struct("ListSnapshotsResponse");
363 debug_struct.field("snapshots", &self.snapshots);
364 debug_struct.field("next_page_token", &self.next_page_token);
365 debug_struct.field("unreachable", &self.unreachable);
366 if !self._unknown_fields.is_empty() {
367 debug_struct.field("_unknown_fields", &self._unknown_fields);
368 }
369 debug_struct.finish()
370 }
371}
372
373impl std::fmt::Debug for super::Backup {
374 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
375 let mut debug_struct = f.debug_struct("Backup");
376 debug_struct.field("name", &self.name);
377 debug_struct.field("description", &self.description);
378 debug_struct.field("state", &self.state);
379 debug_struct.field("create_time", &self.create_time);
380 debug_struct.field("labels", &self.labels);
381 debug_struct.field("capacity_gb", &self.capacity_gb);
382 debug_struct.field("storage_bytes", &self.storage_bytes);
383 debug_struct.field("source_instance", &self.source_instance);
384 debug_struct.field("source_file_share", &self.source_file_share);
385 debug_struct.field("source_instance_tier", &self.source_instance_tier);
386 debug_struct.field("download_bytes", &self.download_bytes);
387 debug_struct.field("satisfies_pzs", &self.satisfies_pzs);
388 debug_struct.field("satisfies_pzi", &self.satisfies_pzi);
389 debug_struct.field("kms_key", &self.kms_key);
390 debug_struct.field("tags", &self.tags);
391 debug_struct.field("file_system_protocol", &self.file_system_protocol);
392 if !self._unknown_fields.is_empty() {
393 debug_struct.field("_unknown_fields", &self._unknown_fields);
394 }
395 debug_struct.finish()
396 }
397}
398
399impl std::fmt::Debug for super::CreateBackupRequest {
400 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
401 let mut debug_struct = f.debug_struct("CreateBackupRequest");
402 debug_struct.field("parent", &self.parent);
403 debug_struct.field("backup", &self.backup);
404 debug_struct.field("backup_id", &self.backup_id);
405 if !self._unknown_fields.is_empty() {
406 debug_struct.field("_unknown_fields", &self._unknown_fields);
407 }
408 debug_struct.finish()
409 }
410}
411
412impl std::fmt::Debug for super::DeleteBackupRequest {
413 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
414 let mut debug_struct = f.debug_struct("DeleteBackupRequest");
415 debug_struct.field("name", &self.name);
416 if !self._unknown_fields.is_empty() {
417 debug_struct.field("_unknown_fields", &self._unknown_fields);
418 }
419 debug_struct.finish()
420 }
421}
422
423impl std::fmt::Debug for super::UpdateBackupRequest {
424 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
425 let mut debug_struct = f.debug_struct("UpdateBackupRequest");
426 debug_struct.field("backup", &self.backup);
427 debug_struct.field("update_mask", &self.update_mask);
428 if !self._unknown_fields.is_empty() {
429 debug_struct.field("_unknown_fields", &self._unknown_fields);
430 }
431 debug_struct.finish()
432 }
433}
434
435impl std::fmt::Debug for super::PromoteReplicaRequest {
436 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
437 let mut debug_struct = f.debug_struct("PromoteReplicaRequest");
438 debug_struct.field("name", &self.name);
439 debug_struct.field("peer_instance", &self.peer_instance);
440 if !self._unknown_fields.is_empty() {
441 debug_struct.field("_unknown_fields", &self._unknown_fields);
442 }
443 debug_struct.finish()
444 }
445}
446
447impl std::fmt::Debug for super::GetBackupRequest {
448 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
449 let mut debug_struct = f.debug_struct("GetBackupRequest");
450 debug_struct.field("name", &self.name);
451 if !self._unknown_fields.is_empty() {
452 debug_struct.field("_unknown_fields", &self._unknown_fields);
453 }
454 debug_struct.finish()
455 }
456}
457
458impl std::fmt::Debug for super::ListBackupsRequest {
459 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
460 let mut debug_struct = f.debug_struct("ListBackupsRequest");
461 debug_struct.field("parent", &self.parent);
462 debug_struct.field("page_size", &self.page_size);
463 debug_struct.field("page_token", &self.page_token);
464 debug_struct.field("order_by", &self.order_by);
465 debug_struct.field("filter", &self.filter);
466 if !self._unknown_fields.is_empty() {
467 debug_struct.field("_unknown_fields", &self._unknown_fields);
468 }
469 debug_struct.finish()
470 }
471}
472
473impl std::fmt::Debug for super::ListBackupsResponse {
474 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
475 let mut debug_struct = f.debug_struct("ListBackupsResponse");
476 debug_struct.field("backups", &self.backups);
477 debug_struct.field("next_page_token", &self.next_page_token);
478 debug_struct.field("unreachable", &self.unreachable);
479 if !self._unknown_fields.is_empty() {
480 debug_struct.field("_unknown_fields", &self._unknown_fields);
481 }
482 debug_struct.finish()
483 }
484}