1#[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::RecognitionFeatures {
195 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
196 let mut debug_struct = f.debug_struct("RecognitionFeatures");
197 debug_struct.field("profanity_filter", &self.profanity_filter);
198 debug_struct.field("enable_word_time_offsets", &self.enable_word_time_offsets);
199 debug_struct.field("enable_word_confidence", &self.enable_word_confidence);
200 debug_struct.field(
201 "enable_automatic_punctuation",
202 &self.enable_automatic_punctuation,
203 );
204 debug_struct.field("enable_spoken_punctuation", &self.enable_spoken_punctuation);
205 debug_struct.field("enable_spoken_emojis", &self.enable_spoken_emojis);
206 debug_struct.field("multi_channel_mode", &self.multi_channel_mode);
207 debug_struct.field("diarization_config", &self.diarization_config);
208 debug_struct.field("max_alternatives", &self.max_alternatives);
209 if !self._unknown_fields.is_empty() {
210 debug_struct.field("_unknown_fields", &self._unknown_fields);
211 }
212 debug_struct.finish()
213 }
214}
215
216impl std::fmt::Debug for super::TranscriptNormalization {
217 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
218 let mut debug_struct = f.debug_struct("TranscriptNormalization");
219 debug_struct.field("entries", &self.entries);
220 if !self._unknown_fields.is_empty() {
221 debug_struct.field("_unknown_fields", &self._unknown_fields);
222 }
223 debug_struct.finish()
224 }
225}
226
227impl std::fmt::Debug for super::transcript_normalization::Entry {
228 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
229 let mut debug_struct = f.debug_struct("Entry");
230 debug_struct.field("search", &self.search);
231 debug_struct.field("replace", &self.replace);
232 debug_struct.field("case_sensitive", &self.case_sensitive);
233 if !self._unknown_fields.is_empty() {
234 debug_struct.field("_unknown_fields", &self._unknown_fields);
235 }
236 debug_struct.finish()
237 }
238}
239
240impl std::fmt::Debug for super::TranslationConfig {
241 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
242 let mut debug_struct = f.debug_struct("TranslationConfig");
243 debug_struct.field("target_language", &self.target_language);
244 if !self._unknown_fields.is_empty() {
245 debug_struct.field("_unknown_fields", &self._unknown_fields);
246 }
247 debug_struct.finish()
248 }
249}
250
251impl std::fmt::Debug for super::SpeechAdaptation {
252 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
253 let mut debug_struct = f.debug_struct("SpeechAdaptation");
254 debug_struct.field("phrase_sets", &self.phrase_sets);
255 debug_struct.field("custom_classes", &self.custom_classes);
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::speech_adaptation::AdaptationPhraseSet {
264 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
265 let mut debug_struct = f.debug_struct("AdaptationPhraseSet");
266 debug_struct.field("value", &self.value);
267 if !self._unknown_fields.is_empty() {
268 debug_struct.field("_unknown_fields", &self._unknown_fields);
269 }
270 debug_struct.finish()
271 }
272}
273
274impl std::fmt::Debug for super::DenoiserConfig {
275 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
276 let mut debug_struct = f.debug_struct("DenoiserConfig");
277 debug_struct.field("denoise_audio", &self.denoise_audio);
278 debug_struct.field("snr_threshold", &self.snr_threshold);
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::RecognitionConfig {
287 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
288 let mut debug_struct = f.debug_struct("RecognitionConfig");
289 debug_struct.field("model", &self.model);
290 debug_struct.field("language_codes", &self.language_codes);
291 debug_struct.field("features", &self.features);
292 debug_struct.field("adaptation", &self.adaptation);
293 debug_struct.field("transcript_normalization", &self.transcript_normalization);
294 debug_struct.field("translation_config", &self.translation_config);
295 debug_struct.field("denoiser_config", &self.denoiser_config);
296 debug_struct.field("decoding_config", &self.decoding_config);
297 if !self._unknown_fields.is_empty() {
298 debug_struct.field("_unknown_fields", &self._unknown_fields);
299 }
300 debug_struct.finish()
301 }
302}
303
304impl std::fmt::Debug for super::RecognizeRequest {
305 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
306 let mut debug_struct = f.debug_struct("RecognizeRequest");
307 debug_struct.field("recognizer", &self.recognizer);
308 debug_struct.field("config", &self.config);
309 debug_struct.field("config_mask", &self.config_mask);
310 debug_struct.field("audio_source", &self.audio_source);
311 if !self._unknown_fields.is_empty() {
312 debug_struct.field("_unknown_fields", &self._unknown_fields);
313 }
314 debug_struct.finish()
315 }
316}
317
318impl std::fmt::Debug for super::RecognitionResponseMetadata {
319 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
320 let mut debug_struct = f.debug_struct("RecognitionResponseMetadata");
321 debug_struct.field("request_id", &self.request_id);
322 debug_struct.field("total_billed_duration", &self.total_billed_duration);
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::SpeechRecognitionAlternative {
331 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
332 let mut debug_struct = f.debug_struct("SpeechRecognitionAlternative");
333 debug_struct.field("transcript", &self.transcript);
334 debug_struct.field("confidence", &self.confidence);
335 debug_struct.field("words", &self.words);
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::WordInfo {
344 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
345 let mut debug_struct = f.debug_struct("WordInfo");
346 debug_struct.field("start_offset", &self.start_offset);
347 debug_struct.field("end_offset", &self.end_offset);
348 debug_struct.field("word", &self.word);
349 debug_struct.field("confidence", &self.confidence);
350 debug_struct.field("speaker_label", &self.speaker_label);
351 if !self._unknown_fields.is_empty() {
352 debug_struct.field("_unknown_fields", &self._unknown_fields);
353 }
354 debug_struct.finish()
355 }
356}
357
358impl std::fmt::Debug for super::SpeechRecognitionResult {
359 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
360 let mut debug_struct = f.debug_struct("SpeechRecognitionResult");
361 debug_struct.field("alternatives", &self.alternatives);
362 debug_struct.field("channel_tag", &self.channel_tag);
363 debug_struct.field("result_end_offset", &self.result_end_offset);
364 debug_struct.field("language_code", &self.language_code);
365 if !self._unknown_fields.is_empty() {
366 debug_struct.field("_unknown_fields", &self._unknown_fields);
367 }
368 debug_struct.finish()
369 }
370}
371
372impl std::fmt::Debug for super::RecognizeResponse {
373 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
374 let mut debug_struct = f.debug_struct("RecognizeResponse");
375 debug_struct.field("results", &self.results);
376 debug_struct.field("metadata", &self.metadata);
377 if !self._unknown_fields.is_empty() {
378 debug_struct.field("_unknown_fields", &self._unknown_fields);
379 }
380 debug_struct.finish()
381 }
382}
383
384impl std::fmt::Debug for super::StreamingRecognitionFeatures {
385 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
386 let mut debug_struct = f.debug_struct("StreamingRecognitionFeatures");
387 debug_struct.field(
388 "enable_voice_activity_events",
389 &self.enable_voice_activity_events,
390 );
391 debug_struct.field("interim_results", &self.interim_results);
392 debug_struct.field("voice_activity_timeout", &self.voice_activity_timeout);
393 if !self._unknown_fields.is_empty() {
394 debug_struct.field("_unknown_fields", &self._unknown_fields);
395 }
396 debug_struct.finish()
397 }
398}
399
400impl std::fmt::Debug for super::streaming_recognition_features::VoiceActivityTimeout {
401 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
402 let mut debug_struct = f.debug_struct("VoiceActivityTimeout");
403 debug_struct.field("speech_start_timeout", &self.speech_start_timeout);
404 debug_struct.field("speech_end_timeout", &self.speech_end_timeout);
405 if !self._unknown_fields.is_empty() {
406 debug_struct.field("_unknown_fields", &self._unknown_fields);
407 }
408 debug_struct.finish()
409 }
410}
411
412impl std::fmt::Debug for super::StreamingRecognitionConfig {
413 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
414 let mut debug_struct = f.debug_struct("StreamingRecognitionConfig");
415 debug_struct.field("config", &self.config);
416 debug_struct.field("config_mask", &self.config_mask);
417 debug_struct.field("streaming_features", &self.streaming_features);
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::StreamingRecognizeRequest {
426 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
427 let mut debug_struct = f.debug_struct("StreamingRecognizeRequest");
428 debug_struct.field("recognizer", &self.recognizer);
429 debug_struct.field("streaming_request", &self.streaming_request);
430 if !self._unknown_fields.is_empty() {
431 debug_struct.field("_unknown_fields", &self._unknown_fields);
432 }
433 debug_struct.finish()
434 }
435}
436
437impl std::fmt::Debug for super::BatchRecognizeRequest {
438 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
439 let mut debug_struct = f.debug_struct("BatchRecognizeRequest");
440 debug_struct.field("recognizer", &self.recognizer);
441 debug_struct.field("config", &self.config);
442 debug_struct.field("config_mask", &self.config_mask);
443 debug_struct.field("files", &self.files);
444 debug_struct.field("recognition_output_config", &self.recognition_output_config);
445 debug_struct.field("processing_strategy", &self.processing_strategy);
446 if !self._unknown_fields.is_empty() {
447 debug_struct.field("_unknown_fields", &self._unknown_fields);
448 }
449 debug_struct.finish()
450 }
451}
452
453impl std::fmt::Debug for super::GcsOutputConfig {
454 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
455 let mut debug_struct = f.debug_struct("GcsOutputConfig");
456 debug_struct.field("uri", &self.uri);
457 if !self._unknown_fields.is_empty() {
458 debug_struct.field("_unknown_fields", &self._unknown_fields);
459 }
460 debug_struct.finish()
461 }
462}
463
464impl std::fmt::Debug for super::InlineOutputConfig {
465 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
466 let mut debug_struct = f.debug_struct("InlineOutputConfig");
467 if !self._unknown_fields.is_empty() {
468 debug_struct.field("_unknown_fields", &self._unknown_fields);
469 }
470 debug_struct.finish()
471 }
472}
473
474impl std::fmt::Debug for super::NativeOutputFileFormatConfig {
475 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
476 let mut debug_struct = f.debug_struct("NativeOutputFileFormatConfig");
477 if !self._unknown_fields.is_empty() {
478 debug_struct.field("_unknown_fields", &self._unknown_fields);
479 }
480 debug_struct.finish()
481 }
482}
483
484impl std::fmt::Debug for super::VttOutputFileFormatConfig {
485 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
486 let mut debug_struct = f.debug_struct("VttOutputFileFormatConfig");
487 if !self._unknown_fields.is_empty() {
488 debug_struct.field("_unknown_fields", &self._unknown_fields);
489 }
490 debug_struct.finish()
491 }
492}
493
494impl std::fmt::Debug for super::SrtOutputFileFormatConfig {
495 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
496 let mut debug_struct = f.debug_struct("SrtOutputFileFormatConfig");
497 if !self._unknown_fields.is_empty() {
498 debug_struct.field("_unknown_fields", &self._unknown_fields);
499 }
500 debug_struct.finish()
501 }
502}
503
504impl std::fmt::Debug for super::OutputFormatConfig {
505 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
506 let mut debug_struct = f.debug_struct("OutputFormatConfig");
507 debug_struct.field("native", &self.native);
508 debug_struct.field("vtt", &self.vtt);
509 debug_struct.field("srt", &self.srt);
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::RecognitionOutputConfig {
518 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
519 let mut debug_struct = f.debug_struct("RecognitionOutputConfig");
520 debug_struct.field("output_format_config", &self.output_format_config);
521 debug_struct.field("output", &self.output);
522 if !self._unknown_fields.is_empty() {
523 debug_struct.field("_unknown_fields", &self._unknown_fields);
524 }
525 debug_struct.finish()
526 }
527}
528
529impl std::fmt::Debug for super::BatchRecognizeResponse {
530 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
531 let mut debug_struct = f.debug_struct("BatchRecognizeResponse");
532 debug_struct.field("results", &self.results);
533 debug_struct.field("total_billed_duration", &self.total_billed_duration);
534 if !self._unknown_fields.is_empty() {
535 debug_struct.field("_unknown_fields", &self._unknown_fields);
536 }
537 debug_struct.finish()
538 }
539}
540
541impl std::fmt::Debug for super::BatchRecognizeResults {
542 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
543 let mut debug_struct = f.debug_struct("BatchRecognizeResults");
544 debug_struct.field("results", &self.results);
545 debug_struct.field("metadata", &self.metadata);
546 if !self._unknown_fields.is_empty() {
547 debug_struct.field("_unknown_fields", &self._unknown_fields);
548 }
549 debug_struct.finish()
550 }
551}
552
553impl std::fmt::Debug for super::CloudStorageResult {
554 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
555 let mut debug_struct = f.debug_struct("CloudStorageResult");
556 debug_struct.field("uri", &self.uri);
557 debug_struct.field("vtt_format_uri", &self.vtt_format_uri);
558 debug_struct.field("srt_format_uri", &self.srt_format_uri);
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::InlineResult {
567 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
568 let mut debug_struct = f.debug_struct("InlineResult");
569 debug_struct.field("transcript", &self.transcript);
570 debug_struct.field("vtt_captions", &self.vtt_captions);
571 debug_struct.field("srt_captions", &self.srt_captions);
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::BatchRecognizeFileResult {
580 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
581 let mut debug_struct = f.debug_struct("BatchRecognizeFileResult");
582 debug_struct.field("error", &self.error);
583 debug_struct.field("metadata", &self.metadata);
584 debug_struct.field("uri", &self.uri);
585 debug_struct.field("transcript", &self.transcript);
586 debug_struct.field("result", &self.result);
587 if !self._unknown_fields.is_empty() {
588 debug_struct.field("_unknown_fields", &self._unknown_fields);
589 }
590 debug_struct.finish()
591 }
592}
593
594impl std::fmt::Debug for super::BatchRecognizeTranscriptionMetadata {
595 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
596 let mut debug_struct = f.debug_struct("BatchRecognizeTranscriptionMetadata");
597 debug_struct.field("progress_percent", &self.progress_percent);
598 debug_struct.field("error", &self.error);
599 debug_struct.field("uri", &self.uri);
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::BatchRecognizeMetadata {
608 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
609 let mut debug_struct = f.debug_struct("BatchRecognizeMetadata");
610 debug_struct.field("transcription_metadata", &self.transcription_metadata);
611 if !self._unknown_fields.is_empty() {
612 debug_struct.field("_unknown_fields", &self._unknown_fields);
613 }
614 debug_struct.finish()
615 }
616}
617
618impl std::fmt::Debug for super::BatchRecognizeFileMetadata {
619 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
620 let mut debug_struct = f.debug_struct("BatchRecognizeFileMetadata");
621 debug_struct.field("config", &self.config);
622 debug_struct.field("config_mask", &self.config_mask);
623 debug_struct.field("audio_source", &self.audio_source);
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::StreamingRecognitionResult {
632 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
633 let mut debug_struct = f.debug_struct("StreamingRecognitionResult");
634 debug_struct.field("alternatives", &self.alternatives);
635 debug_struct.field("is_final", &self.is_final);
636 debug_struct.field("stability", &self.stability);
637 debug_struct.field("result_end_offset", &self.result_end_offset);
638 debug_struct.field("channel_tag", &self.channel_tag);
639 debug_struct.field("language_code", &self.language_code);
640 if !self._unknown_fields.is_empty() {
641 debug_struct.field("_unknown_fields", &self._unknown_fields);
642 }
643 debug_struct.finish()
644 }
645}
646
647impl std::fmt::Debug for super::StreamingRecognizeResponse {
648 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
649 let mut debug_struct = f.debug_struct("StreamingRecognizeResponse");
650 debug_struct.field("results", &self.results);
651 debug_struct.field("speech_event_type", &self.speech_event_type);
652 debug_struct.field("speech_event_offset", &self.speech_event_offset);
653 debug_struct.field("metadata", &self.metadata);
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::Config {
662 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
663 let mut debug_struct = f.debug_struct("Config");
664 debug_struct.field("name", &self.name);
665 debug_struct.field("kms_key_name", &self.kms_key_name);
666 debug_struct.field("update_time", &self.update_time);
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::GetConfigRequest {
675 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
676 let mut debug_struct = f.debug_struct("GetConfigRequest");
677 debug_struct.field("name", &self.name);
678 if !self._unknown_fields.is_empty() {
679 debug_struct.field("_unknown_fields", &self._unknown_fields);
680 }
681 debug_struct.finish()
682 }
683}
684
685impl std::fmt::Debug for super::UpdateConfigRequest {
686 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
687 let mut debug_struct = f.debug_struct("UpdateConfigRequest");
688 debug_struct.field("config", &self.config);
689 debug_struct.field("update_mask", &self.update_mask);
690 if !self._unknown_fields.is_empty() {
691 debug_struct.field("_unknown_fields", &self._unknown_fields);
692 }
693 debug_struct.finish()
694 }
695}
696
697impl std::fmt::Debug for super::CustomClass {
698 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
699 let mut debug_struct = f.debug_struct("CustomClass");
700 debug_struct.field("name", &self.name);
701 debug_struct.field("uid", &self.uid);
702 debug_struct.field("display_name", &self.display_name);
703 debug_struct.field("items", &self.items);
704 debug_struct.field("state", &self.state);
705 debug_struct.field("create_time", &self.create_time);
706 debug_struct.field("update_time", &self.update_time);
707 debug_struct.field("delete_time", &self.delete_time);
708 debug_struct.field("expire_time", &self.expire_time);
709 debug_struct.field("annotations", &self.annotations);
710 debug_struct.field("etag", &self.etag);
711 debug_struct.field("reconciling", &self.reconciling);
712 debug_struct.field("kms_key_name", &self.kms_key_name);
713 debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
714 if !self._unknown_fields.is_empty() {
715 debug_struct.field("_unknown_fields", &self._unknown_fields);
716 }
717 debug_struct.finish()
718 }
719}
720
721impl std::fmt::Debug for super::custom_class::ClassItem {
722 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
723 let mut debug_struct = f.debug_struct("ClassItem");
724 debug_struct.field("value", &self.value);
725 if !self._unknown_fields.is_empty() {
726 debug_struct.field("_unknown_fields", &self._unknown_fields);
727 }
728 debug_struct.finish()
729 }
730}
731
732impl std::fmt::Debug for super::PhraseSet {
733 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
734 let mut debug_struct = f.debug_struct("PhraseSet");
735 debug_struct.field("name", &self.name);
736 debug_struct.field("uid", &self.uid);
737 debug_struct.field("phrases", &self.phrases);
738 debug_struct.field("boost", &self.boost);
739 debug_struct.field("display_name", &self.display_name);
740 debug_struct.field("state", &self.state);
741 debug_struct.field("create_time", &self.create_time);
742 debug_struct.field("update_time", &self.update_time);
743 debug_struct.field("delete_time", &self.delete_time);
744 debug_struct.field("expire_time", &self.expire_time);
745 debug_struct.field("annotations", &self.annotations);
746 debug_struct.field("etag", &self.etag);
747 debug_struct.field("reconciling", &self.reconciling);
748 debug_struct.field("kms_key_name", &self.kms_key_name);
749 debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
750 if !self._unknown_fields.is_empty() {
751 debug_struct.field("_unknown_fields", &self._unknown_fields);
752 }
753 debug_struct.finish()
754 }
755}
756
757impl std::fmt::Debug for super::phrase_set::Phrase {
758 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
759 let mut debug_struct = f.debug_struct("Phrase");
760 debug_struct.field("value", &self.value);
761 debug_struct.field("boost", &self.boost);
762 if !self._unknown_fields.is_empty() {
763 debug_struct.field("_unknown_fields", &self._unknown_fields);
764 }
765 debug_struct.finish()
766 }
767}
768
769impl std::fmt::Debug for super::CreateCustomClassRequest {
770 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
771 let mut debug_struct = f.debug_struct("CreateCustomClassRequest");
772 debug_struct.field("custom_class", &self.custom_class);
773 debug_struct.field("validate_only", &self.validate_only);
774 debug_struct.field("custom_class_id", &self.custom_class_id);
775 debug_struct.field("parent", &self.parent);
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::ListCustomClassesRequest {
784 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
785 let mut debug_struct = f.debug_struct("ListCustomClassesRequest");
786 debug_struct.field("parent", &self.parent);
787 debug_struct.field("page_size", &self.page_size);
788 debug_struct.field("page_token", &self.page_token);
789 debug_struct.field("show_deleted", &self.show_deleted);
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::ListCustomClassesResponse {
798 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
799 let mut debug_struct = f.debug_struct("ListCustomClassesResponse");
800 debug_struct.field("custom_classes", &self.custom_classes);
801 debug_struct.field("next_page_token", &self.next_page_token);
802 if !self._unknown_fields.is_empty() {
803 debug_struct.field("_unknown_fields", &self._unknown_fields);
804 }
805 debug_struct.finish()
806 }
807}
808
809impl std::fmt::Debug for super::GetCustomClassRequest {
810 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
811 let mut debug_struct = f.debug_struct("GetCustomClassRequest");
812 debug_struct.field("name", &self.name);
813 if !self._unknown_fields.is_empty() {
814 debug_struct.field("_unknown_fields", &self._unknown_fields);
815 }
816 debug_struct.finish()
817 }
818}
819
820impl std::fmt::Debug for super::UpdateCustomClassRequest {
821 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
822 let mut debug_struct = f.debug_struct("UpdateCustomClassRequest");
823 debug_struct.field("custom_class", &self.custom_class);
824 debug_struct.field("update_mask", &self.update_mask);
825 debug_struct.field("validate_only", &self.validate_only);
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::DeleteCustomClassRequest {
834 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
835 let mut debug_struct = f.debug_struct("DeleteCustomClassRequest");
836 debug_struct.field("name", &self.name);
837 debug_struct.field("validate_only", &self.validate_only);
838 debug_struct.field("allow_missing", &self.allow_missing);
839 debug_struct.field("etag", &self.etag);
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::UndeleteCustomClassRequest {
848 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
849 let mut debug_struct = f.debug_struct("UndeleteCustomClassRequest");
850 debug_struct.field("name", &self.name);
851 debug_struct.field("validate_only", &self.validate_only);
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::CreatePhraseSetRequest {
861 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
862 let mut debug_struct = f.debug_struct("CreatePhraseSetRequest");
863 debug_struct.field("phrase_set", &self.phrase_set);
864 debug_struct.field("validate_only", &self.validate_only);
865 debug_struct.field("phrase_set_id", &self.phrase_set_id);
866 debug_struct.field("parent", &self.parent);
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::ListPhraseSetsRequest {
875 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
876 let mut debug_struct = f.debug_struct("ListPhraseSetsRequest");
877 debug_struct.field("parent", &self.parent);
878 debug_struct.field("page_size", &self.page_size);
879 debug_struct.field("page_token", &self.page_token);
880 debug_struct.field("show_deleted", &self.show_deleted);
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::ListPhraseSetsResponse {
889 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
890 let mut debug_struct = f.debug_struct("ListPhraseSetsResponse");
891 debug_struct.field("phrase_sets", &self.phrase_sets);
892 debug_struct.field("next_page_token", &self.next_page_token);
893 if !self._unknown_fields.is_empty() {
894 debug_struct.field("_unknown_fields", &self._unknown_fields);
895 }
896 debug_struct.finish()
897 }
898}
899
900impl std::fmt::Debug for super::GetPhraseSetRequest {
901 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
902 let mut debug_struct = f.debug_struct("GetPhraseSetRequest");
903 debug_struct.field("name", &self.name);
904 if !self._unknown_fields.is_empty() {
905 debug_struct.field("_unknown_fields", &self._unknown_fields);
906 }
907 debug_struct.finish()
908 }
909}
910
911impl std::fmt::Debug for super::UpdatePhraseSetRequest {
912 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
913 let mut debug_struct = f.debug_struct("UpdatePhraseSetRequest");
914 debug_struct.field("phrase_set", &self.phrase_set);
915 debug_struct.field("update_mask", &self.update_mask);
916 debug_struct.field("validate_only", &self.validate_only);
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::DeletePhraseSetRequest {
925 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
926 let mut debug_struct = f.debug_struct("DeletePhraseSetRequest");
927 debug_struct.field("name", &self.name);
928 debug_struct.field("validate_only", &self.validate_only);
929 debug_struct.field("allow_missing", &self.allow_missing);
930 debug_struct.field("etag", &self.etag);
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::UndeletePhraseSetRequest {
939 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
940 let mut debug_struct = f.debug_struct("UndeletePhraseSetRequest");
941 debug_struct.field("name", &self.name);
942 debug_struct.field("validate_only", &self.validate_only);
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::ModelFeature {
952 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
953 let mut debug_struct = f.debug_struct("ModelFeature");
954 debug_struct.field("feature", &self.feature);
955 debug_struct.field("release_state", &self.release_state);
956 if !self._unknown_fields.is_empty() {
957 debug_struct.field("_unknown_fields", &self._unknown_fields);
958 }
959 debug_struct.finish()
960 }
961}
962
963impl std::fmt::Debug for super::ModelFeatures {
964 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
965 let mut debug_struct = f.debug_struct("ModelFeatures");
966 debug_struct.field("model_feature", &self.model_feature);
967 if !self._unknown_fields.is_empty() {
968 debug_struct.field("_unknown_fields", &self._unknown_fields);
969 }
970 debug_struct.finish()
971 }
972}
973
974impl std::fmt::Debug for super::ModelMetadata {
975 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
976 let mut debug_struct = f.debug_struct("ModelMetadata");
977 debug_struct.field("model_features", &self.model_features);
978 if !self._unknown_fields.is_empty() {
979 debug_struct.field("_unknown_fields", &self._unknown_fields);
980 }
981 debug_struct.finish()
982 }
983}
984
985impl std::fmt::Debug for super::LanguageMetadata {
986 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
987 let mut debug_struct = f.debug_struct("LanguageMetadata");
988 debug_struct.field("models", &self.models);
989 if !self._unknown_fields.is_empty() {
990 debug_struct.field("_unknown_fields", &self._unknown_fields);
991 }
992 debug_struct.finish()
993 }
994}
995
996impl std::fmt::Debug for super::AccessMetadata {
997 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
998 let mut debug_struct = f.debug_struct("AccessMetadata");
999 debug_struct.field("constraint_type", &self.constraint_type);
1000 if !self._unknown_fields.is_empty() {
1001 debug_struct.field("_unknown_fields", &self._unknown_fields);
1002 }
1003 debug_struct.finish()
1004 }
1005}
1006
1007impl std::fmt::Debug for super::LocationsMetadata {
1008 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1009 let mut debug_struct = f.debug_struct("LocationsMetadata");
1010 debug_struct.field("languages", &self.languages);
1011 debug_struct.field("access_metadata", &self.access_metadata);
1012 if !self._unknown_fields.is_empty() {
1013 debug_struct.field("_unknown_fields", &self._unknown_fields);
1014 }
1015 debug_struct.finish()
1016 }
1017}