google_cloud_speech_v2/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::CreateRecognizerRequest {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("CreateRecognizerRequest");
23        debug_struct.field("recognizer", &self.recognizer);
24        debug_struct.field("validate_only", &self.validate_only);
25        debug_struct.field("recognizer_id", &self.recognizer_id);
26        debug_struct.field("parent", &self.parent);
27        if !self._unknown_fields.is_empty() {
28            debug_struct.field("_unknown_fields", &self._unknown_fields);
29        }
30        debug_struct.finish()
31    }
32}
33
34impl std::fmt::Debug for super::OperationMetadata {
35    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
36        let mut debug_struct = f.debug_struct("OperationMetadata");
37        debug_struct.field("create_time", &self.create_time);
38        debug_struct.field("update_time", &self.update_time);
39        debug_struct.field("resource", &self.resource);
40        debug_struct.field("method", &self.method);
41        debug_struct.field("kms_key_name", &self.kms_key_name);
42        debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
43        debug_struct.field("progress_percent", &self.progress_percent);
44        debug_struct.field("request", &self.request);
45        debug_struct.field("metadata", &self.metadata);
46        if !self._unknown_fields.is_empty() {
47            debug_struct.field("_unknown_fields", &self._unknown_fields);
48        }
49        debug_struct.finish()
50    }
51}
52
53impl std::fmt::Debug for super::ListRecognizersRequest {
54    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
55        let mut debug_struct = f.debug_struct("ListRecognizersRequest");
56        debug_struct.field("parent", &self.parent);
57        debug_struct.field("page_size", &self.page_size);
58        debug_struct.field("page_token", &self.page_token);
59        debug_struct.field("show_deleted", &self.show_deleted);
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::ListRecognizersResponse {
68    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
69        let mut debug_struct = f.debug_struct("ListRecognizersResponse");
70        debug_struct.field("recognizers", &self.recognizers);
71        debug_struct.field("next_page_token", &self.next_page_token);
72        if !self._unknown_fields.is_empty() {
73            debug_struct.field("_unknown_fields", &self._unknown_fields);
74        }
75        debug_struct.finish()
76    }
77}
78
79impl std::fmt::Debug for super::GetRecognizerRequest {
80    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
81        let mut debug_struct = f.debug_struct("GetRecognizerRequest");
82        debug_struct.field("name", &self.name);
83        if !self._unknown_fields.is_empty() {
84            debug_struct.field("_unknown_fields", &self._unknown_fields);
85        }
86        debug_struct.finish()
87    }
88}
89
90impl std::fmt::Debug for super::UpdateRecognizerRequest {
91    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
92        let mut debug_struct = f.debug_struct("UpdateRecognizerRequest");
93        debug_struct.field("recognizer", &self.recognizer);
94        debug_struct.field("update_mask", &self.update_mask);
95        debug_struct.field("validate_only", &self.validate_only);
96        if !self._unknown_fields.is_empty() {
97            debug_struct.field("_unknown_fields", &self._unknown_fields);
98        }
99        debug_struct.finish()
100    }
101}
102
103impl std::fmt::Debug for super::DeleteRecognizerRequest {
104    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
105        let mut debug_struct = f.debug_struct("DeleteRecognizerRequest");
106        debug_struct.field("name", &self.name);
107        debug_struct.field("validate_only", &self.validate_only);
108        debug_struct.field("allow_missing", &self.allow_missing);
109        debug_struct.field("etag", &self.etag);
110        if !self._unknown_fields.is_empty() {
111            debug_struct.field("_unknown_fields", &self._unknown_fields);
112        }
113        debug_struct.finish()
114    }
115}
116
117impl std::fmt::Debug for super::UndeleteRecognizerRequest {
118    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
119        let mut debug_struct = f.debug_struct("UndeleteRecognizerRequest");
120        debug_struct.field("name", &self.name);
121        debug_struct.field("validate_only", &self.validate_only);
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::Recognizer {
131    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
132        let mut debug_struct = f.debug_struct("Recognizer");
133        debug_struct.field("name", &self.name);
134        debug_struct.field("uid", &self.uid);
135        debug_struct.field("display_name", &self.display_name);
136        debug_struct.field("model", &self.model);
137        debug_struct.field("language_codes", &self.language_codes);
138        debug_struct.field(
139            "default_recognition_config",
140            &self.default_recognition_config,
141        );
142        debug_struct.field("annotations", &self.annotations);
143        debug_struct.field("state", &self.state);
144        debug_struct.field("create_time", &self.create_time);
145        debug_struct.field("update_time", &self.update_time);
146        debug_struct.field("delete_time", &self.delete_time);
147        debug_struct.field("expire_time", &self.expire_time);
148        debug_struct.field("etag", &self.etag);
149        debug_struct.field("reconciling", &self.reconciling);
150        debug_struct.field("kms_key_name", &self.kms_key_name);
151        debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
152        if !self._unknown_fields.is_empty() {
153            debug_struct.field("_unknown_fields", &self._unknown_fields);
154        }
155        debug_struct.finish()
156    }
157}
158
159impl std::fmt::Debug for super::AutoDetectDecodingConfig {
160    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
161        let mut debug_struct = f.debug_struct("AutoDetectDecodingConfig");
162        if !self._unknown_fields.is_empty() {
163            debug_struct.field("_unknown_fields", &self._unknown_fields);
164        }
165        debug_struct.finish()
166    }
167}
168
169impl std::fmt::Debug for super::ExplicitDecodingConfig {
170    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
171        let mut debug_struct = f.debug_struct("ExplicitDecodingConfig");
172        debug_struct.field("encoding", &self.encoding);
173        debug_struct.field("sample_rate_hertz", &self.sample_rate_hertz);
174        debug_struct.field("audio_channel_count", &self.audio_channel_count);
175        if !self._unknown_fields.is_empty() {
176            debug_struct.field("_unknown_fields", &self._unknown_fields);
177        }
178        debug_struct.finish()
179    }
180}
181
182impl std::fmt::Debug for super::SpeakerDiarizationConfig {
183    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
184        let mut debug_struct = f.debug_struct("SpeakerDiarizationConfig");
185        debug_struct.field("min_speaker_count", &self.min_speaker_count);
186        debug_struct.field("max_speaker_count", &self.max_speaker_count);
187        if !self._unknown_fields.is_empty() {
188            debug_struct.field("_unknown_fields", &self._unknown_fields);
189        }
190        debug_struct.finish()
191    }
192}
193
194impl std::fmt::Debug for super::CustomPromptConfig {
195    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
196        let mut debug_struct = f.debug_struct("CustomPromptConfig");
197        debug_struct.field("custom_prompt", &self.custom_prompt);
198        if !self._unknown_fields.is_empty() {
199            debug_struct.field("_unknown_fields", &self._unknown_fields);
200        }
201        debug_struct.finish()
202    }
203}
204
205impl std::fmt::Debug for super::RecognitionFeatures {
206    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
207        let mut debug_struct = f.debug_struct("RecognitionFeatures");
208        debug_struct.field("profanity_filter", &self.profanity_filter);
209        debug_struct.field("enable_word_time_offsets", &self.enable_word_time_offsets);
210        debug_struct.field("enable_word_confidence", &self.enable_word_confidence);
211        debug_struct.field(
212            "enable_automatic_punctuation",
213            &self.enable_automatic_punctuation,
214        );
215        debug_struct.field("enable_spoken_punctuation", &self.enable_spoken_punctuation);
216        debug_struct.field("enable_spoken_emojis", &self.enable_spoken_emojis);
217        debug_struct.field("multi_channel_mode", &self.multi_channel_mode);
218        debug_struct.field("diarization_config", &self.diarization_config);
219        debug_struct.field("max_alternatives", &self.max_alternatives);
220        debug_struct.field("custom_prompt_config", &self.custom_prompt_config);
221        if !self._unknown_fields.is_empty() {
222            debug_struct.field("_unknown_fields", &self._unknown_fields);
223        }
224        debug_struct.finish()
225    }
226}
227
228impl std::fmt::Debug for super::TranscriptNormalization {
229    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
230        let mut debug_struct = f.debug_struct("TranscriptNormalization");
231        debug_struct.field("entries", &self.entries);
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::transcript_normalization::Entry {
240    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
241        let mut debug_struct = f.debug_struct("Entry");
242        debug_struct.field("search", &self.search);
243        debug_struct.field("replace", &self.replace);
244        debug_struct.field("case_sensitive", &self.case_sensitive);
245        if !self._unknown_fields.is_empty() {
246            debug_struct.field("_unknown_fields", &self._unknown_fields);
247        }
248        debug_struct.finish()
249    }
250}
251
252impl std::fmt::Debug for super::TranslationConfig {
253    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
254        let mut debug_struct = f.debug_struct("TranslationConfig");
255        debug_struct.field("target_language", &self.target_language);
256        if !self._unknown_fields.is_empty() {
257            debug_struct.field("_unknown_fields", &self._unknown_fields);
258        }
259        debug_struct.finish()
260    }
261}
262
263impl std::fmt::Debug for super::SpeechAdaptation {
264    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
265        let mut debug_struct = f.debug_struct("SpeechAdaptation");
266        debug_struct.field("phrase_sets", &self.phrase_sets);
267        debug_struct.field("custom_classes", &self.custom_classes);
268        if !self._unknown_fields.is_empty() {
269            debug_struct.field("_unknown_fields", &self._unknown_fields);
270        }
271        debug_struct.finish()
272    }
273}
274
275impl std::fmt::Debug for super::speech_adaptation::AdaptationPhraseSet {
276    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
277        let mut debug_struct = f.debug_struct("AdaptationPhraseSet");
278        debug_struct.field("value", &self.value);
279        if !self._unknown_fields.is_empty() {
280            debug_struct.field("_unknown_fields", &self._unknown_fields);
281        }
282        debug_struct.finish()
283    }
284}
285
286impl std::fmt::Debug for super::DenoiserConfig {
287    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
288        let mut debug_struct = f.debug_struct("DenoiserConfig");
289        debug_struct.field("denoise_audio", &self.denoise_audio);
290        debug_struct.field("snr_threshold", &self.snr_threshold);
291        if !self._unknown_fields.is_empty() {
292            debug_struct.field("_unknown_fields", &self._unknown_fields);
293        }
294        debug_struct.finish()
295    }
296}
297
298impl std::fmt::Debug for super::RecognitionConfig {
299    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
300        let mut debug_struct = f.debug_struct("RecognitionConfig");
301        debug_struct.field("model", &self.model);
302        debug_struct.field("language_codes", &self.language_codes);
303        debug_struct.field("features", &self.features);
304        debug_struct.field("adaptation", &self.adaptation);
305        debug_struct.field("transcript_normalization", &self.transcript_normalization);
306        debug_struct.field("translation_config", &self.translation_config);
307        debug_struct.field("denoiser_config", &self.denoiser_config);
308        debug_struct.field("decoding_config", &self.decoding_config);
309        if !self._unknown_fields.is_empty() {
310            debug_struct.field("_unknown_fields", &self._unknown_fields);
311        }
312        debug_struct.finish()
313    }
314}
315
316impl std::fmt::Debug for super::RecognizeRequest {
317    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
318        let mut debug_struct = f.debug_struct("RecognizeRequest");
319        debug_struct.field("recognizer", &self.recognizer);
320        debug_struct.field("config", &self.config);
321        debug_struct.field("config_mask", &self.config_mask);
322        debug_struct.field("audio_source", &self.audio_source);
323        if !self._unknown_fields.is_empty() {
324            debug_struct.field("_unknown_fields", &self._unknown_fields);
325        }
326        debug_struct.finish()
327    }
328}
329
330impl std::fmt::Debug for super::RecognitionResponseMetadata {
331    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
332        let mut debug_struct = f.debug_struct("RecognitionResponseMetadata");
333        debug_struct.field("request_id", &self.request_id);
334        debug_struct.field("total_billed_duration", &self.total_billed_duration);
335        debug_struct.field("prompt", &self.prompt);
336        if !self._unknown_fields.is_empty() {
337            debug_struct.field("_unknown_fields", &self._unknown_fields);
338        }
339        debug_struct.finish()
340    }
341}
342
343impl std::fmt::Debug for super::SpeechRecognitionAlternative {
344    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
345        let mut debug_struct = f.debug_struct("SpeechRecognitionAlternative");
346        debug_struct.field("transcript", &self.transcript);
347        debug_struct.field("confidence", &self.confidence);
348        debug_struct.field("words", &self.words);
349        if !self._unknown_fields.is_empty() {
350            debug_struct.field("_unknown_fields", &self._unknown_fields);
351        }
352        debug_struct.finish()
353    }
354}
355
356impl std::fmt::Debug for super::WordInfo {
357    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
358        let mut debug_struct = f.debug_struct("WordInfo");
359        debug_struct.field("start_offset", &self.start_offset);
360        debug_struct.field("end_offset", &self.end_offset);
361        debug_struct.field("word", &self.word);
362        debug_struct.field("confidence", &self.confidence);
363        debug_struct.field("speaker_label", &self.speaker_label);
364        if !self._unknown_fields.is_empty() {
365            debug_struct.field("_unknown_fields", &self._unknown_fields);
366        }
367        debug_struct.finish()
368    }
369}
370
371impl std::fmt::Debug for super::SpeechRecognitionResult {
372    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
373        let mut debug_struct = f.debug_struct("SpeechRecognitionResult");
374        debug_struct.field("alternatives", &self.alternatives);
375        debug_struct.field("channel_tag", &self.channel_tag);
376        debug_struct.field("result_end_offset", &self.result_end_offset);
377        debug_struct.field("language_code", &self.language_code);
378        if !self._unknown_fields.is_empty() {
379            debug_struct.field("_unknown_fields", &self._unknown_fields);
380        }
381        debug_struct.finish()
382    }
383}
384
385impl std::fmt::Debug for super::RecognizeResponse {
386    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
387        let mut debug_struct = f.debug_struct("RecognizeResponse");
388        debug_struct.field("results", &self.results);
389        debug_struct.field("metadata", &self.metadata);
390        if !self._unknown_fields.is_empty() {
391            debug_struct.field("_unknown_fields", &self._unknown_fields);
392        }
393        debug_struct.finish()
394    }
395}
396
397impl std::fmt::Debug for super::StreamingRecognitionFeatures {
398    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
399        let mut debug_struct = f.debug_struct("StreamingRecognitionFeatures");
400        debug_struct.field(
401            "enable_voice_activity_events",
402            &self.enable_voice_activity_events,
403        );
404        debug_struct.field("interim_results", &self.interim_results);
405        debug_struct.field("voice_activity_timeout", &self.voice_activity_timeout);
406        if !self._unknown_fields.is_empty() {
407            debug_struct.field("_unknown_fields", &self._unknown_fields);
408        }
409        debug_struct.finish()
410    }
411}
412
413impl std::fmt::Debug for super::streaming_recognition_features::VoiceActivityTimeout {
414    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
415        let mut debug_struct = f.debug_struct("VoiceActivityTimeout");
416        debug_struct.field("speech_start_timeout", &self.speech_start_timeout);
417        debug_struct.field("speech_end_timeout", &self.speech_end_timeout);
418        if !self._unknown_fields.is_empty() {
419            debug_struct.field("_unknown_fields", &self._unknown_fields);
420        }
421        debug_struct.finish()
422    }
423}
424
425impl std::fmt::Debug for super::StreamingRecognitionConfig {
426    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
427        let mut debug_struct = f.debug_struct("StreamingRecognitionConfig");
428        debug_struct.field("config", &self.config);
429        debug_struct.field("config_mask", &self.config_mask);
430        debug_struct.field("streaming_features", &self.streaming_features);
431        if !self._unknown_fields.is_empty() {
432            debug_struct.field("_unknown_fields", &self._unknown_fields);
433        }
434        debug_struct.finish()
435    }
436}
437
438impl std::fmt::Debug for super::StreamingRecognizeRequest {
439    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
440        let mut debug_struct = f.debug_struct("StreamingRecognizeRequest");
441        debug_struct.field("recognizer", &self.recognizer);
442        debug_struct.field("streaming_request", &self.streaming_request);
443        if !self._unknown_fields.is_empty() {
444            debug_struct.field("_unknown_fields", &self._unknown_fields);
445        }
446        debug_struct.finish()
447    }
448}
449
450impl std::fmt::Debug for super::BatchRecognizeRequest {
451    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
452        let mut debug_struct = f.debug_struct("BatchRecognizeRequest");
453        debug_struct.field("recognizer", &self.recognizer);
454        debug_struct.field("config", &self.config);
455        debug_struct.field("config_mask", &self.config_mask);
456        debug_struct.field("files", &self.files);
457        debug_struct.field("recognition_output_config", &self.recognition_output_config);
458        debug_struct.field("processing_strategy", &self.processing_strategy);
459        if !self._unknown_fields.is_empty() {
460            debug_struct.field("_unknown_fields", &self._unknown_fields);
461        }
462        debug_struct.finish()
463    }
464}
465
466impl std::fmt::Debug for super::GcsOutputConfig {
467    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
468        let mut debug_struct = f.debug_struct("GcsOutputConfig");
469        debug_struct.field("uri", &self.uri);
470        if !self._unknown_fields.is_empty() {
471            debug_struct.field("_unknown_fields", &self._unknown_fields);
472        }
473        debug_struct.finish()
474    }
475}
476
477impl std::fmt::Debug for super::InlineOutputConfig {
478    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
479        let mut debug_struct = f.debug_struct("InlineOutputConfig");
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 for super::NativeOutputFileFormatConfig {
488    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
489        let mut debug_struct = f.debug_struct("NativeOutputFileFormatConfig");
490        if !self._unknown_fields.is_empty() {
491            debug_struct.field("_unknown_fields", &self._unknown_fields);
492        }
493        debug_struct.finish()
494    }
495}
496
497impl std::fmt::Debug for super::VttOutputFileFormatConfig {
498    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
499        let mut debug_struct = f.debug_struct("VttOutputFileFormatConfig");
500        if !self._unknown_fields.is_empty() {
501            debug_struct.field("_unknown_fields", &self._unknown_fields);
502        }
503        debug_struct.finish()
504    }
505}
506
507impl std::fmt::Debug for super::SrtOutputFileFormatConfig {
508    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
509        let mut debug_struct = f.debug_struct("SrtOutputFileFormatConfig");
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::OutputFormatConfig {
518    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
519        let mut debug_struct = f.debug_struct("OutputFormatConfig");
520        debug_struct.field("native", &self.native);
521        debug_struct.field("vtt", &self.vtt);
522        debug_struct.field("srt", &self.srt);
523        if !self._unknown_fields.is_empty() {
524            debug_struct.field("_unknown_fields", &self._unknown_fields);
525        }
526        debug_struct.finish()
527    }
528}
529
530impl std::fmt::Debug for super::RecognitionOutputConfig {
531    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
532        let mut debug_struct = f.debug_struct("RecognitionOutputConfig");
533        debug_struct.field("output_format_config", &self.output_format_config);
534        debug_struct.field("output", &self.output);
535        if !self._unknown_fields.is_empty() {
536            debug_struct.field("_unknown_fields", &self._unknown_fields);
537        }
538        debug_struct.finish()
539    }
540}
541
542impl std::fmt::Debug for super::BatchRecognizeResponse {
543    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
544        let mut debug_struct = f.debug_struct("BatchRecognizeResponse");
545        debug_struct.field("results", &self.results);
546        debug_struct.field("total_billed_duration", &self.total_billed_duration);
547        if !self._unknown_fields.is_empty() {
548            debug_struct.field("_unknown_fields", &self._unknown_fields);
549        }
550        debug_struct.finish()
551    }
552}
553
554impl std::fmt::Debug for super::BatchRecognizeResults {
555    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
556        let mut debug_struct = f.debug_struct("BatchRecognizeResults");
557        debug_struct.field("results", &self.results);
558        debug_struct.field("metadata", &self.metadata);
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::CloudStorageResult {
567    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
568        let mut debug_struct = f.debug_struct("CloudStorageResult");
569        debug_struct.field("uri", &self.uri);
570        debug_struct.field("vtt_format_uri", &self.vtt_format_uri);
571        debug_struct.field("srt_format_uri", &self.srt_format_uri);
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::InlineResult {
580    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
581        let mut debug_struct = f.debug_struct("InlineResult");
582        debug_struct.field("transcript", &self.transcript);
583        debug_struct.field("vtt_captions", &self.vtt_captions);
584        debug_struct.field("srt_captions", &self.srt_captions);
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::BatchRecognizeFileResult {
593    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
594        let mut debug_struct = f.debug_struct("BatchRecognizeFileResult");
595        debug_struct.field("error", &self.error);
596        debug_struct.field("metadata", &self.metadata);
597        debug_struct.field("uri", &self.uri);
598        debug_struct.field("transcript", &self.transcript);
599        debug_struct.field("result", &self.result);
600        if !self._unknown_fields.is_empty() {
601            debug_struct.field("_unknown_fields", &self._unknown_fields);
602        }
603        debug_struct.finish()
604    }
605}
606
607impl std::fmt::Debug for super::BatchRecognizeTranscriptionMetadata {
608    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
609        let mut debug_struct = f.debug_struct("BatchRecognizeTranscriptionMetadata");
610        debug_struct.field("progress_percent", &self.progress_percent);
611        debug_struct.field("error", &self.error);
612        debug_struct.field("uri", &self.uri);
613        if !self._unknown_fields.is_empty() {
614            debug_struct.field("_unknown_fields", &self._unknown_fields);
615        }
616        debug_struct.finish()
617    }
618}
619
620impl std::fmt::Debug for super::BatchRecognizeMetadata {
621    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
622        let mut debug_struct = f.debug_struct("BatchRecognizeMetadata");
623        debug_struct.field("transcription_metadata", &self.transcription_metadata);
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::BatchRecognizeFileMetadata {
632    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
633        let mut debug_struct = f.debug_struct("BatchRecognizeFileMetadata");
634        debug_struct.field("config", &self.config);
635        debug_struct.field("config_mask", &self.config_mask);
636        debug_struct.field("audio_source", &self.audio_source);
637        if !self._unknown_fields.is_empty() {
638            debug_struct.field("_unknown_fields", &self._unknown_fields);
639        }
640        debug_struct.finish()
641    }
642}
643
644impl std::fmt::Debug for super::StreamingRecognitionResult {
645    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
646        let mut debug_struct = f.debug_struct("StreamingRecognitionResult");
647        debug_struct.field("alternatives", &self.alternatives);
648        debug_struct.field("is_final", &self.is_final);
649        debug_struct.field("stability", &self.stability);
650        debug_struct.field("result_end_offset", &self.result_end_offset);
651        debug_struct.field("channel_tag", &self.channel_tag);
652        debug_struct.field("language_code", &self.language_code);
653        if !self._unknown_fields.is_empty() {
654            debug_struct.field("_unknown_fields", &self._unknown_fields);
655        }
656        debug_struct.finish()
657    }
658}
659
660impl std::fmt::Debug for super::StreamingRecognizeResponse {
661    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
662        let mut debug_struct = f.debug_struct("StreamingRecognizeResponse");
663        debug_struct.field("results", &self.results);
664        debug_struct.field("speech_event_type", &self.speech_event_type);
665        debug_struct.field("speech_event_offset", &self.speech_event_offset);
666        debug_struct.field("metadata", &self.metadata);
667        if !self._unknown_fields.is_empty() {
668            debug_struct.field("_unknown_fields", &self._unknown_fields);
669        }
670        debug_struct.finish()
671    }
672}
673
674impl std::fmt::Debug for super::Config {
675    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
676        let mut debug_struct = f.debug_struct("Config");
677        debug_struct.field("name", &self.name);
678        debug_struct.field("kms_key_name", &self.kms_key_name);
679        debug_struct.field("update_time", &self.update_time);
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::GetConfigRequest {
688    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
689        let mut debug_struct = f.debug_struct("GetConfigRequest");
690        debug_struct.field("name", &self.name);
691        if !self._unknown_fields.is_empty() {
692            debug_struct.field("_unknown_fields", &self._unknown_fields);
693        }
694        debug_struct.finish()
695    }
696}
697
698impl std::fmt::Debug for super::UpdateConfigRequest {
699    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
700        let mut debug_struct = f.debug_struct("UpdateConfigRequest");
701        debug_struct.field("config", &self.config);
702        debug_struct.field("update_mask", &self.update_mask);
703        if !self._unknown_fields.is_empty() {
704            debug_struct.field("_unknown_fields", &self._unknown_fields);
705        }
706        debug_struct.finish()
707    }
708}
709
710impl std::fmt::Debug for super::CustomClass {
711    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
712        let mut debug_struct = f.debug_struct("CustomClass");
713        debug_struct.field("name", &self.name);
714        debug_struct.field("uid", &self.uid);
715        debug_struct.field("display_name", &self.display_name);
716        debug_struct.field("items", &self.items);
717        debug_struct.field("state", &self.state);
718        debug_struct.field("create_time", &self.create_time);
719        debug_struct.field("update_time", &self.update_time);
720        debug_struct.field("delete_time", &self.delete_time);
721        debug_struct.field("expire_time", &self.expire_time);
722        debug_struct.field("annotations", &self.annotations);
723        debug_struct.field("etag", &self.etag);
724        debug_struct.field("reconciling", &self.reconciling);
725        debug_struct.field("kms_key_name", &self.kms_key_name);
726        debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
727        if !self._unknown_fields.is_empty() {
728            debug_struct.field("_unknown_fields", &self._unknown_fields);
729        }
730        debug_struct.finish()
731    }
732}
733
734impl std::fmt::Debug for super::custom_class::ClassItem {
735    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
736        let mut debug_struct = f.debug_struct("ClassItem");
737        debug_struct.field("value", &self.value);
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::PhraseSet {
746    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
747        let mut debug_struct = f.debug_struct("PhraseSet");
748        debug_struct.field("name", &self.name);
749        debug_struct.field("uid", &self.uid);
750        debug_struct.field("phrases", &self.phrases);
751        debug_struct.field("boost", &self.boost);
752        debug_struct.field("display_name", &self.display_name);
753        debug_struct.field("state", &self.state);
754        debug_struct.field("create_time", &self.create_time);
755        debug_struct.field("update_time", &self.update_time);
756        debug_struct.field("delete_time", &self.delete_time);
757        debug_struct.field("expire_time", &self.expire_time);
758        debug_struct.field("annotations", &self.annotations);
759        debug_struct.field("etag", &self.etag);
760        debug_struct.field("reconciling", &self.reconciling);
761        debug_struct.field("kms_key_name", &self.kms_key_name);
762        debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
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::phrase_set::Phrase {
771    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
772        let mut debug_struct = f.debug_struct("Phrase");
773        debug_struct.field("value", &self.value);
774        debug_struct.field("boost", &self.boost);
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::CreateCustomClassRequest {
783    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
784        let mut debug_struct = f.debug_struct("CreateCustomClassRequest");
785        debug_struct.field("custom_class", &self.custom_class);
786        debug_struct.field("validate_only", &self.validate_only);
787        debug_struct.field("custom_class_id", &self.custom_class_id);
788        debug_struct.field("parent", &self.parent);
789        if !self._unknown_fields.is_empty() {
790            debug_struct.field("_unknown_fields", &self._unknown_fields);
791        }
792        debug_struct.finish()
793    }
794}
795
796impl std::fmt::Debug for super::ListCustomClassesRequest {
797    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
798        let mut debug_struct = f.debug_struct("ListCustomClassesRequest");
799        debug_struct.field("parent", &self.parent);
800        debug_struct.field("page_size", &self.page_size);
801        debug_struct.field("page_token", &self.page_token);
802        debug_struct.field("show_deleted", &self.show_deleted);
803        if !self._unknown_fields.is_empty() {
804            debug_struct.field("_unknown_fields", &self._unknown_fields);
805        }
806        debug_struct.finish()
807    }
808}
809
810impl std::fmt::Debug for super::ListCustomClassesResponse {
811    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
812        let mut debug_struct = f.debug_struct("ListCustomClassesResponse");
813        debug_struct.field("custom_classes", &self.custom_classes);
814        debug_struct.field("next_page_token", &self.next_page_token);
815        if !self._unknown_fields.is_empty() {
816            debug_struct.field("_unknown_fields", &self._unknown_fields);
817        }
818        debug_struct.finish()
819    }
820}
821
822impl std::fmt::Debug for super::GetCustomClassRequest {
823    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
824        let mut debug_struct = f.debug_struct("GetCustomClassRequest");
825        debug_struct.field("name", &self.name);
826        if !self._unknown_fields.is_empty() {
827            debug_struct.field("_unknown_fields", &self._unknown_fields);
828        }
829        debug_struct.finish()
830    }
831}
832
833impl std::fmt::Debug for super::UpdateCustomClassRequest {
834    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
835        let mut debug_struct = f.debug_struct("UpdateCustomClassRequest");
836        debug_struct.field("custom_class", &self.custom_class);
837        debug_struct.field("update_mask", &self.update_mask);
838        debug_struct.field("validate_only", &self.validate_only);
839        if !self._unknown_fields.is_empty() {
840            debug_struct.field("_unknown_fields", &self._unknown_fields);
841        }
842        debug_struct.finish()
843    }
844}
845
846impl std::fmt::Debug for super::DeleteCustomClassRequest {
847    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
848        let mut debug_struct = f.debug_struct("DeleteCustomClassRequest");
849        debug_struct.field("name", &self.name);
850        debug_struct.field("validate_only", &self.validate_only);
851        debug_struct.field("allow_missing", &self.allow_missing);
852        debug_struct.field("etag", &self.etag);
853        if !self._unknown_fields.is_empty() {
854            debug_struct.field("_unknown_fields", &self._unknown_fields);
855        }
856        debug_struct.finish()
857    }
858}
859
860impl std::fmt::Debug for super::UndeleteCustomClassRequest {
861    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
862        let mut debug_struct = f.debug_struct("UndeleteCustomClassRequest");
863        debug_struct.field("name", &self.name);
864        debug_struct.field("validate_only", &self.validate_only);
865        debug_struct.field("etag", &self.etag);
866        if !self._unknown_fields.is_empty() {
867            debug_struct.field("_unknown_fields", &self._unknown_fields);
868        }
869        debug_struct.finish()
870    }
871}
872
873impl std::fmt::Debug for super::CreatePhraseSetRequest {
874    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
875        let mut debug_struct = f.debug_struct("CreatePhraseSetRequest");
876        debug_struct.field("phrase_set", &self.phrase_set);
877        debug_struct.field("validate_only", &self.validate_only);
878        debug_struct.field("phrase_set_id", &self.phrase_set_id);
879        debug_struct.field("parent", &self.parent);
880        if !self._unknown_fields.is_empty() {
881            debug_struct.field("_unknown_fields", &self._unknown_fields);
882        }
883        debug_struct.finish()
884    }
885}
886
887impl std::fmt::Debug for super::ListPhraseSetsRequest {
888    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
889        let mut debug_struct = f.debug_struct("ListPhraseSetsRequest");
890        debug_struct.field("parent", &self.parent);
891        debug_struct.field("page_size", &self.page_size);
892        debug_struct.field("page_token", &self.page_token);
893        debug_struct.field("show_deleted", &self.show_deleted);
894        if !self._unknown_fields.is_empty() {
895            debug_struct.field("_unknown_fields", &self._unknown_fields);
896        }
897        debug_struct.finish()
898    }
899}
900
901impl std::fmt::Debug for super::ListPhraseSetsResponse {
902    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
903        let mut debug_struct = f.debug_struct("ListPhraseSetsResponse");
904        debug_struct.field("phrase_sets", &self.phrase_sets);
905        debug_struct.field("next_page_token", &self.next_page_token);
906        if !self._unknown_fields.is_empty() {
907            debug_struct.field("_unknown_fields", &self._unknown_fields);
908        }
909        debug_struct.finish()
910    }
911}
912
913impl std::fmt::Debug for super::GetPhraseSetRequest {
914    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
915        let mut debug_struct = f.debug_struct("GetPhraseSetRequest");
916        debug_struct.field("name", &self.name);
917        if !self._unknown_fields.is_empty() {
918            debug_struct.field("_unknown_fields", &self._unknown_fields);
919        }
920        debug_struct.finish()
921    }
922}
923
924impl std::fmt::Debug for super::UpdatePhraseSetRequest {
925    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
926        let mut debug_struct = f.debug_struct("UpdatePhraseSetRequest");
927        debug_struct.field("phrase_set", &self.phrase_set);
928        debug_struct.field("update_mask", &self.update_mask);
929        debug_struct.field("validate_only", &self.validate_only);
930        if !self._unknown_fields.is_empty() {
931            debug_struct.field("_unknown_fields", &self._unknown_fields);
932        }
933        debug_struct.finish()
934    }
935}
936
937impl std::fmt::Debug for super::DeletePhraseSetRequest {
938    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
939        let mut debug_struct = f.debug_struct("DeletePhraseSetRequest");
940        debug_struct.field("name", &self.name);
941        debug_struct.field("validate_only", &self.validate_only);
942        debug_struct.field("allow_missing", &self.allow_missing);
943        debug_struct.field("etag", &self.etag);
944        if !self._unknown_fields.is_empty() {
945            debug_struct.field("_unknown_fields", &self._unknown_fields);
946        }
947        debug_struct.finish()
948    }
949}
950
951impl std::fmt::Debug for super::UndeletePhraseSetRequest {
952    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
953        let mut debug_struct = f.debug_struct("UndeletePhraseSetRequest");
954        debug_struct.field("name", &self.name);
955        debug_struct.field("validate_only", &self.validate_only);
956        debug_struct.field("etag", &self.etag);
957        if !self._unknown_fields.is_empty() {
958            debug_struct.field("_unknown_fields", &self._unknown_fields);
959        }
960        debug_struct.finish()
961    }
962}
963
964impl std::fmt::Debug for super::ModelFeature {
965    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
966        let mut debug_struct = f.debug_struct("ModelFeature");
967        debug_struct.field("feature", &self.feature);
968        debug_struct.field("release_state", &self.release_state);
969        if !self._unknown_fields.is_empty() {
970            debug_struct.field("_unknown_fields", &self._unknown_fields);
971        }
972        debug_struct.finish()
973    }
974}
975
976impl std::fmt::Debug for super::ModelFeatures {
977    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
978        let mut debug_struct = f.debug_struct("ModelFeatures");
979        debug_struct.field("model_feature", &self.model_feature);
980        if !self._unknown_fields.is_empty() {
981            debug_struct.field("_unknown_fields", &self._unknown_fields);
982        }
983        debug_struct.finish()
984    }
985}
986
987impl std::fmt::Debug for super::ModelMetadata {
988    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
989        let mut debug_struct = f.debug_struct("ModelMetadata");
990        debug_struct.field("model_features", &self.model_features);
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::LanguageMetadata {
999    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1000        let mut debug_struct = f.debug_struct("LanguageMetadata");
1001        debug_struct.field("models", &self.models);
1002        if !self._unknown_fields.is_empty() {
1003            debug_struct.field("_unknown_fields", &self._unknown_fields);
1004        }
1005        debug_struct.finish()
1006    }
1007}
1008
1009impl std::fmt::Debug for super::AccessMetadata {
1010    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1011        let mut debug_struct = f.debug_struct("AccessMetadata");
1012        debug_struct.field("constraint_type", &self.constraint_type);
1013        if !self._unknown_fields.is_empty() {
1014            debug_struct.field("_unknown_fields", &self._unknown_fields);
1015        }
1016        debug_struct.finish()
1017    }
1018}
1019
1020impl std::fmt::Debug for super::LocationsMetadata {
1021    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1022        let mut debug_struct = f.debug_struct("LocationsMetadata");
1023        debug_struct.field("languages", &self.languages);
1024        debug_struct.field("access_metadata", &self.access_metadata);
1025        if !self._unknown_fields.is_empty() {
1026            debug_struct.field("_unknown_fields", &self._unknown_fields);
1027        }
1028        debug_struct.finish()
1029    }
1030}