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("allowed_processing_units", &self.allowed_processing_units);
76        debug_struct.field("quorum_type", &self.quorum_type);
77        debug_struct.field(
78            "storage_limit_per_processing_unit",
79            &self.storage_limit_per_processing_unit,
80        );
81        if !self._unknown_fields.is_empty() {
82            debug_struct.field("_unknown_fields", &self._unknown_fields);
83        }
84        debug_struct.finish()
85    }
86}
87
88impl std::fmt::Debug for super::instance_config::AllowedProcessingUnits {
89    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
90        let mut debug_struct = f.debug_struct("AllowedProcessingUnits");
91        debug_struct.field("min_processing_units", &self.min_processing_units);
92        debug_struct.field("max_processing_units", &self.max_processing_units);
93        debug_struct.field("processing_unit_increment", &self.processing_unit_increment);
94        if !self._unknown_fields.is_empty() {
95            debug_struct.field("_unknown_fields", &self._unknown_fields);
96        }
97        debug_struct.finish()
98    }
99}
100
101impl std::fmt::Debug for super::ReplicaComputeCapacity {
102    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
103        let mut debug_struct = f.debug_struct("ReplicaComputeCapacity");
104        debug_struct.field("replica_selection", &self.replica_selection);
105        debug_struct.field("compute_capacity", &self.compute_capacity);
106        if !self._unknown_fields.is_empty() {
107            debug_struct.field("_unknown_fields", &self._unknown_fields);
108        }
109        debug_struct.finish()
110    }
111}
112
113impl std::fmt::Debug for super::AutoscalingConfig {
114    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
115        let mut debug_struct = f.debug_struct("AutoscalingConfig");
116        debug_struct.field("autoscaling_limits", &self.autoscaling_limits);
117        debug_struct.field("autoscaling_targets", &self.autoscaling_targets);
118        debug_struct.field(
119            "asymmetric_autoscaling_options",
120            &self.asymmetric_autoscaling_options,
121        );
122        if !self._unknown_fields.is_empty() {
123            debug_struct.field("_unknown_fields", &self._unknown_fields);
124        }
125        debug_struct.finish()
126    }
127}
128
129impl std::fmt::Debug for super::autoscaling_config::AutoscalingLimits {
130    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
131        let mut debug_struct = f.debug_struct("AutoscalingLimits");
132        debug_struct.field("min_limit", &self.min_limit);
133        debug_struct.field("max_limit", &self.max_limit);
134        if !self._unknown_fields.is_empty() {
135            debug_struct.field("_unknown_fields", &self._unknown_fields);
136        }
137        debug_struct.finish()
138    }
139}
140
141impl std::fmt::Debug for super::autoscaling_config::AutoscalingTargets {
142    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
143        let mut debug_struct = f.debug_struct("AutoscalingTargets");
144        debug_struct.field(
145            "high_priority_cpu_utilization_percent",
146            &self.high_priority_cpu_utilization_percent,
147        );
148        debug_struct.field(
149            "total_cpu_utilization_percent",
150            &self.total_cpu_utilization_percent,
151        );
152        debug_struct.field(
153            "storage_utilization_percent",
154            &self.storage_utilization_percent,
155        );
156        if !self._unknown_fields.is_empty() {
157            debug_struct.field("_unknown_fields", &self._unknown_fields);
158        }
159        debug_struct.finish()
160    }
161}
162
163impl std::fmt::Debug for super::autoscaling_config::AsymmetricAutoscalingOption {
164    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
165        let mut debug_struct = f.debug_struct("AsymmetricAutoscalingOption");
166        debug_struct.field("replica_selection", &self.replica_selection);
167        debug_struct.field("overrides", &self.overrides);
168        if !self._unknown_fields.is_empty() {
169            debug_struct.field("_unknown_fields", &self._unknown_fields);
170        }
171        debug_struct.finish()
172    }
173}
174
175impl std::fmt::Debug
176    for super::autoscaling_config::asymmetric_autoscaling_option::AutoscalingConfigOverrides
177{
178    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
179        let mut debug_struct = f.debug_struct("AutoscalingConfigOverrides");
180        debug_struct.field("autoscaling_limits", &self.autoscaling_limits);
181        debug_struct.field(
182            "autoscaling_target_high_priority_cpu_utilization_percent",
183            &self.autoscaling_target_high_priority_cpu_utilization_percent,
184        );
185        debug_struct.field(
186            "autoscaling_target_total_cpu_utilization_percent",
187            &self.autoscaling_target_total_cpu_utilization_percent,
188        );
189        debug_struct.field(
190            "disable_high_priority_cpu_autoscaling",
191            &self.disable_high_priority_cpu_autoscaling,
192        );
193        debug_struct.field(
194            "disable_total_cpu_autoscaling",
195            &self.disable_total_cpu_autoscaling,
196        );
197        if !self._unknown_fields.is_empty() {
198            debug_struct.field("_unknown_fields", &self._unknown_fields);
199        }
200        debug_struct.finish()
201    }
202}
203
204impl std::fmt::Debug for super::Instance {
205    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
206        let mut debug_struct = f.debug_struct("Instance");
207        debug_struct.field("name", &self.name);
208        debug_struct.field("config", &self.config);
209        debug_struct.field("display_name", &self.display_name);
210        debug_struct.field("node_count", &self.node_count);
211        debug_struct.field("processing_units", &self.processing_units);
212        debug_struct.field("replica_compute_capacity", &self.replica_compute_capacity);
213        debug_struct.field("autoscaling_config", &self.autoscaling_config);
214        debug_struct.field("state", &self.state);
215        debug_struct.field("labels", &self.labels);
216        debug_struct.field("instance_type", &self.instance_type);
217        debug_struct.field("endpoint_uris", &self.endpoint_uris);
218        debug_struct.field("create_time", &self.create_time);
219        debug_struct.field("update_time", &self.update_time);
220        debug_struct.field("free_instance_metadata", &self.free_instance_metadata);
221        debug_struct.field("edition", &self.edition);
222        debug_struct.field(
223            "default_backup_schedule_type",
224            &self.default_backup_schedule_type,
225        );
226        if !self._unknown_fields.is_empty() {
227            debug_struct.field("_unknown_fields", &self._unknown_fields);
228        }
229        debug_struct.finish()
230    }
231}
232
233impl std::fmt::Debug for super::ListInstanceConfigsRequest {
234    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
235        let mut debug_struct = f.debug_struct("ListInstanceConfigsRequest");
236        debug_struct.field("parent", &self.parent);
237        debug_struct.field("page_size", &self.page_size);
238        debug_struct.field("page_token", &self.page_token);
239        if !self._unknown_fields.is_empty() {
240            debug_struct.field("_unknown_fields", &self._unknown_fields);
241        }
242        debug_struct.finish()
243    }
244}
245
246impl std::fmt::Debug for super::ListInstanceConfigsResponse {
247    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
248        let mut debug_struct = f.debug_struct("ListInstanceConfigsResponse");
249        debug_struct.field("instance_configs", &self.instance_configs);
250        debug_struct.field("next_page_token", &self.next_page_token);
251        if !self._unknown_fields.is_empty() {
252            debug_struct.field("_unknown_fields", &self._unknown_fields);
253        }
254        debug_struct.finish()
255    }
256}
257
258impl std::fmt::Debug for super::GetInstanceConfigRequest {
259    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
260        let mut debug_struct = f.debug_struct("GetInstanceConfigRequest");
261        debug_struct.field("name", &self.name);
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::CreateInstanceConfigRequest {
270    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
271        let mut debug_struct = f.debug_struct("CreateInstanceConfigRequest");
272        debug_struct.field("parent", &self.parent);
273        debug_struct.field("instance_config_id", &self.instance_config_id);
274        debug_struct.field("instance_config", &self.instance_config);
275        debug_struct.field("validate_only", &self.validate_only);
276        if !self._unknown_fields.is_empty() {
277            debug_struct.field("_unknown_fields", &self._unknown_fields);
278        }
279        debug_struct.finish()
280    }
281}
282
283impl std::fmt::Debug for super::UpdateInstanceConfigRequest {
284    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
285        let mut debug_struct = f.debug_struct("UpdateInstanceConfigRequest");
286        debug_struct.field("instance_config", &self.instance_config);
287        debug_struct.field("update_mask", &self.update_mask);
288        debug_struct.field("validate_only", &self.validate_only);
289        if !self._unknown_fields.is_empty() {
290            debug_struct.field("_unknown_fields", &self._unknown_fields);
291        }
292        debug_struct.finish()
293    }
294}
295
296impl std::fmt::Debug for super::DeleteInstanceConfigRequest {
297    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
298        let mut debug_struct = f.debug_struct("DeleteInstanceConfigRequest");
299        debug_struct.field("name", &self.name);
300        debug_struct.field("etag", &self.etag);
301        debug_struct.field("validate_only", &self.validate_only);
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::ListInstanceConfigOperationsRequest {
310    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
311        let mut debug_struct = f.debug_struct("ListInstanceConfigOperationsRequest");
312        debug_struct.field("parent", &self.parent);
313        debug_struct.field("filter", &self.filter);
314        debug_struct.field("page_size", &self.page_size);
315        debug_struct.field("page_token", &self.page_token);
316        if !self._unknown_fields.is_empty() {
317            debug_struct.field("_unknown_fields", &self._unknown_fields);
318        }
319        debug_struct.finish()
320    }
321}
322
323impl std::fmt::Debug for super::ListInstanceConfigOperationsResponse {
324    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
325        let mut debug_struct = f.debug_struct("ListInstanceConfigOperationsResponse");
326        debug_struct.field("operations", &self.operations);
327        debug_struct.field("next_page_token", &self.next_page_token);
328        if !self._unknown_fields.is_empty() {
329            debug_struct.field("_unknown_fields", &self._unknown_fields);
330        }
331        debug_struct.finish()
332    }
333}
334
335impl std::fmt::Debug for super::GetInstanceRequest {
336    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
337        let mut debug_struct = f.debug_struct("GetInstanceRequest");
338        debug_struct.field("name", &self.name);
339        debug_struct.field("field_mask", &self.field_mask);
340        if !self._unknown_fields.is_empty() {
341            debug_struct.field("_unknown_fields", &self._unknown_fields);
342        }
343        debug_struct.finish()
344    }
345}
346
347impl std::fmt::Debug for super::CreateInstanceRequest {
348    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
349        let mut debug_struct = f.debug_struct("CreateInstanceRequest");
350        debug_struct.field("parent", &self.parent);
351        debug_struct.field("instance_id", &self.instance_id);
352        debug_struct.field("instance", &self.instance);
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::ListInstancesRequest {
361    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
362        let mut debug_struct = f.debug_struct("ListInstancesRequest");
363        debug_struct.field("parent", &self.parent);
364        debug_struct.field("page_size", &self.page_size);
365        debug_struct.field("page_token", &self.page_token);
366        debug_struct.field("filter", &self.filter);
367        debug_struct.field("instance_deadline", &self.instance_deadline);
368        if !self._unknown_fields.is_empty() {
369            debug_struct.field("_unknown_fields", &self._unknown_fields);
370        }
371        debug_struct.finish()
372    }
373}
374
375impl std::fmt::Debug for super::ListInstancesResponse {
376    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
377        let mut debug_struct = f.debug_struct("ListInstancesResponse");
378        debug_struct.field("instances", &self.instances);
379        debug_struct.field("next_page_token", &self.next_page_token);
380        debug_struct.field("unreachable", &self.unreachable);
381        if !self._unknown_fields.is_empty() {
382            debug_struct.field("_unknown_fields", &self._unknown_fields);
383        }
384        debug_struct.finish()
385    }
386}
387
388impl std::fmt::Debug for super::UpdateInstanceRequest {
389    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
390        let mut debug_struct = f.debug_struct("UpdateInstanceRequest");
391        debug_struct.field("instance", &self.instance);
392        debug_struct.field("field_mask", &self.field_mask);
393        if !self._unknown_fields.is_empty() {
394            debug_struct.field("_unknown_fields", &self._unknown_fields);
395        }
396        debug_struct.finish()
397    }
398}
399
400impl std::fmt::Debug for super::DeleteInstanceRequest {
401    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
402        let mut debug_struct = f.debug_struct("DeleteInstanceRequest");
403        debug_struct.field("name", &self.name);
404        if !self._unknown_fields.is_empty() {
405            debug_struct.field("_unknown_fields", &self._unknown_fields);
406        }
407        debug_struct.finish()
408    }
409}
410
411impl std::fmt::Debug for super::CreateInstanceMetadata {
412    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
413        let mut debug_struct = f.debug_struct("CreateInstanceMetadata");
414        debug_struct.field("instance", &self.instance);
415        debug_struct.field("start_time", &self.start_time);
416        debug_struct.field("cancel_time", &self.cancel_time);
417        debug_struct.field("end_time", &self.end_time);
418        debug_struct.field(
419            "expected_fulfillment_period",
420            &self.expected_fulfillment_period,
421        );
422        if !self._unknown_fields.is_empty() {
423            debug_struct.field("_unknown_fields", &self._unknown_fields);
424        }
425        debug_struct.finish()
426    }
427}
428
429impl std::fmt::Debug for super::UpdateInstanceMetadata {
430    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
431        let mut debug_struct = f.debug_struct("UpdateInstanceMetadata");
432        debug_struct.field("instance", &self.instance);
433        debug_struct.field("start_time", &self.start_time);
434        debug_struct.field("cancel_time", &self.cancel_time);
435        debug_struct.field("end_time", &self.end_time);
436        debug_struct.field(
437            "expected_fulfillment_period",
438            &self.expected_fulfillment_period,
439        );
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::FreeInstanceMetadata {
448    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
449        let mut debug_struct = f.debug_struct("FreeInstanceMetadata");
450        debug_struct.field("expire_time", &self.expire_time);
451        debug_struct.field("upgrade_time", &self.upgrade_time);
452        debug_struct.field("expire_behavior", &self.expire_behavior);
453        if !self._unknown_fields.is_empty() {
454            debug_struct.field("_unknown_fields", &self._unknown_fields);
455        }
456        debug_struct.finish()
457    }
458}
459
460impl std::fmt::Debug for super::CreateInstanceConfigMetadata {
461    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
462        let mut debug_struct = f.debug_struct("CreateInstanceConfigMetadata");
463        debug_struct.field("instance_config", &self.instance_config);
464        debug_struct.field("progress", &self.progress);
465        debug_struct.field("cancel_time", &self.cancel_time);
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::UpdateInstanceConfigMetadata {
474    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
475        let mut debug_struct = f.debug_struct("UpdateInstanceConfigMetadata");
476        debug_struct.field("instance_config", &self.instance_config);
477        debug_struct.field("progress", &self.progress);
478        debug_struct.field("cancel_time", &self.cancel_time);
479        if !self._unknown_fields.is_empty() {
480            debug_struct.field("_unknown_fields", &self._unknown_fields);
481        }
482        debug_struct.finish()
483    }
484}
485
486impl std::fmt::Debug for super::InstancePartition {
487    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
488        let mut debug_struct = f.debug_struct("InstancePartition");
489        debug_struct.field("name", &self.name);
490        debug_struct.field("config", &self.config);
491        debug_struct.field("display_name", &self.display_name);
492        debug_struct.field("autoscaling_config", &self.autoscaling_config);
493        debug_struct.field("state", &self.state);
494        debug_struct.field("create_time", &self.create_time);
495        debug_struct.field("update_time", &self.update_time);
496        debug_struct.field("referencing_databases", &self.referencing_databases);
497        debug_struct.field("referencing_backups", &self.referencing_backups);
498        debug_struct.field("etag", &self.etag);
499        debug_struct.field("compute_capacity", &self.compute_capacity);
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::CreateInstancePartitionMetadata {
508    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
509        let mut debug_struct = f.debug_struct("CreateInstancePartitionMetadata");
510        debug_struct.field("instance_partition", &self.instance_partition);
511        debug_struct.field("start_time", &self.start_time);
512        debug_struct.field("cancel_time", &self.cancel_time);
513        debug_struct.field("end_time", &self.end_time);
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::CreateInstancePartitionRequest {
522    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
523        let mut debug_struct = f.debug_struct("CreateInstancePartitionRequest");
524        debug_struct.field("parent", &self.parent);
525        debug_struct.field("instance_partition_id", &self.instance_partition_id);
526        debug_struct.field("instance_partition", &self.instance_partition);
527        if !self._unknown_fields.is_empty() {
528            debug_struct.field("_unknown_fields", &self._unknown_fields);
529        }
530        debug_struct.finish()
531    }
532}
533
534impl std::fmt::Debug for super::DeleteInstancePartitionRequest {
535    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
536        let mut debug_struct = f.debug_struct("DeleteInstancePartitionRequest");
537        debug_struct.field("name", &self.name);
538        debug_struct.field("etag", &self.etag);
539        if !self._unknown_fields.is_empty() {
540            debug_struct.field("_unknown_fields", &self._unknown_fields);
541        }
542        debug_struct.finish()
543    }
544}
545
546impl std::fmt::Debug for super::GetInstancePartitionRequest {
547    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
548        let mut debug_struct = f.debug_struct("GetInstancePartitionRequest");
549        debug_struct.field("name", &self.name);
550        if !self._unknown_fields.is_empty() {
551            debug_struct.field("_unknown_fields", &self._unknown_fields);
552        }
553        debug_struct.finish()
554    }
555}
556
557impl std::fmt::Debug for super::UpdateInstancePartitionRequest {
558    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
559        let mut debug_struct = f.debug_struct("UpdateInstancePartitionRequest");
560        debug_struct.field("instance_partition", &self.instance_partition);
561        debug_struct.field("field_mask", &self.field_mask);
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::UpdateInstancePartitionMetadata {
570    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
571        let mut debug_struct = f.debug_struct("UpdateInstancePartitionMetadata");
572        debug_struct.field("instance_partition", &self.instance_partition);
573        debug_struct.field("start_time", &self.start_time);
574        debug_struct.field("cancel_time", &self.cancel_time);
575        debug_struct.field("end_time", &self.end_time);
576        if !self._unknown_fields.is_empty() {
577            debug_struct.field("_unknown_fields", &self._unknown_fields);
578        }
579        debug_struct.finish()
580    }
581}
582
583impl std::fmt::Debug for super::ListInstancePartitionsRequest {
584    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
585        let mut debug_struct = f.debug_struct("ListInstancePartitionsRequest");
586        debug_struct.field("parent", &self.parent);
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::ListInstancePartitionsResponse {
601    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
602        let mut debug_struct = f.debug_struct("ListInstancePartitionsResponse");
603        debug_struct.field("instance_partitions", &self.instance_partitions);
604        debug_struct.field("next_page_token", &self.next_page_token);
605        debug_struct.field("unreachable", &self.unreachable);
606        if !self._unknown_fields.is_empty() {
607            debug_struct.field("_unknown_fields", &self._unknown_fields);
608        }
609        debug_struct.finish()
610    }
611}
612
613impl std::fmt::Debug for super::ListInstancePartitionOperationsRequest {
614    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
615        let mut debug_struct = f.debug_struct("ListInstancePartitionOperationsRequest");
616        debug_struct.field("parent", &self.parent);
617        debug_struct.field("filter", &self.filter);
618        debug_struct.field("page_size", &self.page_size);
619        debug_struct.field("page_token", &self.page_token);
620        debug_struct.field(
621            "instance_partition_deadline",
622            &self.instance_partition_deadline,
623        );
624        if !self._unknown_fields.is_empty() {
625            debug_struct.field("_unknown_fields", &self._unknown_fields);
626        }
627        debug_struct.finish()
628    }
629}
630
631impl std::fmt::Debug for super::ListInstancePartitionOperationsResponse {
632    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
633        let mut debug_struct = f.debug_struct("ListInstancePartitionOperationsResponse");
634        debug_struct.field("operations", &self.operations);
635        debug_struct.field("next_page_token", &self.next_page_token);
636        debug_struct.field(
637            "unreachable_instance_partitions",
638            &self.unreachable_instance_partitions,
639        );
640        if !self._unknown_fields.is_empty() {
641            debug_struct.field("_unknown_fields", &self._unknown_fields);
642        }
643        debug_struct.finish()
644    }
645}
646
647impl std::fmt::Debug for super::MoveInstanceRequest {
648    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
649        let mut debug_struct = f.debug_struct("MoveInstanceRequest");
650        debug_struct.field("name", &self.name);
651        debug_struct.field("target_config", &self.target_config);
652        if !self._unknown_fields.is_empty() {
653            debug_struct.field("_unknown_fields", &self._unknown_fields);
654        }
655        debug_struct.finish()
656    }
657}
658
659impl std::fmt::Debug for super::MoveInstanceResponse {
660    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
661        let mut debug_struct = f.debug_struct("MoveInstanceResponse");
662        if !self._unknown_fields.is_empty() {
663            debug_struct.field("_unknown_fields", &self._unknown_fields);
664        }
665        debug_struct.finish()
666    }
667}
668
669impl std::fmt::Debug for super::MoveInstanceMetadata {
670    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
671        let mut debug_struct = f.debug_struct("MoveInstanceMetadata");
672        debug_struct.field("target_config", &self.target_config);
673        debug_struct.field("progress", &self.progress);
674        debug_struct.field("cancel_time", &self.cancel_time);
675        if !self._unknown_fields.is_empty() {
676            debug_struct.field("_unknown_fields", &self._unknown_fields);
677        }
678        debug_struct.finish()
679    }
680}