google_cloud_kms_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::CreateKeyHandleRequest {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("CreateKeyHandleRequest");
23        debug_struct.field("parent", &self.parent);
24        debug_struct.field("key_handle_id", &self.key_handle_id);
25        debug_struct.field("key_handle", &self.key_handle);
26        if !self._unknown_fields.is_empty() {
27            debug_struct.field("_unknown_fields", &self._unknown_fields);
28        }
29        debug_struct.finish()
30    }
31}
32
33impl std::fmt::Debug for super::GetKeyHandleRequest {
34    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
35        let mut debug_struct = f.debug_struct("GetKeyHandleRequest");
36        debug_struct.field("name", &self.name);
37        if !self._unknown_fields.is_empty() {
38            debug_struct.field("_unknown_fields", &self._unknown_fields);
39        }
40        debug_struct.finish()
41    }
42}
43
44impl std::fmt::Debug for super::KeyHandle {
45    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
46        let mut debug_struct = f.debug_struct("KeyHandle");
47        debug_struct.field("name", &self.name);
48        debug_struct.field("kms_key", &self.kms_key);
49        debug_struct.field("resource_type_selector", &self.resource_type_selector);
50        if !self._unknown_fields.is_empty() {
51            debug_struct.field("_unknown_fields", &self._unknown_fields);
52        }
53        debug_struct.finish()
54    }
55}
56
57impl std::fmt::Debug for super::CreateKeyHandleMetadata {
58    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
59        let mut debug_struct = f.debug_struct("CreateKeyHandleMetadata");
60        if !self._unknown_fields.is_empty() {
61            debug_struct.field("_unknown_fields", &self._unknown_fields);
62        }
63        debug_struct.finish()
64    }
65}
66
67impl std::fmt::Debug for super::ListKeyHandlesRequest {
68    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
69        let mut debug_struct = f.debug_struct("ListKeyHandlesRequest");
70        debug_struct.field("parent", &self.parent);
71        debug_struct.field("page_size", &self.page_size);
72        debug_struct.field("page_token", &self.page_token);
73        debug_struct.field("filter", &self.filter);
74        if !self._unknown_fields.is_empty() {
75            debug_struct.field("_unknown_fields", &self._unknown_fields);
76        }
77        debug_struct.finish()
78    }
79}
80
81impl std::fmt::Debug for super::ListKeyHandlesResponse {
82    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
83        let mut debug_struct = f.debug_struct("ListKeyHandlesResponse");
84        debug_struct.field("key_handles", &self.key_handles);
85        debug_struct.field("next_page_token", &self.next_page_token);
86        if !self._unknown_fields.is_empty() {
87            debug_struct.field("_unknown_fields", &self._unknown_fields);
88        }
89        debug_struct.finish()
90    }
91}
92
93impl std::fmt::Debug for super::UpdateAutokeyConfigRequest {
94    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
95        let mut debug_struct = f.debug_struct("UpdateAutokeyConfigRequest");
96        debug_struct.field("autokey_config", &self.autokey_config);
97        debug_struct.field("update_mask", &self.update_mask);
98        if !self._unknown_fields.is_empty() {
99            debug_struct.field("_unknown_fields", &self._unknown_fields);
100        }
101        debug_struct.finish()
102    }
103}
104
105impl std::fmt::Debug for super::GetAutokeyConfigRequest {
106    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
107        let mut debug_struct = f.debug_struct("GetAutokeyConfigRequest");
108        debug_struct.field("name", &self.name);
109        if !self._unknown_fields.is_empty() {
110            debug_struct.field("_unknown_fields", &self._unknown_fields);
111        }
112        debug_struct.finish()
113    }
114}
115
116impl std::fmt::Debug for super::AutokeyConfig {
117    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
118        let mut debug_struct = f.debug_struct("AutokeyConfig");
119        debug_struct.field("name", &self.name);
120        debug_struct.field("key_project", &self.key_project);
121        debug_struct.field("state", &self.state);
122        debug_struct.field("etag", &self.etag);
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::ShowEffectiveAutokeyConfigRequest {
131    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
132        let mut debug_struct = f.debug_struct("ShowEffectiveAutokeyConfigRequest");
133        debug_struct.field("parent", &self.parent);
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::ShowEffectiveAutokeyConfigResponse {
142    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
143        let mut debug_struct = f.debug_struct("ShowEffectiveAutokeyConfigResponse");
144        debug_struct.field("key_project", &self.key_project);
145        if !self._unknown_fields.is_empty() {
146            debug_struct.field("_unknown_fields", &self._unknown_fields);
147        }
148        debug_struct.finish()
149    }
150}
151
152impl std::fmt::Debug for super::ListEkmConnectionsRequest {
153    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
154        let mut debug_struct = f.debug_struct("ListEkmConnectionsRequest");
155        debug_struct.field("parent", &self.parent);
156        debug_struct.field("page_size", &self.page_size);
157        debug_struct.field("page_token", &self.page_token);
158        debug_struct.field("filter", &self.filter);
159        debug_struct.field("order_by", &self.order_by);
160        if !self._unknown_fields.is_empty() {
161            debug_struct.field("_unknown_fields", &self._unknown_fields);
162        }
163        debug_struct.finish()
164    }
165}
166
167impl std::fmt::Debug for super::ListEkmConnectionsResponse {
168    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
169        let mut debug_struct = f.debug_struct("ListEkmConnectionsResponse");
170        debug_struct.field("ekm_connections", &self.ekm_connections);
171        debug_struct.field("next_page_token", &self.next_page_token);
172        debug_struct.field("total_size", &self.total_size);
173        if !self._unknown_fields.is_empty() {
174            debug_struct.field("_unknown_fields", &self._unknown_fields);
175        }
176        debug_struct.finish()
177    }
178}
179
180impl std::fmt::Debug for super::GetEkmConnectionRequest {
181    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
182        let mut debug_struct = f.debug_struct("GetEkmConnectionRequest");
183        debug_struct.field("name", &self.name);
184        if !self._unknown_fields.is_empty() {
185            debug_struct.field("_unknown_fields", &self._unknown_fields);
186        }
187        debug_struct.finish()
188    }
189}
190
191impl std::fmt::Debug for super::CreateEkmConnectionRequest {
192    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
193        let mut debug_struct = f.debug_struct("CreateEkmConnectionRequest");
194        debug_struct.field("parent", &self.parent);
195        debug_struct.field("ekm_connection_id", &self.ekm_connection_id);
196        debug_struct.field("ekm_connection", &self.ekm_connection);
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::UpdateEkmConnectionRequest {
205    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
206        let mut debug_struct = f.debug_struct("UpdateEkmConnectionRequest");
207        debug_struct.field("ekm_connection", &self.ekm_connection);
208        debug_struct.field("update_mask", &self.update_mask);
209        if !self._unknown_fields.is_empty() {
210            debug_struct.field("_unknown_fields", &self._unknown_fields);
211        }
212        debug_struct.finish()
213    }
214}
215
216impl std::fmt::Debug for super::GetEkmConfigRequest {
217    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
218        let mut debug_struct = f.debug_struct("GetEkmConfigRequest");
219        debug_struct.field("name", &self.name);
220        if !self._unknown_fields.is_empty() {
221            debug_struct.field("_unknown_fields", &self._unknown_fields);
222        }
223        debug_struct.finish()
224    }
225}
226
227impl std::fmt::Debug for super::UpdateEkmConfigRequest {
228    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
229        let mut debug_struct = f.debug_struct("UpdateEkmConfigRequest");
230        debug_struct.field("ekm_config", &self.ekm_config);
231        debug_struct.field("update_mask", &self.update_mask);
232        if !self._unknown_fields.is_empty() {
233            debug_struct.field("_unknown_fields", &self._unknown_fields);
234        }
235        debug_struct.finish()
236    }
237}
238
239impl std::fmt::Debug for super::Certificate {
240    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
241        let mut debug_struct = f.debug_struct("Certificate");
242        debug_struct.field("raw_der", &self.raw_der);
243        debug_struct.field("parsed", &self.parsed);
244        debug_struct.field("issuer", &self.issuer);
245        debug_struct.field("subject", &self.subject);
246        debug_struct.field(
247            "subject_alternative_dns_names",
248            &self.subject_alternative_dns_names,
249        );
250        debug_struct.field("not_before_time", &self.not_before_time);
251        debug_struct.field("not_after_time", &self.not_after_time);
252        debug_struct.field("serial_number", &self.serial_number);
253        debug_struct.field("sha256_fingerprint", &self.sha256_fingerprint);
254        if !self._unknown_fields.is_empty() {
255            debug_struct.field("_unknown_fields", &self._unknown_fields);
256        }
257        debug_struct.finish()
258    }
259}
260
261impl std::fmt::Debug for super::EkmConnection {
262    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
263        let mut debug_struct = f.debug_struct("EkmConnection");
264        debug_struct.field("name", &self.name);
265        debug_struct.field("create_time", &self.create_time);
266        debug_struct.field("service_resolvers", &self.service_resolvers);
267        debug_struct.field("etag", &self.etag);
268        debug_struct.field("key_management_mode", &self.key_management_mode);
269        debug_struct.field("crypto_space_path", &self.crypto_space_path);
270        if !self._unknown_fields.is_empty() {
271            debug_struct.field("_unknown_fields", &self._unknown_fields);
272        }
273        debug_struct.finish()
274    }
275}
276
277impl std::fmt::Debug for super::ekm_connection::ServiceResolver {
278    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
279        let mut debug_struct = f.debug_struct("ServiceResolver");
280        debug_struct.field("service_directory_service", &self.service_directory_service);
281        debug_struct.field("endpoint_filter", &self.endpoint_filter);
282        debug_struct.field("hostname", &self.hostname);
283        debug_struct.field("server_certificates", &self.server_certificates);
284        if !self._unknown_fields.is_empty() {
285            debug_struct.field("_unknown_fields", &self._unknown_fields);
286        }
287        debug_struct.finish()
288    }
289}
290
291impl std::fmt::Debug for super::EkmConfig {
292    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
293        let mut debug_struct = f.debug_struct("EkmConfig");
294        debug_struct.field("name", &self.name);
295        debug_struct.field("default_ekm_connection", &self.default_ekm_connection);
296        if !self._unknown_fields.is_empty() {
297            debug_struct.field("_unknown_fields", &self._unknown_fields);
298        }
299        debug_struct.finish()
300    }
301}
302
303impl std::fmt::Debug for super::VerifyConnectivityRequest {
304    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
305        let mut debug_struct = f.debug_struct("VerifyConnectivityRequest");
306        debug_struct.field("name", &self.name);
307        if !self._unknown_fields.is_empty() {
308            debug_struct.field("_unknown_fields", &self._unknown_fields);
309        }
310        debug_struct.finish()
311    }
312}
313
314impl std::fmt::Debug for super::VerifyConnectivityResponse {
315    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
316        let mut debug_struct = f.debug_struct("VerifyConnectivityResponse");
317        if !self._unknown_fields.is_empty() {
318            debug_struct.field("_unknown_fields", &self._unknown_fields);
319        }
320        debug_struct.finish()
321    }
322}
323
324impl std::fmt::Debug for super::KeyRing {
325    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
326        let mut debug_struct = f.debug_struct("KeyRing");
327        debug_struct.field("name", &self.name);
328        debug_struct.field("create_time", &self.create_time);
329        if !self._unknown_fields.is_empty() {
330            debug_struct.field("_unknown_fields", &self._unknown_fields);
331        }
332        debug_struct.finish()
333    }
334}
335
336impl std::fmt::Debug for super::CryptoKey {
337    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
338        let mut debug_struct = f.debug_struct("CryptoKey");
339        debug_struct.field("name", &self.name);
340        debug_struct.field("primary", &self.primary);
341        debug_struct.field("purpose", &self.purpose);
342        debug_struct.field("create_time", &self.create_time);
343        debug_struct.field("next_rotation_time", &self.next_rotation_time);
344        debug_struct.field("version_template", &self.version_template);
345        debug_struct.field("labels", &self.labels);
346        debug_struct.field("import_only", &self.import_only);
347        debug_struct.field(
348            "destroy_scheduled_duration",
349            &self.destroy_scheduled_duration,
350        );
351        debug_struct.field("crypto_key_backend", &self.crypto_key_backend);
352        debug_struct.field(
353            "key_access_justifications_policy",
354            &self.key_access_justifications_policy,
355        );
356        debug_struct.field("rotation_schedule", &self.rotation_schedule);
357        if !self._unknown_fields.is_empty() {
358            debug_struct.field("_unknown_fields", &self._unknown_fields);
359        }
360        debug_struct.finish()
361    }
362}
363
364impl std::fmt::Debug for super::CryptoKeyVersionTemplate {
365    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
366        let mut debug_struct = f.debug_struct("CryptoKeyVersionTemplate");
367        debug_struct.field("protection_level", &self.protection_level);
368        debug_struct.field("algorithm", &self.algorithm);
369        if !self._unknown_fields.is_empty() {
370            debug_struct.field("_unknown_fields", &self._unknown_fields);
371        }
372        debug_struct.finish()
373    }
374}
375
376impl std::fmt::Debug for super::KeyOperationAttestation {
377    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
378        let mut debug_struct = f.debug_struct("KeyOperationAttestation");
379        debug_struct.field("format", &self.format);
380        debug_struct.field("content", &self.content);
381        debug_struct.field("cert_chains", &self.cert_chains);
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::key_operation_attestation::CertificateChains {
390    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
391        let mut debug_struct = f.debug_struct("CertificateChains");
392        debug_struct.field("cavium_certs", &self.cavium_certs);
393        debug_struct.field("google_card_certs", &self.google_card_certs);
394        debug_struct.field("google_partition_certs", &self.google_partition_certs);
395        if !self._unknown_fields.is_empty() {
396            debug_struct.field("_unknown_fields", &self._unknown_fields);
397        }
398        debug_struct.finish()
399    }
400}
401
402impl std::fmt::Debug for super::CryptoKeyVersion {
403    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
404        let mut debug_struct = f.debug_struct("CryptoKeyVersion");
405        debug_struct.field("name", &self.name);
406        debug_struct.field("state", &self.state);
407        debug_struct.field("protection_level", &self.protection_level);
408        debug_struct.field("algorithm", &self.algorithm);
409        debug_struct.field("attestation", &self.attestation);
410        debug_struct.field("create_time", &self.create_time);
411        debug_struct.field("generate_time", &self.generate_time);
412        debug_struct.field("destroy_time", &self.destroy_time);
413        debug_struct.field("destroy_event_time", &self.destroy_event_time);
414        debug_struct.field("import_job", &self.import_job);
415        debug_struct.field("import_time", &self.import_time);
416        debug_struct.field("import_failure_reason", &self.import_failure_reason);
417        debug_struct.field("generation_failure_reason", &self.generation_failure_reason);
418        debug_struct.field(
419            "external_destruction_failure_reason",
420            &self.external_destruction_failure_reason,
421        );
422        debug_struct.field(
423            "external_protection_level_options",
424            &self.external_protection_level_options,
425        );
426        debug_struct.field("reimport_eligible", &self.reimport_eligible);
427        if !self._unknown_fields.is_empty() {
428            debug_struct.field("_unknown_fields", &self._unknown_fields);
429        }
430        debug_struct.finish()
431    }
432}
433
434impl std::fmt::Debug for super::ChecksummedData {
435    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
436        let mut debug_struct = f.debug_struct("ChecksummedData");
437        debug_struct.field("data", &self.data);
438        debug_struct.field("crc32c_checksum", &self.crc32c_checksum);
439        if !self._unknown_fields.is_empty() {
440            debug_struct.field("_unknown_fields", &self._unknown_fields);
441        }
442        debug_struct.finish()
443    }
444}
445
446impl std::fmt::Debug for super::PublicKey {
447    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
448        let mut debug_struct = f.debug_struct("PublicKey");
449        debug_struct.field("pem", &self.pem);
450        debug_struct.field("algorithm", &self.algorithm);
451        debug_struct.field("pem_crc32c", &self.pem_crc32c);
452        debug_struct.field("name", &self.name);
453        debug_struct.field("protection_level", &self.protection_level);
454        debug_struct.field("public_key_format", &self.public_key_format);
455        debug_struct.field("public_key", &self.public_key);
456        if !self._unknown_fields.is_empty() {
457            debug_struct.field("_unknown_fields", &self._unknown_fields);
458        }
459        debug_struct.finish()
460    }
461}
462
463impl std::fmt::Debug for super::ImportJob {
464    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
465        let mut debug_struct = f.debug_struct("ImportJob");
466        debug_struct.field("name", &self.name);
467        debug_struct.field("import_method", &self.import_method);
468        debug_struct.field("protection_level", &self.protection_level);
469        debug_struct.field("create_time", &self.create_time);
470        debug_struct.field("generate_time", &self.generate_time);
471        debug_struct.field("expire_time", &self.expire_time);
472        debug_struct.field("expire_event_time", &self.expire_event_time);
473        debug_struct.field("state", &self.state);
474        debug_struct.field("public_key", &self.public_key);
475        debug_struct.field("attestation", &self.attestation);
476        if !self._unknown_fields.is_empty() {
477            debug_struct.field("_unknown_fields", &self._unknown_fields);
478        }
479        debug_struct.finish()
480    }
481}
482
483impl std::fmt::Debug for super::import_job::WrappingPublicKey {
484    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
485        let mut debug_struct = f.debug_struct("WrappingPublicKey");
486        debug_struct.field("pem", &self.pem);
487        if !self._unknown_fields.is_empty() {
488            debug_struct.field("_unknown_fields", &self._unknown_fields);
489        }
490        debug_struct.finish()
491    }
492}
493
494impl std::fmt::Debug for super::ExternalProtectionLevelOptions {
495    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
496        let mut debug_struct = f.debug_struct("ExternalProtectionLevelOptions");
497        debug_struct.field("external_key_uri", &self.external_key_uri);
498        debug_struct.field("ekm_connection_key_path", &self.ekm_connection_key_path);
499        if !self._unknown_fields.is_empty() {
500            debug_struct.field("_unknown_fields", &self._unknown_fields);
501        }
502        debug_struct.finish()
503    }
504}
505
506impl std::fmt::Debug for super::KeyAccessJustificationsPolicy {
507    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
508        let mut debug_struct = f.debug_struct("KeyAccessJustificationsPolicy");
509        debug_struct.field("allowed_access_reasons", &self.allowed_access_reasons);
510        if !self._unknown_fields.is_empty() {
511            debug_struct.field("_unknown_fields", &self._unknown_fields);
512        }
513        debug_struct.finish()
514    }
515}
516
517impl std::fmt::Debug for super::ListKeyRingsRequest {
518    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
519        let mut debug_struct = f.debug_struct("ListKeyRingsRequest");
520        debug_struct.field("parent", &self.parent);
521        debug_struct.field("page_size", &self.page_size);
522        debug_struct.field("page_token", &self.page_token);
523        debug_struct.field("filter", &self.filter);
524        debug_struct.field("order_by", &self.order_by);
525        if !self._unknown_fields.is_empty() {
526            debug_struct.field("_unknown_fields", &self._unknown_fields);
527        }
528        debug_struct.finish()
529    }
530}
531
532impl std::fmt::Debug for super::ListCryptoKeysRequest {
533    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
534        let mut debug_struct = f.debug_struct("ListCryptoKeysRequest");
535        debug_struct.field("parent", &self.parent);
536        debug_struct.field("page_size", &self.page_size);
537        debug_struct.field("page_token", &self.page_token);
538        debug_struct.field("version_view", &self.version_view);
539        debug_struct.field("filter", &self.filter);
540        debug_struct.field("order_by", &self.order_by);
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::ListCryptoKeyVersionsRequest {
549    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
550        let mut debug_struct = f.debug_struct("ListCryptoKeyVersionsRequest");
551        debug_struct.field("parent", &self.parent);
552        debug_struct.field("page_size", &self.page_size);
553        debug_struct.field("page_token", &self.page_token);
554        debug_struct.field("view", &self.view);
555        debug_struct.field("filter", &self.filter);
556        debug_struct.field("order_by", &self.order_by);
557        if !self._unknown_fields.is_empty() {
558            debug_struct.field("_unknown_fields", &self._unknown_fields);
559        }
560        debug_struct.finish()
561    }
562}
563
564impl std::fmt::Debug for super::ListImportJobsRequest {
565    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
566        let mut debug_struct = f.debug_struct("ListImportJobsRequest");
567        debug_struct.field("parent", &self.parent);
568        debug_struct.field("page_size", &self.page_size);
569        debug_struct.field("page_token", &self.page_token);
570        debug_struct.field("filter", &self.filter);
571        debug_struct.field("order_by", &self.order_by);
572        if !self._unknown_fields.is_empty() {
573            debug_struct.field("_unknown_fields", &self._unknown_fields);
574        }
575        debug_struct.finish()
576    }
577}
578
579impl std::fmt::Debug for super::ListKeyRingsResponse {
580    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
581        let mut debug_struct = f.debug_struct("ListKeyRingsResponse");
582        debug_struct.field("key_rings", &self.key_rings);
583        debug_struct.field("next_page_token", &self.next_page_token);
584        debug_struct.field("total_size", &self.total_size);
585        if !self._unknown_fields.is_empty() {
586            debug_struct.field("_unknown_fields", &self._unknown_fields);
587        }
588        debug_struct.finish()
589    }
590}
591
592impl std::fmt::Debug for super::ListCryptoKeysResponse {
593    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
594        let mut debug_struct = f.debug_struct("ListCryptoKeysResponse");
595        debug_struct.field("crypto_keys", &self.crypto_keys);
596        debug_struct.field("next_page_token", &self.next_page_token);
597        debug_struct.field("total_size", &self.total_size);
598        if !self._unknown_fields.is_empty() {
599            debug_struct.field("_unknown_fields", &self._unknown_fields);
600        }
601        debug_struct.finish()
602    }
603}
604
605impl std::fmt::Debug for super::ListCryptoKeyVersionsResponse {
606    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
607        let mut debug_struct = f.debug_struct("ListCryptoKeyVersionsResponse");
608        debug_struct.field("crypto_key_versions", &self.crypto_key_versions);
609        debug_struct.field("next_page_token", &self.next_page_token);
610        debug_struct.field("total_size", &self.total_size);
611        if !self._unknown_fields.is_empty() {
612            debug_struct.field("_unknown_fields", &self._unknown_fields);
613        }
614        debug_struct.finish()
615    }
616}
617
618impl std::fmt::Debug for super::ListImportJobsResponse {
619    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
620        let mut debug_struct = f.debug_struct("ListImportJobsResponse");
621        debug_struct.field("import_jobs", &self.import_jobs);
622        debug_struct.field("next_page_token", &self.next_page_token);
623        debug_struct.field("total_size", &self.total_size);
624        if !self._unknown_fields.is_empty() {
625            debug_struct.field("_unknown_fields", &self._unknown_fields);
626        }
627        debug_struct.finish()
628    }
629}
630
631impl std::fmt::Debug for super::GetKeyRingRequest {
632    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
633        let mut debug_struct = f.debug_struct("GetKeyRingRequest");
634        debug_struct.field("name", &self.name);
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::GetCryptoKeyRequest {
643    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
644        let mut debug_struct = f.debug_struct("GetCryptoKeyRequest");
645        debug_struct.field("name", &self.name);
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::GetCryptoKeyVersionRequest {
654    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
655        let mut debug_struct = f.debug_struct("GetCryptoKeyVersionRequest");
656        debug_struct.field("name", &self.name);
657        if !self._unknown_fields.is_empty() {
658            debug_struct.field("_unknown_fields", &self._unknown_fields);
659        }
660        debug_struct.finish()
661    }
662}
663
664impl std::fmt::Debug for super::GetPublicKeyRequest {
665    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
666        let mut debug_struct = f.debug_struct("GetPublicKeyRequest");
667        debug_struct.field("name", &self.name);
668        debug_struct.field("public_key_format", &self.public_key_format);
669        if !self._unknown_fields.is_empty() {
670            debug_struct.field("_unknown_fields", &self._unknown_fields);
671        }
672        debug_struct.finish()
673    }
674}
675
676impl std::fmt::Debug for super::GetImportJobRequest {
677    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
678        let mut debug_struct = f.debug_struct("GetImportJobRequest");
679        debug_struct.field("name", &self.name);
680        if !self._unknown_fields.is_empty() {
681            debug_struct.field("_unknown_fields", &self._unknown_fields);
682        }
683        debug_struct.finish()
684    }
685}
686
687impl std::fmt::Debug for super::CreateKeyRingRequest {
688    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
689        let mut debug_struct = f.debug_struct("CreateKeyRingRequest");
690        debug_struct.field("parent", &self.parent);
691        debug_struct.field("key_ring_id", &self.key_ring_id);
692        debug_struct.field("key_ring", &self.key_ring);
693        if !self._unknown_fields.is_empty() {
694            debug_struct.field("_unknown_fields", &self._unknown_fields);
695        }
696        debug_struct.finish()
697    }
698}
699
700impl std::fmt::Debug for super::CreateCryptoKeyRequest {
701    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
702        let mut debug_struct = f.debug_struct("CreateCryptoKeyRequest");
703        debug_struct.field("parent", &self.parent);
704        debug_struct.field("crypto_key_id", &self.crypto_key_id);
705        debug_struct.field("crypto_key", &self.crypto_key);
706        debug_struct.field(
707            "skip_initial_version_creation",
708            &self.skip_initial_version_creation,
709        );
710        if !self._unknown_fields.is_empty() {
711            debug_struct.field("_unknown_fields", &self._unknown_fields);
712        }
713        debug_struct.finish()
714    }
715}
716
717impl std::fmt::Debug for super::CreateCryptoKeyVersionRequest {
718    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
719        let mut debug_struct = f.debug_struct("CreateCryptoKeyVersionRequest");
720        debug_struct.field("parent", &self.parent);
721        debug_struct.field("crypto_key_version", &self.crypto_key_version);
722        if !self._unknown_fields.is_empty() {
723            debug_struct.field("_unknown_fields", &self._unknown_fields);
724        }
725        debug_struct.finish()
726    }
727}
728
729impl std::fmt::Debug for super::ImportCryptoKeyVersionRequest {
730    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
731        let mut debug_struct = f.debug_struct("ImportCryptoKeyVersionRequest");
732        debug_struct.field("parent", &self.parent);
733        debug_struct.field("crypto_key_version", &self.crypto_key_version);
734        debug_struct.field("algorithm", &self.algorithm);
735        debug_struct.field("import_job", &self.import_job);
736        debug_struct.field("wrapped_key", &self.wrapped_key);
737        debug_struct.field("wrapped_key_material", &self.wrapped_key_material);
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::CreateImportJobRequest {
746    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
747        let mut debug_struct = f.debug_struct("CreateImportJobRequest");
748        debug_struct.field("parent", &self.parent);
749        debug_struct.field("import_job_id", &self.import_job_id);
750        debug_struct.field("import_job", &self.import_job);
751        if !self._unknown_fields.is_empty() {
752            debug_struct.field("_unknown_fields", &self._unknown_fields);
753        }
754        debug_struct.finish()
755    }
756}
757
758impl std::fmt::Debug for super::UpdateCryptoKeyRequest {
759    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
760        let mut debug_struct = f.debug_struct("UpdateCryptoKeyRequest");
761        debug_struct.field("crypto_key", &self.crypto_key);
762        debug_struct.field("update_mask", &self.update_mask);
763        if !self._unknown_fields.is_empty() {
764            debug_struct.field("_unknown_fields", &self._unknown_fields);
765        }
766        debug_struct.finish()
767    }
768}
769
770impl std::fmt::Debug for super::UpdateCryptoKeyVersionRequest {
771    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
772        let mut debug_struct = f.debug_struct("UpdateCryptoKeyVersionRequest");
773        debug_struct.field("crypto_key_version", &self.crypto_key_version);
774        debug_struct.field("update_mask", &self.update_mask);
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::UpdateCryptoKeyPrimaryVersionRequest {
783    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
784        let mut debug_struct = f.debug_struct("UpdateCryptoKeyPrimaryVersionRequest");
785        debug_struct.field("name", &self.name);
786        debug_struct.field("crypto_key_version_id", &self.crypto_key_version_id);
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::DestroyCryptoKeyVersionRequest {
795    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
796        let mut debug_struct = f.debug_struct("DestroyCryptoKeyVersionRequest");
797        debug_struct.field("name", &self.name);
798        if !self._unknown_fields.is_empty() {
799            debug_struct.field("_unknown_fields", &self._unknown_fields);
800        }
801        debug_struct.finish()
802    }
803}
804
805impl std::fmt::Debug for super::RestoreCryptoKeyVersionRequest {
806    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
807        let mut debug_struct = f.debug_struct("RestoreCryptoKeyVersionRequest");
808        debug_struct.field("name", &self.name);
809        if !self._unknown_fields.is_empty() {
810            debug_struct.field("_unknown_fields", &self._unknown_fields);
811        }
812        debug_struct.finish()
813    }
814}
815
816impl std::fmt::Debug for super::EncryptRequest {
817    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
818        let mut debug_struct = f.debug_struct("EncryptRequest");
819        debug_struct.field("name", &self.name);
820        debug_struct.field("plaintext", &self.plaintext);
821        debug_struct.field(
822            "additional_authenticated_data",
823            &self.additional_authenticated_data,
824        );
825        debug_struct.field("plaintext_crc32c", &self.plaintext_crc32c);
826        debug_struct.field(
827            "additional_authenticated_data_crc32c",
828            &self.additional_authenticated_data_crc32c,
829        );
830        if !self._unknown_fields.is_empty() {
831            debug_struct.field("_unknown_fields", &self._unknown_fields);
832        }
833        debug_struct.finish()
834    }
835}
836
837impl std::fmt::Debug for super::DecryptRequest {
838    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
839        let mut debug_struct = f.debug_struct("DecryptRequest");
840        debug_struct.field("name", &self.name);
841        debug_struct.field("ciphertext", &self.ciphertext);
842        debug_struct.field(
843            "additional_authenticated_data",
844            &self.additional_authenticated_data,
845        );
846        debug_struct.field("ciphertext_crc32c", &self.ciphertext_crc32c);
847        debug_struct.field(
848            "additional_authenticated_data_crc32c",
849            &self.additional_authenticated_data_crc32c,
850        );
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::RawEncryptRequest {
859    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
860        let mut debug_struct = f.debug_struct("RawEncryptRequest");
861        debug_struct.field("name", &self.name);
862        debug_struct.field("plaintext", &self.plaintext);
863        debug_struct.field(
864            "additional_authenticated_data",
865            &self.additional_authenticated_data,
866        );
867        debug_struct.field("plaintext_crc32c", &self.plaintext_crc32c);
868        debug_struct.field(
869            "additional_authenticated_data_crc32c",
870            &self.additional_authenticated_data_crc32c,
871        );
872        debug_struct.field("initialization_vector", &self.initialization_vector);
873        debug_struct.field(
874            "initialization_vector_crc32c",
875            &self.initialization_vector_crc32c,
876        );
877        if !self._unknown_fields.is_empty() {
878            debug_struct.field("_unknown_fields", &self._unknown_fields);
879        }
880        debug_struct.finish()
881    }
882}
883
884impl std::fmt::Debug for super::RawDecryptRequest {
885    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
886        let mut debug_struct = f.debug_struct("RawDecryptRequest");
887        debug_struct.field("name", &self.name);
888        debug_struct.field("ciphertext", &self.ciphertext);
889        debug_struct.field(
890            "additional_authenticated_data",
891            &self.additional_authenticated_data,
892        );
893        debug_struct.field("initialization_vector", &self.initialization_vector);
894        debug_struct.field("tag_length", &self.tag_length);
895        debug_struct.field("ciphertext_crc32c", &self.ciphertext_crc32c);
896        debug_struct.field(
897            "additional_authenticated_data_crc32c",
898            &self.additional_authenticated_data_crc32c,
899        );
900        debug_struct.field(
901            "initialization_vector_crc32c",
902            &self.initialization_vector_crc32c,
903        );
904        if !self._unknown_fields.is_empty() {
905            debug_struct.field("_unknown_fields", &self._unknown_fields);
906        }
907        debug_struct.finish()
908    }
909}
910
911impl std::fmt::Debug for super::AsymmetricSignRequest {
912    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
913        let mut debug_struct = f.debug_struct("AsymmetricSignRequest");
914        debug_struct.field("name", &self.name);
915        debug_struct.field("digest", &self.digest);
916        debug_struct.field("digest_crc32c", &self.digest_crc32c);
917        debug_struct.field("data", &self.data);
918        debug_struct.field("data_crc32c", &self.data_crc32c);
919        if !self._unknown_fields.is_empty() {
920            debug_struct.field("_unknown_fields", &self._unknown_fields);
921        }
922        debug_struct.finish()
923    }
924}
925
926impl std::fmt::Debug for super::AsymmetricDecryptRequest {
927    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
928        let mut debug_struct = f.debug_struct("AsymmetricDecryptRequest");
929        debug_struct.field("name", &self.name);
930        debug_struct.field("ciphertext", &self.ciphertext);
931        debug_struct.field("ciphertext_crc32c", &self.ciphertext_crc32c);
932        if !self._unknown_fields.is_empty() {
933            debug_struct.field("_unknown_fields", &self._unknown_fields);
934        }
935        debug_struct.finish()
936    }
937}
938
939impl std::fmt::Debug for super::MacSignRequest {
940    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
941        let mut debug_struct = f.debug_struct("MacSignRequest");
942        debug_struct.field("name", &self.name);
943        debug_struct.field("data", &self.data);
944        debug_struct.field("data_crc32c", &self.data_crc32c);
945        if !self._unknown_fields.is_empty() {
946            debug_struct.field("_unknown_fields", &self._unknown_fields);
947        }
948        debug_struct.finish()
949    }
950}
951
952impl std::fmt::Debug for super::MacVerifyRequest {
953    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
954        let mut debug_struct = f.debug_struct("MacVerifyRequest");
955        debug_struct.field("name", &self.name);
956        debug_struct.field("data", &self.data);
957        debug_struct.field("data_crc32c", &self.data_crc32c);
958        debug_struct.field("mac", &self.mac);
959        debug_struct.field("mac_crc32c", &self.mac_crc32c);
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::DecapsulateRequest {
968    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
969        let mut debug_struct = f.debug_struct("DecapsulateRequest");
970        debug_struct.field("name", &self.name);
971        debug_struct.field("ciphertext", &self.ciphertext);
972        debug_struct.field("ciphertext_crc32c", &self.ciphertext_crc32c);
973        if !self._unknown_fields.is_empty() {
974            debug_struct.field("_unknown_fields", &self._unknown_fields);
975        }
976        debug_struct.finish()
977    }
978}
979
980impl std::fmt::Debug for super::GenerateRandomBytesRequest {
981    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
982        let mut debug_struct = f.debug_struct("GenerateRandomBytesRequest");
983        debug_struct.field("location", &self.location);
984        debug_struct.field("length_bytes", &self.length_bytes);
985        debug_struct.field("protection_level", &self.protection_level);
986        if !self._unknown_fields.is_empty() {
987            debug_struct.field("_unknown_fields", &self._unknown_fields);
988        }
989        debug_struct.finish()
990    }
991}
992
993impl std::fmt::Debug for super::EncryptResponse {
994    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
995        let mut debug_struct = f.debug_struct("EncryptResponse");
996        debug_struct.field("name", &self.name);
997        debug_struct.field("ciphertext", &self.ciphertext);
998        debug_struct.field("ciphertext_crc32c", &self.ciphertext_crc32c);
999        debug_struct.field("verified_plaintext_crc32c", &self.verified_plaintext_crc32c);
1000        debug_struct.field(
1001            "verified_additional_authenticated_data_crc32c",
1002            &self.verified_additional_authenticated_data_crc32c,
1003        );
1004        debug_struct.field("protection_level", &self.protection_level);
1005        if !self._unknown_fields.is_empty() {
1006            debug_struct.field("_unknown_fields", &self._unknown_fields);
1007        }
1008        debug_struct.finish()
1009    }
1010}
1011
1012impl std::fmt::Debug for super::DecryptResponse {
1013    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1014        let mut debug_struct = f.debug_struct("DecryptResponse");
1015        debug_struct.field("plaintext", &self.plaintext);
1016        debug_struct.field("plaintext_crc32c", &self.plaintext_crc32c);
1017        debug_struct.field("used_primary", &self.used_primary);
1018        debug_struct.field("protection_level", &self.protection_level);
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::RawEncryptResponse {
1027    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1028        let mut debug_struct = f.debug_struct("RawEncryptResponse");
1029        debug_struct.field("ciphertext", &self.ciphertext);
1030        debug_struct.field("initialization_vector", &self.initialization_vector);
1031        debug_struct.field("tag_length", &self.tag_length);
1032        debug_struct.field("ciphertext_crc32c", &self.ciphertext_crc32c);
1033        debug_struct.field(
1034            "initialization_vector_crc32c",
1035            &self.initialization_vector_crc32c,
1036        );
1037        debug_struct.field("verified_plaintext_crc32c", &self.verified_plaintext_crc32c);
1038        debug_struct.field(
1039            "verified_additional_authenticated_data_crc32c",
1040            &self.verified_additional_authenticated_data_crc32c,
1041        );
1042        debug_struct.field(
1043            "verified_initialization_vector_crc32c",
1044            &self.verified_initialization_vector_crc32c,
1045        );
1046        debug_struct.field("name", &self.name);
1047        debug_struct.field("protection_level", &self.protection_level);
1048        if !self._unknown_fields.is_empty() {
1049            debug_struct.field("_unknown_fields", &self._unknown_fields);
1050        }
1051        debug_struct.finish()
1052    }
1053}
1054
1055impl std::fmt::Debug for super::RawDecryptResponse {
1056    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1057        let mut debug_struct = f.debug_struct("RawDecryptResponse");
1058        debug_struct.field("plaintext", &self.plaintext);
1059        debug_struct.field("plaintext_crc32c", &self.plaintext_crc32c);
1060        debug_struct.field("protection_level", &self.protection_level);
1061        debug_struct.field(
1062            "verified_ciphertext_crc32c",
1063            &self.verified_ciphertext_crc32c,
1064        );
1065        debug_struct.field(
1066            "verified_additional_authenticated_data_crc32c",
1067            &self.verified_additional_authenticated_data_crc32c,
1068        );
1069        debug_struct.field(
1070            "verified_initialization_vector_crc32c",
1071            &self.verified_initialization_vector_crc32c,
1072        );
1073        if !self._unknown_fields.is_empty() {
1074            debug_struct.field("_unknown_fields", &self._unknown_fields);
1075        }
1076        debug_struct.finish()
1077    }
1078}
1079
1080impl std::fmt::Debug for super::AsymmetricSignResponse {
1081    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1082        let mut debug_struct = f.debug_struct("AsymmetricSignResponse");
1083        debug_struct.field("signature", &self.signature);
1084        debug_struct.field("signature_crc32c", &self.signature_crc32c);
1085        debug_struct.field("verified_digest_crc32c", &self.verified_digest_crc32c);
1086        debug_struct.field("name", &self.name);
1087        debug_struct.field("verified_data_crc32c", &self.verified_data_crc32c);
1088        debug_struct.field("protection_level", &self.protection_level);
1089        if !self._unknown_fields.is_empty() {
1090            debug_struct.field("_unknown_fields", &self._unknown_fields);
1091        }
1092        debug_struct.finish()
1093    }
1094}
1095
1096impl std::fmt::Debug for super::AsymmetricDecryptResponse {
1097    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1098        let mut debug_struct = f.debug_struct("AsymmetricDecryptResponse");
1099        debug_struct.field("plaintext", &self.plaintext);
1100        debug_struct.field("plaintext_crc32c", &self.plaintext_crc32c);
1101        debug_struct.field(
1102            "verified_ciphertext_crc32c",
1103            &self.verified_ciphertext_crc32c,
1104        );
1105        debug_struct.field("protection_level", &self.protection_level);
1106        if !self._unknown_fields.is_empty() {
1107            debug_struct.field("_unknown_fields", &self._unknown_fields);
1108        }
1109        debug_struct.finish()
1110    }
1111}
1112
1113impl std::fmt::Debug for super::MacSignResponse {
1114    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1115        let mut debug_struct = f.debug_struct("MacSignResponse");
1116        debug_struct.field("name", &self.name);
1117        debug_struct.field("mac", &self.mac);
1118        debug_struct.field("mac_crc32c", &self.mac_crc32c);
1119        debug_struct.field("verified_data_crc32c", &self.verified_data_crc32c);
1120        debug_struct.field("protection_level", &self.protection_level);
1121        if !self._unknown_fields.is_empty() {
1122            debug_struct.field("_unknown_fields", &self._unknown_fields);
1123        }
1124        debug_struct.finish()
1125    }
1126}
1127
1128impl std::fmt::Debug for super::MacVerifyResponse {
1129    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1130        let mut debug_struct = f.debug_struct("MacVerifyResponse");
1131        debug_struct.field("name", &self.name);
1132        debug_struct.field("success", &self.success);
1133        debug_struct.field("verified_data_crc32c", &self.verified_data_crc32c);
1134        debug_struct.field("verified_mac_crc32c", &self.verified_mac_crc32c);
1135        debug_struct.field(
1136            "verified_success_integrity",
1137            &self.verified_success_integrity,
1138        );
1139        debug_struct.field("protection_level", &self.protection_level);
1140        if !self._unknown_fields.is_empty() {
1141            debug_struct.field("_unknown_fields", &self._unknown_fields);
1142        }
1143        debug_struct.finish()
1144    }
1145}
1146
1147impl std::fmt::Debug for super::DecapsulateResponse {
1148    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1149        let mut debug_struct = f.debug_struct("DecapsulateResponse");
1150        debug_struct.field("name", &self.name);
1151        debug_struct.field("shared_secret", &self.shared_secret);
1152        debug_struct.field("shared_secret_crc32c", &self.shared_secret_crc32c);
1153        debug_struct.field(
1154            "verified_ciphertext_crc32c",
1155            &self.verified_ciphertext_crc32c,
1156        );
1157        debug_struct.field("protection_level", &self.protection_level);
1158        if !self._unknown_fields.is_empty() {
1159            debug_struct.field("_unknown_fields", &self._unknown_fields);
1160        }
1161        debug_struct.finish()
1162    }
1163}
1164
1165impl std::fmt::Debug for super::GenerateRandomBytesResponse {
1166    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1167        let mut debug_struct = f.debug_struct("GenerateRandomBytesResponse");
1168        debug_struct.field("data", &self.data);
1169        debug_struct.field("data_crc32c", &self.data_crc32c);
1170        if !self._unknown_fields.is_empty() {
1171            debug_struct.field("_unknown_fields", &self._unknown_fields);
1172        }
1173        debug_struct.finish()
1174    }
1175}
1176
1177impl std::fmt::Debug for super::Digest {
1178    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1179        let mut debug_struct = f.debug_struct("Digest");
1180        debug_struct.field("digest", &self.digest);
1181        if !self._unknown_fields.is_empty() {
1182            debug_struct.field("_unknown_fields", &self._unknown_fields);
1183        }
1184        debug_struct.finish()
1185    }
1186}
1187
1188impl std::fmt::Debug for super::LocationMetadata {
1189    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1190        let mut debug_struct = f.debug_struct("LocationMetadata");
1191        debug_struct.field("hsm_available", &self.hsm_available);
1192        debug_struct.field("ekm_available", &self.ekm_available);
1193        if !self._unknown_fields.is_empty() {
1194            debug_struct.field("_unknown_fields", &self._unknown_fields);
1195        }
1196        debug_struct.finish()
1197    }
1198}