Skip to main content

google_cloud_edgenetwork_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::Zone {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("Zone");
23        debug_struct.field("name", &self.name);
24        debug_struct.field("create_time", &self.create_time);
25        debug_struct.field("update_time", &self.update_time);
26        debug_struct.field("labels", &self.labels);
27        debug_struct.field("layout_name", &self.layout_name);
28        if !self._unknown_fields.is_empty() {
29            debug_struct.field("_unknown_fields", &self._unknown_fields);
30        }
31        debug_struct.finish()
32    }
33}
34
35impl std::fmt::Debug for super::Network {
36    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
37        let mut debug_struct = f.debug_struct("Network");
38        debug_struct.field("name", &self.name);
39        debug_struct.field("create_time", &self.create_time);
40        debug_struct.field("update_time", &self.update_time);
41        debug_struct.field("labels", &self.labels);
42        debug_struct.field("description", &self.description);
43        debug_struct.field("mtu", &self.mtu);
44        if !self._unknown_fields.is_empty() {
45            debug_struct.field("_unknown_fields", &self._unknown_fields);
46        }
47        debug_struct.finish()
48    }
49}
50
51impl std::fmt::Debug for super::Subnet {
52    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
53        let mut debug_struct = f.debug_struct("Subnet");
54        debug_struct.field("name", &self.name);
55        debug_struct.field("create_time", &self.create_time);
56        debug_struct.field("update_time", &self.update_time);
57        debug_struct.field("labels", &self.labels);
58        debug_struct.field("description", &self.description);
59        debug_struct.field("network", &self.network);
60        debug_struct.field("ipv4_cidr", &self.ipv4_cidr);
61        debug_struct.field("ipv6_cidr", &self.ipv6_cidr);
62        debug_struct.field("vlan_id", &self.vlan_id);
63        debug_struct.field("bonding_type", &self.bonding_type);
64        debug_struct.field("state", &self.state);
65        if !self._unknown_fields.is_empty() {
66            debug_struct.field("_unknown_fields", &self._unknown_fields);
67        }
68        debug_struct.finish()
69    }
70}
71
72impl std::fmt::Debug for super::Interconnect {
73    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
74        let mut debug_struct = f.debug_struct("Interconnect");
75        debug_struct.field("name", &self.name);
76        debug_struct.field("create_time", &self.create_time);
77        debug_struct.field("update_time", &self.update_time);
78        debug_struct.field("labels", &self.labels);
79        debug_struct.field("description", &self.description);
80        debug_struct.field("interconnect_type", &self.interconnect_type);
81        debug_struct.field("uuid", &self.uuid);
82        debug_struct.field(
83            "device_cloud_resource_name",
84            &self.device_cloud_resource_name,
85        );
86        debug_struct.field("physical_ports", &self.physical_ports);
87        debug_struct.field(
88            "remote_peering_network_type",
89            &self.remote_peering_network_type,
90        );
91        if !self._unknown_fields.is_empty() {
92            debug_struct.field("_unknown_fields", &self._unknown_fields);
93        }
94        debug_struct.finish()
95    }
96}
97
98impl std::fmt::Debug for super::InterconnectAttachment {
99    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
100        let mut debug_struct = f.debug_struct("InterconnectAttachment");
101        debug_struct.field("name", &self.name);
102        debug_struct.field("create_time", &self.create_time);
103        debug_struct.field("update_time", &self.update_time);
104        debug_struct.field("labels", &self.labels);
105        debug_struct.field("description", &self.description);
106        debug_struct.field("interconnect", &self.interconnect);
107        debug_struct.field("network", &self.network);
108        debug_struct.field("vlan_id", &self.vlan_id);
109        debug_struct.field("mtu", &self.mtu);
110        debug_struct.field("state", &self.state);
111        debug_struct.field("peering_type", &self.peering_type);
112        if !self._unknown_fields.is_empty() {
113            debug_struct.field("_unknown_fields", &self._unknown_fields);
114        }
115        debug_struct.finish()
116    }
117}
118
119impl std::fmt::Debug for super::Router {
120    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
121        let mut debug_struct = f.debug_struct("Router");
122        debug_struct.field("name", &self.name);
123        debug_struct.field("create_time", &self.create_time);
124        debug_struct.field("update_time", &self.update_time);
125        debug_struct.field("labels", &self.labels);
126        debug_struct.field("description", &self.description);
127        debug_struct.field("network", &self.network);
128        debug_struct.field("interface", &self.interface);
129        debug_struct.field("bgp_peer", &self.bgp_peer);
130        debug_struct.field("bgp", &self.bgp);
131        debug_struct.field("state", &self.state);
132        debug_struct.field("route_advertisements", &self.route_advertisements);
133        if !self._unknown_fields.is_empty() {
134            debug_struct.field("_unknown_fields", &self._unknown_fields);
135        }
136        debug_struct.finish()
137    }
138}
139
140impl std::fmt::Debug for super::router::Interface {
141    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
142        let mut debug_struct = f.debug_struct("Interface");
143        debug_struct.field("name", &self.name);
144        debug_struct.field("ipv4_cidr", &self.ipv4_cidr);
145        debug_struct.field("ipv6_cidr", &self.ipv6_cidr);
146        debug_struct.field(
147            "linked_interconnect_attachment",
148            &self.linked_interconnect_attachment,
149        );
150        debug_struct.field("subnetwork", &self.subnetwork);
151        debug_struct.field("loopback_ip_addresses", &self.loopback_ip_addresses);
152        if !self._unknown_fields.is_empty() {
153            debug_struct.field("_unknown_fields", &self._unknown_fields);
154        }
155        debug_struct.finish()
156    }
157}
158
159impl std::fmt::Debug for super::router::BgpPeer {
160    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
161        let mut debug_struct = f.debug_struct("BgpPeer");
162        debug_struct.field("name", &self.name);
163        debug_struct.field("interface", &self.interface);
164        debug_struct.field("interface_ipv4_cidr", &self.interface_ipv4_cidr);
165        debug_struct.field("interface_ipv6_cidr", &self.interface_ipv6_cidr);
166        debug_struct.field("peer_ipv4_cidr", &self.peer_ipv4_cidr);
167        debug_struct.field("peer_ipv6_cidr", &self.peer_ipv6_cidr);
168        debug_struct.field("peer_asn", &self.peer_asn);
169        debug_struct.field("local_asn", &self.local_asn);
170        if !self._unknown_fields.is_empty() {
171            debug_struct.field("_unknown_fields", &self._unknown_fields);
172        }
173        debug_struct.finish()
174    }
175}
176
177impl std::fmt::Debug for super::router::Bgp {
178    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
179        let mut debug_struct = f.debug_struct("Bgp");
180        debug_struct.field("asn", &self.asn);
181        debug_struct.field(
182            "keepalive_interval_in_seconds",
183            &self.keepalive_interval_in_seconds,
184        );
185        if !self._unknown_fields.is_empty() {
186            debug_struct.field("_unknown_fields", &self._unknown_fields);
187        }
188        debug_struct.finish()
189    }
190}
191
192impl std::fmt::Debug for super::LinkLayerAddress {
193    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
194        let mut debug_struct = f.debug_struct("LinkLayerAddress");
195        debug_struct.field("mac_address", &self.mac_address);
196        debug_struct.field("ip_address", &self.ip_address);
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::SubnetStatus {
205    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
206        let mut debug_struct = f.debug_struct("SubnetStatus");
207        debug_struct.field("name", &self.name);
208        debug_struct.field("mac_address", &self.mac_address);
209        debug_struct.field("link_layer_addresses", &self.link_layer_addresses);
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::InterconnectDiagnostics {
218    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
219        let mut debug_struct = f.debug_struct("InterconnectDiagnostics");
220        debug_struct.field("mac_address", &self.mac_address);
221        debug_struct.field("link_layer_addresses", &self.link_layer_addresses);
222        debug_struct.field("links", &self.links);
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::interconnect_diagnostics::LinkStatus {
231    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
232        let mut debug_struct = f.debug_struct("LinkStatus");
233        debug_struct.field("circuit_id", &self.circuit_id);
234        debug_struct.field("lacp_status", &self.lacp_status);
235        debug_struct.field("lldp_statuses", &self.lldp_statuses);
236        debug_struct.field("packet_counts", &self.packet_counts);
237        if !self._unknown_fields.is_empty() {
238            debug_struct.field("_unknown_fields", &self._unknown_fields);
239        }
240        debug_struct.finish()
241    }
242}
243
244impl std::fmt::Debug for super::interconnect_diagnostics::PacketCounts {
245    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
246        let mut debug_struct = f.debug_struct("PacketCounts");
247        debug_struct.field("inbound_unicast", &self.inbound_unicast);
248        debug_struct.field("inbound_errors", &self.inbound_errors);
249        debug_struct.field("inbound_discards", &self.inbound_discards);
250        debug_struct.field("outbound_unicast", &self.outbound_unicast);
251        debug_struct.field("outbound_errors", &self.outbound_errors);
252        debug_struct.field("outbound_discards", &self.outbound_discards);
253        if !self._unknown_fields.is_empty() {
254            debug_struct.field("_unknown_fields", &self._unknown_fields);
255        }
256        debug_struct.finish()
257    }
258}
259
260impl std::fmt::Debug for super::interconnect_diagnostics::LinkLACPStatus {
261    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
262        let mut debug_struct = f.debug_struct("LinkLACPStatus");
263        debug_struct.field("state", &self.state);
264        debug_struct.field("google_system_id", &self.google_system_id);
265        debug_struct.field("neighbor_system_id", &self.neighbor_system_id);
266        debug_struct.field("aggregatable", &self.aggregatable);
267        debug_struct.field("collecting", &self.collecting);
268        debug_struct.field("distributing", &self.distributing);
269        if !self._unknown_fields.is_empty() {
270            debug_struct.field("_unknown_fields", &self._unknown_fields);
271        }
272        debug_struct.finish()
273    }
274}
275
276impl std::fmt::Debug for super::interconnect_diagnostics::LinkLLDPStatus {
277    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
278        let mut debug_struct = f.debug_struct("LinkLLDPStatus");
279        debug_struct.field("peer_system_name", &self.peer_system_name);
280        debug_struct.field("peer_system_description", &self.peer_system_description);
281        debug_struct.field("peer_chassis_id", &self.peer_chassis_id);
282        debug_struct.field("peer_chassis_id_type", &self.peer_chassis_id_type);
283        debug_struct.field("peer_port_id", &self.peer_port_id);
284        debug_struct.field("peer_port_id_type", &self.peer_port_id_type);
285        if !self._unknown_fields.is_empty() {
286            debug_struct.field("_unknown_fields", &self._unknown_fields);
287        }
288        debug_struct.finish()
289    }
290}
291
292impl std::fmt::Debug for super::RouterStatus {
293    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
294        let mut debug_struct = f.debug_struct("RouterStatus");
295        debug_struct.field("network", &self.network);
296        debug_struct.field("bgp_peer_status", &self.bgp_peer_status);
297        if !self._unknown_fields.is_empty() {
298            debug_struct.field("_unknown_fields", &self._unknown_fields);
299        }
300        debug_struct.finish()
301    }
302}
303
304impl std::fmt::Debug for super::router_status::BgpPeerStatus {
305    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
306        let mut debug_struct = f.debug_struct("BgpPeerStatus");
307        debug_struct.field("name", &self.name);
308        debug_struct.field("ip_address", &self.ip_address);
309        debug_struct.field("peer_ip_address", &self.peer_ip_address);
310        debug_struct.field("status", &self.status);
311        debug_struct.field("state", &self.state);
312        debug_struct.field("uptime", &self.uptime);
313        debug_struct.field("uptime_seconds", &self.uptime_seconds);
314        debug_struct.field("prefix_counter", &self.prefix_counter);
315        if !self._unknown_fields.is_empty() {
316            debug_struct.field("_unknown_fields", &self._unknown_fields);
317        }
318        debug_struct.finish()
319    }
320}
321
322impl std::fmt::Debug for super::router_status::PrefixCounter {
323    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
324        let mut debug_struct = f.debug_struct("PrefixCounter");
325        debug_struct.field("advertised", &self.advertised);
326        debug_struct.field("denied", &self.denied);
327        debug_struct.field("received", &self.received);
328        debug_struct.field("sent", &self.sent);
329        debug_struct.field("suppressed", &self.suppressed);
330        debug_struct.field("withdrawn", &self.withdrawn);
331        if !self._unknown_fields.is_empty() {
332            debug_struct.field("_unknown_fields", &self._unknown_fields);
333        }
334        debug_struct.finish()
335    }
336}
337
338impl std::fmt::Debug for super::ListZonesRequest {
339    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
340        let mut debug_struct = f.debug_struct("ListZonesRequest");
341        debug_struct.field("parent", &self.parent);
342        debug_struct.field("page_size", &self.page_size);
343        debug_struct.field("page_token", &self.page_token);
344        debug_struct.field("filter", &self.filter);
345        debug_struct.field("order_by", &self.order_by);
346        if !self._unknown_fields.is_empty() {
347            debug_struct.field("_unknown_fields", &self._unknown_fields);
348        }
349        debug_struct.finish()
350    }
351}
352
353impl std::fmt::Debug for super::ListZonesResponse {
354    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
355        let mut debug_struct = f.debug_struct("ListZonesResponse");
356        debug_struct.field("zones", &self.zones);
357        debug_struct.field("next_page_token", &self.next_page_token);
358        debug_struct.field("unreachable", &self.unreachable);
359        if !self._unknown_fields.is_empty() {
360            debug_struct.field("_unknown_fields", &self._unknown_fields);
361        }
362        debug_struct.finish()
363    }
364}
365
366impl std::fmt::Debug for super::GetZoneRequest {
367    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
368        let mut debug_struct = f.debug_struct("GetZoneRequest");
369        debug_struct.field("name", &self.name);
370        if !self._unknown_fields.is_empty() {
371            debug_struct.field("_unknown_fields", &self._unknown_fields);
372        }
373        debug_struct.finish()
374    }
375}
376
377impl std::fmt::Debug for super::ListNetworksRequest {
378    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
379        let mut debug_struct = f.debug_struct("ListNetworksRequest");
380        debug_struct.field("parent", &self.parent);
381        debug_struct.field("page_size", &self.page_size);
382        debug_struct.field("page_token", &self.page_token);
383        debug_struct.field("filter", &self.filter);
384        debug_struct.field("order_by", &self.order_by);
385        if !self._unknown_fields.is_empty() {
386            debug_struct.field("_unknown_fields", &self._unknown_fields);
387        }
388        debug_struct.finish()
389    }
390}
391
392impl std::fmt::Debug for super::ListNetworksResponse {
393    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
394        let mut debug_struct = f.debug_struct("ListNetworksResponse");
395        debug_struct.field("networks", &self.networks);
396        debug_struct.field("next_page_token", &self.next_page_token);
397        debug_struct.field("unreachable", &self.unreachable);
398        if !self._unknown_fields.is_empty() {
399            debug_struct.field("_unknown_fields", &self._unknown_fields);
400        }
401        debug_struct.finish()
402    }
403}
404
405impl std::fmt::Debug for super::GetNetworkRequest {
406    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
407        let mut debug_struct = f.debug_struct("GetNetworkRequest");
408        debug_struct.field("name", &self.name);
409        if !self._unknown_fields.is_empty() {
410            debug_struct.field("_unknown_fields", &self._unknown_fields);
411        }
412        debug_struct.finish()
413    }
414}
415
416impl std::fmt::Debug for super::CreateNetworkRequest {
417    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
418        let mut debug_struct = f.debug_struct("CreateNetworkRequest");
419        debug_struct.field("parent", &self.parent);
420        debug_struct.field("network_id", &self.network_id);
421        debug_struct.field("network", &self.network);
422        debug_struct.field("request_id", &self.request_id);
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::DeleteNetworkRequest {
431    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
432        let mut debug_struct = f.debug_struct("DeleteNetworkRequest");
433        debug_struct.field("name", &self.name);
434        debug_struct.field("request_id", &self.request_id);
435        if !self._unknown_fields.is_empty() {
436            debug_struct.field("_unknown_fields", &self._unknown_fields);
437        }
438        debug_struct.finish()
439    }
440}
441
442impl std::fmt::Debug for super::ListSubnetsRequest {
443    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
444        let mut debug_struct = f.debug_struct("ListSubnetsRequest");
445        debug_struct.field("parent", &self.parent);
446        debug_struct.field("page_size", &self.page_size);
447        debug_struct.field("page_token", &self.page_token);
448        debug_struct.field("filter", &self.filter);
449        debug_struct.field("order_by", &self.order_by);
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::ListSubnetsResponse {
458    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
459        let mut debug_struct = f.debug_struct("ListSubnetsResponse");
460        debug_struct.field("subnets", &self.subnets);
461        debug_struct.field("next_page_token", &self.next_page_token);
462        debug_struct.field("unreachable", &self.unreachable);
463        if !self._unknown_fields.is_empty() {
464            debug_struct.field("_unknown_fields", &self._unknown_fields);
465        }
466        debug_struct.finish()
467    }
468}
469
470impl std::fmt::Debug for super::GetSubnetRequest {
471    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
472        let mut debug_struct = f.debug_struct("GetSubnetRequest");
473        debug_struct.field("name", &self.name);
474        if !self._unknown_fields.is_empty() {
475            debug_struct.field("_unknown_fields", &self._unknown_fields);
476        }
477        debug_struct.finish()
478    }
479}
480
481impl std::fmt::Debug for super::CreateSubnetRequest {
482    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
483        let mut debug_struct = f.debug_struct("CreateSubnetRequest");
484        debug_struct.field("parent", &self.parent);
485        debug_struct.field("subnet_id", &self.subnet_id);
486        debug_struct.field("subnet", &self.subnet);
487        debug_struct.field("request_id", &self.request_id);
488        if !self._unknown_fields.is_empty() {
489            debug_struct.field("_unknown_fields", &self._unknown_fields);
490        }
491        debug_struct.finish()
492    }
493}
494
495impl std::fmt::Debug for super::UpdateSubnetRequest {
496    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
497        let mut debug_struct = f.debug_struct("UpdateSubnetRequest");
498        debug_struct.field("update_mask", &self.update_mask);
499        debug_struct.field("subnet", &self.subnet);
500        debug_struct.field("request_id", &self.request_id);
501        if !self._unknown_fields.is_empty() {
502            debug_struct.field("_unknown_fields", &self._unknown_fields);
503        }
504        debug_struct.finish()
505    }
506}
507
508impl std::fmt::Debug for super::DeleteSubnetRequest {
509    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
510        let mut debug_struct = f.debug_struct("DeleteSubnetRequest");
511        debug_struct.field("name", &self.name);
512        debug_struct.field("request_id", &self.request_id);
513        if !self._unknown_fields.is_empty() {
514            debug_struct.field("_unknown_fields", &self._unknown_fields);
515        }
516        debug_struct.finish()
517    }
518}
519
520impl std::fmt::Debug for super::ListInterconnectsRequest {
521    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
522        let mut debug_struct = f.debug_struct("ListInterconnectsRequest");
523        debug_struct.field("parent", &self.parent);
524        debug_struct.field("page_size", &self.page_size);
525        debug_struct.field("page_token", &self.page_token);
526        debug_struct.field("filter", &self.filter);
527        debug_struct.field("order_by", &self.order_by);
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::ListInterconnectsResponse {
536    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
537        let mut debug_struct = f.debug_struct("ListInterconnectsResponse");
538        debug_struct.field("interconnects", &self.interconnects);
539        debug_struct.field("next_page_token", &self.next_page_token);
540        debug_struct.field("unreachable", &self.unreachable);
541        if !self._unknown_fields.is_empty() {
542            debug_struct.field("_unknown_fields", &self._unknown_fields);
543        }
544        debug_struct.finish()
545    }
546}
547
548impl std::fmt::Debug for super::GetInterconnectRequest {
549    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
550        let mut debug_struct = f.debug_struct("GetInterconnectRequest");
551        debug_struct.field("name", &self.name);
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::ListInterconnectAttachmentsRequest {
560    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
561        let mut debug_struct = f.debug_struct("ListInterconnectAttachmentsRequest");
562        debug_struct.field("parent", &self.parent);
563        debug_struct.field("page_size", &self.page_size);
564        debug_struct.field("page_token", &self.page_token);
565        debug_struct.field("filter", &self.filter);
566        debug_struct.field("order_by", &self.order_by);
567        if !self._unknown_fields.is_empty() {
568            debug_struct.field("_unknown_fields", &self._unknown_fields);
569        }
570        debug_struct.finish()
571    }
572}
573
574impl std::fmt::Debug for super::ListInterconnectAttachmentsResponse {
575    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
576        let mut debug_struct = f.debug_struct("ListInterconnectAttachmentsResponse");
577        debug_struct.field("interconnect_attachments", &self.interconnect_attachments);
578        debug_struct.field("next_page_token", &self.next_page_token);
579        debug_struct.field("unreachable", &self.unreachable);
580        if !self._unknown_fields.is_empty() {
581            debug_struct.field("_unknown_fields", &self._unknown_fields);
582        }
583        debug_struct.finish()
584    }
585}
586
587impl std::fmt::Debug for super::GetInterconnectAttachmentRequest {
588    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
589        let mut debug_struct = f.debug_struct("GetInterconnectAttachmentRequest");
590        debug_struct.field("name", &self.name);
591        if !self._unknown_fields.is_empty() {
592            debug_struct.field("_unknown_fields", &self._unknown_fields);
593        }
594        debug_struct.finish()
595    }
596}
597
598impl std::fmt::Debug for super::CreateInterconnectAttachmentRequest {
599    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
600        let mut debug_struct = f.debug_struct("CreateInterconnectAttachmentRequest");
601        debug_struct.field("parent", &self.parent);
602        debug_struct.field(
603            "interconnect_attachment_id",
604            &self.interconnect_attachment_id,
605        );
606        debug_struct.field("interconnect_attachment", &self.interconnect_attachment);
607        debug_struct.field("request_id", &self.request_id);
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::DeleteInterconnectAttachmentRequest {
616    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
617        let mut debug_struct = f.debug_struct("DeleteInterconnectAttachmentRequest");
618        debug_struct.field("name", &self.name);
619        debug_struct.field("request_id", &self.request_id);
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::ListRoutersRequest {
628    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
629        let mut debug_struct = f.debug_struct("ListRoutersRequest");
630        debug_struct.field("parent", &self.parent);
631        debug_struct.field("page_size", &self.page_size);
632        debug_struct.field("page_token", &self.page_token);
633        debug_struct.field("filter", &self.filter);
634        debug_struct.field("order_by", &self.order_by);
635        if !self._unknown_fields.is_empty() {
636            debug_struct.field("_unknown_fields", &self._unknown_fields);
637        }
638        debug_struct.finish()
639    }
640}
641
642impl std::fmt::Debug for super::ListRoutersResponse {
643    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
644        let mut debug_struct = f.debug_struct("ListRoutersResponse");
645        debug_struct.field("routers", &self.routers);
646        debug_struct.field("next_page_token", &self.next_page_token);
647        debug_struct.field("unreachable", &self.unreachable);
648        if !self._unknown_fields.is_empty() {
649            debug_struct.field("_unknown_fields", &self._unknown_fields);
650        }
651        debug_struct.finish()
652    }
653}
654
655impl std::fmt::Debug for super::GetRouterRequest {
656    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
657        let mut debug_struct = f.debug_struct("GetRouterRequest");
658        debug_struct.field("name", &self.name);
659        if !self._unknown_fields.is_empty() {
660            debug_struct.field("_unknown_fields", &self._unknown_fields);
661        }
662        debug_struct.finish()
663    }
664}
665
666impl std::fmt::Debug for super::CreateRouterRequest {
667    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
668        let mut debug_struct = f.debug_struct("CreateRouterRequest");
669        debug_struct.field("parent", &self.parent);
670        debug_struct.field("router_id", &self.router_id);
671        debug_struct.field("router", &self.router);
672        debug_struct.field("request_id", &self.request_id);
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::UpdateRouterRequest {
681    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
682        let mut debug_struct = f.debug_struct("UpdateRouterRequest");
683        debug_struct.field("update_mask", &self.update_mask);
684        debug_struct.field("router", &self.router);
685        debug_struct.field("request_id", &self.request_id);
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::DeleteRouterRequest {
694    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
695        let mut debug_struct = f.debug_struct("DeleteRouterRequest");
696        debug_struct.field("name", &self.name);
697        debug_struct.field("request_id", &self.request_id);
698        if !self._unknown_fields.is_empty() {
699            debug_struct.field("_unknown_fields", &self._unknown_fields);
700        }
701        debug_struct.finish()
702    }
703}
704
705impl std::fmt::Debug for super::OperationMetadata {
706    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
707        let mut debug_struct = f.debug_struct("OperationMetadata");
708        debug_struct.field("create_time", &self.create_time);
709        debug_struct.field("end_time", &self.end_time);
710        debug_struct.field("target", &self.target);
711        debug_struct.field("verb", &self.verb);
712        debug_struct.field("status_message", &self.status_message);
713        debug_struct.field("requested_cancellation", &self.requested_cancellation);
714        debug_struct.field("api_version", &self.api_version);
715        if !self._unknown_fields.is_empty() {
716            debug_struct.field("_unknown_fields", &self._unknown_fields);
717        }
718        debug_struct.finish()
719    }
720}
721
722impl std::fmt::Debug for super::DiagnoseNetworkRequest {
723    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
724        let mut debug_struct = f.debug_struct("DiagnoseNetworkRequest");
725        debug_struct.field("name", &self.name);
726        if !self._unknown_fields.is_empty() {
727            debug_struct.field("_unknown_fields", &self._unknown_fields);
728        }
729        debug_struct.finish()
730    }
731}
732
733impl std::fmt::Debug for super::DiagnoseNetworkResponse {
734    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
735        let mut debug_struct = f.debug_struct("DiagnoseNetworkResponse");
736        debug_struct.field("update_time", &self.update_time);
737        debug_struct.field("result", &self.result);
738        if !self._unknown_fields.is_empty() {
739            debug_struct.field("_unknown_fields", &self._unknown_fields);
740        }
741        debug_struct.finish()
742    }
743}
744
745impl std::fmt::Debug for super::diagnose_network_response::NetworkStatus {
746    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
747        let mut debug_struct = f.debug_struct("NetworkStatus");
748        debug_struct.field("subnet_status", &self.subnet_status);
749        debug_struct.field(
750            "macsec_status_internal_links",
751            &self.macsec_status_internal_links,
752        );
753        if !self._unknown_fields.is_empty() {
754            debug_struct.field("_unknown_fields", &self._unknown_fields);
755        }
756        debug_struct.finish()
757    }
758}
759
760impl std::fmt::Debug for super::DiagnoseInterconnectRequest {
761    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
762        let mut debug_struct = f.debug_struct("DiagnoseInterconnectRequest");
763        debug_struct.field("name", &self.name);
764        if !self._unknown_fields.is_empty() {
765            debug_struct.field("_unknown_fields", &self._unknown_fields);
766        }
767        debug_struct.finish()
768    }
769}
770
771impl std::fmt::Debug for super::DiagnoseInterconnectResponse {
772    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
773        let mut debug_struct = f.debug_struct("DiagnoseInterconnectResponse");
774        debug_struct.field("update_time", &self.update_time);
775        debug_struct.field("result", &self.result);
776        if !self._unknown_fields.is_empty() {
777            debug_struct.field("_unknown_fields", &self._unknown_fields);
778        }
779        debug_struct.finish()
780    }
781}
782
783impl std::fmt::Debug for super::DiagnoseRouterRequest {
784    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
785        let mut debug_struct = f.debug_struct("DiagnoseRouterRequest");
786        debug_struct.field("name", &self.name);
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::DiagnoseRouterResponse {
795    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
796        let mut debug_struct = f.debug_struct("DiagnoseRouterResponse");
797        debug_struct.field("update_time", &self.update_time);
798        debug_struct.field("result", &self.result);
799        if !self._unknown_fields.is_empty() {
800            debug_struct.field("_unknown_fields", &self._unknown_fields);
801        }
802        debug_struct.finish()
803    }
804}
805
806impl std::fmt::Debug for super::InitializeZoneRequest {
807    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
808        let mut debug_struct = f.debug_struct("InitializeZoneRequest");
809        debug_struct.field("name", &self.name);
810        if !self._unknown_fields.is_empty() {
811            debug_struct.field("_unknown_fields", &self._unknown_fields);
812        }
813        debug_struct.finish()
814    }
815}
816
817impl std::fmt::Debug for super::InitializeZoneResponse {
818    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
819        let mut debug_struct = f.debug_struct("InitializeZoneResponse");
820        if !self._unknown_fields.is_empty() {
821            debug_struct.field("_unknown_fields", &self._unknown_fields);
822        }
823        debug_struct.finish()
824    }
825}