Skip to main content

google_cloud_spanner_admin_instance_v1/model/
debug.rs

1// Copyright 2025 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Code generated by sidekick. DO NOT EDIT.
16
17#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::OperationProgress {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("OperationProgress");
23        debug_struct.field("progress_percent", &self.progress_percent);
24        debug_struct.field("start_time", &self.start_time);
25        debug_struct.field("end_time", &self.end_time);
26        if !self._unknown_fields.is_empty() {
27            debug_struct.field("_unknown_fields", &self._unknown_fields);
28        }
29        debug_struct.finish()
30    }
31}
32
33impl std::fmt::Debug for super::ReplicaSelection {
34    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
35        let mut debug_struct = f.debug_struct("ReplicaSelection");
36        debug_struct.field("location", &self.location);
37        if !self._unknown_fields.is_empty() {
38            debug_struct.field("_unknown_fields", &self._unknown_fields);
39        }
40        debug_struct.finish()
41    }
42}
43
44impl std::fmt::Debug for super::ReplicaInfo {
45    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
46        let mut debug_struct = f.debug_struct("ReplicaInfo");
47        debug_struct.field("location", &self.location);
48        debug_struct.field("r#type", &self.r#type);
49        debug_struct.field("default_leader_location", &self.default_leader_location);
50        if !self._unknown_fields.is_empty() {
51            debug_struct.field("_unknown_fields", &self._unknown_fields);
52        }
53        debug_struct.finish()
54    }
55}
56
57impl std::fmt::Debug for super::InstanceConfig {
58    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
59        let mut debug_struct = f.debug_struct("InstanceConfig");
60        debug_struct.field("name", &self.name);
61        debug_struct.field("display_name", &self.display_name);
62        debug_struct.field("config_type", &self.config_type);
63        debug_struct.field("replicas", &self.replicas);
64        debug_struct.field("optional_replicas", &self.optional_replicas);
65        debug_struct.field("base_config", &self.base_config);
66        debug_struct.field("labels", &self.labels);
67        debug_struct.field("etag", &self.etag);
68        debug_struct.field("leader_options", &self.leader_options);
69        debug_struct.field("reconciling", &self.reconciling);
70        debug_struct.field("state", &self.state);
71        debug_struct.field(
72            "free_instance_availability",
73            &self.free_instance_availability,
74        );
75        debug_struct.field("quorum_type", &self.quorum_type);
76        debug_struct.field(
77            "storage_limit_per_processing_unit",
78            &self.storage_limit_per_processing_unit,
79        );
80        if !self._unknown_fields.is_empty() {
81            debug_struct.field("_unknown_fields", &self._unknown_fields);
82        }
83        debug_struct.finish()
84    }
85}
86
87impl std::fmt::Debug for super::ReplicaComputeCapacity {
88    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
89        let mut debug_struct = f.debug_struct("ReplicaComputeCapacity");
90        debug_struct.field("replica_selection", &self.replica_selection);
91        debug_struct.field("compute_capacity", &self.compute_capacity);
92        if !self._unknown_fields.is_empty() {
93            debug_struct.field("_unknown_fields", &self._unknown_fields);
94        }
95        debug_struct.finish()
96    }
97}
98
99impl std::fmt::Debug for super::AutoscalingConfig {
100    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
101        let mut debug_struct = f.debug_struct("AutoscalingConfig");
102        debug_struct.field("autoscaling_limits", &self.autoscaling_limits);
103        debug_struct.field("autoscaling_targets", &self.autoscaling_targets);
104        debug_struct.field(
105            "asymmetric_autoscaling_options",
106            &self.asymmetric_autoscaling_options,
107        );
108        if !self._unknown_fields.is_empty() {
109            debug_struct.field("_unknown_fields", &self._unknown_fields);
110        }
111        debug_struct.finish()
112    }
113}
114
115impl std::fmt::Debug for super::autoscaling_config::AutoscalingLimits {
116    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
117        let mut debug_struct = f.debug_struct("AutoscalingLimits");
118        debug_struct.field("min_limit", &self.min_limit);
119        debug_struct.field("max_limit", &self.max_limit);
120        if !self._unknown_fields.is_empty() {
121            debug_struct.field("_unknown_fields", &self._unknown_fields);
122        }
123        debug_struct.finish()
124    }
125}
126
127impl std::fmt::Debug for super::autoscaling_config::AutoscalingTargets {
128    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
129        let mut debug_struct = f.debug_struct("AutoscalingTargets");
130        debug_struct.field(
131            "high_priority_cpu_utilization_percent",
132            &self.high_priority_cpu_utilization_percent,
133        );
134        debug_struct.field(
135            "total_cpu_utilization_percent",
136            &self.total_cpu_utilization_percent,
137        );
138        debug_struct.field(
139            "storage_utilization_percent",
140            &self.storage_utilization_percent,
141        );
142        if !self._unknown_fields.is_empty() {
143            debug_struct.field("_unknown_fields", &self._unknown_fields);
144        }
145        debug_struct.finish()
146    }
147}
148
149impl std::fmt::Debug for super::autoscaling_config::AsymmetricAutoscalingOption {
150    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
151        let mut debug_struct = f.debug_struct("AsymmetricAutoscalingOption");
152        debug_struct.field("replica_selection", &self.replica_selection);
153        debug_struct.field("overrides", &self.overrides);
154        if !self._unknown_fields.is_empty() {
155            debug_struct.field("_unknown_fields", &self._unknown_fields);
156        }
157        debug_struct.finish()
158    }
159}
160
161impl std::fmt::Debug
162    for super::autoscaling_config::asymmetric_autoscaling_option::AutoscalingConfigOverrides
163{
164    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
165        let mut debug_struct = f.debug_struct("AutoscalingConfigOverrides");
166        debug_struct.field("autoscaling_limits", &self.autoscaling_limits);
167        debug_struct.field(
168            "autoscaling_target_high_priority_cpu_utilization_percent",
169            &self.autoscaling_target_high_priority_cpu_utilization_percent,
170        );
171        debug_struct.field(
172            "autoscaling_target_total_cpu_utilization_percent",
173            &self.autoscaling_target_total_cpu_utilization_percent,
174        );
175        debug_struct.field(
176            "disable_high_priority_cpu_autoscaling",
177            &self.disable_high_priority_cpu_autoscaling,
178        );
179        debug_struct.field(
180            "disable_total_cpu_autoscaling",
181            &self.disable_total_cpu_autoscaling,
182        );
183        if !self._unknown_fields.is_empty() {
184            debug_struct.field("_unknown_fields", &self._unknown_fields);
185        }
186        debug_struct.finish()
187    }
188}
189
190impl std::fmt::Debug for super::Instance {
191    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
192        let mut debug_struct = f.debug_struct("Instance");
193        debug_struct.field("name", &self.name);
194        debug_struct.field("config", &self.config);
195        debug_struct.field("display_name", &self.display_name);
196        debug_struct.field("node_count", &self.node_count);
197        debug_struct.field("processing_units", &self.processing_units);
198        debug_struct.field("replica_compute_capacity", &self.replica_compute_capacity);
199        debug_struct.field("autoscaling_config", &self.autoscaling_config);
200        debug_struct.field("state", &self.state);
201        debug_struct.field("labels", &self.labels);
202        debug_struct.field("instance_type", &self.instance_type);
203        debug_struct.field("endpoint_uris", &self.endpoint_uris);
204        debug_struct.field("create_time", &self.create_time);
205        debug_struct.field("update_time", &self.update_time);
206        debug_struct.field("free_instance_metadata", &self.free_instance_metadata);
207        debug_struct.field("edition", &self.edition);
208        debug_struct.field(
209            "default_backup_schedule_type",
210            &self.default_backup_schedule_type,
211        );
212        if !self._unknown_fields.is_empty() {
213            debug_struct.field("_unknown_fields", &self._unknown_fields);
214        }
215        debug_struct.finish()
216    }
217}
218
219impl std::fmt::Debug for super::ListInstanceConfigsRequest {
220    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
221        let mut debug_struct = f.debug_struct("ListInstanceConfigsRequest");
222        debug_struct.field("parent", &self.parent);
223        debug_struct.field("page_size", &self.page_size);
224        debug_struct.field("page_token", &self.page_token);
225        if !self._unknown_fields.is_empty() {
226            debug_struct.field("_unknown_fields", &self._unknown_fields);
227        }
228        debug_struct.finish()
229    }
230}
231
232impl std::fmt::Debug for super::ListInstanceConfigsResponse {
233    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
234        let mut debug_struct = f.debug_struct("ListInstanceConfigsResponse");
235        debug_struct.field("instance_configs", &self.instance_configs);
236        debug_struct.field("next_page_token", &self.next_page_token);
237        if !self._unknown_fields.is_empty() {
238            debug_struct.field("_unknown_fields", &self._unknown_fields);
239        }
240        debug_struct.finish()
241    }
242}
243
244impl std::fmt::Debug for super::GetInstanceConfigRequest {
245    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
246        let mut debug_struct = f.debug_struct("GetInstanceConfigRequest");
247        debug_struct.field("name", &self.name);
248        if !self._unknown_fields.is_empty() {
249            debug_struct.field("_unknown_fields", &self._unknown_fields);
250        }
251        debug_struct.finish()
252    }
253}
254
255impl std::fmt::Debug for super::CreateInstanceConfigRequest {
256    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
257        let mut debug_struct = f.debug_struct("CreateInstanceConfigRequest");
258        debug_struct.field("parent", &self.parent);
259        debug_struct.field("instance_config_id", &self.instance_config_id);
260        debug_struct.field("instance_config", &self.instance_config);
261        debug_struct.field("validate_only", &self.validate_only);
262        if !self._unknown_fields.is_empty() {
263            debug_struct.field("_unknown_fields", &self._unknown_fields);
264        }
265        debug_struct.finish()
266    }
267}
268
269impl std::fmt::Debug for super::UpdateInstanceConfigRequest {
270    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
271        let mut debug_struct = f.debug_struct("UpdateInstanceConfigRequest");
272        debug_struct.field("instance_config", &self.instance_config);
273        debug_struct.field("update_mask", &self.update_mask);
274        debug_struct.field("validate_only", &self.validate_only);
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::DeleteInstanceConfigRequest {
283    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
284        let mut debug_struct = f.debug_struct("DeleteInstanceConfigRequest");
285        debug_struct.field("name", &self.name);
286        debug_struct.field("etag", &self.etag);
287        debug_struct.field("validate_only", &self.validate_only);
288        if !self._unknown_fields.is_empty() {
289            debug_struct.field("_unknown_fields", &self._unknown_fields);
290        }
291        debug_struct.finish()
292    }
293}
294
295impl std::fmt::Debug for super::ListInstanceConfigOperationsRequest {
296    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
297        let mut debug_struct = f.debug_struct("ListInstanceConfigOperationsRequest");
298        debug_struct.field("parent", &self.parent);
299        debug_struct.field("filter", &self.filter);
300        debug_struct.field("page_size", &self.page_size);
301        debug_struct.field("page_token", &self.page_token);
302        if !self._unknown_fields.is_empty() {
303            debug_struct.field("_unknown_fields", &self._unknown_fields);
304        }
305        debug_struct.finish()
306    }
307}
308
309impl std::fmt::Debug for super::ListInstanceConfigOperationsResponse {
310    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
311        let mut debug_struct = f.debug_struct("ListInstanceConfigOperationsResponse");
312        debug_struct.field("operations", &self.operations);
313        debug_struct.field("next_page_token", &self.next_page_token);
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::GetInstanceRequest {
322    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
323        let mut debug_struct = f.debug_struct("GetInstanceRequest");
324        debug_struct.field("name", &self.name);
325        debug_struct.field("field_mask", &self.field_mask);
326        if !self._unknown_fields.is_empty() {
327            debug_struct.field("_unknown_fields", &self._unknown_fields);
328        }
329        debug_struct.finish()
330    }
331}
332
333impl std::fmt::Debug for super::CreateInstanceRequest {
334    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
335        let mut debug_struct = f.debug_struct("CreateInstanceRequest");
336        debug_struct.field("parent", &self.parent);
337        debug_struct.field("instance_id", &self.instance_id);
338        debug_struct.field("instance", &self.instance);
339        if !self._unknown_fields.is_empty() {
340            debug_struct.field("_unknown_fields", &self._unknown_fields);
341        }
342        debug_struct.finish()
343    }
344}
345
346impl std::fmt::Debug for super::ListInstancesRequest {
347    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
348        let mut debug_struct = f.debug_struct("ListInstancesRequest");
349        debug_struct.field("parent", &self.parent);
350        debug_struct.field("page_size", &self.page_size);
351        debug_struct.field("page_token", &self.page_token);
352        debug_struct.field("filter", &self.filter);
353        debug_struct.field("instance_deadline", &self.instance_deadline);
354        if !self._unknown_fields.is_empty() {
355            debug_struct.field("_unknown_fields", &self._unknown_fields);
356        }
357        debug_struct.finish()
358    }
359}
360
361impl std::fmt::Debug for super::ListInstancesResponse {
362    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
363        let mut debug_struct = f.debug_struct("ListInstancesResponse");
364        debug_struct.field("instances", &self.instances);
365        debug_struct.field("next_page_token", &self.next_page_token);
366        debug_struct.field("unreachable", &self.unreachable);
367        if !self._unknown_fields.is_empty() {
368            debug_struct.field("_unknown_fields", &self._unknown_fields);
369        }
370        debug_struct.finish()
371    }
372}
373
374impl std::fmt::Debug for super::UpdateInstanceRequest {
375    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
376        let mut debug_struct = f.debug_struct("UpdateInstanceRequest");
377        debug_struct.field("instance", &self.instance);
378        debug_struct.field("field_mask", &self.field_mask);
379        if !self._unknown_fields.is_empty() {
380            debug_struct.field("_unknown_fields", &self._unknown_fields);
381        }
382        debug_struct.finish()
383    }
384}
385
386impl std::fmt::Debug for super::DeleteInstanceRequest {
387    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
388        let mut debug_struct = f.debug_struct("DeleteInstanceRequest");
389        debug_struct.field("name", &self.name);
390        if !self._unknown_fields.is_empty() {
391            debug_struct.field("_unknown_fields", &self._unknown_fields);
392        }
393        debug_struct.finish()
394    }
395}
396
397impl std::fmt::Debug for super::CreateInstanceMetadata {
398    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
399        let mut debug_struct = f.debug_struct("CreateInstanceMetadata");
400        debug_struct.field("instance", &self.instance);
401        debug_struct.field("start_time", &self.start_time);
402        debug_struct.field("cancel_time", &self.cancel_time);
403        debug_struct.field("end_time", &self.end_time);
404        debug_struct.field(
405            "expected_fulfillment_period",
406            &self.expected_fulfillment_period,
407        );
408        if !self._unknown_fields.is_empty() {
409            debug_struct.field("_unknown_fields", &self._unknown_fields);
410        }
411        debug_struct.finish()
412    }
413}
414
415impl std::fmt::Debug for super::UpdateInstanceMetadata {
416    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
417        let mut debug_struct = f.debug_struct("UpdateInstanceMetadata");
418        debug_struct.field("instance", &self.instance);
419        debug_struct.field("start_time", &self.start_time);
420        debug_struct.field("cancel_time", &self.cancel_time);
421        debug_struct.field("end_time", &self.end_time);
422        debug_struct.field(
423            "expected_fulfillment_period",
424            &self.expected_fulfillment_period,
425        );
426        if !self._unknown_fields.is_empty() {
427            debug_struct.field("_unknown_fields", &self._unknown_fields);
428        }
429        debug_struct.finish()
430    }
431}
432
433impl std::fmt::Debug for super::FreeInstanceMetadata {
434    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
435        let mut debug_struct = f.debug_struct("FreeInstanceMetadata");
436        debug_struct.field("expire_time", &self.expire_time);
437        debug_struct.field("upgrade_time", &self.upgrade_time);
438        debug_struct.field("expire_behavior", &self.expire_behavior);
439        if !self._unknown_fields.is_empty() {
440            debug_struct.field("_unknown_fields", &self._unknown_fields);
441        }
442        debug_struct.finish()
443    }
444}
445
446impl std::fmt::Debug for super::CreateInstanceConfigMetadata {
447    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
448        let mut debug_struct = f.debug_struct("CreateInstanceConfigMetadata");
449        debug_struct.field("instance_config", &self.instance_config);
450        debug_struct.field("progress", &self.progress);
451        debug_struct.field("cancel_time", &self.cancel_time);
452        if !self._unknown_fields.is_empty() {
453            debug_struct.field("_unknown_fields", &self._unknown_fields);
454        }
455        debug_struct.finish()
456    }
457}
458
459impl std::fmt::Debug for super::UpdateInstanceConfigMetadata {
460    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
461        let mut debug_struct = f.debug_struct("UpdateInstanceConfigMetadata");
462        debug_struct.field("instance_config", &self.instance_config);
463        debug_struct.field("progress", &self.progress);
464        debug_struct.field("cancel_time", &self.cancel_time);
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::InstancePartition {
473    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
474        let mut debug_struct = f.debug_struct("InstancePartition");
475        debug_struct.field("name", &self.name);
476        debug_struct.field("config", &self.config);
477        debug_struct.field("display_name", &self.display_name);
478        debug_struct.field("autoscaling_config", &self.autoscaling_config);
479        debug_struct.field("state", &self.state);
480        debug_struct.field("create_time", &self.create_time);
481        debug_struct.field("update_time", &self.update_time);
482        debug_struct.field("referencing_databases", &self.referencing_databases);
483        debug_struct.field("referencing_backups", &self.referencing_backups);
484        debug_struct.field("etag", &self.etag);
485        debug_struct.field("compute_capacity", &self.compute_capacity);
486        if !self._unknown_fields.is_empty() {
487            debug_struct.field("_unknown_fields", &self._unknown_fields);
488        }
489        debug_struct.finish()
490    }
491}
492
493impl std::fmt::Debug for super::CreateInstancePartitionMetadata {
494    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
495        let mut debug_struct = f.debug_struct("CreateInstancePartitionMetadata");
496        debug_struct.field("instance_partition", &self.instance_partition);
497        debug_struct.field("start_time", &self.start_time);
498        debug_struct.field("cancel_time", &self.cancel_time);
499        debug_struct.field("end_time", &self.end_time);
500        if !self._unknown_fields.is_empty() {
501            debug_struct.field("_unknown_fields", &self._unknown_fields);
502        }
503        debug_struct.finish()
504    }
505}
506
507impl std::fmt::Debug for super::CreateInstancePartitionRequest {
508    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
509        let mut debug_struct = f.debug_struct("CreateInstancePartitionRequest");
510        debug_struct.field("parent", &self.parent);
511        debug_struct.field("instance_partition_id", &self.instance_partition_id);
512        debug_struct.field("instance_partition", &self.instance_partition);
513        if !self._unknown_fields.is_empty() {
514            debug_struct.field("_unknown_fields", &self._unknown_fields);
515        }
516        debug_struct.finish()
517    }
518}
519
520impl std::fmt::Debug for super::DeleteInstancePartitionRequest {
521    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
522        let mut debug_struct = f.debug_struct("DeleteInstancePartitionRequest");
523        debug_struct.field("name", &self.name);
524        debug_struct.field("etag", &self.etag);
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::GetInstancePartitionRequest {
533    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
534        let mut debug_struct = f.debug_struct("GetInstancePartitionRequest");
535        debug_struct.field("name", &self.name);
536        if !self._unknown_fields.is_empty() {
537            debug_struct.field("_unknown_fields", &self._unknown_fields);
538        }
539        debug_struct.finish()
540    }
541}
542
543impl std::fmt::Debug for super::UpdateInstancePartitionRequest {
544    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
545        let mut debug_struct = f.debug_struct("UpdateInstancePartitionRequest");
546        debug_struct.field("instance_partition", &self.instance_partition);
547        debug_struct.field("field_mask", &self.field_mask);
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::UpdateInstancePartitionMetadata {
556    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
557        let mut debug_struct = f.debug_struct("UpdateInstancePartitionMetadata");
558        debug_struct.field("instance_partition", &self.instance_partition);
559        debug_struct.field("start_time", &self.start_time);
560        debug_struct.field("cancel_time", &self.cancel_time);
561        debug_struct.field("end_time", &self.end_time);
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::ListInstancePartitionsRequest {
570    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
571        let mut debug_struct = f.debug_struct("ListInstancePartitionsRequest");
572        debug_struct.field("parent", &self.parent);
573        debug_struct.field("page_size", &self.page_size);
574        debug_struct.field("page_token", &self.page_token);
575        debug_struct.field(
576            "instance_partition_deadline",
577            &self.instance_partition_deadline,
578        );
579        if !self._unknown_fields.is_empty() {
580            debug_struct.field("_unknown_fields", &self._unknown_fields);
581        }
582        debug_struct.finish()
583    }
584}
585
586impl std::fmt::Debug for super::ListInstancePartitionsResponse {
587    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
588        let mut debug_struct = f.debug_struct("ListInstancePartitionsResponse");
589        debug_struct.field("instance_partitions", &self.instance_partitions);
590        debug_struct.field("next_page_token", &self.next_page_token);
591        debug_struct.field("unreachable", &self.unreachable);
592        if !self._unknown_fields.is_empty() {
593            debug_struct.field("_unknown_fields", &self._unknown_fields);
594        }
595        debug_struct.finish()
596    }
597}
598
599impl std::fmt::Debug for super::ListInstancePartitionOperationsRequest {
600    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
601        let mut debug_struct = f.debug_struct("ListInstancePartitionOperationsRequest");
602        debug_struct.field("parent", &self.parent);
603        debug_struct.field("filter", &self.filter);
604        debug_struct.field("page_size", &self.page_size);
605        debug_struct.field("page_token", &self.page_token);
606        debug_struct.field(
607            "instance_partition_deadline",
608            &self.instance_partition_deadline,
609        );
610        if !self._unknown_fields.is_empty() {
611            debug_struct.field("_unknown_fields", &self._unknown_fields);
612        }
613        debug_struct.finish()
614    }
615}
616
617impl std::fmt::Debug for super::ListInstancePartitionOperationsResponse {
618    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
619        let mut debug_struct = f.debug_struct("ListInstancePartitionOperationsResponse");
620        debug_struct.field("operations", &self.operations);
621        debug_struct.field("next_page_token", &self.next_page_token);
622        debug_struct.field(
623            "unreachable_instance_partitions",
624            &self.unreachable_instance_partitions,
625        );
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::MoveInstanceRequest {
634    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
635        let mut debug_struct = f.debug_struct("MoveInstanceRequest");
636        debug_struct.field("name", &self.name);
637        debug_struct.field("target_config", &self.target_config);
638        if !self._unknown_fields.is_empty() {
639            debug_struct.field("_unknown_fields", &self._unknown_fields);
640        }
641        debug_struct.finish()
642    }
643}
644
645impl std::fmt::Debug for super::MoveInstanceResponse {
646    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
647        let mut debug_struct = f.debug_struct("MoveInstanceResponse");
648        if !self._unknown_fields.is_empty() {
649            debug_struct.field("_unknown_fields", &self._unknown_fields);
650        }
651        debug_struct.finish()
652    }
653}
654
655impl std::fmt::Debug for super::MoveInstanceMetadata {
656    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
657        let mut debug_struct = f.debug_struct("MoveInstanceMetadata");
658        debug_struct.field("target_config", &self.target_config);
659        debug_struct.field("progress", &self.progress);
660        debug_struct.field("cancel_time", &self.cancel_time);
661        if !self._unknown_fields.is_empty() {
662            debug_struct.field("_unknown_fields", &self._unknown_fields);
663        }
664        debug_struct.finish()
665    }
666}