Skip to main content

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        debug_struct.field("endpointing_sensitivity", &self.endpointing_sensitivity);
407        if !self._unknown_fields.is_empty() {
408            debug_struct.field("_unknown_fields", &self._unknown_fields);
409        }
410        debug_struct.finish()
411    }
412}
413
414impl std::fmt::Debug for super::streaming_recognition_features::VoiceActivityTimeout {
415    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
416        let mut debug_struct = f.debug_struct("VoiceActivityTimeout");
417        debug_struct.field("speech_start_timeout", &self.speech_start_timeout);
418        debug_struct.field("speech_end_timeout", &self.speech_end_timeout);
419        if !self._unknown_fields.is_empty() {
420            debug_struct.field("_unknown_fields", &self._unknown_fields);
421        }
422        debug_struct.finish()
423    }
424}
425
426impl std::fmt::Debug for super::StreamingRecognitionConfig {
427    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
428        let mut debug_struct = f.debug_struct("StreamingRecognitionConfig");
429        debug_struct.field("config", &self.config);
430        debug_struct.field("config_mask", &self.config_mask);
431        debug_struct.field("streaming_features", &self.streaming_features);
432        if !self._unknown_fields.is_empty() {
433            debug_struct.field("_unknown_fields", &self._unknown_fields);
434        }
435        debug_struct.finish()
436    }
437}
438
439impl std::fmt::Debug for super::StreamingRecognizeRequest {
440    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
441        let mut debug_struct = f.debug_struct("StreamingRecognizeRequest");
442        debug_struct.field("recognizer", &self.recognizer);
443        debug_struct.field("streaming_request", &self.streaming_request);
444        if !self._unknown_fields.is_empty() {
445            debug_struct.field("_unknown_fields", &self._unknown_fields);
446        }
447        debug_struct.finish()
448    }
449}
450
451impl std::fmt::Debug for super::BatchRecognizeRequest {
452    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
453        let mut debug_struct = f.debug_struct("BatchRecognizeRequest");
454        debug_struct.field("recognizer", &self.recognizer);
455        debug_struct.field("config", &self.config);
456        debug_struct.field("config_mask", &self.config_mask);
457        debug_struct.field("files", &self.files);
458        debug_struct.field("recognition_output_config", &self.recognition_output_config);
459        debug_struct.field("processing_strategy", &self.processing_strategy);
460        if !self._unknown_fields.is_empty() {
461            debug_struct.field("_unknown_fields", &self._unknown_fields);
462        }
463        debug_struct.finish()
464    }
465}
466
467impl std::fmt::Debug for super::GcsOutputConfig {
468    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
469        let mut debug_struct = f.debug_struct("GcsOutputConfig");
470        debug_struct.field("uri", &self.uri);
471        if !self._unknown_fields.is_empty() {
472            debug_struct.field("_unknown_fields", &self._unknown_fields);
473        }
474        debug_struct.finish()
475    }
476}
477
478impl std::fmt::Debug for super::InlineOutputConfig {
479    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
480        let mut debug_struct = f.debug_struct("InlineOutputConfig");
481        if !self._unknown_fields.is_empty() {
482            debug_struct.field("_unknown_fields", &self._unknown_fields);
483        }
484        debug_struct.finish()
485    }
486}
487
488impl std::fmt::Debug for super::NativeOutputFileFormatConfig {
489    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
490        let mut debug_struct = f.debug_struct("NativeOutputFileFormatConfig");
491        if !self._unknown_fields.is_empty() {
492            debug_struct.field("_unknown_fields", &self._unknown_fields);
493        }
494        debug_struct.finish()
495    }
496}
497
498impl std::fmt::Debug for super::VttOutputFileFormatConfig {
499    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
500        let mut debug_struct = f.debug_struct("VttOutputFileFormatConfig");
501        if !self._unknown_fields.is_empty() {
502            debug_struct.field("_unknown_fields", &self._unknown_fields);
503        }
504        debug_struct.finish()
505    }
506}
507
508impl std::fmt::Debug for super::SrtOutputFileFormatConfig {
509    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
510        let mut debug_struct = f.debug_struct("SrtOutputFileFormatConfig");
511        if !self._unknown_fields.is_empty() {
512            debug_struct.field("_unknown_fields", &self._unknown_fields);
513        }
514        debug_struct.finish()
515    }
516}
517
518impl std::fmt::Debug for super::OutputFormatConfig {
519    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
520        let mut debug_struct = f.debug_struct("OutputFormatConfig");
521        debug_struct.field("native", &self.native);
522        debug_struct.field("vtt", &self.vtt);
523        debug_struct.field("srt", &self.srt);
524        if !self._unknown_fields.is_empty() {
525            debug_struct.field("_unknown_fields", &self._unknown_fields);
526        }
527        debug_struct.finish()
528    }
529}
530
531impl std::fmt::Debug for super::RecognitionOutputConfig {
532    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
533        let mut debug_struct = f.debug_struct("RecognitionOutputConfig");
534        debug_struct.field("output_format_config", &self.output_format_config);
535        debug_struct.field("output", &self.output);
536        if !self._unknown_fields.is_empty() {
537            debug_struct.field("_unknown_fields", &self._unknown_fields);
538        }
539        debug_struct.finish()
540    }
541}
542
543impl std::fmt::Debug for super::BatchRecognizeResponse {
544    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
545        let mut debug_struct = f.debug_struct("BatchRecognizeResponse");
546        debug_struct.field("results", &self.results);
547        debug_struct.field("total_billed_duration", &self.total_billed_duration);
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::BatchRecognizeResults {
556    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
557        let mut debug_struct = f.debug_struct("BatchRecognizeResults");
558        debug_struct.field("results", &self.results);
559        debug_struct.field("metadata", &self.metadata);
560        if !self._unknown_fields.is_empty() {
561            debug_struct.field("_unknown_fields", &self._unknown_fields);
562        }
563        debug_struct.finish()
564    }
565}
566
567impl std::fmt::Debug for super::CloudStorageResult {
568    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
569        let mut debug_struct = f.debug_struct("CloudStorageResult");
570        debug_struct.field("uri", &self.uri);
571        debug_struct.field("vtt_format_uri", &self.vtt_format_uri);
572        debug_struct.field("srt_format_uri", &self.srt_format_uri);
573        if !self._unknown_fields.is_empty() {
574            debug_struct.field("_unknown_fields", &self._unknown_fields);
575        }
576        debug_struct.finish()
577    }
578}
579
580impl std::fmt::Debug for super::InlineResult {
581    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
582        let mut debug_struct = f.debug_struct("InlineResult");
583        debug_struct.field("transcript", &self.transcript);
584        debug_struct.field("vtt_captions", &self.vtt_captions);
585        debug_struct.field("srt_captions", &self.srt_captions);
586        if !self._unknown_fields.is_empty() {
587            debug_struct.field("_unknown_fields", &self._unknown_fields);
588        }
589        debug_struct.finish()
590    }
591}
592
593impl std::fmt::Debug for super::BatchRecognizeFileResult {
594    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
595        let mut debug_struct = f.debug_struct("BatchRecognizeFileResult");
596        debug_struct.field("error", &self.error);
597        debug_struct.field("metadata", &self.metadata);
598        debug_struct.field("uri", &self.uri);
599        debug_struct.field("transcript", &self.transcript);
600        debug_struct.field("result", &self.result);
601        if !self._unknown_fields.is_empty() {
602            debug_struct.field("_unknown_fields", &self._unknown_fields);
603        }
604        debug_struct.finish()
605    }
606}
607
608impl std::fmt::Debug for super::BatchRecognizeTranscriptionMetadata {
609    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
610        let mut debug_struct = f.debug_struct("BatchRecognizeTranscriptionMetadata");
611        debug_struct.field("progress_percent", &self.progress_percent);
612        debug_struct.field("error", &self.error);
613        debug_struct.field("uri", &self.uri);
614        if !self._unknown_fields.is_empty() {
615            debug_struct.field("_unknown_fields", &self._unknown_fields);
616        }
617        debug_struct.finish()
618    }
619}
620
621impl std::fmt::Debug for super::BatchRecognizeMetadata {
622    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
623        let mut debug_struct = f.debug_struct("BatchRecognizeMetadata");
624        debug_struct.field("transcription_metadata", &self.transcription_metadata);
625        if !self._unknown_fields.is_empty() {
626            debug_struct.field("_unknown_fields", &self._unknown_fields);
627        }
628        debug_struct.finish()
629    }
630}
631
632impl std::fmt::Debug for super::BatchRecognizeFileMetadata {
633    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
634        let mut debug_struct = f.debug_struct("BatchRecognizeFileMetadata");
635        debug_struct.field("config", &self.config);
636        debug_struct.field("config_mask", &self.config_mask);
637        debug_struct.field("audio_source", &self.audio_source);
638        if !self._unknown_fields.is_empty() {
639            debug_struct.field("_unknown_fields", &self._unknown_fields);
640        }
641        debug_struct.finish()
642    }
643}
644
645impl std::fmt::Debug for super::StreamingRecognitionResult {
646    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
647        let mut debug_struct = f.debug_struct("StreamingRecognitionResult");
648        debug_struct.field("alternatives", &self.alternatives);
649        debug_struct.field("is_final", &self.is_final);
650        debug_struct.field("stability", &self.stability);
651        debug_struct.field("result_end_offset", &self.result_end_offset);
652        debug_struct.field("channel_tag", &self.channel_tag);
653        debug_struct.field("language_code", &self.language_code);
654        if !self._unknown_fields.is_empty() {
655            debug_struct.field("_unknown_fields", &self._unknown_fields);
656        }
657        debug_struct.finish()
658    }
659}
660
661impl std::fmt::Debug for super::StreamingRecognizeResponse {
662    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
663        let mut debug_struct = f.debug_struct("StreamingRecognizeResponse");
664        debug_struct.field("results", &self.results);
665        debug_struct.field("speech_event_type", &self.speech_event_type);
666        debug_struct.field("speech_event_offset", &self.speech_event_offset);
667        debug_struct.field("metadata", &self.metadata);
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::Config {
676    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
677        let mut debug_struct = f.debug_struct("Config");
678        debug_struct.field("name", &self.name);
679        debug_struct.field("kms_key_name", &self.kms_key_name);
680        debug_struct.field("update_time", &self.update_time);
681        if !self._unknown_fields.is_empty() {
682            debug_struct.field("_unknown_fields", &self._unknown_fields);
683        }
684        debug_struct.finish()
685    }
686}
687
688impl std::fmt::Debug for super::GetConfigRequest {
689    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
690        let mut debug_struct = f.debug_struct("GetConfigRequest");
691        debug_struct.field("name", &self.name);
692        if !self._unknown_fields.is_empty() {
693            debug_struct.field("_unknown_fields", &self._unknown_fields);
694        }
695        debug_struct.finish()
696    }
697}
698
699impl std::fmt::Debug for super::UpdateConfigRequest {
700    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
701        let mut debug_struct = f.debug_struct("UpdateConfigRequest");
702        debug_struct.field("config", &self.config);
703        debug_struct.field("update_mask", &self.update_mask);
704        if !self._unknown_fields.is_empty() {
705            debug_struct.field("_unknown_fields", &self._unknown_fields);
706        }
707        debug_struct.finish()
708    }
709}
710
711impl std::fmt::Debug for super::CustomClass {
712    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
713        let mut debug_struct = f.debug_struct("CustomClass");
714        debug_struct.field("name", &self.name);
715        debug_struct.field("uid", &self.uid);
716        debug_struct.field("display_name", &self.display_name);
717        debug_struct.field("items", &self.items);
718        debug_struct.field("state", &self.state);
719        debug_struct.field("create_time", &self.create_time);
720        debug_struct.field("update_time", &self.update_time);
721        debug_struct.field("delete_time", &self.delete_time);
722        debug_struct.field("expire_time", &self.expire_time);
723        debug_struct.field("annotations", &self.annotations);
724        debug_struct.field("etag", &self.etag);
725        debug_struct.field("reconciling", &self.reconciling);
726        debug_struct.field("kms_key_name", &self.kms_key_name);
727        debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
728        if !self._unknown_fields.is_empty() {
729            debug_struct.field("_unknown_fields", &self._unknown_fields);
730        }
731        debug_struct.finish()
732    }
733}
734
735impl std::fmt::Debug for super::custom_class::ClassItem {
736    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
737        let mut debug_struct = f.debug_struct("ClassItem");
738        debug_struct.field("value", &self.value);
739        if !self._unknown_fields.is_empty() {
740            debug_struct.field("_unknown_fields", &self._unknown_fields);
741        }
742        debug_struct.finish()
743    }
744}
745
746impl std::fmt::Debug for super::PhraseSet {
747    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
748        let mut debug_struct = f.debug_struct("PhraseSet");
749        debug_struct.field("name", &self.name);
750        debug_struct.field("uid", &self.uid);
751        debug_struct.field("phrases", &self.phrases);
752        debug_struct.field("boost", &self.boost);
753        debug_struct.field("display_name", &self.display_name);
754        debug_struct.field("state", &self.state);
755        debug_struct.field("create_time", &self.create_time);
756        debug_struct.field("update_time", &self.update_time);
757        debug_struct.field("delete_time", &self.delete_time);
758        debug_struct.field("expire_time", &self.expire_time);
759        debug_struct.field("annotations", &self.annotations);
760        debug_struct.field("etag", &self.etag);
761        debug_struct.field("reconciling", &self.reconciling);
762        debug_struct.field("kms_key_name", &self.kms_key_name);
763        debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
764        if !self._unknown_fields.is_empty() {
765            debug_struct.field("_unknown_fields", &self._unknown_fields);
766        }
767        debug_struct.finish()
768    }
769}
770
771impl std::fmt::Debug for super::phrase_set::Phrase {
772    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
773        let mut debug_struct = f.debug_struct("Phrase");
774        debug_struct.field("value", &self.value);
775        debug_struct.field("boost", &self.boost);
776        if !self._unknown_fields.is_empty() {
777            debug_struct.field("_unknown_fields", &self._unknown_fields);
778        }
779        debug_struct.finish()
780    }
781}
782
783impl std::fmt::Debug for super::CreateCustomClassRequest {
784    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
785        let mut debug_struct = f.debug_struct("CreateCustomClassRequest");
786        debug_struct.field("custom_class", &self.custom_class);
787        debug_struct.field("validate_only", &self.validate_only);
788        debug_struct.field("custom_class_id", &self.custom_class_id);
789        debug_struct.field("parent", &self.parent);
790        if !self._unknown_fields.is_empty() {
791            debug_struct.field("_unknown_fields", &self._unknown_fields);
792        }
793        debug_struct.finish()
794    }
795}
796
797impl std::fmt::Debug for super::ListCustomClassesRequest {
798    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
799        let mut debug_struct = f.debug_struct("ListCustomClassesRequest");
800        debug_struct.field("parent", &self.parent);
801        debug_struct.field("page_size", &self.page_size);
802        debug_struct.field("page_token", &self.page_token);
803        debug_struct.field("show_deleted", &self.show_deleted);
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::ListCustomClassesResponse {
812    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
813        let mut debug_struct = f.debug_struct("ListCustomClassesResponse");
814        debug_struct.field("custom_classes", &self.custom_classes);
815        debug_struct.field("next_page_token", &self.next_page_token);
816        if !self._unknown_fields.is_empty() {
817            debug_struct.field("_unknown_fields", &self._unknown_fields);
818        }
819        debug_struct.finish()
820    }
821}
822
823impl std::fmt::Debug for super::GetCustomClassRequest {
824    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
825        let mut debug_struct = f.debug_struct("GetCustomClassRequest");
826        debug_struct.field("name", &self.name);
827        if !self._unknown_fields.is_empty() {
828            debug_struct.field("_unknown_fields", &self._unknown_fields);
829        }
830        debug_struct.finish()
831    }
832}
833
834impl std::fmt::Debug for super::UpdateCustomClassRequest {
835    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
836        let mut debug_struct = f.debug_struct("UpdateCustomClassRequest");
837        debug_struct.field("custom_class", &self.custom_class);
838        debug_struct.field("update_mask", &self.update_mask);
839        debug_struct.field("validate_only", &self.validate_only);
840        if !self._unknown_fields.is_empty() {
841            debug_struct.field("_unknown_fields", &self._unknown_fields);
842        }
843        debug_struct.finish()
844    }
845}
846
847impl std::fmt::Debug for super::DeleteCustomClassRequest {
848    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
849        let mut debug_struct = f.debug_struct("DeleteCustomClassRequest");
850        debug_struct.field("name", &self.name);
851        debug_struct.field("validate_only", &self.validate_only);
852        debug_struct.field("allow_missing", &self.allow_missing);
853        debug_struct.field("etag", &self.etag);
854        if !self._unknown_fields.is_empty() {
855            debug_struct.field("_unknown_fields", &self._unknown_fields);
856        }
857        debug_struct.finish()
858    }
859}
860
861impl std::fmt::Debug for super::UndeleteCustomClassRequest {
862    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
863        let mut debug_struct = f.debug_struct("UndeleteCustomClassRequest");
864        debug_struct.field("name", &self.name);
865        debug_struct.field("validate_only", &self.validate_only);
866        debug_struct.field("etag", &self.etag);
867        if !self._unknown_fields.is_empty() {
868            debug_struct.field("_unknown_fields", &self._unknown_fields);
869        }
870        debug_struct.finish()
871    }
872}
873
874impl std::fmt::Debug for super::CreatePhraseSetRequest {
875    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
876        let mut debug_struct = f.debug_struct("CreatePhraseSetRequest");
877        debug_struct.field("phrase_set", &self.phrase_set);
878        debug_struct.field("validate_only", &self.validate_only);
879        debug_struct.field("phrase_set_id", &self.phrase_set_id);
880        debug_struct.field("parent", &self.parent);
881        if !self._unknown_fields.is_empty() {
882            debug_struct.field("_unknown_fields", &self._unknown_fields);
883        }
884        debug_struct.finish()
885    }
886}
887
888impl std::fmt::Debug for super::ListPhraseSetsRequest {
889    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
890        let mut debug_struct = f.debug_struct("ListPhraseSetsRequest");
891        debug_struct.field("parent", &self.parent);
892        debug_struct.field("page_size", &self.page_size);
893        debug_struct.field("page_token", &self.page_token);
894        debug_struct.field("show_deleted", &self.show_deleted);
895        if !self._unknown_fields.is_empty() {
896            debug_struct.field("_unknown_fields", &self._unknown_fields);
897        }
898        debug_struct.finish()
899    }
900}
901
902impl std::fmt::Debug for super::ListPhraseSetsResponse {
903    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
904        let mut debug_struct = f.debug_struct("ListPhraseSetsResponse");
905        debug_struct.field("phrase_sets", &self.phrase_sets);
906        debug_struct.field("next_page_token", &self.next_page_token);
907        if !self._unknown_fields.is_empty() {
908            debug_struct.field("_unknown_fields", &self._unknown_fields);
909        }
910        debug_struct.finish()
911    }
912}
913
914impl std::fmt::Debug for super::GetPhraseSetRequest {
915    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
916        let mut debug_struct = f.debug_struct("GetPhraseSetRequest");
917        debug_struct.field("name", &self.name);
918        if !self._unknown_fields.is_empty() {
919            debug_struct.field("_unknown_fields", &self._unknown_fields);
920        }
921        debug_struct.finish()
922    }
923}
924
925impl std::fmt::Debug for super::UpdatePhraseSetRequest {
926    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
927        let mut debug_struct = f.debug_struct("UpdatePhraseSetRequest");
928        debug_struct.field("phrase_set", &self.phrase_set);
929        debug_struct.field("update_mask", &self.update_mask);
930        debug_struct.field("validate_only", &self.validate_only);
931        if !self._unknown_fields.is_empty() {
932            debug_struct.field("_unknown_fields", &self._unknown_fields);
933        }
934        debug_struct.finish()
935    }
936}
937
938impl std::fmt::Debug for super::DeletePhraseSetRequest {
939    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
940        let mut debug_struct = f.debug_struct("DeletePhraseSetRequest");
941        debug_struct.field("name", &self.name);
942        debug_struct.field("validate_only", &self.validate_only);
943        debug_struct.field("allow_missing", &self.allow_missing);
944        debug_struct.field("etag", &self.etag);
945        if !self._unknown_fields.is_empty() {
946            debug_struct.field("_unknown_fields", &self._unknown_fields);
947        }
948        debug_struct.finish()
949    }
950}
951
952impl std::fmt::Debug for super::UndeletePhraseSetRequest {
953    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
954        let mut debug_struct = f.debug_struct("UndeletePhraseSetRequest");
955        debug_struct.field("name", &self.name);
956        debug_struct.field("validate_only", &self.validate_only);
957        debug_struct.field("etag", &self.etag);
958        if !self._unknown_fields.is_empty() {
959            debug_struct.field("_unknown_fields", &self._unknown_fields);
960        }
961        debug_struct.finish()
962    }
963}
964
965impl std::fmt::Debug for super::ModelFeature {
966    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
967        let mut debug_struct = f.debug_struct("ModelFeature");
968        debug_struct.field("feature", &self.feature);
969        debug_struct.field("release_state", &self.release_state);
970        if !self._unknown_fields.is_empty() {
971            debug_struct.field("_unknown_fields", &self._unknown_fields);
972        }
973        debug_struct.finish()
974    }
975}
976
977impl std::fmt::Debug for super::ModelFeatures {
978    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
979        let mut debug_struct = f.debug_struct("ModelFeatures");
980        debug_struct.field("model_feature", &self.model_feature);
981        if !self._unknown_fields.is_empty() {
982            debug_struct.field("_unknown_fields", &self._unknown_fields);
983        }
984        debug_struct.finish()
985    }
986}
987
988impl std::fmt::Debug for super::ModelMetadata {
989    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
990        let mut debug_struct = f.debug_struct("ModelMetadata");
991        debug_struct.field("model_features", &self.model_features);
992        if !self._unknown_fields.is_empty() {
993            debug_struct.field("_unknown_fields", &self._unknown_fields);
994        }
995        debug_struct.finish()
996    }
997}
998
999impl std::fmt::Debug for super::LanguageMetadata {
1000    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1001        let mut debug_struct = f.debug_struct("LanguageMetadata");
1002        debug_struct.field("models", &self.models);
1003        if !self._unknown_fields.is_empty() {
1004            debug_struct.field("_unknown_fields", &self._unknown_fields);
1005        }
1006        debug_struct.finish()
1007    }
1008}
1009
1010impl std::fmt::Debug for super::AccessMetadata {
1011    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1012        let mut debug_struct = f.debug_struct("AccessMetadata");
1013        debug_struct.field("constraint_type", &self.constraint_type);
1014        if !self._unknown_fields.is_empty() {
1015            debug_struct.field("_unknown_fields", &self._unknown_fields);
1016        }
1017        debug_struct.finish()
1018    }
1019}
1020
1021impl std::fmt::Debug for super::LocationsMetadata {
1022    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1023        let mut debug_struct = f.debug_struct("LocationsMetadata");
1024        debug_struct.field("languages", &self.languages);
1025        debug_struct.field("access_metadata", &self.access_metadata);
1026        if !self._unknown_fields.is_empty() {
1027            debug_struct.field("_unknown_fields", &self._unknown_fields);
1028        }
1029        debug_struct.finish()
1030    }
1031}