aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/ai/translate/v2/translation.proto
diff options
context:
space:
mode:
authoriddqd <iddqd@yandex-team.com>2024-06-11 10:12:13 +0300
committeriddqd <iddqd@yandex-team.com>2024-06-11 10:22:43 +0300
commit07f57e35443ab7f09471caf2dbf1afbcced4d9f7 (patch)
treea4a7b66ead62e83fa988a2ec2ce6576311c1f4b1 /contrib/libs/yandex-cloud-api-protos/yandex/cloud/ai/translate/v2/translation.proto
parent6db3b8ca95e44179e48306a58656fb1f9317d9c3 (diff)
downloadydb-07f57e35443ab7f09471caf2dbf1afbcced4d9f7.tar.gz
add contrib/python/yandexcloud to import
03b7d3cad2237366b55b393e18d4dc5eb222798c
Diffstat (limited to 'contrib/libs/yandex-cloud-api-protos/yandex/cloud/ai/translate/v2/translation.proto')
-rw-r--r--contrib/libs/yandex-cloud-api-protos/yandex/cloud/ai/translate/v2/translation.proto24
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/libs/yandex-cloud-api-protos/yandex/cloud/ai/translate/v2/translation.proto b/contrib/libs/yandex-cloud-api-protos/yandex/cloud/ai/translate/v2/translation.proto
new file mode 100644
index 0000000000..57a3a24ada
--- /dev/null
+++ b/contrib/libs/yandex-cloud-api-protos/yandex/cloud/ai/translate/v2/translation.proto
@@ -0,0 +1,24 @@
+syntax = "proto3";
+
+package yandex.cloud.ai.translate.v2;
+
+option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/ai/translate/v2;translate";
+option java_package = "yandex.cloud.api.ai.translate.v2";
+
+message TranslatedText {
+ // Translated text.
+ string text = 1;
+
+ // The language code of the source text.
+ // Specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` en ``).
+ string detected_language_code = 2;
+}
+
+message Language {
+ // The language code.
+ // Specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` en ``).
+ string code = 1;
+
+ // The name of the language (for example, `` English ``).
+ string name = 2;
+}