blob: 57a3a24ada4693b393aa881eae7cece244e88b56 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
}
|