1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Feature {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Feature");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("labels", &self.labels);
25 debug_struct.field("resource_state", &self.resource_state);
26 debug_struct.field("spec", &self.spec);
27 debug_struct.field("membership_specs", &self.membership_specs);
28 debug_struct.field("state", &self.state);
29 debug_struct.field("membership_states", &self.membership_states);
30 debug_struct.field("create_time", &self.create_time);
31 debug_struct.field("update_time", &self.update_time);
32 debug_struct.field("delete_time", &self.delete_time);
33 if !self._unknown_fields.is_empty() {
34 debug_struct.field("_unknown_fields", &self._unknown_fields);
35 }
36 debug_struct.finish()
37 }
38}
39
40impl std::fmt::Debug for super::FeatureResourceState {
41 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
42 let mut debug_struct = f.debug_struct("FeatureResourceState");
43 debug_struct.field("state", &self.state);
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::FeatureState {
52 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
53 let mut debug_struct = f.debug_struct("FeatureState");
54 debug_struct.field("code", &self.code);
55 debug_struct.field("description", &self.description);
56 debug_struct.field("update_time", &self.update_time);
57 if !self._unknown_fields.is_empty() {
58 debug_struct.field("_unknown_fields", &self._unknown_fields);
59 }
60 debug_struct.finish()
61 }
62}
63
64impl std::fmt::Debug for super::CommonFeatureSpec {
65 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
66 let mut debug_struct = f.debug_struct("CommonFeatureSpec");
67 debug_struct.field("feature_spec", &self.feature_spec);
68 if !self._unknown_fields.is_empty() {
69 debug_struct.field("_unknown_fields", &self._unknown_fields);
70 }
71 debug_struct.finish()
72 }
73}
74
75impl std::fmt::Debug for super::CommonFeatureState {
76 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
77 let mut debug_struct = f.debug_struct("CommonFeatureState");
78 debug_struct.field("state", &self.state);
79 if !self._unknown_fields.is_empty() {
80 debug_struct.field("_unknown_fields", &self._unknown_fields);
81 }
82 debug_struct.finish()
83 }
84}
85
86impl std::fmt::Debug for super::MembershipFeatureSpec {
87 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
88 let mut debug_struct = f.debug_struct("MembershipFeatureSpec");
89 debug_struct.field("feature_spec", &self.feature_spec);
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::MembershipFeatureState {
98 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
99 let mut debug_struct = f.debug_struct("MembershipFeatureState");
100 debug_struct.field("state", &self.state);
101 debug_struct.field("feature_state", &self.feature_state);
102 if !self._unknown_fields.is_empty() {
103 debug_struct.field("_unknown_fields", &self._unknown_fields);
104 }
105 debug_struct.finish()
106 }
107}
108
109impl std::fmt::Debug for super::Membership {
110 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
111 let mut debug_struct = f.debug_struct("Membership");
112 debug_struct.field("name", &self.name);
113 debug_struct.field("labels", &self.labels);
114 debug_struct.field("description", &self.description);
115 debug_struct.field("state", &self.state);
116 debug_struct.field("create_time", &self.create_time);
117 debug_struct.field("update_time", &self.update_time);
118 debug_struct.field("delete_time", &self.delete_time);
119 debug_struct.field("external_id", &self.external_id);
120 debug_struct.field("last_connection_time", &self.last_connection_time);
121 debug_struct.field("unique_id", &self.unique_id);
122 debug_struct.field("authority", &self.authority);
123 debug_struct.field("monitoring_config", &self.monitoring_config);
124 debug_struct.field("r#type", &self.r#type);
125 if !self._unknown_fields.is_empty() {
126 debug_struct.field("_unknown_fields", &self._unknown_fields);
127 }
128 debug_struct.finish()
129 }
130}
131
132impl std::fmt::Debug for super::MembershipEndpoint {
133 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
134 let mut debug_struct = f.debug_struct("MembershipEndpoint");
135 debug_struct.field("gke_cluster", &self.gke_cluster);
136 debug_struct.field("kubernetes_metadata", &self.kubernetes_metadata);
137 debug_struct.field("kubernetes_resource", &self.kubernetes_resource);
138 debug_struct.field("google_managed", &self.google_managed);
139 if !self._unknown_fields.is_empty() {
140 debug_struct.field("_unknown_fields", &self._unknown_fields);
141 }
142 debug_struct.finish()
143 }
144}
145
146impl std::fmt::Debug for super::KubernetesResource {
147 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
148 let mut debug_struct = f.debug_struct("KubernetesResource");
149 debug_struct.field("membership_cr_manifest", &self.membership_cr_manifest);
150 debug_struct.field("membership_resources", &self.membership_resources);
151 debug_struct.field("connect_resources", &self.connect_resources);
152 debug_struct.field("resource_options", &self.resource_options);
153 if !self._unknown_fields.is_empty() {
154 debug_struct.field("_unknown_fields", &self._unknown_fields);
155 }
156 debug_struct.finish()
157 }
158}
159
160impl std::fmt::Debug for super::ResourceOptions {
161 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
162 let mut debug_struct = f.debug_struct("ResourceOptions");
163 debug_struct.field("connect_version", &self.connect_version);
164 debug_struct.field("v1beta1_crd", &self.v1beta1_crd);
165 debug_struct.field("k8s_version", &self.k8s_version);
166 debug_struct.field("k8s_git_version", &self.k8s_git_version);
167 if !self._unknown_fields.is_empty() {
168 debug_struct.field("_unknown_fields", &self._unknown_fields);
169 }
170 debug_struct.finish()
171 }
172}
173
174impl std::fmt::Debug for super::ResourceManifest {
175 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
176 let mut debug_struct = f.debug_struct("ResourceManifest");
177 debug_struct.field("manifest", &self.manifest);
178 debug_struct.field("cluster_scoped", &self.cluster_scoped);
179 if !self._unknown_fields.is_empty() {
180 debug_struct.field("_unknown_fields", &self._unknown_fields);
181 }
182 debug_struct.finish()
183 }
184}
185
186impl std::fmt::Debug for super::GkeCluster {
187 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
188 let mut debug_struct = f.debug_struct("GkeCluster");
189 debug_struct.field("resource_link", &self.resource_link);
190 debug_struct.field("cluster_missing", &self.cluster_missing);
191 if !self._unknown_fields.is_empty() {
192 debug_struct.field("_unknown_fields", &self._unknown_fields);
193 }
194 debug_struct.finish()
195 }
196}
197
198impl std::fmt::Debug for super::KubernetesMetadata {
199 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
200 let mut debug_struct = f.debug_struct("KubernetesMetadata");
201 debug_struct.field(
202 "kubernetes_api_server_version",
203 &self.kubernetes_api_server_version,
204 );
205 debug_struct.field("node_provider_id", &self.node_provider_id);
206 debug_struct.field("node_count", &self.node_count);
207 debug_struct.field("vcpu_count", &self.vcpu_count);
208 debug_struct.field("memory_mb", &self.memory_mb);
209 debug_struct.field("update_time", &self.update_time);
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::MonitoringConfig {
218 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
219 let mut debug_struct = f.debug_struct("MonitoringConfig");
220 debug_struct.field("project_id", &self.project_id);
221 debug_struct.field("location", &self.location);
222 debug_struct.field("cluster", &self.cluster);
223 debug_struct.field("kubernetes_metrics_prefix", &self.kubernetes_metrics_prefix);
224 debug_struct.field("cluster_hash", &self.cluster_hash);
225 if !self._unknown_fields.is_empty() {
226 debug_struct.field("_unknown_fields", &self._unknown_fields);
227 }
228 debug_struct.finish()
229 }
230}
231
232impl std::fmt::Debug for super::MembershipState {
233 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
234 let mut debug_struct = f.debug_struct("MembershipState");
235 debug_struct.field("code", &self.code);
236 if !self._unknown_fields.is_empty() {
237 debug_struct.field("_unknown_fields", &self._unknown_fields);
238 }
239 debug_struct.finish()
240 }
241}
242
243impl std::fmt::Debug for super::Authority {
244 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
245 let mut debug_struct = f.debug_struct("Authority");
246 debug_struct.field("issuer", &self.issuer);
247 debug_struct.field("workload_identity_pool", &self.workload_identity_pool);
248 debug_struct.field("identity_provider", &self.identity_provider);
249 debug_struct.field("oidc_jwks", &self.oidc_jwks);
250 if !self._unknown_fields.is_empty() {
251 debug_struct.field("_unknown_fields", &self._unknown_fields);
252 }
253 debug_struct.finish()
254 }
255}
256
257impl std::fmt::Debug for super::ListMembershipsRequest {
258 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
259 let mut debug_struct = f.debug_struct("ListMembershipsRequest");
260 debug_struct.field("parent", &self.parent);
261 debug_struct.field("page_size", &self.page_size);
262 debug_struct.field("page_token", &self.page_token);
263 debug_struct.field("filter", &self.filter);
264 debug_struct.field("order_by", &self.order_by);
265 if !self._unknown_fields.is_empty() {
266 debug_struct.field("_unknown_fields", &self._unknown_fields);
267 }
268 debug_struct.finish()
269 }
270}
271
272impl std::fmt::Debug for super::ListMembershipsResponse {
273 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
274 let mut debug_struct = f.debug_struct("ListMembershipsResponse");
275 debug_struct.field("resources", &self.resources);
276 debug_struct.field("next_page_token", &self.next_page_token);
277 debug_struct.field("unreachable", &self.unreachable);
278 if !self._unknown_fields.is_empty() {
279 debug_struct.field("_unknown_fields", &self._unknown_fields);
280 }
281 debug_struct.finish()
282 }
283}
284
285impl std::fmt::Debug for super::GetMembershipRequest {
286 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
287 let mut debug_struct = f.debug_struct("GetMembershipRequest");
288 debug_struct.field("name", &self.name);
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::CreateMembershipRequest {
297 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
298 let mut debug_struct = f.debug_struct("CreateMembershipRequest");
299 debug_struct.field("parent", &self.parent);
300 debug_struct.field("membership_id", &self.membership_id);
301 debug_struct.field("resource", &self.resource);
302 debug_struct.field("request_id", &self.request_id);
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::DeleteMembershipRequest {
311 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
312 let mut debug_struct = f.debug_struct("DeleteMembershipRequest");
313 debug_struct.field("name", &self.name);
314 debug_struct.field("request_id", &self.request_id);
315 debug_struct.field("force", &self.force);
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::UpdateMembershipRequest {
324 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
325 let mut debug_struct = f.debug_struct("UpdateMembershipRequest");
326 debug_struct.field("name", &self.name);
327 debug_struct.field("update_mask", &self.update_mask);
328 debug_struct.field("resource", &self.resource);
329 debug_struct.field("request_id", &self.request_id);
330 if !self._unknown_fields.is_empty() {
331 debug_struct.field("_unknown_fields", &self._unknown_fields);
332 }
333 debug_struct.finish()
334 }
335}
336
337impl std::fmt::Debug for super::GenerateConnectManifestRequest {
338 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
339 let mut debug_struct = f.debug_struct("GenerateConnectManifestRequest");
340 debug_struct.field("name", &self.name);
341 debug_struct.field("namespace", &self.namespace);
342 debug_struct.field("proxy", &self.proxy);
343 debug_struct.field("version", &self.version);
344 debug_struct.field("is_upgrade", &self.is_upgrade);
345 debug_struct.field("registry", &self.registry);
346 debug_struct.field("image_pull_secret_content", &self.image_pull_secret_content);
347 if !self._unknown_fields.is_empty() {
348 debug_struct.field("_unknown_fields", &self._unknown_fields);
349 }
350 debug_struct.finish()
351 }
352}
353
354impl std::fmt::Debug for super::GenerateConnectManifestResponse {
355 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
356 let mut debug_struct = f.debug_struct("GenerateConnectManifestResponse");
357 debug_struct.field("manifest", &self.manifest);
358 if !self._unknown_fields.is_empty() {
359 debug_struct.field("_unknown_fields", &self._unknown_fields);
360 }
361 debug_struct.finish()
362 }
363}
364
365impl std::fmt::Debug for super::ConnectAgentResource {
366 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
367 let mut debug_struct = f.debug_struct("ConnectAgentResource");
368 debug_struct.field("r#type", &self.r#type);
369 debug_struct.field("manifest", &self.manifest);
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::TypeMeta {
378 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
379 let mut debug_struct = f.debug_struct("TypeMeta");
380 debug_struct.field("kind", &self.kind);
381 debug_struct.field("api_version", &self.api_version);
382 if !self._unknown_fields.is_empty() {
383 debug_struct.field("_unknown_fields", &self._unknown_fields);
384 }
385 debug_struct.finish()
386 }
387}
388
389impl std::fmt::Debug for super::ListFeaturesRequest {
390 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
391 let mut debug_struct = f.debug_struct("ListFeaturesRequest");
392 debug_struct.field("parent", &self.parent);
393 debug_struct.field("page_size", &self.page_size);
394 debug_struct.field("page_token", &self.page_token);
395 debug_struct.field("filter", &self.filter);
396 debug_struct.field("order_by", &self.order_by);
397 if !self._unknown_fields.is_empty() {
398 debug_struct.field("_unknown_fields", &self._unknown_fields);
399 }
400 debug_struct.finish()
401 }
402}
403
404impl std::fmt::Debug for super::ListFeaturesResponse {
405 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
406 let mut debug_struct = f.debug_struct("ListFeaturesResponse");
407 debug_struct.field("resources", &self.resources);
408 debug_struct.field("next_page_token", &self.next_page_token);
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::GetFeatureRequest {
417 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
418 let mut debug_struct = f.debug_struct("GetFeatureRequest");
419 debug_struct.field("name", &self.name);
420 if !self._unknown_fields.is_empty() {
421 debug_struct.field("_unknown_fields", &self._unknown_fields);
422 }
423 debug_struct.finish()
424 }
425}
426
427impl std::fmt::Debug for super::CreateFeatureRequest {
428 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
429 let mut debug_struct = f.debug_struct("CreateFeatureRequest");
430 debug_struct.field("parent", &self.parent);
431 debug_struct.field("feature_id", &self.feature_id);
432 debug_struct.field("resource", &self.resource);
433 debug_struct.field("request_id", &self.request_id);
434 if !self._unknown_fields.is_empty() {
435 debug_struct.field("_unknown_fields", &self._unknown_fields);
436 }
437 debug_struct.finish()
438 }
439}
440
441impl std::fmt::Debug for super::DeleteFeatureRequest {
442 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
443 let mut debug_struct = f.debug_struct("DeleteFeatureRequest");
444 debug_struct.field("name", &self.name);
445 debug_struct.field("force", &self.force);
446 debug_struct.field("request_id", &self.request_id);
447 if !self._unknown_fields.is_empty() {
448 debug_struct.field("_unknown_fields", &self._unknown_fields);
449 }
450 debug_struct.finish()
451 }
452}
453
454impl std::fmt::Debug for super::UpdateFeatureRequest {
455 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
456 let mut debug_struct = f.debug_struct("UpdateFeatureRequest");
457 debug_struct.field("name", &self.name);
458 debug_struct.field("update_mask", &self.update_mask);
459 debug_struct.field("resource", &self.resource);
460 debug_struct.field("request_id", &self.request_id);
461 if !self._unknown_fields.is_empty() {
462 debug_struct.field("_unknown_fields", &self._unknown_fields);
463 }
464 debug_struct.finish()
465 }
466}
467
468impl std::fmt::Debug for super::OperationMetadata {
469 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
470 let mut debug_struct = f.debug_struct("OperationMetadata");
471 debug_struct.field("create_time", &self.create_time);
472 debug_struct.field("end_time", &self.end_time);
473 debug_struct.field("target", &self.target);
474 debug_struct.field("verb", &self.verb);
475 debug_struct.field("status_detail", &self.status_detail);
476 debug_struct.field("cancel_requested", &self.cancel_requested);
477 debug_struct.field("api_version", &self.api_version);
478 if !self._unknown_fields.is_empty() {
479 debug_struct.field("_unknown_fields", &self._unknown_fields);
480 }
481 debug_struct.finish()
482 }
483}