Skip to main content

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        debug_struct.field(
124            "key_project_resolution_mode",
125            &self.key_project_resolution_mode,
126        );
127        if !self._unknown_fields.is_empty() {
128            debug_struct.field("_unknown_fields", &self._unknown_fields);
129        }
130        debug_struct.finish()
131    }
132}
133
134impl std::fmt::Debug for super::ShowEffectiveAutokeyConfigRequest {
135    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
136        let mut debug_struct = f.debug_struct("ShowEffectiveAutokeyConfigRequest");
137        debug_struct.field("parent", &self.parent);
138        if !self._unknown_fields.is_empty() {
139            debug_struct.field("_unknown_fields", &self._unknown_fields);
140        }
141        debug_struct.finish()
142    }
143}
144
145impl std::fmt::Debug for super::ShowEffectiveAutokeyConfigResponse {
146    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
147        let mut debug_struct = f.debug_struct("ShowEffectiveAutokeyConfigResponse");
148        debug_struct.field("key_project", &self.key_project);
149        if !self._unknown_fields.is_empty() {
150            debug_struct.field("_unknown_fields", &self._unknown_fields);
151        }
152        debug_struct.finish()
153    }
154}
155
156impl std::fmt::Debug for super::ListEkmConnectionsRequest {
157    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
158        let mut debug_struct = f.debug_struct("ListEkmConnectionsRequest");
159        debug_struct.field("parent", &self.parent);
160        debug_struct.field("page_size", &self.page_size);
161        debug_struct.field("page_token", &self.page_token);
162        debug_struct.field("filter", &self.filter);
163        debug_struct.field("order_by", &self.order_by);
164        if !self._unknown_fields.is_empty() {
165            debug_struct.field("_unknown_fields", &self._unknown_fields);
166        }
167        debug_struct.finish()
168    }
169}
170
171impl std::fmt::Debug for super::ListEkmConnectionsResponse {
172    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
173        let mut debug_struct = f.debug_struct("ListEkmConnectionsResponse");
174        debug_struct.field("ekm_connections", &self.ekm_connections);
175        debug_struct.field("next_page_token", &self.next_page_token);
176        debug_struct.field("total_size", &self.total_size);
177        if !self._unknown_fields.is_empty() {
178            debug_struct.field("_unknown_fields", &self._unknown_fields);
179        }
180        debug_struct.finish()
181    }
182}
183
184impl std::fmt::Debug for super::GetEkmConnectionRequest {
185    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
186        let mut debug_struct = f.debug_struct("GetEkmConnectionRequest");
187        debug_struct.field("name", &self.name);
188        if !self._unknown_fields.is_empty() {
189            debug_struct.field("_unknown_fields", &self._unknown_fields);
190        }
191        debug_struct.finish()
192    }
193}
194
195impl std::fmt::Debug for super::CreateEkmConnectionRequest {
196    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
197        let mut debug_struct = f.debug_struct("CreateEkmConnectionRequest");
198        debug_struct.field("parent", &self.parent);
199        debug_struct.field("ekm_connection_id", &self.ekm_connection_id);
200        debug_struct.field("ekm_connection", &self.ekm_connection);
201        if !self._unknown_fields.is_empty() {
202            debug_struct.field("_unknown_fields", &self._unknown_fields);
203        }
204        debug_struct.finish()
205    }
206}
207
208impl std::fmt::Debug for super::UpdateEkmConnectionRequest {
209    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
210        let mut debug_struct = f.debug_struct("UpdateEkmConnectionRequest");
211        debug_struct.field("ekm_connection", &self.ekm_connection);
212        debug_struct.field("update_mask", &self.update_mask);
213        if !self._unknown_fields.is_empty() {
214            debug_struct.field("_unknown_fields", &self._unknown_fields);
215        }
216        debug_struct.finish()
217    }
218}
219
220impl std::fmt::Debug for super::GetEkmConfigRequest {
221    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
222        let mut debug_struct = f.debug_struct("GetEkmConfigRequest");
223        debug_struct.field("name", &self.name);
224        if !self._unknown_fields.is_empty() {
225            debug_struct.field("_unknown_fields", &self._unknown_fields);
226        }
227        debug_struct.finish()
228    }
229}
230
231impl std::fmt::Debug for super::UpdateEkmConfigRequest {
232    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
233        let mut debug_struct = f.debug_struct("UpdateEkmConfigRequest");
234        debug_struct.field("ekm_config", &self.ekm_config);
235        debug_struct.field("update_mask", &self.update_mask);
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::Certificate {
244    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
245        let mut debug_struct = f.debug_struct("Certificate");
246        debug_struct.field("raw_der", &self.raw_der);
247        debug_struct.field("parsed", &self.parsed);
248        debug_struct.field("issuer", &self.issuer);
249        debug_struct.field("subject", &self.subject);
250        debug_struct.field(
251            "subject_alternative_dns_names",
252            &self.subject_alternative_dns_names,
253        );
254        debug_struct.field("not_before_time", &self.not_before_time);
255        debug_struct.field("not_after_time", &self.not_after_time);
256        debug_struct.field("serial_number", &self.serial_number);
257        debug_struct.field("sha256_fingerprint", &self.sha256_fingerprint);
258        if !self._unknown_fields.is_empty() {
259            debug_struct.field("_unknown_fields", &self._unknown_fields);
260        }
261        debug_struct.finish()
262    }
263}
264
265impl std::fmt::Debug for super::EkmConnection {
266    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
267        let mut debug_struct = f.debug_struct("EkmConnection");
268        debug_struct.field("name", &self.name);
269        debug_struct.field("create_time", &self.create_time);
270        debug_struct.field("service_resolvers", &self.service_resolvers);
271        debug_struct.field("etag", &self.etag);
272        debug_struct.field("key_management_mode", &self.key_management_mode);
273        debug_struct.field("crypto_space_path", &self.crypto_space_path);
274        if !self._unknown_fields.is_empty() {
275            debug_struct.field("_unknown_fields", &self._unknown_fields);
276        }
277        debug_struct.finish()
278    }
279}
280
281impl std::fmt::Debug for super::ekm_connection::ServiceResolver {
282    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
283        let mut debug_struct = f.debug_struct("ServiceResolver");
284        debug_struct.field("service_directory_service", &self.service_directory_service);
285        debug_struct.field("endpoint_filter", &self.endpoint_filter);
286        debug_struct.field("hostname", &self.hostname);
287        debug_struct.field("server_certificates", &self.server_certificates);
288        if !self._unknown_fields.is_empty() {
289            debug_struct.field("_unknown_fields", &self._unknown_fields);
290        }
291        debug_struct.finish()
292    }
293}
294
295impl std::fmt::Debug for super::EkmConfig {
296    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
297        let mut debug_struct = f.debug_struct("EkmConfig");
298        debug_struct.field("name", &self.name);
299        debug_struct.field("default_ekm_connection", &self.default_ekm_connection);
300        if !self._unknown_fields.is_empty() {
301            debug_struct.field("_unknown_fields", &self._unknown_fields);
302        }
303        debug_struct.finish()
304    }
305}
306
307impl std::fmt::Debug for super::VerifyConnectivityRequest {
308    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
309        let mut debug_struct = f.debug_struct("VerifyConnectivityRequest");
310        debug_struct.field("name", &self.name);
311        if !self._unknown_fields.is_empty() {
312            debug_struct.field("_unknown_fields", &self._unknown_fields);
313        }
314        debug_struct.finish()
315    }
316}
317
318impl std::fmt::Debug for super::VerifyConnectivityResponse {
319    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
320        let mut debug_struct = f.debug_struct("VerifyConnectivityResponse");
321        if !self._unknown_fields.is_empty() {
322            debug_struct.field("_unknown_fields", &self._unknown_fields);
323        }
324        debug_struct.finish()
325    }
326}
327
328impl std::fmt::Debug for super::SingleTenantHsmInstance {
329    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
330        let mut debug_struct = f.debug_struct("SingleTenantHsmInstance");
331        debug_struct.field("name", &self.name);
332        debug_struct.field("create_time", &self.create_time);
333        debug_struct.field("state", &self.state);
334        debug_struct.field("quorum_auth", &self.quorum_auth);
335        debug_struct.field("delete_time", &self.delete_time);
336        debug_struct.field(
337            "unrefreshed_duration_until_disable",
338            &self.unrefreshed_duration_until_disable,
339        );
340        debug_struct.field("disable_time", &self.disable_time);
341        if !self._unknown_fields.is_empty() {
342            debug_struct.field("_unknown_fields", &self._unknown_fields);
343        }
344        debug_struct.finish()
345    }
346}
347
348impl std::fmt::Debug for super::single_tenant_hsm_instance::QuorumAuth {
349    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
350        let mut debug_struct = f.debug_struct("QuorumAuth");
351        debug_struct.field("total_approver_count", &self.total_approver_count);
352        debug_struct.field("required_approver_count", &self.required_approver_count);
353        debug_struct.field(
354            "two_factor_public_key_pems",
355            &self.two_factor_public_key_pems,
356        );
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::SingleTenantHsmInstanceProposal {
365    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
366        let mut debug_struct = f.debug_struct("SingleTenantHsmInstanceProposal");
367        debug_struct.field("name", &self.name);
368        debug_struct.field("create_time", &self.create_time);
369        debug_struct.field("state", &self.state);
370        debug_struct.field("failure_reason", &self.failure_reason);
371        debug_struct.field("delete_time", &self.delete_time);
372        debug_struct.field("purge_time", &self.purge_time);
373        debug_struct.field("approval_parameters", &self.approval_parameters);
374        debug_struct.field("expiration", &self.expiration);
375        debug_struct.field("operation", &self.operation);
376        if !self._unknown_fields.is_empty() {
377            debug_struct.field("_unknown_fields", &self._unknown_fields);
378        }
379        debug_struct.finish()
380    }
381}
382
383impl std::fmt::Debug for super::single_tenant_hsm_instance_proposal::QuorumParameters {
384    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
385        let mut debug_struct = f.debug_struct("QuorumParameters");
386        debug_struct.field("required_approver_count", &self.required_approver_count);
387        debug_struct.field("challenges", &self.challenges);
388        debug_struct.field(
389            "approved_two_factor_public_key_pems",
390            &self.approved_two_factor_public_key_pems,
391        );
392        if !self._unknown_fields.is_empty() {
393            debug_struct.field("_unknown_fields", &self._unknown_fields);
394        }
395        debug_struct.finish()
396    }
397}
398
399impl std::fmt::Debug
400    for super::single_tenant_hsm_instance_proposal::RequiredActionQuorumParameters
401{
402    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
403        let mut debug_struct = f.debug_struct("RequiredActionQuorumParameters");
404        debug_struct.field("required_challenges", &self.required_challenges);
405        debug_struct.field("required_approver_count", &self.required_approver_count);
406        debug_struct.field("quorum_challenges", &self.quorum_challenges);
407        debug_struct.field(
408            "approved_two_factor_public_key_pems",
409            &self.approved_two_factor_public_key_pems,
410        );
411        if !self._unknown_fields.is_empty() {
412            debug_struct.field("_unknown_fields", &self._unknown_fields);
413        }
414        debug_struct.finish()
415    }
416}
417
418impl std::fmt::Debug for super::single_tenant_hsm_instance_proposal::RegisterTwoFactorAuthKeys {
419    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
420        let mut debug_struct = f.debug_struct("RegisterTwoFactorAuthKeys");
421        debug_struct.field("required_approver_count", &self.required_approver_count);
422        debug_struct.field(
423            "two_factor_public_key_pems",
424            &self.two_factor_public_key_pems,
425        );
426        if !self._unknown_fields.is_empty() {
427            debug_struct.field("_unknown_fields", &self._unknown_fields);
428        }
429        debug_struct.finish()
430    }
431}
432
433impl std::fmt::Debug
434    for super::single_tenant_hsm_instance_proposal::DisableSingleTenantHsmInstance
435{
436    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
437        let mut debug_struct = f.debug_struct("DisableSingleTenantHsmInstance");
438        if !self._unknown_fields.is_empty() {
439            debug_struct.field("_unknown_fields", &self._unknown_fields);
440        }
441        debug_struct.finish()
442    }
443}
444
445impl std::fmt::Debug for super::single_tenant_hsm_instance_proposal::EnableSingleTenantHsmInstance {
446    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
447        let mut debug_struct = f.debug_struct("EnableSingleTenantHsmInstance");
448        if !self._unknown_fields.is_empty() {
449            debug_struct.field("_unknown_fields", &self._unknown_fields);
450        }
451        debug_struct.finish()
452    }
453}
454
455impl std::fmt::Debug for super::single_tenant_hsm_instance_proposal::DeleteSingleTenantHsmInstance {
456    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
457        let mut debug_struct = f.debug_struct("DeleteSingleTenantHsmInstance");
458        if !self._unknown_fields.is_empty() {
459            debug_struct.field("_unknown_fields", &self._unknown_fields);
460        }
461        debug_struct.finish()
462    }
463}
464
465impl std::fmt::Debug for super::single_tenant_hsm_instance_proposal::AddQuorumMember {
466    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
467        let mut debug_struct = f.debug_struct("AddQuorumMember");
468        debug_struct.field("two_factor_public_key_pem", &self.two_factor_public_key_pem);
469        if !self._unknown_fields.is_empty() {
470            debug_struct.field("_unknown_fields", &self._unknown_fields);
471        }
472        debug_struct.finish()
473    }
474}
475
476impl std::fmt::Debug for super::single_tenant_hsm_instance_proposal::RemoveQuorumMember {
477    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
478        let mut debug_struct = f.debug_struct("RemoveQuorumMember");
479        debug_struct.field("two_factor_public_key_pem", &self.two_factor_public_key_pem);
480        if !self._unknown_fields.is_empty() {
481            debug_struct.field("_unknown_fields", &self._unknown_fields);
482        }
483        debug_struct.finish()
484    }
485}
486
487impl std::fmt::Debug
488    for super::single_tenant_hsm_instance_proposal::RefreshSingleTenantHsmInstance
489{
490    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
491        let mut debug_struct = f.debug_struct("RefreshSingleTenantHsmInstance");
492        if !self._unknown_fields.is_empty() {
493            debug_struct.field("_unknown_fields", &self._unknown_fields);
494        }
495        debug_struct.finish()
496    }
497}
498
499impl std::fmt::Debug for super::Challenge {
500    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
501        let mut debug_struct = f.debug_struct("Challenge");
502        debug_struct.field("challenge", &self.challenge);
503        debug_struct.field("public_key_pem", &self.public_key_pem);
504        if !self._unknown_fields.is_empty() {
505            debug_struct.field("_unknown_fields", &self._unknown_fields);
506        }
507        debug_struct.finish()
508    }
509}
510
511impl std::fmt::Debug for super::ChallengeReply {
512    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
513        let mut debug_struct = f.debug_struct("ChallengeReply");
514        debug_struct.field("signed_challenge", &self.signed_challenge);
515        debug_struct.field("public_key_pem", &self.public_key_pem);
516        if !self._unknown_fields.is_empty() {
517            debug_struct.field("_unknown_fields", &self._unknown_fields);
518        }
519        debug_struct.finish()
520    }
521}
522
523impl std::fmt::Debug for super::ListSingleTenantHsmInstancesRequest {
524    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
525        let mut debug_struct = f.debug_struct("ListSingleTenantHsmInstancesRequest");
526        debug_struct.field("parent", &self.parent);
527        debug_struct.field("page_size", &self.page_size);
528        debug_struct.field("page_token", &self.page_token);
529        debug_struct.field("filter", &self.filter);
530        debug_struct.field("order_by", &self.order_by);
531        debug_struct.field("show_deleted", &self.show_deleted);
532        if !self._unknown_fields.is_empty() {
533            debug_struct.field("_unknown_fields", &self._unknown_fields);
534        }
535        debug_struct.finish()
536    }
537}
538
539impl std::fmt::Debug for super::ListSingleTenantHsmInstancesResponse {
540    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
541        let mut debug_struct = f.debug_struct("ListSingleTenantHsmInstancesResponse");
542        debug_struct.field(
543            "single_tenant_hsm_instances",
544            &self.single_tenant_hsm_instances,
545        );
546        debug_struct.field("next_page_token", &self.next_page_token);
547        debug_struct.field("total_size", &self.total_size);
548        if !self._unknown_fields.is_empty() {
549            debug_struct.field("_unknown_fields", &self._unknown_fields);
550        }
551        debug_struct.finish()
552    }
553}
554
555impl std::fmt::Debug for super::GetSingleTenantHsmInstanceRequest {
556    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
557        let mut debug_struct = f.debug_struct("GetSingleTenantHsmInstanceRequest");
558        debug_struct.field("name", &self.name);
559        if !self._unknown_fields.is_empty() {
560            debug_struct.field("_unknown_fields", &self._unknown_fields);
561        }
562        debug_struct.finish()
563    }
564}
565
566impl std::fmt::Debug for super::CreateSingleTenantHsmInstanceRequest {
567    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
568        let mut debug_struct = f.debug_struct("CreateSingleTenantHsmInstanceRequest");
569        debug_struct.field("parent", &self.parent);
570        debug_struct.field(
571            "single_tenant_hsm_instance_id",
572            &self.single_tenant_hsm_instance_id,
573        );
574        debug_struct.field(
575            "single_tenant_hsm_instance",
576            &self.single_tenant_hsm_instance,
577        );
578        if !self._unknown_fields.is_empty() {
579            debug_struct.field("_unknown_fields", &self._unknown_fields);
580        }
581        debug_struct.finish()
582    }
583}
584
585impl std::fmt::Debug for super::CreateSingleTenantHsmInstanceMetadata {
586    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
587        let mut debug_struct = f.debug_struct("CreateSingleTenantHsmInstanceMetadata");
588        if !self._unknown_fields.is_empty() {
589            debug_struct.field("_unknown_fields", &self._unknown_fields);
590        }
591        debug_struct.finish()
592    }
593}
594
595impl std::fmt::Debug for super::CreateSingleTenantHsmInstanceProposalRequest {
596    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
597        let mut debug_struct = f.debug_struct("CreateSingleTenantHsmInstanceProposalRequest");
598        debug_struct.field("parent", &self.parent);
599        debug_struct.field(
600            "single_tenant_hsm_instance_proposal_id",
601            &self.single_tenant_hsm_instance_proposal_id,
602        );
603        debug_struct.field(
604            "single_tenant_hsm_instance_proposal",
605            &self.single_tenant_hsm_instance_proposal,
606        );
607        if !self._unknown_fields.is_empty() {
608            debug_struct.field("_unknown_fields", &self._unknown_fields);
609        }
610        debug_struct.finish()
611    }
612}
613
614impl std::fmt::Debug for super::CreateSingleTenantHsmInstanceProposalMetadata {
615    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
616        let mut debug_struct = f.debug_struct("CreateSingleTenantHsmInstanceProposalMetadata");
617        if !self._unknown_fields.is_empty() {
618            debug_struct.field("_unknown_fields", &self._unknown_fields);
619        }
620        debug_struct.finish()
621    }
622}
623
624impl std::fmt::Debug for super::GetSingleTenantHsmInstanceProposalRequest {
625    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
626        let mut debug_struct = f.debug_struct("GetSingleTenantHsmInstanceProposalRequest");
627        debug_struct.field("name", &self.name);
628        if !self._unknown_fields.is_empty() {
629            debug_struct.field("_unknown_fields", &self._unknown_fields);
630        }
631        debug_struct.finish()
632    }
633}
634
635impl std::fmt::Debug for super::ApproveSingleTenantHsmInstanceProposalRequest {
636    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
637        let mut debug_struct = f.debug_struct("ApproveSingleTenantHsmInstanceProposalRequest");
638        debug_struct.field("name", &self.name);
639        debug_struct.field("approval_payload", &self.approval_payload);
640        if !self._unknown_fields.is_empty() {
641            debug_struct.field("_unknown_fields", &self._unknown_fields);
642        }
643        debug_struct.finish()
644    }
645}
646
647impl std::fmt::Debug for super::approve_single_tenant_hsm_instance_proposal_request::QuorumReply {
648    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
649        let mut debug_struct = f.debug_struct("QuorumReply");
650        debug_struct.field("challenge_replies", &self.challenge_replies);
651        if !self._unknown_fields.is_empty() {
652            debug_struct.field("_unknown_fields", &self._unknown_fields);
653        }
654        debug_struct.finish()
655    }
656}
657
658impl std::fmt::Debug
659    for super::approve_single_tenant_hsm_instance_proposal_request::RequiredActionQuorumReply
660{
661    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
662        let mut debug_struct = f.debug_struct("RequiredActionQuorumReply");
663        debug_struct.field(
664            "required_challenge_replies",
665            &self.required_challenge_replies,
666        );
667        debug_struct.field("quorum_challenge_replies", &self.quorum_challenge_replies);
668        if !self._unknown_fields.is_empty() {
669            debug_struct.field("_unknown_fields", &self._unknown_fields);
670        }
671        debug_struct.finish()
672    }
673}
674
675impl std::fmt::Debug for super::ApproveSingleTenantHsmInstanceProposalResponse {
676    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
677        let mut debug_struct = f.debug_struct("ApproveSingleTenantHsmInstanceProposalResponse");
678        if !self._unknown_fields.is_empty() {
679            debug_struct.field("_unknown_fields", &self._unknown_fields);
680        }
681        debug_struct.finish()
682    }
683}
684
685impl std::fmt::Debug for super::ExecuteSingleTenantHsmInstanceProposalRequest {
686    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
687        let mut debug_struct = f.debug_struct("ExecuteSingleTenantHsmInstanceProposalRequest");
688        debug_struct.field("name", &self.name);
689        if !self._unknown_fields.is_empty() {
690            debug_struct.field("_unknown_fields", &self._unknown_fields);
691        }
692        debug_struct.finish()
693    }
694}
695
696impl std::fmt::Debug for super::ExecuteSingleTenantHsmInstanceProposalResponse {
697    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
698        let mut debug_struct = f.debug_struct("ExecuteSingleTenantHsmInstanceProposalResponse");
699        if !self._unknown_fields.is_empty() {
700            debug_struct.field("_unknown_fields", &self._unknown_fields);
701        }
702        debug_struct.finish()
703    }
704}
705
706impl std::fmt::Debug for super::ExecuteSingleTenantHsmInstanceProposalMetadata {
707    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
708        let mut debug_struct = f.debug_struct("ExecuteSingleTenantHsmInstanceProposalMetadata");
709        if !self._unknown_fields.is_empty() {
710            debug_struct.field("_unknown_fields", &self._unknown_fields);
711        }
712        debug_struct.finish()
713    }
714}
715
716impl std::fmt::Debug for super::ListSingleTenantHsmInstanceProposalsRequest {
717    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
718        let mut debug_struct = f.debug_struct("ListSingleTenantHsmInstanceProposalsRequest");
719        debug_struct.field("parent", &self.parent);
720        debug_struct.field("page_size", &self.page_size);
721        debug_struct.field("page_token", &self.page_token);
722        debug_struct.field("filter", &self.filter);
723        debug_struct.field("order_by", &self.order_by);
724        debug_struct.field("show_deleted", &self.show_deleted);
725        if !self._unknown_fields.is_empty() {
726            debug_struct.field("_unknown_fields", &self._unknown_fields);
727        }
728        debug_struct.finish()
729    }
730}
731
732impl std::fmt::Debug for super::ListSingleTenantHsmInstanceProposalsResponse {
733    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
734        let mut debug_struct = f.debug_struct("ListSingleTenantHsmInstanceProposalsResponse");
735        debug_struct.field(
736            "single_tenant_hsm_instance_proposals",
737            &self.single_tenant_hsm_instance_proposals,
738        );
739        debug_struct.field("next_page_token", &self.next_page_token);
740        debug_struct.field("total_size", &self.total_size);
741        if !self._unknown_fields.is_empty() {
742            debug_struct.field("_unknown_fields", &self._unknown_fields);
743        }
744        debug_struct.finish()
745    }
746}
747
748impl std::fmt::Debug for super::DeleteSingleTenantHsmInstanceProposalRequest {
749    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
750        let mut debug_struct = f.debug_struct("DeleteSingleTenantHsmInstanceProposalRequest");
751        debug_struct.field("name", &self.name);
752        if !self._unknown_fields.is_empty() {
753            debug_struct.field("_unknown_fields", &self._unknown_fields);
754        }
755        debug_struct.finish()
756    }
757}
758
759impl std::fmt::Debug for super::KeyRing {
760    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
761        let mut debug_struct = f.debug_struct("KeyRing");
762        debug_struct.field("name", &self.name);
763        debug_struct.field("create_time", &self.create_time);
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::CryptoKey {
772    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
773        let mut debug_struct = f.debug_struct("CryptoKey");
774        debug_struct.field("name", &self.name);
775        debug_struct.field("primary", &self.primary);
776        debug_struct.field("purpose", &self.purpose);
777        debug_struct.field("create_time", &self.create_time);
778        debug_struct.field("next_rotation_time", &self.next_rotation_time);
779        debug_struct.field("version_template", &self.version_template);
780        debug_struct.field("labels", &self.labels);
781        debug_struct.field("import_only", &self.import_only);
782        debug_struct.field(
783            "destroy_scheduled_duration",
784            &self.destroy_scheduled_duration,
785        );
786        debug_struct.field("crypto_key_backend", &self.crypto_key_backend);
787        debug_struct.field(
788            "key_access_justifications_policy",
789            &self.key_access_justifications_policy,
790        );
791        debug_struct.field("rotation_schedule", &self.rotation_schedule);
792        if !self._unknown_fields.is_empty() {
793            debug_struct.field("_unknown_fields", &self._unknown_fields);
794        }
795        debug_struct.finish()
796    }
797}
798
799impl std::fmt::Debug for super::CryptoKeyVersionTemplate {
800    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
801        let mut debug_struct = f.debug_struct("CryptoKeyVersionTemplate");
802        debug_struct.field("protection_level", &self.protection_level);
803        debug_struct.field("algorithm", &self.algorithm);
804        if !self._unknown_fields.is_empty() {
805            debug_struct.field("_unknown_fields", &self._unknown_fields);
806        }
807        debug_struct.finish()
808    }
809}
810
811impl std::fmt::Debug for super::KeyOperationAttestation {
812    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
813        let mut debug_struct = f.debug_struct("KeyOperationAttestation");
814        debug_struct.field("format", &self.format);
815        debug_struct.field("content", &self.content);
816        debug_struct.field("cert_chains", &self.cert_chains);
817        if !self._unknown_fields.is_empty() {
818            debug_struct.field("_unknown_fields", &self._unknown_fields);
819        }
820        debug_struct.finish()
821    }
822}
823
824impl std::fmt::Debug for super::key_operation_attestation::CertificateChains {
825    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
826        let mut debug_struct = f.debug_struct("CertificateChains");
827        debug_struct.field("cavium_certs", &self.cavium_certs);
828        debug_struct.field("google_card_certs", &self.google_card_certs);
829        debug_struct.field("google_partition_certs", &self.google_partition_certs);
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::CryptoKeyVersion {
838    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
839        let mut debug_struct = f.debug_struct("CryptoKeyVersion");
840        debug_struct.field("name", &self.name);
841        debug_struct.field("state", &self.state);
842        debug_struct.field("protection_level", &self.protection_level);
843        debug_struct.field("algorithm", &self.algorithm);
844        debug_struct.field("attestation", &self.attestation);
845        debug_struct.field("create_time", &self.create_time);
846        debug_struct.field("generate_time", &self.generate_time);
847        debug_struct.field("destroy_time", &self.destroy_time);
848        debug_struct.field("destroy_event_time", &self.destroy_event_time);
849        debug_struct.field("import_job", &self.import_job);
850        debug_struct.field("import_time", &self.import_time);
851        debug_struct.field("import_failure_reason", &self.import_failure_reason);
852        debug_struct.field("generation_failure_reason", &self.generation_failure_reason);
853        debug_struct.field(
854            "external_destruction_failure_reason",
855            &self.external_destruction_failure_reason,
856        );
857        debug_struct.field(
858            "external_protection_level_options",
859            &self.external_protection_level_options,
860        );
861        debug_struct.field("reimport_eligible", &self.reimport_eligible);
862        if !self._unknown_fields.is_empty() {
863            debug_struct.field("_unknown_fields", &self._unknown_fields);
864        }
865        debug_struct.finish()
866    }
867}
868
869impl std::fmt::Debug for super::ChecksummedData {
870    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
871        let mut debug_struct = f.debug_struct("ChecksummedData");
872        debug_struct.field("data", &self.data);
873        debug_struct.field("crc32c_checksum", &self.crc32c_checksum);
874        if !self._unknown_fields.is_empty() {
875            debug_struct.field("_unknown_fields", &self._unknown_fields);
876        }
877        debug_struct.finish()
878    }
879}
880
881impl std::fmt::Debug for super::PublicKey {
882    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
883        let mut debug_struct = f.debug_struct("PublicKey");
884        debug_struct.field("pem", &self.pem);
885        debug_struct.field("algorithm", &self.algorithm);
886        debug_struct.field("pem_crc32c", &self.pem_crc32c);
887        debug_struct.field("name", &self.name);
888        debug_struct.field("protection_level", &self.protection_level);
889        debug_struct.field("public_key_format", &self.public_key_format);
890        debug_struct.field("public_key", &self.public_key);
891        if !self._unknown_fields.is_empty() {
892            debug_struct.field("_unknown_fields", &self._unknown_fields);
893        }
894        debug_struct.finish()
895    }
896}
897
898impl std::fmt::Debug for super::ImportJob {
899    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
900        let mut debug_struct = f.debug_struct("ImportJob");
901        debug_struct.field("name", &self.name);
902        debug_struct.field("import_method", &self.import_method);
903        debug_struct.field("protection_level", &self.protection_level);
904        debug_struct.field("create_time", &self.create_time);
905        debug_struct.field("generate_time", &self.generate_time);
906        debug_struct.field("expire_time", &self.expire_time);
907        debug_struct.field("expire_event_time", &self.expire_event_time);
908        debug_struct.field("state", &self.state);
909        debug_struct.field("public_key", &self.public_key);
910        debug_struct.field("attestation", &self.attestation);
911        debug_struct.field("crypto_key_backend", &self.crypto_key_backend);
912        if !self._unknown_fields.is_empty() {
913            debug_struct.field("_unknown_fields", &self._unknown_fields);
914        }
915        debug_struct.finish()
916    }
917}
918
919impl std::fmt::Debug for super::import_job::WrappingPublicKey {
920    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
921        let mut debug_struct = f.debug_struct("WrappingPublicKey");
922        debug_struct.field("pem", &self.pem);
923        if !self._unknown_fields.is_empty() {
924            debug_struct.field("_unknown_fields", &self._unknown_fields);
925        }
926        debug_struct.finish()
927    }
928}
929
930impl std::fmt::Debug for super::ExternalProtectionLevelOptions {
931    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
932        let mut debug_struct = f.debug_struct("ExternalProtectionLevelOptions");
933        debug_struct.field("external_key_uri", &self.external_key_uri);
934        debug_struct.field("ekm_connection_key_path", &self.ekm_connection_key_path);
935        if !self._unknown_fields.is_empty() {
936            debug_struct.field("_unknown_fields", &self._unknown_fields);
937        }
938        debug_struct.finish()
939    }
940}
941
942impl std::fmt::Debug for super::KeyAccessJustificationsPolicy {
943    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
944        let mut debug_struct = f.debug_struct("KeyAccessJustificationsPolicy");
945        debug_struct.field("allowed_access_reasons", &self.allowed_access_reasons);
946        if !self._unknown_fields.is_empty() {
947            debug_struct.field("_unknown_fields", &self._unknown_fields);
948        }
949        debug_struct.finish()
950    }
951}
952
953impl std::fmt::Debug for super::RetiredResource {
954    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
955        let mut debug_struct = f.debug_struct("RetiredResource");
956        debug_struct.field("name", &self.name);
957        debug_struct.field("original_resource", &self.original_resource);
958        debug_struct.field("resource_type", &self.resource_type);
959        debug_struct.field("delete_time", &self.delete_time);
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::ListKeyRingsRequest {
968    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
969        let mut debug_struct = f.debug_struct("ListKeyRingsRequest");
970        debug_struct.field("parent", &self.parent);
971        debug_struct.field("page_size", &self.page_size);
972        debug_struct.field("page_token", &self.page_token);
973        debug_struct.field("filter", &self.filter);
974        debug_struct.field("order_by", &self.order_by);
975        if !self._unknown_fields.is_empty() {
976            debug_struct.field("_unknown_fields", &self._unknown_fields);
977        }
978        debug_struct.finish()
979    }
980}
981
982impl std::fmt::Debug for super::ListCryptoKeysRequest {
983    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
984        let mut debug_struct = f.debug_struct("ListCryptoKeysRequest");
985        debug_struct.field("parent", &self.parent);
986        debug_struct.field("page_size", &self.page_size);
987        debug_struct.field("page_token", &self.page_token);
988        debug_struct.field("version_view", &self.version_view);
989        debug_struct.field("filter", &self.filter);
990        debug_struct.field("order_by", &self.order_by);
991        if !self._unknown_fields.is_empty() {
992            debug_struct.field("_unknown_fields", &self._unknown_fields);
993        }
994        debug_struct.finish()
995    }
996}
997
998impl std::fmt::Debug for super::ListCryptoKeyVersionsRequest {
999    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1000        let mut debug_struct = f.debug_struct("ListCryptoKeyVersionsRequest");
1001        debug_struct.field("parent", &self.parent);
1002        debug_struct.field("page_size", &self.page_size);
1003        debug_struct.field("page_token", &self.page_token);
1004        debug_struct.field("view", &self.view);
1005        debug_struct.field("filter", &self.filter);
1006        debug_struct.field("order_by", &self.order_by);
1007        if !self._unknown_fields.is_empty() {
1008            debug_struct.field("_unknown_fields", &self._unknown_fields);
1009        }
1010        debug_struct.finish()
1011    }
1012}
1013
1014impl std::fmt::Debug for super::ListImportJobsRequest {
1015    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1016        let mut debug_struct = f.debug_struct("ListImportJobsRequest");
1017        debug_struct.field("parent", &self.parent);
1018        debug_struct.field("page_size", &self.page_size);
1019        debug_struct.field("page_token", &self.page_token);
1020        debug_struct.field("filter", &self.filter);
1021        debug_struct.field("order_by", &self.order_by);
1022        if !self._unknown_fields.is_empty() {
1023            debug_struct.field("_unknown_fields", &self._unknown_fields);
1024        }
1025        debug_struct.finish()
1026    }
1027}
1028
1029impl std::fmt::Debug for super::ListRetiredResourcesRequest {
1030    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1031        let mut debug_struct = f.debug_struct("ListRetiredResourcesRequest");
1032        debug_struct.field("parent", &self.parent);
1033        debug_struct.field("page_size", &self.page_size);
1034        debug_struct.field("page_token", &self.page_token);
1035        if !self._unknown_fields.is_empty() {
1036            debug_struct.field("_unknown_fields", &self._unknown_fields);
1037        }
1038        debug_struct.finish()
1039    }
1040}
1041
1042impl std::fmt::Debug for super::ListKeyRingsResponse {
1043    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1044        let mut debug_struct = f.debug_struct("ListKeyRingsResponse");
1045        debug_struct.field("key_rings", &self.key_rings);
1046        debug_struct.field("next_page_token", &self.next_page_token);
1047        debug_struct.field("total_size", &self.total_size);
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::ListCryptoKeysResponse {
1056    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1057        let mut debug_struct = f.debug_struct("ListCryptoKeysResponse");
1058        debug_struct.field("crypto_keys", &self.crypto_keys);
1059        debug_struct.field("next_page_token", &self.next_page_token);
1060        debug_struct.field("total_size", &self.total_size);
1061        if !self._unknown_fields.is_empty() {
1062            debug_struct.field("_unknown_fields", &self._unknown_fields);
1063        }
1064        debug_struct.finish()
1065    }
1066}
1067
1068impl std::fmt::Debug for super::ListCryptoKeyVersionsResponse {
1069    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1070        let mut debug_struct = f.debug_struct("ListCryptoKeyVersionsResponse");
1071        debug_struct.field("crypto_key_versions", &self.crypto_key_versions);
1072        debug_struct.field("next_page_token", &self.next_page_token);
1073        debug_struct.field("total_size", &self.total_size);
1074        if !self._unknown_fields.is_empty() {
1075            debug_struct.field("_unknown_fields", &self._unknown_fields);
1076        }
1077        debug_struct.finish()
1078    }
1079}
1080
1081impl std::fmt::Debug for super::ListImportJobsResponse {
1082    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1083        let mut debug_struct = f.debug_struct("ListImportJobsResponse");
1084        debug_struct.field("import_jobs", &self.import_jobs);
1085        debug_struct.field("next_page_token", &self.next_page_token);
1086        debug_struct.field("total_size", &self.total_size);
1087        if !self._unknown_fields.is_empty() {
1088            debug_struct.field("_unknown_fields", &self._unknown_fields);
1089        }
1090        debug_struct.finish()
1091    }
1092}
1093
1094impl std::fmt::Debug for super::ListRetiredResourcesResponse {
1095    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1096        let mut debug_struct = f.debug_struct("ListRetiredResourcesResponse");
1097        debug_struct.field("retired_resources", &self.retired_resources);
1098        debug_struct.field("next_page_token", &self.next_page_token);
1099        debug_struct.field("total_size", &self.total_size);
1100        if !self._unknown_fields.is_empty() {
1101            debug_struct.field("_unknown_fields", &self._unknown_fields);
1102        }
1103        debug_struct.finish()
1104    }
1105}
1106
1107impl std::fmt::Debug for super::GetKeyRingRequest {
1108    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1109        let mut debug_struct = f.debug_struct("GetKeyRingRequest");
1110        debug_struct.field("name", &self.name);
1111        if !self._unknown_fields.is_empty() {
1112            debug_struct.field("_unknown_fields", &self._unknown_fields);
1113        }
1114        debug_struct.finish()
1115    }
1116}
1117
1118impl std::fmt::Debug for super::GetCryptoKeyRequest {
1119    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1120        let mut debug_struct = f.debug_struct("GetCryptoKeyRequest");
1121        debug_struct.field("name", &self.name);
1122        if !self._unknown_fields.is_empty() {
1123            debug_struct.field("_unknown_fields", &self._unknown_fields);
1124        }
1125        debug_struct.finish()
1126    }
1127}
1128
1129impl std::fmt::Debug for super::GetCryptoKeyVersionRequest {
1130    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1131        let mut debug_struct = f.debug_struct("GetCryptoKeyVersionRequest");
1132        debug_struct.field("name", &self.name);
1133        if !self._unknown_fields.is_empty() {
1134            debug_struct.field("_unknown_fields", &self._unknown_fields);
1135        }
1136        debug_struct.finish()
1137    }
1138}
1139
1140impl std::fmt::Debug for super::GetPublicKeyRequest {
1141    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1142        let mut debug_struct = f.debug_struct("GetPublicKeyRequest");
1143        debug_struct.field("name", &self.name);
1144        debug_struct.field("public_key_format", &self.public_key_format);
1145        if !self._unknown_fields.is_empty() {
1146            debug_struct.field("_unknown_fields", &self._unknown_fields);
1147        }
1148        debug_struct.finish()
1149    }
1150}
1151
1152impl std::fmt::Debug for super::GetImportJobRequest {
1153    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1154        let mut debug_struct = f.debug_struct("GetImportJobRequest");
1155        debug_struct.field("name", &self.name);
1156        if !self._unknown_fields.is_empty() {
1157            debug_struct.field("_unknown_fields", &self._unknown_fields);
1158        }
1159        debug_struct.finish()
1160    }
1161}
1162
1163impl std::fmt::Debug for super::GetRetiredResourceRequest {
1164    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1165        let mut debug_struct = f.debug_struct("GetRetiredResourceRequest");
1166        debug_struct.field("name", &self.name);
1167        if !self._unknown_fields.is_empty() {
1168            debug_struct.field("_unknown_fields", &self._unknown_fields);
1169        }
1170        debug_struct.finish()
1171    }
1172}
1173
1174impl std::fmt::Debug for super::CreateKeyRingRequest {
1175    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1176        let mut debug_struct = f.debug_struct("CreateKeyRingRequest");
1177        debug_struct.field("parent", &self.parent);
1178        debug_struct.field("key_ring_id", &self.key_ring_id);
1179        debug_struct.field("key_ring", &self.key_ring);
1180        if !self._unknown_fields.is_empty() {
1181            debug_struct.field("_unknown_fields", &self._unknown_fields);
1182        }
1183        debug_struct.finish()
1184    }
1185}
1186
1187impl std::fmt::Debug for super::CreateCryptoKeyRequest {
1188    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1189        let mut debug_struct = f.debug_struct("CreateCryptoKeyRequest");
1190        debug_struct.field("parent", &self.parent);
1191        debug_struct.field("crypto_key_id", &self.crypto_key_id);
1192        debug_struct.field("crypto_key", &self.crypto_key);
1193        debug_struct.field(
1194            "skip_initial_version_creation",
1195            &self.skip_initial_version_creation,
1196        );
1197        if !self._unknown_fields.is_empty() {
1198            debug_struct.field("_unknown_fields", &self._unknown_fields);
1199        }
1200        debug_struct.finish()
1201    }
1202}
1203
1204impl std::fmt::Debug for super::CreateCryptoKeyVersionRequest {
1205    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1206        let mut debug_struct = f.debug_struct("CreateCryptoKeyVersionRequest");
1207        debug_struct.field("parent", &self.parent);
1208        debug_struct.field("crypto_key_version", &self.crypto_key_version);
1209        if !self._unknown_fields.is_empty() {
1210            debug_struct.field("_unknown_fields", &self._unknown_fields);
1211        }
1212        debug_struct.finish()
1213    }
1214}
1215
1216impl std::fmt::Debug for super::DeleteCryptoKeyRequest {
1217    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1218        let mut debug_struct = f.debug_struct("DeleteCryptoKeyRequest");
1219        debug_struct.field("name", &self.name);
1220        if !self._unknown_fields.is_empty() {
1221            debug_struct.field("_unknown_fields", &self._unknown_fields);
1222        }
1223        debug_struct.finish()
1224    }
1225}
1226
1227impl std::fmt::Debug for super::DeleteCryptoKeyVersionRequest {
1228    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1229        let mut debug_struct = f.debug_struct("DeleteCryptoKeyVersionRequest");
1230        debug_struct.field("name", &self.name);
1231        if !self._unknown_fields.is_empty() {
1232            debug_struct.field("_unknown_fields", &self._unknown_fields);
1233        }
1234        debug_struct.finish()
1235    }
1236}
1237
1238impl std::fmt::Debug for super::ImportCryptoKeyVersionRequest {
1239    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1240        let mut debug_struct = f.debug_struct("ImportCryptoKeyVersionRequest");
1241        debug_struct.field("parent", &self.parent);
1242        debug_struct.field("crypto_key_version", &self.crypto_key_version);
1243        debug_struct.field("algorithm", &self.algorithm);
1244        debug_struct.field("import_job", &self.import_job);
1245        debug_struct.field("wrapped_key", &self.wrapped_key);
1246        debug_struct.field("wrapped_key_material", &self.wrapped_key_material);
1247        if !self._unknown_fields.is_empty() {
1248            debug_struct.field("_unknown_fields", &self._unknown_fields);
1249        }
1250        debug_struct.finish()
1251    }
1252}
1253
1254impl std::fmt::Debug for super::CreateImportJobRequest {
1255    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1256        let mut debug_struct = f.debug_struct("CreateImportJobRequest");
1257        debug_struct.field("parent", &self.parent);
1258        debug_struct.field("import_job_id", &self.import_job_id);
1259        debug_struct.field("import_job", &self.import_job);
1260        if !self._unknown_fields.is_empty() {
1261            debug_struct.field("_unknown_fields", &self._unknown_fields);
1262        }
1263        debug_struct.finish()
1264    }
1265}
1266
1267impl std::fmt::Debug for super::UpdateCryptoKeyRequest {
1268    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1269        let mut debug_struct = f.debug_struct("UpdateCryptoKeyRequest");
1270        debug_struct.field("crypto_key", &self.crypto_key);
1271        debug_struct.field("update_mask", &self.update_mask);
1272        if !self._unknown_fields.is_empty() {
1273            debug_struct.field("_unknown_fields", &self._unknown_fields);
1274        }
1275        debug_struct.finish()
1276    }
1277}
1278
1279impl std::fmt::Debug for super::UpdateCryptoKeyVersionRequest {
1280    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1281        let mut debug_struct = f.debug_struct("UpdateCryptoKeyVersionRequest");
1282        debug_struct.field("crypto_key_version", &self.crypto_key_version);
1283        debug_struct.field("update_mask", &self.update_mask);
1284        if !self._unknown_fields.is_empty() {
1285            debug_struct.field("_unknown_fields", &self._unknown_fields);
1286        }
1287        debug_struct.finish()
1288    }
1289}
1290
1291impl std::fmt::Debug for super::UpdateCryptoKeyPrimaryVersionRequest {
1292    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1293        let mut debug_struct = f.debug_struct("UpdateCryptoKeyPrimaryVersionRequest");
1294        debug_struct.field("name", &self.name);
1295        debug_struct.field("crypto_key_version_id", &self.crypto_key_version_id);
1296        if !self._unknown_fields.is_empty() {
1297            debug_struct.field("_unknown_fields", &self._unknown_fields);
1298        }
1299        debug_struct.finish()
1300    }
1301}
1302
1303impl std::fmt::Debug for super::DestroyCryptoKeyVersionRequest {
1304    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1305        let mut debug_struct = f.debug_struct("DestroyCryptoKeyVersionRequest");
1306        debug_struct.field("name", &self.name);
1307        if !self._unknown_fields.is_empty() {
1308            debug_struct.field("_unknown_fields", &self._unknown_fields);
1309        }
1310        debug_struct.finish()
1311    }
1312}
1313
1314impl std::fmt::Debug for super::RestoreCryptoKeyVersionRequest {
1315    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1316        let mut debug_struct = f.debug_struct("RestoreCryptoKeyVersionRequest");
1317        debug_struct.field("name", &self.name);
1318        if !self._unknown_fields.is_empty() {
1319            debug_struct.field("_unknown_fields", &self._unknown_fields);
1320        }
1321        debug_struct.finish()
1322    }
1323}
1324
1325impl std::fmt::Debug for super::EncryptRequest {
1326    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1327        let mut debug_struct = f.debug_struct("EncryptRequest");
1328        debug_struct.field("name", &self.name);
1329        debug_struct.field("plaintext", &self.plaintext);
1330        debug_struct.field(
1331            "additional_authenticated_data",
1332            &self.additional_authenticated_data,
1333        );
1334        debug_struct.field("plaintext_crc32c", &self.plaintext_crc32c);
1335        debug_struct.field(
1336            "additional_authenticated_data_crc32c",
1337            &self.additional_authenticated_data_crc32c,
1338        );
1339        if !self._unknown_fields.is_empty() {
1340            debug_struct.field("_unknown_fields", &self._unknown_fields);
1341        }
1342        debug_struct.finish()
1343    }
1344}
1345
1346impl std::fmt::Debug for super::DecryptRequest {
1347    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1348        let mut debug_struct = f.debug_struct("DecryptRequest");
1349        debug_struct.field("name", &self.name);
1350        debug_struct.field("ciphertext", &self.ciphertext);
1351        debug_struct.field(
1352            "additional_authenticated_data",
1353            &self.additional_authenticated_data,
1354        );
1355        debug_struct.field("ciphertext_crc32c", &self.ciphertext_crc32c);
1356        debug_struct.field(
1357            "additional_authenticated_data_crc32c",
1358            &self.additional_authenticated_data_crc32c,
1359        );
1360        if !self._unknown_fields.is_empty() {
1361            debug_struct.field("_unknown_fields", &self._unknown_fields);
1362        }
1363        debug_struct.finish()
1364    }
1365}
1366
1367impl std::fmt::Debug for super::RawEncryptRequest {
1368    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1369        let mut debug_struct = f.debug_struct("RawEncryptRequest");
1370        debug_struct.field("name", &self.name);
1371        debug_struct.field("plaintext", &self.plaintext);
1372        debug_struct.field(
1373            "additional_authenticated_data",
1374            &self.additional_authenticated_data,
1375        );
1376        debug_struct.field("plaintext_crc32c", &self.plaintext_crc32c);
1377        debug_struct.field(
1378            "additional_authenticated_data_crc32c",
1379            &self.additional_authenticated_data_crc32c,
1380        );
1381        debug_struct.field("initialization_vector", &self.initialization_vector);
1382        debug_struct.field(
1383            "initialization_vector_crc32c",
1384            &self.initialization_vector_crc32c,
1385        );
1386        if !self._unknown_fields.is_empty() {
1387            debug_struct.field("_unknown_fields", &self._unknown_fields);
1388        }
1389        debug_struct.finish()
1390    }
1391}
1392
1393impl std::fmt::Debug for super::RawDecryptRequest {
1394    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1395        let mut debug_struct = f.debug_struct("RawDecryptRequest");
1396        debug_struct.field("name", &self.name);
1397        debug_struct.field("ciphertext", &self.ciphertext);
1398        debug_struct.field(
1399            "additional_authenticated_data",
1400            &self.additional_authenticated_data,
1401        );
1402        debug_struct.field("initialization_vector", &self.initialization_vector);
1403        debug_struct.field("tag_length", &self.tag_length);
1404        debug_struct.field("ciphertext_crc32c", &self.ciphertext_crc32c);
1405        debug_struct.field(
1406            "additional_authenticated_data_crc32c",
1407            &self.additional_authenticated_data_crc32c,
1408        );
1409        debug_struct.field(
1410            "initialization_vector_crc32c",
1411            &self.initialization_vector_crc32c,
1412        );
1413        if !self._unknown_fields.is_empty() {
1414            debug_struct.field("_unknown_fields", &self._unknown_fields);
1415        }
1416        debug_struct.finish()
1417    }
1418}
1419
1420impl std::fmt::Debug for super::AsymmetricSignRequest {
1421    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1422        let mut debug_struct = f.debug_struct("AsymmetricSignRequest");
1423        debug_struct.field("name", &self.name);
1424        debug_struct.field("digest", &self.digest);
1425        debug_struct.field("digest_crc32c", &self.digest_crc32c);
1426        debug_struct.field("data", &self.data);
1427        debug_struct.field("data_crc32c", &self.data_crc32c);
1428        if !self._unknown_fields.is_empty() {
1429            debug_struct.field("_unknown_fields", &self._unknown_fields);
1430        }
1431        debug_struct.finish()
1432    }
1433}
1434
1435impl std::fmt::Debug for super::AsymmetricDecryptRequest {
1436    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1437        let mut debug_struct = f.debug_struct("AsymmetricDecryptRequest");
1438        debug_struct.field("name", &self.name);
1439        debug_struct.field("ciphertext", &self.ciphertext);
1440        debug_struct.field("ciphertext_crc32c", &self.ciphertext_crc32c);
1441        if !self._unknown_fields.is_empty() {
1442            debug_struct.field("_unknown_fields", &self._unknown_fields);
1443        }
1444        debug_struct.finish()
1445    }
1446}
1447
1448impl std::fmt::Debug for super::MacSignRequest {
1449    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1450        let mut debug_struct = f.debug_struct("MacSignRequest");
1451        debug_struct.field("name", &self.name);
1452        debug_struct.field("data", &self.data);
1453        debug_struct.field("data_crc32c", &self.data_crc32c);
1454        if !self._unknown_fields.is_empty() {
1455            debug_struct.field("_unknown_fields", &self._unknown_fields);
1456        }
1457        debug_struct.finish()
1458    }
1459}
1460
1461impl std::fmt::Debug for super::MacVerifyRequest {
1462    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1463        let mut debug_struct = f.debug_struct("MacVerifyRequest");
1464        debug_struct.field("name", &self.name);
1465        debug_struct.field("data", &self.data);
1466        debug_struct.field("data_crc32c", &self.data_crc32c);
1467        debug_struct.field("mac", &self.mac);
1468        debug_struct.field("mac_crc32c", &self.mac_crc32c);
1469        if !self._unknown_fields.is_empty() {
1470            debug_struct.field("_unknown_fields", &self._unknown_fields);
1471        }
1472        debug_struct.finish()
1473    }
1474}
1475
1476impl std::fmt::Debug for super::DecapsulateRequest {
1477    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1478        let mut debug_struct = f.debug_struct("DecapsulateRequest");
1479        debug_struct.field("name", &self.name);
1480        debug_struct.field("ciphertext", &self.ciphertext);
1481        debug_struct.field("ciphertext_crc32c", &self.ciphertext_crc32c);
1482        if !self._unknown_fields.is_empty() {
1483            debug_struct.field("_unknown_fields", &self._unknown_fields);
1484        }
1485        debug_struct.finish()
1486    }
1487}
1488
1489impl std::fmt::Debug for super::GenerateRandomBytesRequest {
1490    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1491        let mut debug_struct = f.debug_struct("GenerateRandomBytesRequest");
1492        debug_struct.field("location", &self.location);
1493        debug_struct.field("length_bytes", &self.length_bytes);
1494        debug_struct.field("protection_level", &self.protection_level);
1495        if !self._unknown_fields.is_empty() {
1496            debug_struct.field("_unknown_fields", &self._unknown_fields);
1497        }
1498        debug_struct.finish()
1499    }
1500}
1501
1502impl std::fmt::Debug for super::EncryptResponse {
1503    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1504        let mut debug_struct = f.debug_struct("EncryptResponse");
1505        debug_struct.field("name", &self.name);
1506        debug_struct.field("ciphertext", &self.ciphertext);
1507        debug_struct.field("ciphertext_crc32c", &self.ciphertext_crc32c);
1508        debug_struct.field("verified_plaintext_crc32c", &self.verified_plaintext_crc32c);
1509        debug_struct.field(
1510            "verified_additional_authenticated_data_crc32c",
1511            &self.verified_additional_authenticated_data_crc32c,
1512        );
1513        debug_struct.field("protection_level", &self.protection_level);
1514        if !self._unknown_fields.is_empty() {
1515            debug_struct.field("_unknown_fields", &self._unknown_fields);
1516        }
1517        debug_struct.finish()
1518    }
1519}
1520
1521impl std::fmt::Debug for super::DecryptResponse {
1522    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1523        let mut debug_struct = f.debug_struct("DecryptResponse");
1524        debug_struct.field("plaintext", &self.plaintext);
1525        debug_struct.field("plaintext_crc32c", &self.plaintext_crc32c);
1526        debug_struct.field("used_primary", &self.used_primary);
1527        debug_struct.field("protection_level", &self.protection_level);
1528        if !self._unknown_fields.is_empty() {
1529            debug_struct.field("_unknown_fields", &self._unknown_fields);
1530        }
1531        debug_struct.finish()
1532    }
1533}
1534
1535impl std::fmt::Debug for super::RawEncryptResponse {
1536    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1537        let mut debug_struct = f.debug_struct("RawEncryptResponse");
1538        debug_struct.field("ciphertext", &self.ciphertext);
1539        debug_struct.field("initialization_vector", &self.initialization_vector);
1540        debug_struct.field("tag_length", &self.tag_length);
1541        debug_struct.field("ciphertext_crc32c", &self.ciphertext_crc32c);
1542        debug_struct.field(
1543            "initialization_vector_crc32c",
1544            &self.initialization_vector_crc32c,
1545        );
1546        debug_struct.field("verified_plaintext_crc32c", &self.verified_plaintext_crc32c);
1547        debug_struct.field(
1548            "verified_additional_authenticated_data_crc32c",
1549            &self.verified_additional_authenticated_data_crc32c,
1550        );
1551        debug_struct.field(
1552            "verified_initialization_vector_crc32c",
1553            &self.verified_initialization_vector_crc32c,
1554        );
1555        debug_struct.field("name", &self.name);
1556        debug_struct.field("protection_level", &self.protection_level);
1557        if !self._unknown_fields.is_empty() {
1558            debug_struct.field("_unknown_fields", &self._unknown_fields);
1559        }
1560        debug_struct.finish()
1561    }
1562}
1563
1564impl std::fmt::Debug for super::RawDecryptResponse {
1565    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1566        let mut debug_struct = f.debug_struct("RawDecryptResponse");
1567        debug_struct.field("plaintext", &self.plaintext);
1568        debug_struct.field("plaintext_crc32c", &self.plaintext_crc32c);
1569        debug_struct.field("protection_level", &self.protection_level);
1570        debug_struct.field(
1571            "verified_ciphertext_crc32c",
1572            &self.verified_ciphertext_crc32c,
1573        );
1574        debug_struct.field(
1575            "verified_additional_authenticated_data_crc32c",
1576            &self.verified_additional_authenticated_data_crc32c,
1577        );
1578        debug_struct.field(
1579            "verified_initialization_vector_crc32c",
1580            &self.verified_initialization_vector_crc32c,
1581        );
1582        if !self._unknown_fields.is_empty() {
1583            debug_struct.field("_unknown_fields", &self._unknown_fields);
1584        }
1585        debug_struct.finish()
1586    }
1587}
1588
1589impl std::fmt::Debug for super::AsymmetricSignResponse {
1590    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1591        let mut debug_struct = f.debug_struct("AsymmetricSignResponse");
1592        debug_struct.field("signature", &self.signature);
1593        debug_struct.field("signature_crc32c", &self.signature_crc32c);
1594        debug_struct.field("verified_digest_crc32c", &self.verified_digest_crc32c);
1595        debug_struct.field("name", &self.name);
1596        debug_struct.field("verified_data_crc32c", &self.verified_data_crc32c);
1597        debug_struct.field("protection_level", &self.protection_level);
1598        if !self._unknown_fields.is_empty() {
1599            debug_struct.field("_unknown_fields", &self._unknown_fields);
1600        }
1601        debug_struct.finish()
1602    }
1603}
1604
1605impl std::fmt::Debug for super::AsymmetricDecryptResponse {
1606    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1607        let mut debug_struct = f.debug_struct("AsymmetricDecryptResponse");
1608        debug_struct.field("plaintext", &self.plaintext);
1609        debug_struct.field("plaintext_crc32c", &self.plaintext_crc32c);
1610        debug_struct.field(
1611            "verified_ciphertext_crc32c",
1612            &self.verified_ciphertext_crc32c,
1613        );
1614        debug_struct.field("protection_level", &self.protection_level);
1615        if !self._unknown_fields.is_empty() {
1616            debug_struct.field("_unknown_fields", &self._unknown_fields);
1617        }
1618        debug_struct.finish()
1619    }
1620}
1621
1622impl std::fmt::Debug for super::MacSignResponse {
1623    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1624        let mut debug_struct = f.debug_struct("MacSignResponse");
1625        debug_struct.field("name", &self.name);
1626        debug_struct.field("mac", &self.mac);
1627        debug_struct.field("mac_crc32c", &self.mac_crc32c);
1628        debug_struct.field("verified_data_crc32c", &self.verified_data_crc32c);
1629        debug_struct.field("protection_level", &self.protection_level);
1630        if !self._unknown_fields.is_empty() {
1631            debug_struct.field("_unknown_fields", &self._unknown_fields);
1632        }
1633        debug_struct.finish()
1634    }
1635}
1636
1637impl std::fmt::Debug for super::MacVerifyResponse {
1638    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1639        let mut debug_struct = f.debug_struct("MacVerifyResponse");
1640        debug_struct.field("name", &self.name);
1641        debug_struct.field("success", &self.success);
1642        debug_struct.field("verified_data_crc32c", &self.verified_data_crc32c);
1643        debug_struct.field("verified_mac_crc32c", &self.verified_mac_crc32c);
1644        debug_struct.field(
1645            "verified_success_integrity",
1646            &self.verified_success_integrity,
1647        );
1648        debug_struct.field("protection_level", &self.protection_level);
1649        if !self._unknown_fields.is_empty() {
1650            debug_struct.field("_unknown_fields", &self._unknown_fields);
1651        }
1652        debug_struct.finish()
1653    }
1654}
1655
1656impl std::fmt::Debug for super::DecapsulateResponse {
1657    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1658        let mut debug_struct = f.debug_struct("DecapsulateResponse");
1659        debug_struct.field("name", &self.name);
1660        debug_struct.field("shared_secret", &self.shared_secret);
1661        debug_struct.field("shared_secret_crc32c", &self.shared_secret_crc32c);
1662        debug_struct.field(
1663            "verified_ciphertext_crc32c",
1664            &self.verified_ciphertext_crc32c,
1665        );
1666        debug_struct.field("protection_level", &self.protection_level);
1667        if !self._unknown_fields.is_empty() {
1668            debug_struct.field("_unknown_fields", &self._unknown_fields);
1669        }
1670        debug_struct.finish()
1671    }
1672}
1673
1674impl std::fmt::Debug for super::GenerateRandomBytesResponse {
1675    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1676        let mut debug_struct = f.debug_struct("GenerateRandomBytesResponse");
1677        debug_struct.field("data", &self.data);
1678        debug_struct.field("data_crc32c", &self.data_crc32c);
1679        if !self._unknown_fields.is_empty() {
1680            debug_struct.field("_unknown_fields", &self._unknown_fields);
1681        }
1682        debug_struct.finish()
1683    }
1684}
1685
1686impl std::fmt::Debug for super::Digest {
1687    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1688        let mut debug_struct = f.debug_struct("Digest");
1689        debug_struct.field("digest", &self.digest);
1690        if !self._unknown_fields.is_empty() {
1691            debug_struct.field("_unknown_fields", &self._unknown_fields);
1692        }
1693        debug_struct.finish()
1694    }
1695}
1696
1697impl std::fmt::Debug for super::LocationMetadata {
1698    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1699        let mut debug_struct = f.debug_struct("LocationMetadata");
1700        debug_struct.field("hsm_available", &self.hsm_available);
1701        debug_struct.field("ekm_available", &self.ekm_available);
1702        debug_struct.field(
1703            "hsm_single_tenant_available",
1704            &self.hsm_single_tenant_available,
1705        );
1706        if !self._unknown_fields.is_empty() {
1707            debug_struct.field("_unknown_fields", &self._unknown_fields);
1708        }
1709        debug_struct.finish()
1710    }
1711}
1712
1713impl std::fmt::Debug for super::DeleteCryptoKeyMetadata {
1714    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1715        let mut debug_struct = f.debug_struct("DeleteCryptoKeyMetadata");
1716        debug_struct.field("retired_resource", &self.retired_resource);
1717        if !self._unknown_fields.is_empty() {
1718            debug_struct.field("_unknown_fields", &self._unknown_fields);
1719        }
1720        debug_struct.finish()
1721    }
1722}
1723
1724impl std::fmt::Debug for super::DeleteCryptoKeyVersionMetadata {
1725    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1726        let mut debug_struct = f.debug_struct("DeleteCryptoKeyVersionMetadata");
1727        if !self._unknown_fields.is_empty() {
1728            debug_struct.field("_unknown_fields", &self._unknown_fields);
1729        }
1730        debug_struct.finish()
1731    }
1732}