google_cloud_api/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::Authentication {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("Authentication");
23        debug_struct.field("rules", &self.rules);
24        debug_struct.field("providers", &self.providers);
25        if !self._unknown_fields.is_empty() {
26            debug_struct.field("_unknown_fields", &self._unknown_fields);
27        }
28        debug_struct.finish()
29    }
30}
31
32impl std::fmt::Debug for super::AuthenticationRule {
33    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
34        let mut debug_struct = f.debug_struct("AuthenticationRule");
35        debug_struct.field("selector", &self.selector);
36        debug_struct.field("oauth", &self.oauth);
37        debug_struct.field("allow_without_credential", &self.allow_without_credential);
38        debug_struct.field("requirements", &self.requirements);
39        if !self._unknown_fields.is_empty() {
40            debug_struct.field("_unknown_fields", &self._unknown_fields);
41        }
42        debug_struct.finish()
43    }
44}
45
46impl std::fmt::Debug for super::JwtLocation {
47    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
48        let mut debug_struct = f.debug_struct("JwtLocation");
49        debug_struct.field("value_prefix", &self.value_prefix);
50        debug_struct.field("r#in", &self.r#in);
51        if !self._unknown_fields.is_empty() {
52            debug_struct.field("_unknown_fields", &self._unknown_fields);
53        }
54        debug_struct.finish()
55    }
56}
57
58impl std::fmt::Debug for super::AuthProvider {
59    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
60        let mut debug_struct = f.debug_struct("AuthProvider");
61        debug_struct.field("id", &self.id);
62        debug_struct.field("issuer", &self.issuer);
63        debug_struct.field("jwks_uri", &self.jwks_uri);
64        debug_struct.field("audiences", &self.audiences);
65        debug_struct.field("authorization_url", &self.authorization_url);
66        debug_struct.field("jwt_locations", &self.jwt_locations);
67        if !self._unknown_fields.is_empty() {
68            debug_struct.field("_unknown_fields", &self._unknown_fields);
69        }
70        debug_struct.finish()
71    }
72}
73
74impl std::fmt::Debug for super::OAuthRequirements {
75    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
76        let mut debug_struct = f.debug_struct("OAuthRequirements");
77        debug_struct.field("canonical_scopes", &self.canonical_scopes);
78        if !self._unknown_fields.is_empty() {
79            debug_struct.field("_unknown_fields", &self._unknown_fields);
80        }
81        debug_struct.finish()
82    }
83}
84
85impl std::fmt::Debug for super::AuthRequirement {
86    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
87        let mut debug_struct = f.debug_struct("AuthRequirement");
88        debug_struct.field("provider_id", &self.provider_id);
89        debug_struct.field("audiences", &self.audiences);
90        if !self._unknown_fields.is_empty() {
91            debug_struct.field("_unknown_fields", &self._unknown_fields);
92        }
93        debug_struct.finish()
94    }
95}
96
97impl std::fmt::Debug for super::Backend {
98    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
99        let mut debug_struct = f.debug_struct("Backend");
100        debug_struct.field("rules", &self.rules);
101        if !self._unknown_fields.is_empty() {
102            debug_struct.field("_unknown_fields", &self._unknown_fields);
103        }
104        debug_struct.finish()
105    }
106}
107
108impl std::fmt::Debug for super::BackendRule {
109    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
110        let mut debug_struct = f.debug_struct("BackendRule");
111        debug_struct.field("selector", &self.selector);
112        debug_struct.field("address", &self.address);
113        debug_struct.field("deadline", &self.deadline);
114        debug_struct.field("min_deadline", &self.min_deadline);
115        debug_struct.field("operation_deadline", &self.operation_deadline);
116        debug_struct.field("path_translation", &self.path_translation);
117        debug_struct.field("protocol", &self.protocol);
118        debug_struct.field(
119            "overrides_by_request_protocol",
120            &self.overrides_by_request_protocol,
121        );
122        debug_struct.field("authentication", &self.authentication);
123        if !self._unknown_fields.is_empty() {
124            debug_struct.field("_unknown_fields", &self._unknown_fields);
125        }
126        debug_struct.finish()
127    }
128}
129
130impl std::fmt::Debug for super::Billing {
131    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
132        let mut debug_struct = f.debug_struct("Billing");
133        debug_struct.field("consumer_destinations", &self.consumer_destinations);
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::billing::BillingDestination {
142    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
143        let mut debug_struct = f.debug_struct("BillingDestination");
144        debug_struct.field("monitored_resource", &self.monitored_resource);
145        debug_struct.field("metrics", &self.metrics);
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::CommonLanguageSettings {
154    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
155        let mut debug_struct = f.debug_struct("CommonLanguageSettings");
156        debug_struct.field("reference_docs_uri", &self.reference_docs_uri);
157        debug_struct.field("destinations", &self.destinations);
158        debug_struct.field(
159            "selective_gapic_generation",
160            &self.selective_gapic_generation,
161        );
162        if !self._unknown_fields.is_empty() {
163            debug_struct.field("_unknown_fields", &self._unknown_fields);
164        }
165        debug_struct.finish()
166    }
167}
168
169impl std::fmt::Debug for super::ClientLibrarySettings {
170    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
171        let mut debug_struct = f.debug_struct("ClientLibrarySettings");
172        debug_struct.field("version", &self.version);
173        debug_struct.field("launch_stage", &self.launch_stage);
174        debug_struct.field("rest_numeric_enums", &self.rest_numeric_enums);
175        debug_struct.field("java_settings", &self.java_settings);
176        debug_struct.field("cpp_settings", &self.cpp_settings);
177        debug_struct.field("php_settings", &self.php_settings);
178        debug_struct.field("python_settings", &self.python_settings);
179        debug_struct.field("node_settings", &self.node_settings);
180        debug_struct.field("dotnet_settings", &self.dotnet_settings);
181        debug_struct.field("ruby_settings", &self.ruby_settings);
182        debug_struct.field("go_settings", &self.go_settings);
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::Publishing {
191    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
192        let mut debug_struct = f.debug_struct("Publishing");
193        debug_struct.field("method_settings", &self.method_settings);
194        debug_struct.field("new_issue_uri", &self.new_issue_uri);
195        debug_struct.field("documentation_uri", &self.documentation_uri);
196        debug_struct.field("api_short_name", &self.api_short_name);
197        debug_struct.field("github_label", &self.github_label);
198        debug_struct.field("codeowner_github_teams", &self.codeowner_github_teams);
199        debug_struct.field("doc_tag_prefix", &self.doc_tag_prefix);
200        debug_struct.field("organization", &self.organization);
201        debug_struct.field("library_settings", &self.library_settings);
202        debug_struct.field(
203            "proto_reference_documentation_uri",
204            &self.proto_reference_documentation_uri,
205        );
206        debug_struct.field(
207            "rest_reference_documentation_uri",
208            &self.rest_reference_documentation_uri,
209        );
210        if !self._unknown_fields.is_empty() {
211            debug_struct.field("_unknown_fields", &self._unknown_fields);
212        }
213        debug_struct.finish()
214    }
215}
216
217impl std::fmt::Debug for super::JavaSettings {
218    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
219        let mut debug_struct = f.debug_struct("JavaSettings");
220        debug_struct.field("library_package", &self.library_package);
221        debug_struct.field("service_class_names", &self.service_class_names);
222        debug_struct.field("common", &self.common);
223        if !self._unknown_fields.is_empty() {
224            debug_struct.field("_unknown_fields", &self._unknown_fields);
225        }
226        debug_struct.finish()
227    }
228}
229
230impl std::fmt::Debug for super::CppSettings {
231    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
232        let mut debug_struct = f.debug_struct("CppSettings");
233        debug_struct.field("common", &self.common);
234        if !self._unknown_fields.is_empty() {
235            debug_struct.field("_unknown_fields", &self._unknown_fields);
236        }
237        debug_struct.finish()
238    }
239}
240
241impl std::fmt::Debug for super::PhpSettings {
242    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
243        let mut debug_struct = f.debug_struct("PhpSettings");
244        debug_struct.field("common", &self.common);
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::PythonSettings {
253    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
254        let mut debug_struct = f.debug_struct("PythonSettings");
255        debug_struct.field("common", &self.common);
256        debug_struct.field("experimental_features", &self.experimental_features);
257        if !self._unknown_fields.is_empty() {
258            debug_struct.field("_unknown_fields", &self._unknown_fields);
259        }
260        debug_struct.finish()
261    }
262}
263
264impl std::fmt::Debug for super::python_settings::ExperimentalFeatures {
265    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
266        let mut debug_struct = f.debug_struct("ExperimentalFeatures");
267        debug_struct.field("rest_async_io_enabled", &self.rest_async_io_enabled);
268        debug_struct.field(
269            "protobuf_pythonic_types_enabled",
270            &self.protobuf_pythonic_types_enabled,
271        );
272        debug_struct.field(
273            "unversioned_package_disabled",
274            &self.unversioned_package_disabled,
275        );
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::NodeSettings {
284    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
285        let mut debug_struct = f.debug_struct("NodeSettings");
286        debug_struct.field("common", &self.common);
287        if !self._unknown_fields.is_empty() {
288            debug_struct.field("_unknown_fields", &self._unknown_fields);
289        }
290        debug_struct.finish()
291    }
292}
293
294impl std::fmt::Debug for super::DotnetSettings {
295    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
296        let mut debug_struct = f.debug_struct("DotnetSettings");
297        debug_struct.field("common", &self.common);
298        debug_struct.field("renamed_services", &self.renamed_services);
299        debug_struct.field("renamed_resources", &self.renamed_resources);
300        debug_struct.field("ignored_resources", &self.ignored_resources);
301        debug_struct.field("forced_namespace_aliases", &self.forced_namespace_aliases);
302        debug_struct.field("handwritten_signatures", &self.handwritten_signatures);
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::RubySettings {
311    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
312        let mut debug_struct = f.debug_struct("RubySettings");
313        debug_struct.field("common", &self.common);
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::GoSettings {
322    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
323        let mut debug_struct = f.debug_struct("GoSettings");
324        debug_struct.field("common", &self.common);
325        debug_struct.field("renamed_services", &self.renamed_services);
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::MethodSettings {
334    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
335        let mut debug_struct = f.debug_struct("MethodSettings");
336        debug_struct.field("selector", &self.selector);
337        debug_struct.field("long_running", &self.long_running);
338        debug_struct.field("auto_populated_fields", &self.auto_populated_fields);
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::method_settings::LongRunning {
347    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
348        let mut debug_struct = f.debug_struct("LongRunning");
349        debug_struct.field("initial_poll_delay", &self.initial_poll_delay);
350        debug_struct.field("poll_delay_multiplier", &self.poll_delay_multiplier);
351        debug_struct.field("max_poll_delay", &self.max_poll_delay);
352        debug_struct.field("total_poll_timeout", &self.total_poll_timeout);
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::SelectiveGapicGeneration {
361    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
362        let mut debug_struct = f.debug_struct("SelectiveGapicGeneration");
363        debug_struct.field("methods", &self.methods);
364        debug_struct.field(
365            "generate_omitted_as_internal",
366            &self.generate_omitted_as_internal,
367        );
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::ConfigChange {
376    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
377        let mut debug_struct = f.debug_struct("ConfigChange");
378        debug_struct.field("element", &self.element);
379        debug_struct.field("old_value", &self.old_value);
380        debug_struct.field("new_value", &self.new_value);
381        debug_struct.field("change_type", &self.change_type);
382        debug_struct.field("advices", &self.advices);
383        if !self._unknown_fields.is_empty() {
384            debug_struct.field("_unknown_fields", &self._unknown_fields);
385        }
386        debug_struct.finish()
387    }
388}
389
390impl std::fmt::Debug for super::Advice {
391    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
392        let mut debug_struct = f.debug_struct("Advice");
393        debug_struct.field("description", &self.description);
394        if !self._unknown_fields.is_empty() {
395            debug_struct.field("_unknown_fields", &self._unknown_fields);
396        }
397        debug_struct.finish()
398    }
399}
400
401impl std::fmt::Debug for super::ProjectProperties {
402    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
403        let mut debug_struct = f.debug_struct("ProjectProperties");
404        debug_struct.field("properties", &self.properties);
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::Property {
413    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
414        let mut debug_struct = f.debug_struct("Property");
415        debug_struct.field("name", &self.name);
416        debug_struct.field("r#type", &self.r#type);
417        debug_struct.field("description", &self.description);
418        if !self._unknown_fields.is_empty() {
419            debug_struct.field("_unknown_fields", &self._unknown_fields);
420        }
421        debug_struct.finish()
422    }
423}
424
425impl std::fmt::Debug for super::Context {
426    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
427        let mut debug_struct = f.debug_struct("Context");
428        debug_struct.field("rules", &self.rules);
429        if !self._unknown_fields.is_empty() {
430            debug_struct.field("_unknown_fields", &self._unknown_fields);
431        }
432        debug_struct.finish()
433    }
434}
435
436impl std::fmt::Debug for super::ContextRule {
437    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
438        let mut debug_struct = f.debug_struct("ContextRule");
439        debug_struct.field("selector", &self.selector);
440        debug_struct.field("requested", &self.requested);
441        debug_struct.field("provided", &self.provided);
442        debug_struct.field(
443            "allowed_request_extensions",
444            &self.allowed_request_extensions,
445        );
446        debug_struct.field(
447            "allowed_response_extensions",
448            &self.allowed_response_extensions,
449        );
450        if !self._unknown_fields.is_empty() {
451            debug_struct.field("_unknown_fields", &self._unknown_fields);
452        }
453        debug_struct.finish()
454    }
455}
456
457impl std::fmt::Debug for super::Control {
458    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
459        let mut debug_struct = f.debug_struct("Control");
460        debug_struct.field("environment", &self.environment);
461        debug_struct.field("method_policies", &self.method_policies);
462        if !self._unknown_fields.is_empty() {
463            debug_struct.field("_unknown_fields", &self._unknown_fields);
464        }
465        debug_struct.finish()
466    }
467}
468
469impl std::fmt::Debug for super::Distribution {
470    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
471        let mut debug_struct = f.debug_struct("Distribution");
472        debug_struct.field("count", &self.count);
473        debug_struct.field("mean", &self.mean);
474        debug_struct.field("sum_of_squared_deviation", &self.sum_of_squared_deviation);
475        debug_struct.field("range", &self.range);
476        debug_struct.field("bucket_options", &self.bucket_options);
477        debug_struct.field("bucket_counts", &self.bucket_counts);
478        debug_struct.field("exemplars", &self.exemplars);
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::distribution::Range {
487    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
488        let mut debug_struct = f.debug_struct("Range");
489        debug_struct.field("min", &self.min);
490        debug_struct.field("max", &self.max);
491        if !self._unknown_fields.is_empty() {
492            debug_struct.field("_unknown_fields", &self._unknown_fields);
493        }
494        debug_struct.finish()
495    }
496}
497
498impl std::fmt::Debug for super::distribution::BucketOptions {
499    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
500        let mut debug_struct = f.debug_struct("BucketOptions");
501        debug_struct.field("options", &self.options);
502        if !self._unknown_fields.is_empty() {
503            debug_struct.field("_unknown_fields", &self._unknown_fields);
504        }
505        debug_struct.finish()
506    }
507}
508
509impl std::fmt::Debug for super::distribution::bucket_options::Linear {
510    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
511        let mut debug_struct = f.debug_struct("Linear");
512        debug_struct.field("num_finite_buckets", &self.num_finite_buckets);
513        debug_struct.field("width", &self.width);
514        debug_struct.field("offset", &self.offset);
515        if !self._unknown_fields.is_empty() {
516            debug_struct.field("_unknown_fields", &self._unknown_fields);
517        }
518        debug_struct.finish()
519    }
520}
521
522impl std::fmt::Debug for super::distribution::bucket_options::Exponential {
523    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
524        let mut debug_struct = f.debug_struct("Exponential");
525        debug_struct.field("num_finite_buckets", &self.num_finite_buckets);
526        debug_struct.field("growth_factor", &self.growth_factor);
527        debug_struct.field("scale", &self.scale);
528        if !self._unknown_fields.is_empty() {
529            debug_struct.field("_unknown_fields", &self._unknown_fields);
530        }
531        debug_struct.finish()
532    }
533}
534
535impl std::fmt::Debug for super::distribution::bucket_options::Explicit {
536    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
537        let mut debug_struct = f.debug_struct("Explicit");
538        debug_struct.field("bounds", &self.bounds);
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::distribution::Exemplar {
547    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
548        let mut debug_struct = f.debug_struct("Exemplar");
549        debug_struct.field("value", &self.value);
550        debug_struct.field("timestamp", &self.timestamp);
551        debug_struct.field("attachments", &self.attachments);
552        if !self._unknown_fields.is_empty() {
553            debug_struct.field("_unknown_fields", &self._unknown_fields);
554        }
555        debug_struct.finish()
556    }
557}
558
559impl std::fmt::Debug for super::Documentation {
560    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
561        let mut debug_struct = f.debug_struct("Documentation");
562        debug_struct.field("summary", &self.summary);
563        debug_struct.field("pages", &self.pages);
564        debug_struct.field("rules", &self.rules);
565        debug_struct.field("documentation_root_url", &self.documentation_root_url);
566        debug_struct.field("service_root_url", &self.service_root_url);
567        debug_struct.field("overview", &self.overview);
568        if !self._unknown_fields.is_empty() {
569            debug_struct.field("_unknown_fields", &self._unknown_fields);
570        }
571        debug_struct.finish()
572    }
573}
574
575impl std::fmt::Debug for super::DocumentationRule {
576    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
577        let mut debug_struct = f.debug_struct("DocumentationRule");
578        debug_struct.field("selector", &self.selector);
579        debug_struct.field("description", &self.description);
580        debug_struct.field("deprecation_description", &self.deprecation_description);
581        if !self._unknown_fields.is_empty() {
582            debug_struct.field("_unknown_fields", &self._unknown_fields);
583        }
584        debug_struct.finish()
585    }
586}
587
588impl std::fmt::Debug for super::Page {
589    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
590        let mut debug_struct = f.debug_struct("Page");
591        debug_struct.field("name", &self.name);
592        debug_struct.field("content", &self.content);
593        debug_struct.field("subpages", &self.subpages);
594        if !self._unknown_fields.is_empty() {
595            debug_struct.field("_unknown_fields", &self._unknown_fields);
596        }
597        debug_struct.finish()
598    }
599}
600
601impl std::fmt::Debug for super::Endpoint {
602    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
603        let mut debug_struct = f.debug_struct("Endpoint");
604        debug_struct.field("name", &self.name);
605        debug_struct.field("aliases", &self.aliases);
606        debug_struct.field("target", &self.target);
607        debug_struct.field("allow_cors", &self.allow_cors);
608        if !self._unknown_fields.is_empty() {
609            debug_struct.field("_unknown_fields", &self._unknown_fields);
610        }
611        debug_struct.finish()
612    }
613}
614
615impl std::fmt::Debug for super::FieldInfo {
616    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
617        let mut debug_struct = f.debug_struct("FieldInfo");
618        debug_struct.field("format", &self.format);
619        debug_struct.field("referenced_types", &self.referenced_types);
620        if !self._unknown_fields.is_empty() {
621            debug_struct.field("_unknown_fields", &self._unknown_fields);
622        }
623        debug_struct.finish()
624    }
625}
626
627impl std::fmt::Debug for super::TypeReference {
628    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
629        let mut debug_struct = f.debug_struct("TypeReference");
630        debug_struct.field("type_name", &self.type_name);
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::Http {
639    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
640        let mut debug_struct = f.debug_struct("Http");
641        debug_struct.field("rules", &self.rules);
642        debug_struct.field(
643            "fully_decode_reserved_expansion",
644            &self.fully_decode_reserved_expansion,
645        );
646        if !self._unknown_fields.is_empty() {
647            debug_struct.field("_unknown_fields", &self._unknown_fields);
648        }
649        debug_struct.finish()
650    }
651}
652
653impl std::fmt::Debug for super::HttpRule {
654    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
655        let mut debug_struct = f.debug_struct("HttpRule");
656        debug_struct.field("selector", &self.selector);
657        debug_struct.field("body", &self.body);
658        debug_struct.field("response_body", &self.response_body);
659        debug_struct.field("additional_bindings", &self.additional_bindings);
660        debug_struct.field("pattern", &self.pattern);
661        if !self._unknown_fields.is_empty() {
662            debug_struct.field("_unknown_fields", &self._unknown_fields);
663        }
664        debug_struct.finish()
665    }
666}
667
668impl std::fmt::Debug for super::CustomHttpPattern {
669    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
670        let mut debug_struct = f.debug_struct("CustomHttpPattern");
671        debug_struct.field("kind", &self.kind);
672        debug_struct.field("path", &self.path);
673        if !self._unknown_fields.is_empty() {
674            debug_struct.field("_unknown_fields", &self._unknown_fields);
675        }
676        debug_struct.finish()
677    }
678}
679
680impl std::fmt::Debug for super::HttpBody {
681    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
682        let mut debug_struct = f.debug_struct("HttpBody");
683        debug_struct.field("content_type", &self.content_type);
684        debug_struct.field("data", &self.data);
685        debug_struct.field("extensions", &self.extensions);
686        if !self._unknown_fields.is_empty() {
687            debug_struct.field("_unknown_fields", &self._unknown_fields);
688        }
689        debug_struct.finish()
690    }
691}
692
693impl std::fmt::Debug for super::LabelDescriptor {
694    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
695        let mut debug_struct = f.debug_struct("LabelDescriptor");
696        debug_struct.field("key", &self.key);
697        debug_struct.field("value_type", &self.value_type);
698        debug_struct.field("description", &self.description);
699        if !self._unknown_fields.is_empty() {
700            debug_struct.field("_unknown_fields", &self._unknown_fields);
701        }
702        debug_struct.finish()
703    }
704}
705
706impl std::fmt::Debug for super::LogDescriptor {
707    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
708        let mut debug_struct = f.debug_struct("LogDescriptor");
709        debug_struct.field("name", &self.name);
710        debug_struct.field("labels", &self.labels);
711        debug_struct.field("description", &self.description);
712        debug_struct.field("display_name", &self.display_name);
713        if !self._unknown_fields.is_empty() {
714            debug_struct.field("_unknown_fields", &self._unknown_fields);
715        }
716        debug_struct.finish()
717    }
718}
719
720impl std::fmt::Debug for super::Logging {
721    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
722        let mut debug_struct = f.debug_struct("Logging");
723        debug_struct.field("producer_destinations", &self.producer_destinations);
724        debug_struct.field("consumer_destinations", &self.consumer_destinations);
725        if !self._unknown_fields.is_empty() {
726            debug_struct.field("_unknown_fields", &self._unknown_fields);
727        }
728        debug_struct.finish()
729    }
730}
731
732impl std::fmt::Debug for super::logging::LoggingDestination {
733    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
734        let mut debug_struct = f.debug_struct("LoggingDestination");
735        debug_struct.field("monitored_resource", &self.monitored_resource);
736        debug_struct.field("logs", &self.logs);
737        if !self._unknown_fields.is_empty() {
738            debug_struct.field("_unknown_fields", &self._unknown_fields);
739        }
740        debug_struct.finish()
741    }
742}
743
744impl std::fmt::Debug for super::MetricDescriptor {
745    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
746        let mut debug_struct = f.debug_struct("MetricDescriptor");
747        debug_struct.field("name", &self.name);
748        debug_struct.field("r#type", &self.r#type);
749        debug_struct.field("labels", &self.labels);
750        debug_struct.field("metric_kind", &self.metric_kind);
751        debug_struct.field("value_type", &self.value_type);
752        debug_struct.field("unit", &self.unit);
753        debug_struct.field("description", &self.description);
754        debug_struct.field("display_name", &self.display_name);
755        debug_struct.field("metadata", &self.metadata);
756        debug_struct.field("launch_stage", &self.launch_stage);
757        debug_struct.field("monitored_resource_types", &self.monitored_resource_types);
758        if !self._unknown_fields.is_empty() {
759            debug_struct.field("_unknown_fields", &self._unknown_fields);
760        }
761        debug_struct.finish()
762    }
763}
764
765impl std::fmt::Debug for super::metric_descriptor::MetricDescriptorMetadata {
766    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
767        let mut debug_struct = f.debug_struct("MetricDescriptorMetadata");
768        debug_struct.field("launch_stage", &self.launch_stage);
769        debug_struct.field("sample_period", &self.sample_period);
770        debug_struct.field("ingest_delay", &self.ingest_delay);
771        debug_struct.field(
772            "time_series_resource_hierarchy_level",
773            &self.time_series_resource_hierarchy_level,
774        );
775        if !self._unknown_fields.is_empty() {
776            debug_struct.field("_unknown_fields", &self._unknown_fields);
777        }
778        debug_struct.finish()
779    }
780}
781
782impl std::fmt::Debug for super::Metric {
783    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
784        let mut debug_struct = f.debug_struct("Metric");
785        debug_struct.field("r#type", &self.r#type);
786        debug_struct.field("labels", &self.labels);
787        if !self._unknown_fields.is_empty() {
788            debug_struct.field("_unknown_fields", &self._unknown_fields);
789        }
790        debug_struct.finish()
791    }
792}
793
794impl std::fmt::Debug for super::MonitoredResourceDescriptor {
795    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
796        let mut debug_struct = f.debug_struct("MonitoredResourceDescriptor");
797        debug_struct.field("name", &self.name);
798        debug_struct.field("r#type", &self.r#type);
799        debug_struct.field("display_name", &self.display_name);
800        debug_struct.field("description", &self.description);
801        debug_struct.field("labels", &self.labels);
802        debug_struct.field("launch_stage", &self.launch_stage);
803        if !self._unknown_fields.is_empty() {
804            debug_struct.field("_unknown_fields", &self._unknown_fields);
805        }
806        debug_struct.finish()
807    }
808}
809
810impl std::fmt::Debug for super::MonitoredResource {
811    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
812        let mut debug_struct = f.debug_struct("MonitoredResource");
813        debug_struct.field("r#type", &self.r#type);
814        debug_struct.field("labels", &self.labels);
815        if !self._unknown_fields.is_empty() {
816            debug_struct.field("_unknown_fields", &self._unknown_fields);
817        }
818        debug_struct.finish()
819    }
820}
821
822impl std::fmt::Debug for super::MonitoredResourceMetadata {
823    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
824        let mut debug_struct = f.debug_struct("MonitoredResourceMetadata");
825        debug_struct.field("system_labels", &self.system_labels);
826        debug_struct.field("user_labels", &self.user_labels);
827        if !self._unknown_fields.is_empty() {
828            debug_struct.field("_unknown_fields", &self._unknown_fields);
829        }
830        debug_struct.finish()
831    }
832}
833
834impl std::fmt::Debug for super::Monitoring {
835    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
836        let mut debug_struct = f.debug_struct("Monitoring");
837        debug_struct.field("producer_destinations", &self.producer_destinations);
838        debug_struct.field("consumer_destinations", &self.consumer_destinations);
839        if !self._unknown_fields.is_empty() {
840            debug_struct.field("_unknown_fields", &self._unknown_fields);
841        }
842        debug_struct.finish()
843    }
844}
845
846impl std::fmt::Debug for super::monitoring::MonitoringDestination {
847    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
848        let mut debug_struct = f.debug_struct("MonitoringDestination");
849        debug_struct.field("monitored_resource", &self.monitored_resource);
850        debug_struct.field("metrics", &self.metrics);
851        if !self._unknown_fields.is_empty() {
852            debug_struct.field("_unknown_fields", &self._unknown_fields);
853        }
854        debug_struct.finish()
855    }
856}
857
858impl std::fmt::Debug for super::FieldPolicy {
859    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
860        let mut debug_struct = f.debug_struct("FieldPolicy");
861        debug_struct.field("selector", &self.selector);
862        debug_struct.field("resource_permission", &self.resource_permission);
863        debug_struct.field("resource_type", &self.resource_type);
864        if !self._unknown_fields.is_empty() {
865            debug_struct.field("_unknown_fields", &self._unknown_fields);
866        }
867        debug_struct.finish()
868    }
869}
870
871impl std::fmt::Debug for super::MethodPolicy {
872    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
873        let mut debug_struct = f.debug_struct("MethodPolicy");
874        debug_struct.field("selector", &self.selector);
875        debug_struct.field("request_policies", &self.request_policies);
876        if !self._unknown_fields.is_empty() {
877            debug_struct.field("_unknown_fields", &self._unknown_fields);
878        }
879        debug_struct.finish()
880    }
881}
882
883impl std::fmt::Debug for super::Quota {
884    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
885        let mut debug_struct = f.debug_struct("Quota");
886        debug_struct.field("limits", &self.limits);
887        debug_struct.field("metric_rules", &self.metric_rules);
888        if !self._unknown_fields.is_empty() {
889            debug_struct.field("_unknown_fields", &self._unknown_fields);
890        }
891        debug_struct.finish()
892    }
893}
894
895impl std::fmt::Debug for super::MetricRule {
896    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
897        let mut debug_struct = f.debug_struct("MetricRule");
898        debug_struct.field("selector", &self.selector);
899        debug_struct.field("metric_costs", &self.metric_costs);
900        if !self._unknown_fields.is_empty() {
901            debug_struct.field("_unknown_fields", &self._unknown_fields);
902        }
903        debug_struct.finish()
904    }
905}
906
907impl std::fmt::Debug for super::QuotaLimit {
908    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
909        let mut debug_struct = f.debug_struct("QuotaLimit");
910        debug_struct.field("name", &self.name);
911        debug_struct.field("description", &self.description);
912        debug_struct.field("default_limit", &self.default_limit);
913        debug_struct.field("max_limit", &self.max_limit);
914        debug_struct.field("free_tier", &self.free_tier);
915        debug_struct.field("duration", &self.duration);
916        debug_struct.field("metric", &self.metric);
917        debug_struct.field("unit", &self.unit);
918        debug_struct.field("values", &self.values);
919        debug_struct.field("display_name", &self.display_name);
920        if !self._unknown_fields.is_empty() {
921            debug_struct.field("_unknown_fields", &self._unknown_fields);
922        }
923        debug_struct.finish()
924    }
925}
926
927impl std::fmt::Debug for super::ResourceDescriptor {
928    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
929        let mut debug_struct = f.debug_struct("ResourceDescriptor");
930        debug_struct.field("r#type", &self.r#type);
931        debug_struct.field("pattern", &self.pattern);
932        debug_struct.field("name_field", &self.name_field);
933        debug_struct.field("history", &self.history);
934        debug_struct.field("plural", &self.plural);
935        debug_struct.field("singular", &self.singular);
936        debug_struct.field("style", &self.style);
937        if !self._unknown_fields.is_empty() {
938            debug_struct.field("_unknown_fields", &self._unknown_fields);
939        }
940        debug_struct.finish()
941    }
942}
943
944impl std::fmt::Debug for super::ResourceReference {
945    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
946        let mut debug_struct = f.debug_struct("ResourceReference");
947        debug_struct.field("r#type", &self.r#type);
948        debug_struct.field("child_type", &self.child_type);
949        if !self._unknown_fields.is_empty() {
950            debug_struct.field("_unknown_fields", &self._unknown_fields);
951        }
952        debug_struct.finish()
953    }
954}
955
956impl std::fmt::Debug for super::RoutingRule {
957    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
958        let mut debug_struct = f.debug_struct("RoutingRule");
959        debug_struct.field("routing_parameters", &self.routing_parameters);
960        if !self._unknown_fields.is_empty() {
961            debug_struct.field("_unknown_fields", &self._unknown_fields);
962        }
963        debug_struct.finish()
964    }
965}
966
967impl std::fmt::Debug for super::RoutingParameter {
968    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
969        let mut debug_struct = f.debug_struct("RoutingParameter");
970        debug_struct.field("field", &self.field);
971        debug_struct.field("path_template", &self.path_template);
972        if !self._unknown_fields.is_empty() {
973            debug_struct.field("_unknown_fields", &self._unknown_fields);
974        }
975        debug_struct.finish()
976    }
977}
978
979impl std::fmt::Debug for super::Service {
980    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
981        let mut debug_struct = f.debug_struct("Service");
982        debug_struct.field("name", &self.name);
983        debug_struct.field("title", &self.title);
984        debug_struct.field("producer_project_id", &self.producer_project_id);
985        debug_struct.field("id", &self.id);
986        debug_struct.field("apis", &self.apis);
987        debug_struct.field("types", &self.types);
988        debug_struct.field("enums", &self.enums);
989        debug_struct.field("documentation", &self.documentation);
990        debug_struct.field("backend", &self.backend);
991        debug_struct.field("http", &self.http);
992        debug_struct.field("quota", &self.quota);
993        debug_struct.field("authentication", &self.authentication);
994        debug_struct.field("context", &self.context);
995        debug_struct.field("usage", &self.usage);
996        debug_struct.field("endpoints", &self.endpoints);
997        debug_struct.field("control", &self.control);
998        debug_struct.field("logs", &self.logs);
999        debug_struct.field("metrics", &self.metrics);
1000        debug_struct.field("monitored_resources", &self.monitored_resources);
1001        debug_struct.field("billing", &self.billing);
1002        debug_struct.field("logging", &self.logging);
1003        debug_struct.field("monitoring", &self.monitoring);
1004        debug_struct.field("system_parameters", &self.system_parameters);
1005        debug_struct.field("source_info", &self.source_info);
1006        debug_struct.field("publishing", &self.publishing);
1007        debug_struct.field("config_version", &self.config_version);
1008        if !self._unknown_fields.is_empty() {
1009            debug_struct.field("_unknown_fields", &self._unknown_fields);
1010        }
1011        debug_struct.finish()
1012    }
1013}
1014
1015impl std::fmt::Debug for super::SourceInfo {
1016    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1017        let mut debug_struct = f.debug_struct("SourceInfo");
1018        debug_struct.field("source_files", &self.source_files);
1019        if !self._unknown_fields.is_empty() {
1020            debug_struct.field("_unknown_fields", &self._unknown_fields);
1021        }
1022        debug_struct.finish()
1023    }
1024}
1025
1026impl std::fmt::Debug for super::SystemParameters {
1027    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1028        let mut debug_struct = f.debug_struct("SystemParameters");
1029        debug_struct.field("rules", &self.rules);
1030        if !self._unknown_fields.is_empty() {
1031            debug_struct.field("_unknown_fields", &self._unknown_fields);
1032        }
1033        debug_struct.finish()
1034    }
1035}
1036
1037impl std::fmt::Debug for super::SystemParameterRule {
1038    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1039        let mut debug_struct = f.debug_struct("SystemParameterRule");
1040        debug_struct.field("selector", &self.selector);
1041        debug_struct.field("parameters", &self.parameters);
1042        if !self._unknown_fields.is_empty() {
1043            debug_struct.field("_unknown_fields", &self._unknown_fields);
1044        }
1045        debug_struct.finish()
1046    }
1047}
1048
1049impl std::fmt::Debug for super::SystemParameter {
1050    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1051        let mut debug_struct = f.debug_struct("SystemParameter");
1052        debug_struct.field("name", &self.name);
1053        debug_struct.field("http_header", &self.http_header);
1054        debug_struct.field("url_query_parameter", &self.url_query_parameter);
1055        if !self._unknown_fields.is_empty() {
1056            debug_struct.field("_unknown_fields", &self._unknown_fields);
1057        }
1058        debug_struct.finish()
1059    }
1060}
1061
1062impl std::fmt::Debug for super::Usage {
1063    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1064        let mut debug_struct = f.debug_struct("Usage");
1065        debug_struct.field("requirements", &self.requirements);
1066        debug_struct.field("rules", &self.rules);
1067        debug_struct.field(
1068            "producer_notification_channel",
1069            &self.producer_notification_channel,
1070        );
1071        if !self._unknown_fields.is_empty() {
1072            debug_struct.field("_unknown_fields", &self._unknown_fields);
1073        }
1074        debug_struct.finish()
1075    }
1076}
1077
1078impl std::fmt::Debug for super::UsageRule {
1079    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1080        let mut debug_struct = f.debug_struct("UsageRule");
1081        debug_struct.field("selector", &self.selector);
1082        debug_struct.field("allow_unregistered_calls", &self.allow_unregistered_calls);
1083        debug_struct.field("skip_service_control", &self.skip_service_control);
1084        if !self._unknown_fields.is_empty() {
1085            debug_struct.field("_unknown_fields", &self._unknown_fields);
1086        }
1087        debug_struct.finish()
1088    }
1089}
1090
1091impl std::fmt::Debug for super::Visibility {
1092    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1093        let mut debug_struct = f.debug_struct("Visibility");
1094        debug_struct.field("rules", &self.rules);
1095        if !self._unknown_fields.is_empty() {
1096            debug_struct.field("_unknown_fields", &self._unknown_fields);
1097        }
1098        debug_struct.finish()
1099    }
1100}
1101
1102impl std::fmt::Debug for super::VisibilityRule {
1103    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1104        let mut debug_struct = f.debug_struct("VisibilityRule");
1105        debug_struct.field("selector", &self.selector);
1106        debug_struct.field("restriction", &self.restriction);
1107        if !self._unknown_fields.is_empty() {
1108            debug_struct.field("_unknown_fields", &self._unknown_fields);
1109        }
1110        debug_struct.finish()
1111    }
1112}