@@ -64,53 +64,50 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
64
64
+ "media_translation.proto\022 %google.cloud.me"
65
65
+ "diatranslation.v1beta1\032 \037 google/api/field"
66
66
+ "_behavior.proto\032 \027 google/rpc/status.proto"
67
- + "\032 \027 google/api/client.proto\" \336 \001 \n \025 TranslateS"
67
+ + "\032 \027 google/api/client.proto\" \256 \001 \n \025 TranslateS"
68
68
+ "peechConfig\022 \033 \n \016 audio_encoding\030 \001 \001 (\t B\003 \340 A\002 "
69
- + "\022 !\n \024 source_language_code\030 \002 \001 (\t B\003 \340 A\002 \022 .\n !a"
70
- + "lternative_source_language_codes\030 \006 \003 (\t B\003 "
71
- + "\340 A\001 \022 !\n \024 target_language_code\030 \003 \001 (\t B\003 \340 A\002 \022 \036 "
72
- + "\n \021 sample_rate_hertz\030 \004 \001 (\005 B\003 \340 A\001 \022 \022 \n \005 model\030 "
73
- + "\005 \001 (\t B\003 \340 A\001 \" \230 \001 \n \036 StreamingTranslateSpeechC"
74
- + "onfig\022 W\n \014 audio_config\030 \001 \001 (\013 2<.google.clo"
75
- + "ud.mediatranslation.v1beta1.TranslateSpe"
76
- + "echConfigB\003 \340 A\002 \022 \035 \n \020 single_utterance\030 \002 \001 (\010 "
77
- + "B\003 \340 A\001 \" \262 \001 \n \037 StreamingTranslateSpeechReques"
78
- + "t\022 a\n \020 streaming_config\030 \001 \001 (\013 2E.google.clo"
79
- + "ud.mediatranslation.v1beta1.StreamingTra"
80
- + "nslateSpeechConfigH\000 \022 \027 \n \r audio_content\030 \002 "
81
- + "\001 (\014 H\000 B\023 \n \021 streaming_request\" \301 \002 \n \036 Streaming"
82
- + "TranslateSpeechResult\022 ~\n \027 text_translatio"
83
- + "n_result\030 \001 \001 (\013 2[.google.cloud.mediatrans"
84
- + "lation.v1beta1.StreamingTranslateSpeechR"
85
- + "esult.TextTranslationResultH\000 \022 \037 \n \022 recogni"
86
- + "tion_result\030 \003 \001 (\t B\003 \340 A\003 \032 t\n \025 TextTranslatio"
87
- + "nResult\022 \030 \n \013 translation\030 \001 \001 (\t B\003 \340 A\003 \022 \025 \n \010 is_"
88
- + "final\030 \002 \001 (\010 B\003 \340 A\003 \022 *\n \035 detected_source_lang"
89
- + "uage_code\030 \003 \001 (\t B\003 \340 A\003 B\010 \n \006 result\" \362 \002 \n Strea"
90
- + "mingTranslateSpeechResponse\022 &\n \005 error\030 \001 \001 "
91
- + "(\013 2\022 .google.rpc.StatusB\003 \340 A\003 \022 Z\n \006 result\030 \002 "
92
- + "\001 (\013 2E.google.cloud.mediatranslation.v1be"
93
- + "ta1.StreamingTranslateSpeechResultB\003 \340 A\003 \022 "
94
- + "w\n \021 speech_event_type\030 \003 \001 (\016 2W.google.clou"
95
- + "d.mediatranslation.v1beta1.StreamingTran"
96
- + "slateSpeechResponse.SpeechEventTypeB\003 \340 A\003 "
97
- + "\" Q\n \017 SpeechEventType\022 !\n \035 SPEECH_EVENT_TYPE"
98
- + "_UNSPECIFIED\020 \000 \022 \033 \n \027 END_OF_SINGLE_UTTERANC"
99
- + "E\020 \001 2\243 \002 \n \030 SpeechTranslationService\022 \261 \001 \n \030 Str"
100
- + "eamingTranslateSpeech\022 F.google.cloud.med"
69
+ + "\022 !\n \024 source_language_code\030 \002 \001 (\t B\003 \340 A\002 \022 !\n \024 t"
70
+ + "arget_language_code\030 \003 \001 (\t B\003 \340 A\002 \022 \036 \n \021 sample"
71
+ + "_rate_hertz\030 \004 \001 (\005 B\003 \340 A\001 \022 \022 \n \005 model\030 \005 \001 (\t B\003 \340 "
72
+ + "A\001 \" \230 \001 \n \036 StreamingTranslateSpeechConfig\022 W\n "
73
+ + "\014 audio_config\030 \001 \001 (\013 2<.google.cloud.media"
74
+ + "translation.v1beta1.TranslateSpeechConfi"
75
+ + "gB\003 \340 A\002 \022 \035 \n \020 single_utterance\030 \002 \001 (\010 B\003 \340 A\001 \" \262 \001 "
76
+ + "\n \037 StreamingTranslateSpeechRequest\022 a\n \020 str"
77
+ + "eaming_config\030 \001 \001 (\013 2E.google.cloud.media"
78
+ + "translation.v1beta1.StreamingTranslateSp"
79
+ + "eechConfigH\000 \022 \027 \n \r audio_content\030 \002 \001 (\014 H\000 B\023 \n "
80
+ + "\021 streaming_request\" \364 \001 \n \036 StreamingTranslat"
81
+ + "eSpeechResult\022 ~\n \027 text_translation_result"
82
+ + "\030 \001 \001 (\013 2[.google.cloud.mediatranslation.v"
83
+ + "1beta1.StreamingTranslateSpeechResult.Te"
84
+ + "xtTranslationResultH\000 \032 H\n \025 TextTranslation"
85
+ + "Result\022 \030 \n \013 translation\030 \001 \001 (\t B\003 \340 A\003 \022 \025 \n \010 is_f"
86
+ + "inal\030 \002 \001 (\010 B\003 \340 A\003 B\010 \n \006 result\" \362 \002 \n StreamingT"
87
+ + "ranslateSpeechResponse\022 &\n \005 error\030 \001 \001 (\013 2\022 ."
88
+ + "google.rpc.StatusB\003 \340 A\003 \022 Z\n \006 result\030 \002 \001 (\013 2E"
89
+ + ".google.cloud.mediatranslation.v1beta1.S"
90
+ + "treamingTranslateSpeechResultB\003 \340 A\003 \022 w\n \021 sp"
91
+ + "eech_event_type\030 \003 \001 (\016 2W.google.cloud.med"
101
92
+ "iatranslation.v1beta1.StreamingTranslate"
102
- + "SpeechRequest\032 G.google.cloud.mediatransl"
103
- + "ation.v1beta1.StreamingTranslateSpeechRe"
104
- + "sponse\" \000 (\001 0\001 \032 S\312 A\037 mediatranslation.google"
105
- + "apis.com\322 A.https://www.googleapis.com/au"
106
- + "th/cloud-platformB\231 \002 \n )com.google.cloud.m"
107
- + "ediatranslation.v1beta1B\025 MediaTranslatio"
108
- + "nProtoP\001 ZUgoogle.golang.org/genproto/goo"
109
- + "gleapis/cloud/mediatranslation/v1beta1;m"
110
- + "ediatranslation\370 \001 \001 \252 \002 %Google.Cloud.MediaT"
111
- + "ranslation.V1Beta1\312 \002 %Google\\ Cloud\\ MediaT"
112
- + "ranslation\\ V1beta1\352 \002 (Google::Cloud::Medi"
113
- + "aTranslation::V1beta1b\006 proto3"
93
+ + "SpeechResponse.SpeechEventTypeB\003 \340 A\003 \" Q\n \017 S"
94
+ + "peechEventType\022 !\n \035 SPEECH_EVENT_TYPE_UNSP"
95
+ + "ECIFIED\020 \000 \022 \033 \n \027 END_OF_SINGLE_UTTERANCE\020 \001 2\243 "
96
+ + "\002 \n \030 SpeechTranslationService\022 \261 \001 \n \030 Streamin"
97
+ + "gTranslateSpeech\022 F.google.cloud.mediatra"
98
+ + "nslation.v1beta1.StreamingTranslateSpeec"
99
+ + "hRequest\032 G.google.cloud.mediatranslation"
100
+ + ".v1beta1.StreamingTranslateSpeechRespons"
101
+ + "e\" \000 (\001 0\001 \032 S\312 A\037 mediatranslation.googleapis."
102
+ + "com\322 A.https://www.googleapis.com/auth/cl"
103
+ + "oud-platformB\231 \002 \n )com.google.cloud.mediat"
104
+ + "ranslation.v1beta1B\025 MediaTranslationProt"
105
+ + "oP\001 ZUgoogle.golang.org/genproto/googleap"
106
+ + "is/cloud/mediatranslation/v1beta1;mediat"
107
+ + "ranslation\370 \001 \001 \252 \002 %Google.Cloud.MediaTransl"
108
+ + "ation.V1Beta1\312 \002 %Google\\ Cloud\\ MediaTransl"
109
+ + "ation\\ V1beta1\352 \002 (Google::Cloud::MediaTran"
110
+ + "slation::V1beta1b\006 proto3"
114
111
};
115
112
descriptor =
116
113
com .google .protobuf .Descriptors .FileDescriptor .internalBuildGeneratedFileFrom (
@@ -128,7 +125,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
128
125
new java .lang .String [] {
129
126
"AudioEncoding" ,
130
127
"SourceLanguageCode" ,
131
- "AlternativeSourceLanguageCodes" ,
132
128
"TargetLanguageCode" ,
133
129
"SampleRateHertz" ,
134
130
"Model" ,
@@ -155,7 +151,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
155
151
new com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
156
152
internal_static_google_cloud_mediatranslation_v1beta1_StreamingTranslateSpeechResult_descriptor ,
157
153
new java .lang .String [] {
158
- "TextTranslationResult" , "RecognitionResult" , " Result" ,
154
+ "TextTranslationResult" , "Result" ,
159
155
});
160
156
internal_static_google_cloud_mediatranslation_v1beta1_StreamingTranslateSpeechResult_TextTranslationResult_descriptor =
161
157
internal_static_google_cloud_mediatranslation_v1beta1_StreamingTranslateSpeechResult_descriptor
@@ -165,7 +161,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
165
161
new com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
166
162
internal_static_google_cloud_mediatranslation_v1beta1_StreamingTranslateSpeechResult_TextTranslationResult_descriptor ,
167
163
new java .lang .String [] {
168
- "Translation" , "IsFinal" , "DetectedSourceLanguageCode" ,
164
+ "Translation" , "IsFinal" ,
169
165
});
170
166
internal_static_google_cloud_mediatranslation_v1beta1_StreamingTranslateSpeechResponse_descriptor =
171
167
getDescriptor ().getMessageTypes ().get (4 );
0 commit comments