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            "storage_utilization_percent",
136            &self.storage_utilization_percent,
137        );
138        if !self._unknown_fields.is_empty() {
139            debug_struct.field("_unknown_fields", &self._unknown_fields);
140        }
141        debug_struct.finish()
142    }
143}
144
145impl std::fmt::Debug for super::autoscaling_config::AsymmetricAutoscalingOption {
146    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
147        let mut debug_struct = f.debug_struct("AsymmetricAutoscalingOption");
148        debug_struct.field("replica_selection", &self.replica_selection);
149        debug_struct.field("overrides", &self.overrides);
150        if !self._unknown_fields.is_empty() {
151            debug_struct.field("_unknown_fields", &self._unknown_fields);
152        }
153        debug_struct.finish()
154    }
155}
156
157impl std::fmt::Debug
158    for super::autoscaling_config::asymmetric_autoscaling_option::AutoscalingConfigOverrides
159{
160    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
161        let mut debug_struct = f.debug_struct("AutoscalingConfigOverrides");
162        debug_struct.field("autoscaling_limits", &self.autoscaling_limits);
163        debug_struct.field(
164            "autoscaling_target_high_priority_cpu_utilization_percent",
165            &self.autoscaling_target_high_priority_cpu_utilization_percent,
166        );
167        if !self._unknown_fields.is_empty() {
168            debug_struct.field("_unknown_fields", &self._unknown_fields);
169        }
170        debug_struct.finish()
171    }
172}
173
174impl std::fmt::Debug for super::Instance {
175    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
176        let mut debug_struct = f.debug_struct("Instance");
177        debug_struct.field("name", &self.name);
178        debug_struct.field("config", &self.config);
179        debug_struct.field("display_name", &self.display_name);
180        debug_struct.field("node_count", &self.node_count);
181        debug_struct.field("processing_units", &self.processing_units);
182        debug_struct.field("replica_compute_capacity", &self.replica_compute_capacity);
183        debug_struct.field("autoscaling_config", &self.autoscaling_config);
184        debug_struct.field("state", &self.state);
185        debug_struct.field("labels", &self.labels);
186        debug_struct.field("instance_type", &self.instance_type);
187        debug_struct.field("endpoint_uris", &self.endpoint_uris);
188        debug_struct.field("create_time", &self.create_time);
189        debug_struct.field("update_time", &self.update_time);
190        debug_struct.field("free_instance_metadata", &self.free_instance_metadata);
191        debug_struct.field("edition", &self.edition);
192        debug_struct.field(
193            "default_backup_schedule_type",
194            &self.default_backup_schedule_type,
195        );
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::ListInstanceConfigsRequest {
204    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
205        let mut debug_struct = f.debug_struct("ListInstanceConfigsRequest");
206        debug_struct.field("parent", &self.parent);
207        debug_struct.field("page_size", &self.page_size);
208        debug_struct.field("page_token", &self.page_token);
209        if !self._unknown_fields.is_empty() {
210            debug_struct.field("_unknown_fields", &self._unknown_fields);
211        }
212        debug_struct.finish()
213    }
214}
215
216impl std::fmt::Debug for super::ListInstanceConfigsResponse {
217    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
218        let mut debug_struct = f.debug_struct("ListInstanceConfigsResponse");
219        debug_struct.field("instance_configs", &self.instance_configs);
220        debug_struct.field("next_page_token", &self.next_page_token);
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::GetInstanceConfigRequest {
229    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
230        let mut debug_struct = f.debug_struct("GetInstanceConfigRequest");
231        debug_struct.field("name", &self.name);
232        if !self._unknown_fields.is_empty() {
233            debug_struct.field("_unknown_fields", &self._unknown_fields);
234        }
235        debug_struct.finish()
236    }
237}
238
239impl std::fmt::Debug for super::CreateInstanceConfigRequest {
240    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
241        let mut debug_struct = f.debug_struct("CreateInstanceConfigRequest");
242        debug_struct.field("parent", &self.parent);
243        debug_struct.field("instance_config_id", &self.instance_config_id);
244        debug_struct.field("instance_config", &self.instance_config);
245        debug_struct.field("validate_only", &self.validate_only);
246        if !self._unknown_fields.is_empty() {
247            debug_struct.field("_unknown_fields", &self._unknown_fields);
248        }
249        debug_struct.finish()
250    }
251}
252
253impl std::fmt::Debug for super::UpdateInstanceConfigRequest {
254    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
255        let mut debug_struct = f.debug_struct("UpdateInstanceConfigRequest");
256        debug_struct.field("instance_config", &self.instance_config);
257        debug_struct.field("update_mask", &self.update_mask);
258        debug_struct.field("validate_only", &self.validate_only);
259        if !self._unknown_fields.is_empty() {
260            debug_struct.field("_unknown_fields", &self._unknown_fields);
261        }
262        debug_struct.finish()
263    }
264}
265
266impl std::fmt::Debug for super::DeleteInstanceConfigRequest {
267    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
268        let mut debug_struct = f.debug_struct("DeleteInstanceConfigRequest");
269        debug_struct.field("name", &self.name);
270        debug_struct.field("etag", &self.etag);
271        debug_struct.field("validate_only", &self.validate_only);
272        if !self._unknown_fields.is_empty() {
273            debug_struct.field("_unknown_fields", &self._unknown_fields);
274        }
275        debug_struct.finish()
276    }
277}
278
279impl std::fmt::Debug for super::ListInstanceConfigOperationsRequest {
280    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
281        let mut debug_struct = f.debug_struct("ListInstanceConfigOperationsRequest");
282        debug_struct.field("parent", &self.parent);
283        debug_struct.field("filter", &self.filter);
284        debug_struct.field("page_size", &self.page_size);
285        debug_struct.field("page_token", &self.page_token);
286        if !self._unknown_fields.is_empty() {
287            debug_struct.field("_unknown_fields", &self._unknown_fields);
288        }
289        debug_struct.finish()
290    }
291}
292
293impl std::fmt::Debug for super::ListInstanceConfigOperationsResponse {
294    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
295        let mut debug_struct = f.debug_struct("ListInstanceConfigOperationsResponse");
296        debug_struct.field("operations", &self.operations);
297        debug_struct.field("next_page_token", &self.next_page_token);
298        if !self._unknown_fields.is_empty() {
299            debug_struct.field("_unknown_fields", &self._unknown_fields);
300        }
301        debug_struct.finish()
302    }
303}
304
305impl std::fmt::Debug for super::GetInstanceRequest {
306    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
307        let mut debug_struct = f.debug_struct("GetInstanceRequest");
308        debug_struct.field("name", &self.name);
309        debug_struct.field("field_mask", &self.field_mask);
310        if !self._unknown_fields.is_empty() {
311            debug_struct.field("_unknown_fields", &self._unknown_fields);
312        }
313        debug_struct.finish()
314    }
315}
316
317impl std::fmt::Debug for super::CreateInstanceRequest {
318    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
319        let mut debug_struct = f.debug_struct("CreateInstanceRequest");
320        debug_struct.field("parent", &self.parent);
321        debug_struct.field("instance_id", &self.instance_id);
322        debug_struct.field("instance", &self.instance);
323        if !self._unknown_fields.is_empty() {
324            debug_struct.field("_unknown_fields", &self._unknown_fields);
325        }
326        debug_struct.finish()
327    }
328}
329
330impl std::fmt::Debug for super::ListInstancesRequest {
331    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
332        let mut debug_struct = f.debug_struct("ListInstancesRequest");
333        debug_struct.field("parent", &self.parent);
334        debug_struct.field("page_size", &self.page_size);
335        debug_struct.field("page_token", &self.page_token);
336        debug_struct.field("filter", &self.filter);
337        debug_struct.field("instance_deadline", &self.instance_deadline);
338        if !self._unknown_fields.is_empty() {
339            debug_struct.field("_unknown_fields", &self._unknown_fields);
340        }
341        debug_struct.finish()
342    }
343}
344
345impl std::fmt::Debug for super::ListInstancesResponse {
346    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
347        let mut debug_struct = f.debug_struct("ListInstancesResponse");
348        debug_struct.field("instances", &self.instances);
349        debug_struct.field("next_page_token", &self.next_page_token);
350        debug_struct.field("unreachable", &self.unreachable);
351        if !self._unknown_fields.is_empty() {
352            debug_struct.field("_unknown_fields", &self._unknown_fields);
353        }
354        debug_struct.finish()
355    }
356}
357
358impl std::fmt::Debug for super::UpdateInstanceRequest {
359    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
360        let mut debug_struct = f.debug_struct("UpdateInstanceRequest");
361        debug_struct.field("instance", &self.instance);
362        debug_struct.field("field_mask", &self.field_mask);
363        if !self._unknown_fields.is_empty() {
364            debug_struct.field("_unknown_fields", &self._unknown_fields);
365        }
366        debug_struct.finish()
367    }
368}
369
370impl std::fmt::Debug for super::DeleteInstanceRequest {
371    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
372        let mut debug_struct = f.debug_struct("DeleteInstanceRequest");
373        debug_struct.field("name", &self.name);
374        if !self._unknown_fields.is_empty() {
375            debug_struct.field("_unknown_fields", &self._unknown_fields);
376        }
377        debug_struct.finish()
378    }
379}
380
381impl std::fmt::Debug for super::CreateInstanceMetadata {
382    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
383        let mut debug_struct = f.debug_struct("CreateInstanceMetadata");
384        debug_struct.field("instance", &self.instance);
385        debug_struct.field("start_time", &self.start_time);
386        debug_struct.field("cancel_time", &self.cancel_time);
387        debug_struct.field("end_time", &self.end_time);
388        debug_struct.field(
389            "expected_fulfillment_period",
390            &self.expected_fulfillment_period,
391        );
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::UpdateInstanceMetadata {
400    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
401        let mut debug_struct = f.debug_struct("UpdateInstanceMetadata");
402        debug_struct.field("instance", &self.instance);
403        debug_struct.field("start_time", &self.start_time);
404        debug_struct.field("cancel_time", &self.cancel_time);
405        debug_struct.field("end_time", &self.end_time);
406        debug_struct.field(
407            "expected_fulfillment_period",
408            &self.expected_fulfillment_period,
409        );
410        if !self._unknown_fields.is_empty() {
411            debug_struct.field("_unknown_fields", &self._unknown_fields);
412        }
413        debug_struct.finish()
414    }
415}
416
417impl std::fmt::Debug for super::FreeInstanceMetadata {
418    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
419        let mut debug_struct = f.debug_struct("FreeInstanceMetadata");
420        debug_struct.field("expire_time", &self.expire_time);
421        debug_struct.field("upgrade_time", &self.upgrade_time);
422        debug_struct.field("expire_behavior", &self.expire_behavior);
423        if !self._unknown_fields.is_empty() {
424            debug_struct.field("_unknown_fields", &self._unknown_fields);
425        }
426        debug_struct.finish()
427    }
428}
429
430impl std::fmt::Debug for super::CreateInstanceConfigMetadata {
431    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
432        let mut debug_struct = f.debug_struct("CreateInstanceConfigMetadata");
433        debug_struct.field("instance_config", &self.instance_config);
434        debug_struct.field("progress", &self.progress);
435        debug_struct.field("cancel_time", &self.cancel_time);
436        if !self._unknown_fields.is_empty() {
437            debug_struct.field("_unknown_fields", &self._unknown_fields);
438        }
439        debug_struct.finish()
440    }
441}
442
443impl std::fmt::Debug for super::UpdateInstanceConfigMetadata {
444    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
445        let mut debug_struct = f.debug_struct("UpdateInstanceConfigMetadata");
446        debug_struct.field("instance_config", &self.instance_config);
447        debug_struct.field("progress", &self.progress);
448        debug_struct.field("cancel_time", &self.cancel_time);
449        if !self._unknown_fields.is_empty() {
450            debug_struct.field("_unknown_fields", &self._unknown_fields);
451        }
452        debug_struct.finish()
453    }
454}
455
456impl std::fmt::Debug for super::InstancePartition {
457    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
458        let mut debug_struct = f.debug_struct("InstancePartition");
459        debug_struct.field("name", &self.name);
460        debug_struct.field("config", &self.config);
461        debug_struct.field("display_name", &self.display_name);
462        debug_struct.field("state", &self.state);
463        debug_struct.field("create_time", &self.create_time);
464        debug_struct.field("update_time", &self.update_time);
465        debug_struct.field("referencing_databases", &self.referencing_databases);
466        debug_struct.field("referencing_backups", &self.referencing_backups);
467        debug_struct.field("etag", &self.etag);
468        debug_struct.field("compute_capacity", &self.compute_capacity);
469        if !self._unknown_fields.is_empty() {
470            debug_struct.field("_unknown_fields", &self._unknown_fields);
471        }
472        debug_struct.finish()
473    }
474}
475
476impl std::fmt::Debug for super::CreateInstancePartitionMetadata {
477    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
478        let mut debug_struct = f.debug_struct("CreateInstancePartitionMetadata");
479        debug_struct.field("instance_partition", &self.instance_partition);
480        debug_struct.field("start_time", &self.start_time);
481        debug_struct.field("cancel_time", &self.cancel_time);
482        debug_struct.field("end_time", &self.end_time);
483        if !self._unknown_fields.is_empty() {
484            debug_struct.field("_unknown_fields", &self._unknown_fields);
485        }
486        debug_struct.finish()
487    }
488}
489
490impl std::fmt::Debug for super::CreateInstancePartitionRequest {
491    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
492        let mut debug_struct = f.debug_struct("CreateInstancePartitionRequest");
493        debug_struct.field("parent", &self.parent);
494        debug_struct.field("instance_partition_id", &self.instance_partition_id);
495        debug_struct.field("instance_partition", &self.instance_partition);
496        if !self._unknown_fields.is_empty() {
497            debug_struct.field("_unknown_fields", &self._unknown_fields);
498        }
499        debug_struct.finish()
500    }
501}
502
503impl std::fmt::Debug for super::DeleteInstancePartitionRequest {
504    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
505        let mut debug_struct = f.debug_struct("DeleteInstancePartitionRequest");
506        debug_struct.field("name", &self.name);
507        debug_struct.field("etag", &self.etag);
508        if !self._unknown_fields.is_empty() {
509            debug_struct.field("_unknown_fields", &self._unknown_fields);
510        }
511        debug_struct.finish()
512    }
513}
514
515impl std::fmt::Debug for super::GetInstancePartitionRequest {
516    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
517        let mut debug_struct = f.debug_struct("GetInstancePartitionRequest");
518        debug_struct.field("name", &self.name);
519        if !self._unknown_fields.is_empty() {
520            debug_struct.field("_unknown_fields", &self._unknown_fields);
521        }
522        debug_struct.finish()
523    }
524}
525
526impl std::fmt::Debug for super::UpdateInstancePartitionRequest {
527    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
528        let mut debug_struct = f.debug_struct("UpdateInstancePartitionRequest");
529        debug_struct.field("instance_partition", &self.instance_partition);
530        debug_struct.field("field_mask", &self.field_mask);
531        if !self._unknown_fields.is_empty() {
532            debug_struct.field("_unknown_fields", &self._unknown_fields);
533        }
534        debug_struct.finish()
535    }
536}
537
538impl std::fmt::Debug for super::UpdateInstancePartitionMetadata {
539    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
540        let mut debug_struct = f.debug_struct("UpdateInstancePartitionMetadata");
541        debug_struct.field("instance_partition", &self.instance_partition);
542        debug_struct.field("start_time", &self.start_time);
543        debug_struct.field("cancel_time", &self.cancel_time);
544        debug_struct.field("end_time", &self.end_time);
545        if !self._unknown_fields.is_empty() {
546            debug_struct.field("_unknown_fields", &self._unknown_fields);
547        }
548        debug_struct.finish()
549    }
550}
551
552impl std::fmt::Debug for super::ListInstancePartitionsRequest {
553    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
554        let mut debug_struct = f.debug_struct("ListInstancePartitionsRequest");
555        debug_struct.field("parent", &self.parent);
556        debug_struct.field("page_size", &self.page_size);
557        debug_struct.field("page_token", &self.page_token);
558        debug_struct.field(
559            "instance_partition_deadline",
560            &self.instance_partition_deadline,
561        );
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::ListInstancePartitionsResponse {
570    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
571        let mut debug_struct = f.debug_struct("ListInstancePartitionsResponse");
572        debug_struct.field("instance_partitions", &self.instance_partitions);
573        debug_struct.field("next_page_token", &self.next_page_token);
574        debug_struct.field("unreachable", &self.unreachable);
575        if !self._unknown_fields.is_empty() {
576            debug_struct.field("_unknown_fields", &self._unknown_fields);
577        }
578        debug_struct.finish()
579    }
580}
581
582impl std::fmt::Debug for super::ListInstancePartitionOperationsRequest {
583    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
584        let mut debug_struct = f.debug_struct("ListInstancePartitionOperationsRequest");
585        debug_struct.field("parent", &self.parent);
586        debug_struct.field("filter", &self.filter);
587        debug_struct.field("page_size", &self.page_size);
588        debug_struct.field("page_token", &self.page_token);
589        debug_struct.field(
590            "instance_partition_deadline",
591            &self.instance_partition_deadline,
592        );
593        if !self._unknown_fields.is_empty() {
594            debug_struct.field("_unknown_fields", &self._unknown_fields);
595        }
596        debug_struct.finish()
597    }
598}
599
600impl std::fmt::Debug for super::ListInstancePartitionOperationsResponse {
601    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
602        let mut debug_struct = f.debug_struct("ListInstancePartitionOperationsResponse");
603        debug_struct.field("operations", &self.operations);
604        debug_struct.field("next_page_token", &self.next_page_token);
605        debug_struct.field(
606            "unreachable_instance_partitions",
607            &self.unreachable_instance_partitions,
608        );
609        if !self._unknown_fields.is_empty() {
610            debug_struct.field("_unknown_fields", &self._unknown_fields);
611        }
612        debug_struct.finish()
613    }
614}
615
616impl std::fmt::Debug for super::MoveInstanceRequest {
617    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
618        let mut debug_struct = f.debug_struct("MoveInstanceRequest");
619        debug_struct.field("name", &self.name);
620        debug_struct.field("target_config", &self.target_config);
621        if !self._unknown_fields.is_empty() {
622            debug_struct.field("_unknown_fields", &self._unknown_fields);
623        }
624        debug_struct.finish()
625    }
626}
627
628impl std::fmt::Debug for super::MoveInstanceResponse {
629    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
630        let mut debug_struct = f.debug_struct("MoveInstanceResponse");
631        if !self._unknown_fields.is_empty() {
632            debug_struct.field("_unknown_fields", &self._unknown_fields);
633        }
634        debug_struct.finish()
635    }
636}
637
638impl std::fmt::Debug for super::MoveInstanceMetadata {
639    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
640        let mut debug_struct = f.debug_struct("MoveInstanceMetadata");
641        debug_struct.field("target_config", &self.target_config);
642        debug_struct.field("progress", &self.progress);
643        debug_struct.field("cancel_time", &self.cancel_time);
644        if !self._unknown_fields.is_empty() {
645            debug_struct.field("_unknown_fields", &self._unknown_fields);
646        }
647        debug_struct.finish()
648    }
649}