Skip to content

Commit 8b26dd3

Browse files
Google APIscopybara-github
authored andcommitted
docs: Update hyperlink to the supported languages documentation page
PiperOrigin-RevId: 773858401
1 parent f660552 commit 8b26dd3

4 files changed

Lines changed: 28 additions & 19 deletions

File tree

google/cloud/translate/v3/adaptive_mt.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import "google/api/resource.proto";
2121
import "google/cloud/translate/v3/common.proto";
2222
import "google/protobuf/timestamp.proto";
2323

24-
option cc_enable_arenas = true;
2524
option csharp_namespace = "Google.Cloud.Translate.V3";
2625
option go_package = "cloud.google.com/go/translate/apiv3/translatepb;translatepb";
2726
option java_multiple_files = true;

google/cloud/translate/v3/automl_translation.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import "google/cloud/translate/v3/common.proto";
2222
import "google/protobuf/timestamp.proto";
2323
import "google/rpc/status.proto";
2424

25-
option cc_enable_arenas = true;
2625
option csharp_namespace = "Google.Cloud.Translate.V3";
2726
option go_package = "cloud.google.com/go/translate/apiv3/translatepb;translatepb";
2827
option java_multiple_files = true;

google/cloud/translate/v3/common.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ package google.cloud.translation.v3;
1919
import "google/api/field_behavior.proto";
2020
import "google/api/resource.proto";
2121

22-
option cc_enable_arenas = true;
2322
option csharp_namespace = "Google.Cloud.Translate.V3";
2423
option go_package = "cloud.google.com/go/translate/apiv3/translatepb;translatepb";
2524
option java_multiple_files = true;

google/cloud/translate/v3/translation_service.proto

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import "google/protobuf/empty.proto";
2929
import "google/protobuf/field_mask.proto";
3030
import "google/protobuf/timestamp.proto";
3131

32-
option cc_enable_arenas = true;
3332
option csharp_namespace = "Google.Cloud.Translate.V3";
3433
option go_package = "cloud.google.com/go/translate/apiv3/translatepb;translatepb";
3534
option java_multiple_files = true;
@@ -492,13 +491,15 @@ message TranslateTextRequest {
492491

493492
// Optional. The ISO-639 language code of the input text if
494493
// known, for example, "en-US" or "sr-Latn". Supported language codes are
495-
// listed in Language Support. If the source language isn't specified, the API
496-
// attempts to identify the source language automatically and returns the
497-
// source language within the response.
494+
// listed in [Language
495+
// Support](https://cloud.google.com/translate/docs/languages). If the source
496+
// language isn't specified, the API attempts to identify the source language
497+
// automatically and returns the source language within the response.
498498
string source_language_code = 4 [(google.api.field_behavior) = OPTIONAL];
499499

500500
// Required. The ISO-639 language code to use for translation of the input
501-
// text, set to one of the language codes listed in Language Support.
501+
// text, set to one of the language codes listed in [Language
502+
// Support](https://cloud.google.com/translate/docs/languages).
502503
string target_language_code = 5 [(google.api.field_behavior) = REQUIRED];
503504

504505
// Required. Project or location to make a call. Must refer to a caller's
@@ -626,9 +627,12 @@ message RomanizeTextRequest {
626627
repeated string contents = 1 [(google.api.field_behavior) = REQUIRED];
627628

628629
// Optional. The ISO-639 language code of the input text if
629-
// known, for example, "hi" or "zh". If the source language isn't specified,
630-
// the API attempts to identify the source language automatically and returns
631-
// the source language for each content in the response.
630+
// known, for example, "hi" or "zh". Supported language codes are
631+
// listed in [Language
632+
// Support](https://cloud.google.com/translate/docs/languages#roman). If the
633+
// source language isn't specified, the API attempts to identify the source
634+
// language automatically and returns the source language for each content in
635+
// the response.
632636
string source_language_code = 2 [(google.api.field_behavior) = OPTIONAL];
633637
}
634638

@@ -1037,14 +1041,16 @@ message TranslateDocumentRequest {
10371041

10381042
// Optional. The ISO-639 language code of the input document if known, for
10391043
// example, "en-US" or "sr-Latn". Supported language codes are listed in
1040-
// Language Support. If the source language isn't specified, the API attempts
1041-
// to identify the source language automatically and returns the source
1042-
// language within the response. Source language must be specified if the
1043-
// request contains a glossary or a custom model.
1044+
// [Language Support] (https://cloud.google.com/translate/docs/languages). If
1045+
// the source language isn't specified, the API attempts to identify the
1046+
// source language automatically and returns the source language within the
1047+
// response. Source language must be specified if the request contains a
1048+
// glossary or a custom model.
10441049
string source_language_code = 2 [(google.api.field_behavior) = OPTIONAL];
10451050

10461051
// Required. The ISO-639 language code to use for translation of the input
1047-
// document, set to one of the language codes listed in Language Support.
1052+
// document, set to one of the language codes listed in [Language Support]
1053+
// (https://cloud.google.com/translate/docs/languages).
10481054
string target_language_code = 3 [(google.api.field_behavior) = REQUIRED];
10491055

10501056
// Required. Input configurations.
@@ -1174,10 +1180,14 @@ message BatchTranslateTextRequest {
11741180
}
11751181
];
11761182

1177-
// Required. Source language code.
1183+
// Required. Source language code. Supported language codes are listed in
1184+
// [Language
1185+
// Support](https://cloud.google.com/translate/docs/languages).
11781186
string source_language_code = 2 [(google.api.field_behavior) = REQUIRED];
11791187

1180-
// Required. Specify up to 10 language codes here.
1188+
// Required. Specify up to 10 language codes here. Supported language codes
1189+
// are listed in [Language
1190+
// Support](https://cloud.google.com/translate/docs/languages).
11811191
repeated string target_language_codes = 3
11821192
[(google.api.field_behavior) = REQUIRED];
11831193

@@ -1703,7 +1713,9 @@ message BatchTranslateDocumentRequest {
17031713
string source_language_code = 2 [(google.api.field_behavior) = REQUIRED];
17041714

17051715
// Required. The ISO-639 language code to use for translation of the input
1706-
// document. Specify up to 10 language codes here.
1716+
// document. Specify up to 10 language codes here. Supported language codes
1717+
// are listed in [Language
1718+
// Support](https://cloud.google.com/translate/docs/languages).
17071719
repeated string target_language_codes = 3
17081720
[(google.api.field_behavior) = REQUIRED];
17091721

0 commit comments

Comments
 (0)