1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/translate/v3/translation_service.proto 18 19 package com.google.cloud.translate.v3; 20 21 public final class TranslationServiceProto { TranslationServiceProto()22 private TranslationServiceProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} 25 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 27 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 28 } 29 30 static final com.google.protobuf.Descriptors.Descriptor 31 internal_static_google_cloud_translation_v3_TranslateTextGlossaryConfig_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_translation_v3_TranslateTextGlossaryConfig_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_translation_v3_TranslateTextRequest_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_translation_v3_TranslateTextRequest_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_translation_v3_TranslateTextRequest_LabelsEntry_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_translation_v3_TranslateTextRequest_LabelsEntry_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_cloud_translation_v3_TranslateTextResponse_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_cloud_translation_v3_TranslateTextResponse_fieldAccessorTable; 46 static final com.google.protobuf.Descriptors.Descriptor 47 internal_static_google_cloud_translation_v3_Translation_descriptor; 48 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 49 internal_static_google_cloud_translation_v3_Translation_fieldAccessorTable; 50 static final com.google.protobuf.Descriptors.Descriptor 51 internal_static_google_cloud_translation_v3_DetectLanguageRequest_descriptor; 52 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 53 internal_static_google_cloud_translation_v3_DetectLanguageRequest_fieldAccessorTable; 54 static final com.google.protobuf.Descriptors.Descriptor 55 internal_static_google_cloud_translation_v3_DetectLanguageRequest_LabelsEntry_descriptor; 56 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 57 internal_static_google_cloud_translation_v3_DetectLanguageRequest_LabelsEntry_fieldAccessorTable; 58 static final com.google.protobuf.Descriptors.Descriptor 59 internal_static_google_cloud_translation_v3_DetectedLanguage_descriptor; 60 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 61 internal_static_google_cloud_translation_v3_DetectedLanguage_fieldAccessorTable; 62 static final com.google.protobuf.Descriptors.Descriptor 63 internal_static_google_cloud_translation_v3_DetectLanguageResponse_descriptor; 64 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 65 internal_static_google_cloud_translation_v3_DetectLanguageResponse_fieldAccessorTable; 66 static final com.google.protobuf.Descriptors.Descriptor 67 internal_static_google_cloud_translation_v3_GetSupportedLanguagesRequest_descriptor; 68 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 69 internal_static_google_cloud_translation_v3_GetSupportedLanguagesRequest_fieldAccessorTable; 70 static final com.google.protobuf.Descriptors.Descriptor 71 internal_static_google_cloud_translation_v3_SupportedLanguages_descriptor; 72 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 73 internal_static_google_cloud_translation_v3_SupportedLanguages_fieldAccessorTable; 74 static final com.google.protobuf.Descriptors.Descriptor 75 internal_static_google_cloud_translation_v3_SupportedLanguage_descriptor; 76 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 77 internal_static_google_cloud_translation_v3_SupportedLanguage_fieldAccessorTable; 78 static final com.google.protobuf.Descriptors.Descriptor 79 internal_static_google_cloud_translation_v3_GcsSource_descriptor; 80 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 81 internal_static_google_cloud_translation_v3_GcsSource_fieldAccessorTable; 82 static final com.google.protobuf.Descriptors.Descriptor 83 internal_static_google_cloud_translation_v3_InputConfig_descriptor; 84 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 85 internal_static_google_cloud_translation_v3_InputConfig_fieldAccessorTable; 86 static final com.google.protobuf.Descriptors.Descriptor 87 internal_static_google_cloud_translation_v3_GcsDestination_descriptor; 88 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 89 internal_static_google_cloud_translation_v3_GcsDestination_fieldAccessorTable; 90 static final com.google.protobuf.Descriptors.Descriptor 91 internal_static_google_cloud_translation_v3_OutputConfig_descriptor; 92 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 93 internal_static_google_cloud_translation_v3_OutputConfig_fieldAccessorTable; 94 static final com.google.protobuf.Descriptors.Descriptor 95 internal_static_google_cloud_translation_v3_DocumentInputConfig_descriptor; 96 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 97 internal_static_google_cloud_translation_v3_DocumentInputConfig_fieldAccessorTable; 98 static final com.google.protobuf.Descriptors.Descriptor 99 internal_static_google_cloud_translation_v3_DocumentOutputConfig_descriptor; 100 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 101 internal_static_google_cloud_translation_v3_DocumentOutputConfig_fieldAccessorTable; 102 static final com.google.protobuf.Descriptors.Descriptor 103 internal_static_google_cloud_translation_v3_TranslateDocumentRequest_descriptor; 104 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 105 internal_static_google_cloud_translation_v3_TranslateDocumentRequest_fieldAccessorTable; 106 static final com.google.protobuf.Descriptors.Descriptor 107 internal_static_google_cloud_translation_v3_TranslateDocumentRequest_LabelsEntry_descriptor; 108 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 109 internal_static_google_cloud_translation_v3_TranslateDocumentRequest_LabelsEntry_fieldAccessorTable; 110 static final com.google.protobuf.Descriptors.Descriptor 111 internal_static_google_cloud_translation_v3_DocumentTranslation_descriptor; 112 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 113 internal_static_google_cloud_translation_v3_DocumentTranslation_fieldAccessorTable; 114 static final com.google.protobuf.Descriptors.Descriptor 115 internal_static_google_cloud_translation_v3_TranslateDocumentResponse_descriptor; 116 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 117 internal_static_google_cloud_translation_v3_TranslateDocumentResponse_fieldAccessorTable; 118 static final com.google.protobuf.Descriptors.Descriptor 119 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_descriptor; 120 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 121 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_fieldAccessorTable; 122 static final com.google.protobuf.Descriptors.Descriptor 123 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_ModelsEntry_descriptor; 124 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 125 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_ModelsEntry_fieldAccessorTable; 126 static final com.google.protobuf.Descriptors.Descriptor 127 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_GlossariesEntry_descriptor; 128 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 129 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_GlossariesEntry_fieldAccessorTable; 130 static final com.google.protobuf.Descriptors.Descriptor 131 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_LabelsEntry_descriptor; 132 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 133 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_LabelsEntry_fieldAccessorTable; 134 static final com.google.protobuf.Descriptors.Descriptor 135 internal_static_google_cloud_translation_v3_BatchTranslateMetadata_descriptor; 136 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 137 internal_static_google_cloud_translation_v3_BatchTranslateMetadata_fieldAccessorTable; 138 static final com.google.protobuf.Descriptors.Descriptor 139 internal_static_google_cloud_translation_v3_BatchTranslateResponse_descriptor; 140 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 141 internal_static_google_cloud_translation_v3_BatchTranslateResponse_fieldAccessorTable; 142 static final com.google.protobuf.Descriptors.Descriptor 143 internal_static_google_cloud_translation_v3_GlossaryInputConfig_descriptor; 144 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 145 internal_static_google_cloud_translation_v3_GlossaryInputConfig_fieldAccessorTable; 146 static final com.google.protobuf.Descriptors.Descriptor 147 internal_static_google_cloud_translation_v3_Glossary_descriptor; 148 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 149 internal_static_google_cloud_translation_v3_Glossary_fieldAccessorTable; 150 static final com.google.protobuf.Descriptors.Descriptor 151 internal_static_google_cloud_translation_v3_Glossary_LanguageCodePair_descriptor; 152 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 153 internal_static_google_cloud_translation_v3_Glossary_LanguageCodePair_fieldAccessorTable; 154 static final com.google.protobuf.Descriptors.Descriptor 155 internal_static_google_cloud_translation_v3_Glossary_LanguageCodesSet_descriptor; 156 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 157 internal_static_google_cloud_translation_v3_Glossary_LanguageCodesSet_fieldAccessorTable; 158 static final com.google.protobuf.Descriptors.Descriptor 159 internal_static_google_cloud_translation_v3_CreateGlossaryRequest_descriptor; 160 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 161 internal_static_google_cloud_translation_v3_CreateGlossaryRequest_fieldAccessorTable; 162 static final com.google.protobuf.Descriptors.Descriptor 163 internal_static_google_cloud_translation_v3_GetGlossaryRequest_descriptor; 164 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 165 internal_static_google_cloud_translation_v3_GetGlossaryRequest_fieldAccessorTable; 166 static final com.google.protobuf.Descriptors.Descriptor 167 internal_static_google_cloud_translation_v3_DeleteGlossaryRequest_descriptor; 168 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 169 internal_static_google_cloud_translation_v3_DeleteGlossaryRequest_fieldAccessorTable; 170 static final com.google.protobuf.Descriptors.Descriptor 171 internal_static_google_cloud_translation_v3_ListGlossariesRequest_descriptor; 172 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 173 internal_static_google_cloud_translation_v3_ListGlossariesRequest_fieldAccessorTable; 174 static final com.google.protobuf.Descriptors.Descriptor 175 internal_static_google_cloud_translation_v3_ListGlossariesResponse_descriptor; 176 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 177 internal_static_google_cloud_translation_v3_ListGlossariesResponse_fieldAccessorTable; 178 static final com.google.protobuf.Descriptors.Descriptor 179 internal_static_google_cloud_translation_v3_CreateGlossaryMetadata_descriptor; 180 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 181 internal_static_google_cloud_translation_v3_CreateGlossaryMetadata_fieldAccessorTable; 182 static final com.google.protobuf.Descriptors.Descriptor 183 internal_static_google_cloud_translation_v3_DeleteGlossaryMetadata_descriptor; 184 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 185 internal_static_google_cloud_translation_v3_DeleteGlossaryMetadata_fieldAccessorTable; 186 static final com.google.protobuf.Descriptors.Descriptor 187 internal_static_google_cloud_translation_v3_DeleteGlossaryResponse_descriptor; 188 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 189 internal_static_google_cloud_translation_v3_DeleteGlossaryResponse_fieldAccessorTable; 190 static final com.google.protobuf.Descriptors.Descriptor 191 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_descriptor; 192 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 193 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_fieldAccessorTable; 194 static final com.google.protobuf.Descriptors.Descriptor 195 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_ModelsEntry_descriptor; 196 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 197 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_ModelsEntry_fieldAccessorTable; 198 static final com.google.protobuf.Descriptors.Descriptor 199 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_GlossariesEntry_descriptor; 200 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 201 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_GlossariesEntry_fieldAccessorTable; 202 static final com.google.protobuf.Descriptors.Descriptor 203 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_FormatConversionsEntry_descriptor; 204 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 205 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_FormatConversionsEntry_fieldAccessorTable; 206 static final com.google.protobuf.Descriptors.Descriptor 207 internal_static_google_cloud_translation_v3_BatchDocumentInputConfig_descriptor; 208 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 209 internal_static_google_cloud_translation_v3_BatchDocumentInputConfig_fieldAccessorTable; 210 static final com.google.protobuf.Descriptors.Descriptor 211 internal_static_google_cloud_translation_v3_BatchDocumentOutputConfig_descriptor; 212 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 213 internal_static_google_cloud_translation_v3_BatchDocumentOutputConfig_fieldAccessorTable; 214 static final com.google.protobuf.Descriptors.Descriptor 215 internal_static_google_cloud_translation_v3_BatchTranslateDocumentResponse_descriptor; 216 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 217 internal_static_google_cloud_translation_v3_BatchTranslateDocumentResponse_fieldAccessorTable; 218 static final com.google.protobuf.Descriptors.Descriptor 219 internal_static_google_cloud_translation_v3_BatchTranslateDocumentMetadata_descriptor; 220 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 221 internal_static_google_cloud_translation_v3_BatchTranslateDocumentMetadata_fieldAccessorTable; 222 getDescriptor()223 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 224 return descriptor; 225 } 226 227 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 228 229 static { 230 java.lang.String[] descriptorData = { 231 "\n3google/cloud/translate/v3/translation_" 232 + "service.proto\022\033google.cloud.translation." 233 + "v3\032\034google/api/annotations.proto\032\027google" 234 + "/api/client.proto\032\037google/api/field_beha" 235 + "vior.proto\032\031google/api/resource.proto\032#g" 236 + "oogle/longrunning/operations.proto\032\037goog" 237 + "le/protobuf/timestamp.proto\"N\n\033Translate" 238 + "TextGlossaryConfig\022\025\n\010glossary\030\001 \001(\tB\003\340A" 239 + "\002\022\030\n\013ignore_case\030\002 \001(\010B\003\340A\001\"\265\003\n\024Translat" 240 + "eTextRequest\022\025\n\010contents\030\001 \003(\tB\003\340A\002\022\026\n\tm" 241 + "ime_type\030\003 \001(\tB\003\340A\001\022!\n\024source_language_c" 242 + "ode\030\004 \001(\tB\003\340A\001\022!\n\024target_language_code\030\005" 243 + " \001(\tB\003\340A\002\0229\n\006parent\030\010 \001(\tB)\340A\002\372A#\n!locat" 244 + "ions.googleapis.com/Location\022\022\n\005model\030\006 " 245 + "\001(\tB\003\340A\001\022V\n\017glossary_config\030\007 \001(\01328.goog" 246 + "le.cloud.translation.v3.TranslateTextGlo" 247 + "ssaryConfigB\003\340A\001\022R\n\006labels\030\n \003(\0132=.googl" 248 + "e.cloud.translation.v3.TranslateTextRequ" 249 + "est.LabelsEntryB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003k" 250 + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\240\001\n\025Translat" 251 + "eTextResponse\022>\n\014translations\030\001 \003(\0132(.go" 252 + "ogle.cloud.translation.v3.Translation\022G\n" 253 + "\025glossary_translations\030\003 \003(\0132(.google.cl" 254 + "oud.translation.v3.Translation\"\250\001\n\013Trans" 255 + "lation\022\027\n\017translated_text\030\001 \001(\t\022\r\n\005model" 256 + "\030\002 \001(\t\022\036\n\026detected_language_code\030\004 \001(\t\022Q" 257 + "\n\017glossary_config\030\003 \001(\01328.google.cloud.t" 258 + "ranslation.v3.TranslateTextGlossaryConfi" 259 + "g\"\237\002\n\025DetectLanguageRequest\0229\n\006parent\030\005 " 260 + "\001(\tB)\340A\002\372A#\n!locations.googleapis.com/Lo" 261 + "cation\022\022\n\005model\030\004 \001(\tB\003\340A\001\022\021\n\007content\030\001 " 262 + "\001(\tH\000\022\026\n\tmime_type\030\003 \001(\tB\003\340A\001\022S\n\006labels\030" 263 + "\006 \003(\0132>.google.cloud.translation.v3.Dete" 264 + "ctLanguageRequest.LabelsEntryB\003\340A\001\032-\n\013La" 265 + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" 266 + "\001B\010\n\006source\"=\n\020DetectedLanguage\022\025\n\rlangu" 267 + "age_code\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\"Z\n\026De" 268 + "tectLanguageResponse\022@\n\tlanguages\030\001 \003(\0132" 269 + "-.google.cloud.translation.v3.DetectedLa" 270 + "nguage\"\221\001\n\034GetSupportedLanguagesRequest\022" 271 + "9\n\006parent\030\003 \001(\tB)\340A\002\372A#\n!locations.googl" 272 + "eapis.com/Location\022\"\n\025display_language_c" 273 + "ode\030\001 \001(\tB\003\340A\001\022\022\n\005model\030\002 \001(\tB\003\340A\001\"W\n\022Su" 274 + "pportedLanguages\022A\n\tlanguages\030\001 \003(\0132..go" 275 + "ogle.cloud.translation.v3.SupportedLangu" 276 + "age\"p\n\021SupportedLanguage\022\025\n\rlanguage_cod" 277 + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\026\n\016support" 278 + "_source\030\003 \001(\010\022\026\n\016support_target\030\004 \001(\010\"#\n" 279 + "\tGcsSource\022\026\n\tinput_uri\030\001 \001(\tB\003\340A\002\"m\n\013In" 280 + "putConfig\022\026\n\tmime_type\030\001 \001(\tB\003\340A\001\022<\n\ngcs" 281 + "_source\030\002 \001(\0132&.google.cloud.translation" 282 + ".v3.GcsSourceH\000B\010\n\006source\"0\n\016GcsDestinat" 283 + "ion\022\036\n\021output_uri_prefix\030\001 \001(\tB\003\340A\002\"e\n\014O" 284 + "utputConfig\022F\n\017gcs_destination\030\001 \001(\0132+.g" 285 + "oogle.cloud.translation.v3.GcsDestinatio" 286 + "nH\000B\r\n\013destination\"\203\001\n\023DocumentInputConf" 287 + "ig\022\021\n\007content\030\001 \001(\014H\000\022<\n\ngcs_source\030\002 \001(" 288 + "\0132&.google.cloud.translation.v3.GcsSourc" 289 + "eH\000\022\021\n\tmime_type\030\004 \001(\tB\010\n\006source\"\212\001\n\024Doc" 290 + "umentOutputConfig\022K\n\017gcs_destination\030\001 \001" 291 + "(\0132+.google.cloud.translation.v3.GcsDest" 292 + "inationB\003\340A\001H\000\022\026\n\tmime_type\030\003 \001(\tB\003\340A\001B\r" 293 + "\n\013destination\"\225\005\n\030TranslateDocumentReque" 294 + "st\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022!\n\024source_langua" 295 + "ge_code\030\002 \001(\tB\003\340A\001\022!\n\024target_language_co" 296 + "de\030\003 \001(\tB\003\340A\002\022T\n\025document_input_config\030\004" 297 + " \001(\01320.google.cloud.translation.v3.Docum" 298 + "entInputConfigB\003\340A\002\022V\n\026document_output_c" 299 + "onfig\030\005 \001(\01321.google.cloud.translation.v" 300 + "3.DocumentOutputConfigB\003\340A\001\022\022\n\005model\030\006 \001" 301 + "(\tB\003\340A\001\022V\n\017glossary_config\030\007 \001(\01328.googl" 302 + "e.cloud.translation.v3.TranslateTextGlos" 303 + "saryConfigB\003\340A\001\022V\n\006labels\030\010 \003(\0132A.google" 304 + ".cloud.translation.v3.TranslateDocumentR" 305 + "equest.LabelsEntryB\003\340A\001\022#\n\026customized_at" 306 + "tribution\030\n \001(\tB\003\340A\001\022)\n\034is_translate_nat" 307 + "ive_pdf_only\030\013 \001(\010B\003\340A\001\022-\n enable_shadow" 308 + "_removal_native_pdf\030\014 \001(\010B\003\340A\001\032-\n\013Labels" 309 + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"e\n" 310 + "\023DocumentTranslation\022\033\n\023byte_stream_outp" 311 + "uts\030\001 \003(\014\022\021\n\tmime_type\030\002 \001(\t\022\036\n\026detected" 312 + "_language_code\030\003 \001(\t\"\246\002\n\031TranslateDocume" 313 + "ntResponse\022N\n\024document_translation\030\001 \001(\013" 314 + "20.google.cloud.translation.v3.DocumentT" 315 + "ranslation\022W\n\035glossary_document_translat" 316 + "ion\030\002 \001(\01320.google.cloud.translation.v3." 317 + "DocumentTranslation\022\r\n\005model\030\003 \001(\t\022Q\n\017gl" 318 + "ossary_config\030\004 \001(\01328.google.cloud.trans" 319 + "lation.v3.TranslateTextGlossaryConfig\"\210\006" 320 + "\n\031BatchTranslateTextRequest\0229\n\006parent\030\001 " 321 + "\001(\tB)\340A\002\372A#\n!locations.googleapis.com/Lo" 322 + "cation\022!\n\024source_language_code\030\002 \001(\tB\003\340A" 323 + "\002\022\"\n\025target_language_codes\030\003 \003(\tB\003\340A\002\022W\n" 324 + "\006models\030\004 \003(\0132B.google.cloud.translation" 325 + ".v3.BatchTranslateTextRequest.ModelsEntr" 326 + "yB\003\340A\001\022D\n\rinput_configs\030\005 \003(\0132(.google.c" 327 + "loud.translation.v3.InputConfigB\003\340A\002\022E\n\r" 328 + "output_config\030\006 \001(\0132).google.cloud.trans" 329 + "lation.v3.OutputConfigB\003\340A\002\022_\n\nglossarie" 330 + "s\030\007 \003(\0132F.google.cloud.translation.v3.Ba" 331 + "tchTranslateTextRequest.GlossariesEntryB" 332 + "\003\340A\001\022W\n\006labels\030\t \003(\0132B.google.cloud.tran" 333 + "slation.v3.BatchTranslateTextRequest.Lab" 334 + "elsEntryB\003\340A\001\032-\n\013ModelsEntry\022\013\n\003key\030\001 \001(" 335 + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\032k\n\017GlossariesEntry\022" 336 + "\013\n\003key\030\001 \001(\t\022G\n\005value\030\002 \001(\01328.google.clo" 337 + "ud.translation.v3.TranslateTextGlossaryC" 338 + "onfig:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" 339 + "\005value\030\002 \001(\t:\0028\001\"\316\002\n\026BatchTranslateMetad" 340 + "ata\022H\n\005state\030\001 \001(\01629.google.cloud.transl" 341 + "ation.v3.BatchTranslateMetadata.State\022\035\n" 342 + "\025translated_characters\030\002 \001(\003\022\031\n\021failed_c" 343 + "haracters\030\003 \001(\003\022\030\n\020total_characters\030\004 \001(" 344 + "\003\022/\n\013submit_time\030\005 \001(\0132\032.google.protobuf" 345 + ".Timestamp\"e\n\005State\022\025\n\021STATE_UNSPECIFIED" 346 + "\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED" 347 + "\020\003\022\016\n\nCANCELLING\020\004\022\r\n\tCANCELLED\020\005\"\313\001\n\026Ba" 348 + "tchTranslateResponse\022\030\n\020total_characters" 349 + "\030\001 \001(\003\022\035\n\025translated_characters\030\002 \001(\003\022\031\n" 350 + "\021failed_characters\030\003 \001(\003\022/\n\013submit_time\030" 351 + "\004 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" 352 + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\"" 353 + "]\n\023GlossaryInputConfig\022<\n\ngcs_source\030\001 \001" 354 + "(\0132&.google.cloud.translation.v3.GcsSour" 355 + "ceH\000B\010\n\006source\"\232\005\n\010Glossary\022\021\n\004name\030\001 \001(" 356 + "\tB\003\340A\002\022O\n\rlanguage_pair\030\003 \001(\01326.google.c" 357 + "loud.translation.v3.Glossary.LanguageCod" 358 + "ePairH\000\022T\n\022language_codes_set\030\004 \001(\01326.go" 359 + "ogle.cloud.translation.v3.Glossary.Langu" 360 + "ageCodesSetH\000\022F\n\014input_config\030\005 \001(\01320.go" 361 + "ogle.cloud.translation.v3.GlossaryInputC" 362 + "onfig\022\030\n\013entry_count\030\006 \001(\005B\003\340A\003\0224\n\013submi" 363 + "t_time\030\007 \001(\0132\032.google.protobuf.Timestamp" 364 + "B\003\340A\003\0221\n\010end_time\030\010 \001(\0132\032.google.protobu" 365 + "f.TimestampB\003\340A\003\022\031\n\014display_name\030\t \001(\tB\003" 366 + "\340A\001\032N\n\020LanguageCodePair\022\034\n\024source_langua" 367 + "ge_code\030\001 \001(\t\022\034\n\024target_language_code\030\002 " 368 + "\001(\t\032*\n\020LanguageCodesSet\022\026\n\016language_code" 369 + "s\030\001 \003(\t:e\352Ab\n!translate.googleapis.com/G" 370 + "lossary\022=projects/{project}/locations/{l" 371 + "ocation}/glossaries/{glossary}B\013\n\tlangua" 372 + "ges\"\220\001\n\025CreateGlossaryRequest\0229\n\006parent\030" 373 + "\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com/" 374 + "Location\022<\n\010glossary\030\002 \001(\0132%.google.clou" 375 + "d.translation.v3.GlossaryB\003\340A\002\"M\n\022GetGlo" 376 + "ssaryRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!tran" 377 + "slate.googleapis.com/Glossary\"P\n\025DeleteG" 378 + "lossaryRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!tr" 379 + "anslate.googleapis.com/Glossary\"\230\001\n\025List" 380 + "GlossariesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" 381 + "#\n!locations.googleapis.com/Location\022\026\n\t" 382 + "page_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\t" 383 + "B\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"l\n\026ListGlossa" 384 + "riesResponse\0229\n\nglossaries\030\001 \003(\0132%.googl" 385 + "e.cloud.translation.v3.Glossary\022\027\n\017next_" 386 + "page_token\030\002 \001(\t\"\210\002\n\026CreateGlossaryMetad" 387 + "ata\022\014\n\004name\030\001 \001(\t\022H\n\005state\030\002 \001(\01629.googl" 388 + "e.cloud.translation.v3.CreateGlossaryMet" 389 + "adata.State\022/\n\013submit_time\030\003 \001(\0132\032.googl" 390 + "e.protobuf.Timestamp\"e\n\005State\022\025\n\021STATE_U" 391 + "NSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020\002" 392 + "\022\n\n\006FAILED\020\003\022\016\n\nCANCELLING\020\004\022\r\n\tCANCELLE" 393 + "D\020\005\"\210\002\n\026DeleteGlossaryMetadata\022\014\n\004name\030\001" 394 + " \001(\t\022H\n\005state\030\002 \001(\01629.google.cloud.trans" 395 + "lation.v3.DeleteGlossaryMetadata.State\022/" 396 + "\n\013submit_time\030\003 \001(\0132\032.google.protobuf.Ti" 397 + "mestamp\"e\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" 398 + "\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022" 399 + "\016\n\nCANCELLING\020\004\022\r\n\tCANCELLED\020\005\"\205\001\n\026Delet" 400 + "eGlossaryResponse\022\014\n\004name\030\001 \001(\t\022/\n\013submi" 401 + "t_time\030\002 \001(\0132\032.google.protobuf.Timestamp" 402 + "\022,\n\010end_time\030\003 \001(\0132\032.google.protobuf.Tim" 403 + "estamp\"\371\006\n\035BatchTranslateDocumentRequest" 404 + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" 405 + "leapis.com/Location\022!\n\024source_language_c" 406 + "ode\030\002 \001(\tB\003\340A\002\022\"\n\025target_language_codes\030" 407 + "\003 \003(\tB\003\340A\002\022Q\n\rinput_configs\030\004 \003(\01325.goog" 408 + "le.cloud.translation.v3.BatchDocumentInp" 409 + "utConfigB\003\340A\002\022R\n\routput_config\030\005 \001(\01326.g" 410 + "oogle.cloud.translation.v3.BatchDocument" 411 + "OutputConfigB\003\340A\002\022[\n\006models\030\006 \003(\0132F.goog" 412 + "le.cloud.translation.v3.BatchTranslateDo" 413 + "cumentRequest.ModelsEntryB\003\340A\001\022c\n\nglossa" 414 + "ries\030\007 \003(\0132J.google.cloud.translation.v3" 415 + ".BatchTranslateDocumentRequest.Glossarie" 416 + "sEntryB\003\340A\001\022r\n\022format_conversions\030\010 \003(\0132" 417 + "Q.google.cloud.translation.v3.BatchTrans" 418 + "lateDocumentRequest.FormatConversionsEnt" 419 + "ryB\003\340A\001\022#\n\026customized_attribution\030\n \001(\tB" 420 + "\003\340A\001\032-\n\013ModelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" 421 + "e\030\002 \001(\t:\0028\001\032k\n\017GlossariesEntry\022\013\n\003key\030\001 " 422 + "\001(\t\022G\n\005value\030\002 \001(\01328.google.cloud.transl" 423 + "ation.v3.TranslateTextGlossaryConfig:\0028\001" 424 + "\0328\n\026FormatConversionsEntry\022\013\n\003key\030\001 \001(\t\022" 425 + "\r\n\005value\030\002 \001(\t:\0028\001\"b\n\030BatchDocumentInput" 426 + "Config\022<\n\ngcs_source\030\001 \001(\0132&.google.clou" 427 + "d.translation.v3.GcsSourceH\000B\010\n\006source\"r" 428 + "\n\031BatchDocumentOutputConfig\022F\n\017gcs_desti" 429 + "nation\030\001 \001(\0132+.google.cloud.translation." 430 + "v3.GcsDestinationH\000B\r\n\013destination\"\331\002\n\036B" 431 + "atchTranslateDocumentResponse\022\023\n\013total_p" 432 + "ages\030\001 \001(\003\022\030\n\020translated_pages\030\002 \001(\003\022\024\n\014" 433 + "failed_pages\030\003 \001(\003\022\034\n\024total_billable_pag" 434 + "es\030\004 \001(\003\022\030\n\020total_characters\030\005 \001(\003\022\035\n\025tr" 435 + "anslated_characters\030\006 \001(\003\022\031\n\021failed_char" 436 + "acters\030\007 \001(\003\022!\n\031total_billable_character" 437 + "s\030\010 \001(\003\022/\n\013submit_time\030\t \001(\0132\032.google.pr" 438 + "otobuf.Timestamp\022,\n\010end_time\030\n \001(\0132\032.goo" 439 + "gle.protobuf.Timestamp\"\344\003\n\036BatchTranslat" 440 + "eDocumentMetadata\022P\n\005state\030\001 \001(\0162A.googl" 441 + "e.cloud.translation.v3.BatchTranslateDoc" 442 + "umentMetadata.State\022\023\n\013total_pages\030\002 \001(\003" 443 + "\022\030\n\020translated_pages\030\003 \001(\003\022\024\n\014failed_pag" 444 + "es\030\004 \001(\003\022\034\n\024total_billable_pages\030\005 \001(\003\022\030" 445 + "\n\020total_characters\030\006 \001(\003\022\035\n\025translated_c" 446 + "haracters\030\007 \001(\003\022\031\n\021failed_characters\030\010 \001" 447 + "(\003\022!\n\031total_billable_characters\030\t \001(\003\022/\n" 448 + "\013submit_time\030\n \001(\0132\032.google.protobuf.Tim" 449 + "estamp\"e\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013" 450 + "\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\016" 451 + "\n\nCANCELLING\020\004\022\r\n\tCANCELLED\020\0052\246\024\n\022Transl" 452 + "ationService\022\324\002\n\rTranslateText\0221.google." 453 + "cloud.translation.v3.TranslateTextReques" 454 + "t\0322.google.cloud.translation.v3.Translat" 455 + "eTextResponse\"\333\001\202\323\344\223\002b\"1/v3/{parent=proj" 456 + "ects/*/locations/*}:translateText:\001*Z*\"%" 457 + "/v3/{parent=projects/*}:translateText:\001*" 458 + "\332A$parent,target_language_code,contents\332" 459 + "AIparent,model,mime_type,source_language" 460 + "_code,target_language_code,contents\022\207\002\n\016" 461 + "DetectLanguage\0222.google.cloud.translatio" 462 + "n.v3.DetectLanguageRequest\0323.google.clou" 463 + "d.translation.v3.DetectLanguageResponse\"" 464 + "\213\001\202\323\344\223\002d\"2/v3/{parent=projects/*/locatio" 465 + "ns/*}:detectLanguage:\001*Z+\"&/v3/{parent=p" 466 + "rojects/*}:detectLanguage:\001*\332A\036parent,mo" 467 + "del,mime_type,content\022\227\002\n\025GetSupportedLa" 468 + "nguages\0229.google.cloud.translation.v3.Ge" 469 + "tSupportedLanguagesRequest\032/.google.clou" 470 + "d.translation.v3.SupportedLanguages\"\221\001\202\323" 471 + "\344\223\002f\0226/v3/{parent=projects/*/locations/*" 472 + "}/supportedLanguagesZ,\022*/v3/{parent=proj" 473 + "ects/*}/supportedLanguages\332A\"parent,mode" 474 + "l,display_language_code\022\304\001\n\021TranslateDoc" 475 + "ument\0225.google.cloud.translation.v3.Tran" 476 + "slateDocumentRequest\0326.google.cloud.tran" 477 + "slation.v3.TranslateDocumentResponse\"@\202\323" 478 + "\344\223\002:\"5/v3/{parent=projects/*/locations/*" 479 + "}:translateDocument:\001*\022\341\001\n\022BatchTranslat" 480 + "eText\0226.google.cloud.translation.v3.Batc" 481 + "hTranslateTextRequest\032\035.google.longrunni" 482 + "ng.Operation\"t\202\323\344\223\002;\"6/v3/{parent=projec" 483 + "ts/*/locations/*}:batchTranslateText:\001*\312" 484 + "A0\n\026BatchTranslateResponse\022\026BatchTransla" 485 + "teMetadata\022\316\002\n\026BatchTranslateDocument\022:." 486 + "google.cloud.translation.v3.BatchTransla" 487 + "teDocumentRequest\032\035.google.longrunning.O" 488 + "peration\"\330\001\202\323\344\223\002?\":/v3/{parent=projects/" 489 + "*/locations/*}:batchTranslateDocument:\001*" 490 + "\332AMparent,source_language_code,target_la" 491 + "nguage_codes,input_configs,output_config" 492 + "\312A@\n\036BatchTranslateDocumentResponse\022\036Bat" 493 + "chTranslateDocumentMetadata\022\334\001\n\016CreateGl" 494 + "ossary\0222.google.cloud.translation.v3.Cre" 495 + "ateGlossaryRequest\032\035.google.longrunning." 496 + "Operation\"w\202\323\344\223\002:\"./v3/{parent=projects/" 497 + "*/locations/*}/glossaries:\010glossary\332A\017pa" 498 + "rent,glossary\312A\"\n\010Glossary\022\026CreateGlossa" 499 + "ryMetadata\022\272\001\n\016ListGlossaries\0222.google.c" 500 + "loud.translation.v3.ListGlossariesReques" 501 + "t\0323.google.cloud.translation.v3.ListGlos" 502 + "sariesResponse\"?\202\323\344\223\0020\022./v3/{parent=proj" 503 + "ects/*/locations/*}/glossaries\332A\006parent\022" 504 + "\244\001\n\013GetGlossary\022/.google.cloud.translati" 505 + "on.v3.GetGlossaryRequest\032%.google.cloud." 506 + "translation.v3.Glossary\"=\202\323\344\223\0020\022./v3/{na" 507 + "me=projects/*/locations/*/glossaries/*}\332" 508 + "A\004name\022\325\001\n\016DeleteGlossary\0222.google.cloud" 509 + ".translation.v3.DeleteGlossaryRequest\032\035." 510 + "google.longrunning.Operation\"p\202\323\344\223\0020*./v" 511 + "3/{name=projects/*/locations/*/glossarie" 512 + "s/*}\332A\004name\312A0\n\026DeleteGlossaryResponse\022\026" 513 + "DeleteGlossaryMetadata\032~\312A\030translate.goo" 514 + "gleapis.com\322A`https://www.googleapis.com" 515 + "/auth/cloud-platform,https://www.googlea" 516 + "pis.com/auth/cloud-translationB\321\001\n\035com.g" 517 + "oogle.cloud.translate.v3B\027TranslationSer" 518 + "viceProtoP\001Z;cloud.google.com/go/transla" 519 + "te/apiv3/translatepb;translatepb\370\001\001\252\002\031Go" 520 + "ogle.Cloud.Translate.V3\312\002\031Google\\Cloud\\T" 521 + "ranslate\\V3\352\002\034Google::Cloud::Translate::" 522 + "V3b\006proto3" 523 }; 524 descriptor = 525 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 526 descriptorData, 527 new com.google.protobuf.Descriptors.FileDescriptor[] { 528 com.google.api.AnnotationsProto.getDescriptor(), 529 com.google.api.ClientProto.getDescriptor(), 530 com.google.api.FieldBehaviorProto.getDescriptor(), 531 com.google.api.ResourceProto.getDescriptor(), 532 com.google.longrunning.OperationsProto.getDescriptor(), 533 com.google.protobuf.TimestampProto.getDescriptor(), 534 }); 535 internal_static_google_cloud_translation_v3_TranslateTextGlossaryConfig_descriptor = 536 getDescriptor().getMessageTypes().get(0); 537 internal_static_google_cloud_translation_v3_TranslateTextGlossaryConfig_fieldAccessorTable = 538 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 539 internal_static_google_cloud_translation_v3_TranslateTextGlossaryConfig_descriptor, 540 new java.lang.String[] { 541 "Glossary", "IgnoreCase", 542 }); 543 internal_static_google_cloud_translation_v3_TranslateTextRequest_descriptor = 544 getDescriptor().getMessageTypes().get(1); 545 internal_static_google_cloud_translation_v3_TranslateTextRequest_fieldAccessorTable = 546 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 547 internal_static_google_cloud_translation_v3_TranslateTextRequest_descriptor, 548 new java.lang.String[] { 549 "Contents", 550 "MimeType", 551 "SourceLanguageCode", 552 "TargetLanguageCode", 553 "Parent", 554 "Model", 555 "GlossaryConfig", 556 "Labels", 557 }); 558 internal_static_google_cloud_translation_v3_TranslateTextRequest_LabelsEntry_descriptor = 559 internal_static_google_cloud_translation_v3_TranslateTextRequest_descriptor 560 .getNestedTypes() 561 .get(0); 562 internal_static_google_cloud_translation_v3_TranslateTextRequest_LabelsEntry_fieldAccessorTable = 563 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 564 internal_static_google_cloud_translation_v3_TranslateTextRequest_LabelsEntry_descriptor, 565 new java.lang.String[] { 566 "Key", "Value", 567 }); 568 internal_static_google_cloud_translation_v3_TranslateTextResponse_descriptor = 569 getDescriptor().getMessageTypes().get(2); 570 internal_static_google_cloud_translation_v3_TranslateTextResponse_fieldAccessorTable = 571 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 572 internal_static_google_cloud_translation_v3_TranslateTextResponse_descriptor, 573 new java.lang.String[] { 574 "Translations", "GlossaryTranslations", 575 }); 576 internal_static_google_cloud_translation_v3_Translation_descriptor = 577 getDescriptor().getMessageTypes().get(3); 578 internal_static_google_cloud_translation_v3_Translation_fieldAccessorTable = 579 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 580 internal_static_google_cloud_translation_v3_Translation_descriptor, 581 new java.lang.String[] { 582 "TranslatedText", "Model", "DetectedLanguageCode", "GlossaryConfig", 583 }); 584 internal_static_google_cloud_translation_v3_DetectLanguageRequest_descriptor = 585 getDescriptor().getMessageTypes().get(4); 586 internal_static_google_cloud_translation_v3_DetectLanguageRequest_fieldAccessorTable = 587 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 588 internal_static_google_cloud_translation_v3_DetectLanguageRequest_descriptor, 589 new java.lang.String[] { 590 "Parent", "Model", "Content", "MimeType", "Labels", "Source", 591 }); 592 internal_static_google_cloud_translation_v3_DetectLanguageRequest_LabelsEntry_descriptor = 593 internal_static_google_cloud_translation_v3_DetectLanguageRequest_descriptor 594 .getNestedTypes() 595 .get(0); 596 internal_static_google_cloud_translation_v3_DetectLanguageRequest_LabelsEntry_fieldAccessorTable = 597 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 598 internal_static_google_cloud_translation_v3_DetectLanguageRequest_LabelsEntry_descriptor, 599 new java.lang.String[] { 600 "Key", "Value", 601 }); 602 internal_static_google_cloud_translation_v3_DetectedLanguage_descriptor = 603 getDescriptor().getMessageTypes().get(5); 604 internal_static_google_cloud_translation_v3_DetectedLanguage_fieldAccessorTable = 605 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 606 internal_static_google_cloud_translation_v3_DetectedLanguage_descriptor, 607 new java.lang.String[] { 608 "LanguageCode", "Confidence", 609 }); 610 internal_static_google_cloud_translation_v3_DetectLanguageResponse_descriptor = 611 getDescriptor().getMessageTypes().get(6); 612 internal_static_google_cloud_translation_v3_DetectLanguageResponse_fieldAccessorTable = 613 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 614 internal_static_google_cloud_translation_v3_DetectLanguageResponse_descriptor, 615 new java.lang.String[] { 616 "Languages", 617 }); 618 internal_static_google_cloud_translation_v3_GetSupportedLanguagesRequest_descriptor = 619 getDescriptor().getMessageTypes().get(7); 620 internal_static_google_cloud_translation_v3_GetSupportedLanguagesRequest_fieldAccessorTable = 621 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 622 internal_static_google_cloud_translation_v3_GetSupportedLanguagesRequest_descriptor, 623 new java.lang.String[] { 624 "Parent", "DisplayLanguageCode", "Model", 625 }); 626 internal_static_google_cloud_translation_v3_SupportedLanguages_descriptor = 627 getDescriptor().getMessageTypes().get(8); 628 internal_static_google_cloud_translation_v3_SupportedLanguages_fieldAccessorTable = 629 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 630 internal_static_google_cloud_translation_v3_SupportedLanguages_descriptor, 631 new java.lang.String[] { 632 "Languages", 633 }); 634 internal_static_google_cloud_translation_v3_SupportedLanguage_descriptor = 635 getDescriptor().getMessageTypes().get(9); 636 internal_static_google_cloud_translation_v3_SupportedLanguage_fieldAccessorTable = 637 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 638 internal_static_google_cloud_translation_v3_SupportedLanguage_descriptor, 639 new java.lang.String[] { 640 "LanguageCode", "DisplayName", "SupportSource", "SupportTarget", 641 }); 642 internal_static_google_cloud_translation_v3_GcsSource_descriptor = 643 getDescriptor().getMessageTypes().get(10); 644 internal_static_google_cloud_translation_v3_GcsSource_fieldAccessorTable = 645 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 646 internal_static_google_cloud_translation_v3_GcsSource_descriptor, 647 new java.lang.String[] { 648 "InputUri", 649 }); 650 internal_static_google_cloud_translation_v3_InputConfig_descriptor = 651 getDescriptor().getMessageTypes().get(11); 652 internal_static_google_cloud_translation_v3_InputConfig_fieldAccessorTable = 653 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 654 internal_static_google_cloud_translation_v3_InputConfig_descriptor, 655 new java.lang.String[] { 656 "MimeType", "GcsSource", "Source", 657 }); 658 internal_static_google_cloud_translation_v3_GcsDestination_descriptor = 659 getDescriptor().getMessageTypes().get(12); 660 internal_static_google_cloud_translation_v3_GcsDestination_fieldAccessorTable = 661 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 662 internal_static_google_cloud_translation_v3_GcsDestination_descriptor, 663 new java.lang.String[] { 664 "OutputUriPrefix", 665 }); 666 internal_static_google_cloud_translation_v3_OutputConfig_descriptor = 667 getDescriptor().getMessageTypes().get(13); 668 internal_static_google_cloud_translation_v3_OutputConfig_fieldAccessorTable = 669 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 670 internal_static_google_cloud_translation_v3_OutputConfig_descriptor, 671 new java.lang.String[] { 672 "GcsDestination", "Destination", 673 }); 674 internal_static_google_cloud_translation_v3_DocumentInputConfig_descriptor = 675 getDescriptor().getMessageTypes().get(14); 676 internal_static_google_cloud_translation_v3_DocumentInputConfig_fieldAccessorTable = 677 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 678 internal_static_google_cloud_translation_v3_DocumentInputConfig_descriptor, 679 new java.lang.String[] { 680 "Content", "GcsSource", "MimeType", "Source", 681 }); 682 internal_static_google_cloud_translation_v3_DocumentOutputConfig_descriptor = 683 getDescriptor().getMessageTypes().get(15); 684 internal_static_google_cloud_translation_v3_DocumentOutputConfig_fieldAccessorTable = 685 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 686 internal_static_google_cloud_translation_v3_DocumentOutputConfig_descriptor, 687 new java.lang.String[] { 688 "GcsDestination", "MimeType", "Destination", 689 }); 690 internal_static_google_cloud_translation_v3_TranslateDocumentRequest_descriptor = 691 getDescriptor().getMessageTypes().get(16); 692 internal_static_google_cloud_translation_v3_TranslateDocumentRequest_fieldAccessorTable = 693 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 694 internal_static_google_cloud_translation_v3_TranslateDocumentRequest_descriptor, 695 new java.lang.String[] { 696 "Parent", 697 "SourceLanguageCode", 698 "TargetLanguageCode", 699 "DocumentInputConfig", 700 "DocumentOutputConfig", 701 "Model", 702 "GlossaryConfig", 703 "Labels", 704 "CustomizedAttribution", 705 "IsTranslateNativePdfOnly", 706 "EnableShadowRemovalNativePdf", 707 }); 708 internal_static_google_cloud_translation_v3_TranslateDocumentRequest_LabelsEntry_descriptor = 709 internal_static_google_cloud_translation_v3_TranslateDocumentRequest_descriptor 710 .getNestedTypes() 711 .get(0); 712 internal_static_google_cloud_translation_v3_TranslateDocumentRequest_LabelsEntry_fieldAccessorTable = 713 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 714 internal_static_google_cloud_translation_v3_TranslateDocumentRequest_LabelsEntry_descriptor, 715 new java.lang.String[] { 716 "Key", "Value", 717 }); 718 internal_static_google_cloud_translation_v3_DocumentTranslation_descriptor = 719 getDescriptor().getMessageTypes().get(17); 720 internal_static_google_cloud_translation_v3_DocumentTranslation_fieldAccessorTable = 721 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 722 internal_static_google_cloud_translation_v3_DocumentTranslation_descriptor, 723 new java.lang.String[] { 724 "ByteStreamOutputs", "MimeType", "DetectedLanguageCode", 725 }); 726 internal_static_google_cloud_translation_v3_TranslateDocumentResponse_descriptor = 727 getDescriptor().getMessageTypes().get(18); 728 internal_static_google_cloud_translation_v3_TranslateDocumentResponse_fieldAccessorTable = 729 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 730 internal_static_google_cloud_translation_v3_TranslateDocumentResponse_descriptor, 731 new java.lang.String[] { 732 "DocumentTranslation", "GlossaryDocumentTranslation", "Model", "GlossaryConfig", 733 }); 734 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_descriptor = 735 getDescriptor().getMessageTypes().get(19); 736 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_fieldAccessorTable = 737 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 738 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_descriptor, 739 new java.lang.String[] { 740 "Parent", 741 "SourceLanguageCode", 742 "TargetLanguageCodes", 743 "Models", 744 "InputConfigs", 745 "OutputConfig", 746 "Glossaries", 747 "Labels", 748 }); 749 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_ModelsEntry_descriptor = 750 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_descriptor 751 .getNestedTypes() 752 .get(0); 753 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_ModelsEntry_fieldAccessorTable = 754 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 755 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_ModelsEntry_descriptor, 756 new java.lang.String[] { 757 "Key", "Value", 758 }); 759 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_GlossariesEntry_descriptor = 760 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_descriptor 761 .getNestedTypes() 762 .get(1); 763 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_GlossariesEntry_fieldAccessorTable = 764 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 765 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_GlossariesEntry_descriptor, 766 new java.lang.String[] { 767 "Key", "Value", 768 }); 769 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_LabelsEntry_descriptor = 770 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_descriptor 771 .getNestedTypes() 772 .get(2); 773 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_LabelsEntry_fieldAccessorTable = 774 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 775 internal_static_google_cloud_translation_v3_BatchTranslateTextRequest_LabelsEntry_descriptor, 776 new java.lang.String[] { 777 "Key", "Value", 778 }); 779 internal_static_google_cloud_translation_v3_BatchTranslateMetadata_descriptor = 780 getDescriptor().getMessageTypes().get(20); 781 internal_static_google_cloud_translation_v3_BatchTranslateMetadata_fieldAccessorTable = 782 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 783 internal_static_google_cloud_translation_v3_BatchTranslateMetadata_descriptor, 784 new java.lang.String[] { 785 "State", "TranslatedCharacters", "FailedCharacters", "TotalCharacters", "SubmitTime", 786 }); 787 internal_static_google_cloud_translation_v3_BatchTranslateResponse_descriptor = 788 getDescriptor().getMessageTypes().get(21); 789 internal_static_google_cloud_translation_v3_BatchTranslateResponse_fieldAccessorTable = 790 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 791 internal_static_google_cloud_translation_v3_BatchTranslateResponse_descriptor, 792 new java.lang.String[] { 793 "TotalCharacters", 794 "TranslatedCharacters", 795 "FailedCharacters", 796 "SubmitTime", 797 "EndTime", 798 }); 799 internal_static_google_cloud_translation_v3_GlossaryInputConfig_descriptor = 800 getDescriptor().getMessageTypes().get(22); 801 internal_static_google_cloud_translation_v3_GlossaryInputConfig_fieldAccessorTable = 802 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 803 internal_static_google_cloud_translation_v3_GlossaryInputConfig_descriptor, 804 new java.lang.String[] { 805 "GcsSource", "Source", 806 }); 807 internal_static_google_cloud_translation_v3_Glossary_descriptor = 808 getDescriptor().getMessageTypes().get(23); 809 internal_static_google_cloud_translation_v3_Glossary_fieldAccessorTable = 810 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 811 internal_static_google_cloud_translation_v3_Glossary_descriptor, 812 new java.lang.String[] { 813 "Name", 814 "LanguagePair", 815 "LanguageCodesSet", 816 "InputConfig", 817 "EntryCount", 818 "SubmitTime", 819 "EndTime", 820 "DisplayName", 821 "Languages", 822 }); 823 internal_static_google_cloud_translation_v3_Glossary_LanguageCodePair_descriptor = 824 internal_static_google_cloud_translation_v3_Glossary_descriptor.getNestedTypes().get(0); 825 internal_static_google_cloud_translation_v3_Glossary_LanguageCodePair_fieldAccessorTable = 826 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 827 internal_static_google_cloud_translation_v3_Glossary_LanguageCodePair_descriptor, 828 new java.lang.String[] { 829 "SourceLanguageCode", "TargetLanguageCode", 830 }); 831 internal_static_google_cloud_translation_v3_Glossary_LanguageCodesSet_descriptor = 832 internal_static_google_cloud_translation_v3_Glossary_descriptor.getNestedTypes().get(1); 833 internal_static_google_cloud_translation_v3_Glossary_LanguageCodesSet_fieldAccessorTable = 834 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 835 internal_static_google_cloud_translation_v3_Glossary_LanguageCodesSet_descriptor, 836 new java.lang.String[] { 837 "LanguageCodes", 838 }); 839 internal_static_google_cloud_translation_v3_CreateGlossaryRequest_descriptor = 840 getDescriptor().getMessageTypes().get(24); 841 internal_static_google_cloud_translation_v3_CreateGlossaryRequest_fieldAccessorTable = 842 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 843 internal_static_google_cloud_translation_v3_CreateGlossaryRequest_descriptor, 844 new java.lang.String[] { 845 "Parent", "Glossary", 846 }); 847 internal_static_google_cloud_translation_v3_GetGlossaryRequest_descriptor = 848 getDescriptor().getMessageTypes().get(25); 849 internal_static_google_cloud_translation_v3_GetGlossaryRequest_fieldAccessorTable = 850 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 851 internal_static_google_cloud_translation_v3_GetGlossaryRequest_descriptor, 852 new java.lang.String[] { 853 "Name", 854 }); 855 internal_static_google_cloud_translation_v3_DeleteGlossaryRequest_descriptor = 856 getDescriptor().getMessageTypes().get(26); 857 internal_static_google_cloud_translation_v3_DeleteGlossaryRequest_fieldAccessorTable = 858 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 859 internal_static_google_cloud_translation_v3_DeleteGlossaryRequest_descriptor, 860 new java.lang.String[] { 861 "Name", 862 }); 863 internal_static_google_cloud_translation_v3_ListGlossariesRequest_descriptor = 864 getDescriptor().getMessageTypes().get(27); 865 internal_static_google_cloud_translation_v3_ListGlossariesRequest_fieldAccessorTable = 866 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 867 internal_static_google_cloud_translation_v3_ListGlossariesRequest_descriptor, 868 new java.lang.String[] { 869 "Parent", "PageSize", "PageToken", "Filter", 870 }); 871 internal_static_google_cloud_translation_v3_ListGlossariesResponse_descriptor = 872 getDescriptor().getMessageTypes().get(28); 873 internal_static_google_cloud_translation_v3_ListGlossariesResponse_fieldAccessorTable = 874 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 875 internal_static_google_cloud_translation_v3_ListGlossariesResponse_descriptor, 876 new java.lang.String[] { 877 "Glossaries", "NextPageToken", 878 }); 879 internal_static_google_cloud_translation_v3_CreateGlossaryMetadata_descriptor = 880 getDescriptor().getMessageTypes().get(29); 881 internal_static_google_cloud_translation_v3_CreateGlossaryMetadata_fieldAccessorTable = 882 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 883 internal_static_google_cloud_translation_v3_CreateGlossaryMetadata_descriptor, 884 new java.lang.String[] { 885 "Name", "State", "SubmitTime", 886 }); 887 internal_static_google_cloud_translation_v3_DeleteGlossaryMetadata_descriptor = 888 getDescriptor().getMessageTypes().get(30); 889 internal_static_google_cloud_translation_v3_DeleteGlossaryMetadata_fieldAccessorTable = 890 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 891 internal_static_google_cloud_translation_v3_DeleteGlossaryMetadata_descriptor, 892 new java.lang.String[] { 893 "Name", "State", "SubmitTime", 894 }); 895 internal_static_google_cloud_translation_v3_DeleteGlossaryResponse_descriptor = 896 getDescriptor().getMessageTypes().get(31); 897 internal_static_google_cloud_translation_v3_DeleteGlossaryResponse_fieldAccessorTable = 898 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 899 internal_static_google_cloud_translation_v3_DeleteGlossaryResponse_descriptor, 900 new java.lang.String[] { 901 "Name", "SubmitTime", "EndTime", 902 }); 903 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_descriptor = 904 getDescriptor().getMessageTypes().get(32); 905 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_fieldAccessorTable = 906 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 907 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_descriptor, 908 new java.lang.String[] { 909 "Parent", 910 "SourceLanguageCode", 911 "TargetLanguageCodes", 912 "InputConfigs", 913 "OutputConfig", 914 "Models", 915 "Glossaries", 916 "FormatConversions", 917 "CustomizedAttribution", 918 }); 919 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_ModelsEntry_descriptor = 920 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_descriptor 921 .getNestedTypes() 922 .get(0); 923 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_ModelsEntry_fieldAccessorTable = 924 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 925 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_ModelsEntry_descriptor, 926 new java.lang.String[] { 927 "Key", "Value", 928 }); 929 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_GlossariesEntry_descriptor = 930 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_descriptor 931 .getNestedTypes() 932 .get(1); 933 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_GlossariesEntry_fieldAccessorTable = 934 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 935 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_GlossariesEntry_descriptor, 936 new java.lang.String[] { 937 "Key", "Value", 938 }); 939 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_FormatConversionsEntry_descriptor = 940 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_descriptor 941 .getNestedTypes() 942 .get(2); 943 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_FormatConversionsEntry_fieldAccessorTable = 944 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 945 internal_static_google_cloud_translation_v3_BatchTranslateDocumentRequest_FormatConversionsEntry_descriptor, 946 new java.lang.String[] { 947 "Key", "Value", 948 }); 949 internal_static_google_cloud_translation_v3_BatchDocumentInputConfig_descriptor = 950 getDescriptor().getMessageTypes().get(33); 951 internal_static_google_cloud_translation_v3_BatchDocumentInputConfig_fieldAccessorTable = 952 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 953 internal_static_google_cloud_translation_v3_BatchDocumentInputConfig_descriptor, 954 new java.lang.String[] { 955 "GcsSource", "Source", 956 }); 957 internal_static_google_cloud_translation_v3_BatchDocumentOutputConfig_descriptor = 958 getDescriptor().getMessageTypes().get(34); 959 internal_static_google_cloud_translation_v3_BatchDocumentOutputConfig_fieldAccessorTable = 960 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 961 internal_static_google_cloud_translation_v3_BatchDocumentOutputConfig_descriptor, 962 new java.lang.String[] { 963 "GcsDestination", "Destination", 964 }); 965 internal_static_google_cloud_translation_v3_BatchTranslateDocumentResponse_descriptor = 966 getDescriptor().getMessageTypes().get(35); 967 internal_static_google_cloud_translation_v3_BatchTranslateDocumentResponse_fieldAccessorTable = 968 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 969 internal_static_google_cloud_translation_v3_BatchTranslateDocumentResponse_descriptor, 970 new java.lang.String[] { 971 "TotalPages", 972 "TranslatedPages", 973 "FailedPages", 974 "TotalBillablePages", 975 "TotalCharacters", 976 "TranslatedCharacters", 977 "FailedCharacters", 978 "TotalBillableCharacters", 979 "SubmitTime", 980 "EndTime", 981 }); 982 internal_static_google_cloud_translation_v3_BatchTranslateDocumentMetadata_descriptor = 983 getDescriptor().getMessageTypes().get(36); 984 internal_static_google_cloud_translation_v3_BatchTranslateDocumentMetadata_fieldAccessorTable = 985 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 986 internal_static_google_cloud_translation_v3_BatchTranslateDocumentMetadata_descriptor, 987 new java.lang.String[] { 988 "State", 989 "TotalPages", 990 "TranslatedPages", 991 "FailedPages", 992 "TotalBillablePages", 993 "TotalCharacters", 994 "TranslatedCharacters", 995 "FailedCharacters", 996 "TotalBillableCharacters", 997 "SubmitTime", 998 }); 999 com.google.protobuf.ExtensionRegistry registry = 1000 com.google.protobuf.ExtensionRegistry.newInstance(); 1001 registry.add(com.google.api.ClientProto.defaultHost); 1002 registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); 1003 registry.add(com.google.api.AnnotationsProto.http); 1004 registry.add(com.google.api.ClientProto.methodSignature); 1005 registry.add(com.google.api.ClientProto.oauthScopes); 1006 registry.add(com.google.api.ResourceProto.resource); 1007 registry.add(com.google.api.ResourceProto.resourceReference); 1008 registry.add(com.google.longrunning.OperationsProto.operationInfo); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)1009 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 1010 descriptor, registry); com.google.api.AnnotationsProto.getDescriptor()1011 com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor()1012 com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor()1013 com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor()1014 com.google.api.ResourceProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor()1015 com.google.longrunning.OperationsProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor()1016 com.google.protobuf.TimestampProto.getDescriptor(); 1017 } 1018 1019 // @@protoc_insertion_point(outer_class_scope) 1020 } 1021