diff --git a/java-translate/README.md b/java-translate/README.md index 481979e50cd6..f6808dc0d0b3 100644 --- a/java-translate/README.md +++ b/java-translate/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.19.0 + 26.20.0 pom import @@ -272,7 +272,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-translate.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.21.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.22.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceClient.java b/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceClient.java index a1701c8e480a..44ac257f47c2 100644 --- a/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceClient.java +++ b/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceClient.java @@ -846,8 +846,8 @@ public final UnaryCallable batchTranslateT *

Only AutoML Translation models or glossaries within the same region (have the same * location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned. * @param sourceLanguageCode Required. The BCP-47 language code of the input document if known, - * for example, "en-US" or "sr-Latn". Supported language codes are listed in Language Support - * (https://cloud.google.com/translate/docs/languages). + * for example, "en-US" or "sr-Latn". Supported language codes are listed in [Language + * Support](https://cloud.google.com/translate/docs/languages). * @param targetLanguageCodes Required. The BCP-47 language code to use for translation of the * input document. Specify up to 10 language codes here. * @param inputConfigs Required. Input configurations. The total number of files matched should be @@ -913,8 +913,8 @@ public final UnaryCallable batchTranslateT *

Only AutoML Translation models or glossaries within the same region (have the same * location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned. * @param sourceLanguageCode Required. The BCP-47 language code of the input document if known, - * for example, "en-US" or "sr-Latn". Supported language codes are listed in Language Support - * (https://cloud.google.com/translate/docs/languages). + * for example, "en-US" or "sr-Latn". Supported language codes are listed in [Language + * Support](https://cloud.google.com/translate/docs/languages). * @param targetLanguageCodes Required. The BCP-47 language code to use for translation of the * input document. Specify up to 10 language codes here. * @param inputConfigs Required. Input configurations. The total number of files matched should be diff --git a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/BatchDocumentOutputConfig.java b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/BatchDocumentOutputConfig.java index 9bc8cac72170..0ca6a1d996bc 100644 --- a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/BatchDocumentOutputConfig.java +++ b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/BatchDocumentOutputConfig.java @@ -146,15 +146,15 @@ public DestinationCase getDestinationCase() { * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -205,15 +205,15 @@ public boolean hasGcsDestination() { * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -267,15 +267,15 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() { * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -722,15 +722,15 @@ public Builder clearDestination() { * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -781,15 +781,15 @@ public boolean hasGcsDestination() { * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -850,15 +850,15 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() { * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -916,15 +916,15 @@ public Builder setGcsDestination(com.google.cloud.translate.v3.GcsDestination va * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -980,15 +980,15 @@ public Builder setGcsDestination( * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -1056,15 +1056,15 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3.GcsDestination * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -1125,15 +1125,15 @@ public Builder clearGcsDestination() { * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -1181,15 +1181,15 @@ public com.google.cloud.translate.v3.GcsDestination.Builder getGcsDestinationBui * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -1245,15 +1245,15 @@ public com.google.cloud.translate.v3.GcsDestinationOrBuilder getGcsDestinationOr * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * diff --git a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/BatchDocumentOutputConfigOrBuilder.java b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/BatchDocumentOutputConfigOrBuilder.java index 75a4cbcf6408..8f44ed055d99 100644 --- a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/BatchDocumentOutputConfigOrBuilder.java +++ b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/BatchDocumentOutputConfigOrBuilder.java @@ -62,15 +62,15 @@ public interface BatchDocumentOutputConfigOrBuilder * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -118,15 +118,15 @@ public interface BatchDocumentOutputConfigOrBuilder * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * @@ -174,15 +174,15 @@ public interface BatchDocumentOutputConfigOrBuilder * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error * output is a txt file containing error details. * * diff --git a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/DocumentOutputConfig.java b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/DocumentOutputConfig.java index 5aace366bb62..0e63cb5920fb 100644 --- a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/DocumentOutputConfig.java +++ b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/DocumentOutputConfig.java @@ -129,9 +129,9 @@ public DestinationCase getDestinationCase() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -139,7 +139,7 @@ public DestinationCase getDestinationCase() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -148,7 +148,7 @@ public DestinationCase getDestinationCase() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -188,9 +188,9 @@ public boolean hasGcsDestination() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -198,7 +198,7 @@ public boolean hasGcsDestination() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -207,7 +207,7 @@ public boolean hasGcsDestination() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -250,9 +250,9 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -260,7 +260,7 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -269,7 +269,7 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -794,9 +794,9 @@ public Builder clearDestination() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -804,7 +804,7 @@ public Builder clearDestination() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -813,7 +813,7 @@ public Builder clearDestination() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -853,9 +853,9 @@ public boolean hasGcsDestination() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -863,7 +863,7 @@ public boolean hasGcsDestination() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -872,7 +872,7 @@ public boolean hasGcsDestination() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -922,9 +922,9 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -932,7 +932,7 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -941,7 +941,7 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -988,9 +988,9 @@ public Builder setGcsDestination(com.google.cloud.translate.v3.GcsDestination va * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -998,7 +998,7 @@ public Builder setGcsDestination(com.google.cloud.translate.v3.GcsDestination va * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1007,7 +1007,7 @@ public Builder setGcsDestination(com.google.cloud.translate.v3.GcsDestination va * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -1052,9 +1052,9 @@ public Builder setGcsDestination( * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1062,7 +1062,7 @@ public Builder setGcsDestination( * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1071,7 +1071,7 @@ public Builder setGcsDestination( * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -1128,9 +1128,9 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3.GcsDestination * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1138,7 +1138,7 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3.GcsDestination * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1147,7 +1147,7 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3.GcsDestination * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -1197,9 +1197,9 @@ public Builder clearGcsDestination() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1207,7 +1207,7 @@ public Builder clearGcsDestination() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1216,7 +1216,7 @@ public Builder clearGcsDestination() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -1253,9 +1253,9 @@ public com.google.cloud.translate.v3.GcsDestination.Builder getGcsDestinationBui * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1263,7 +1263,7 @@ public com.google.cloud.translate.v3.GcsDestination.Builder getGcsDestinationBui * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1272,7 +1272,7 @@ public com.google.cloud.translate.v3.GcsDestination.Builder getGcsDestinationBui * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -1317,9 +1317,9 @@ public com.google.cloud.translate.v3.GcsDestinationOrBuilder getGcsDestinationOr * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1327,7 +1327,7 @@ public com.google.cloud.translate.v3.GcsDestinationOrBuilder getGcsDestinationOr * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1336,7 +1336,7 @@ public com.google.cloud.translate.v3.GcsDestinationOrBuilder getGcsDestinationOr * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). diff --git a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/DocumentOutputConfigOrBuilder.java b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/DocumentOutputConfigOrBuilder.java index 2e97dc2ad3eb..cf370a01aa79 100644 --- a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/DocumentOutputConfigOrBuilder.java +++ b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/DocumentOutputConfigOrBuilder.java @@ -43,9 +43,9 @@ public interface DocumentOutputConfigOrBuilder * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -53,7 +53,7 @@ public interface DocumentOutputConfigOrBuilder * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -62,7 +62,7 @@ public interface DocumentOutputConfigOrBuilder * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -99,9 +99,9 @@ public interface DocumentOutputConfigOrBuilder * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -109,7 +109,7 @@ public interface DocumentOutputConfigOrBuilder * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -118,7 +118,7 @@ public interface DocumentOutputConfigOrBuilder * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -155,9 +155,9 @@ public interface DocumentOutputConfigOrBuilder * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -165,7 +165,7 @@ public interface DocumentOutputConfigOrBuilder * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -174,7 +174,7 @@ public interface DocumentOutputConfigOrBuilder * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). diff --git a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/OutputConfig.java b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/OutputConfig.java index cdc55677ab0c..939691dfca6a 100644 --- a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/OutputConfig.java +++ b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/OutputConfig.java @@ -166,10 +166,10 @@ public DestinationCase getDestinationCase() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -181,7 +181,7 @@ public DestinationCase getDestinationCase() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -251,10 +251,10 @@ public boolean hasGcsDestination() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -266,7 +266,7 @@ public boolean hasGcsDestination() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -339,10 +339,10 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -354,7 +354,7 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -817,10 +817,10 @@ public Builder clearDestination() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -832,7 +832,7 @@ public Builder clearDestination() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -902,10 +902,10 @@ public boolean hasGcsDestination() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -917,7 +917,7 @@ public boolean hasGcsDestination() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -997,10 +997,10 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1012,7 +1012,7 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -1089,10 +1089,10 @@ public Builder setGcsDestination(com.google.cloud.translate.v3.GcsDestination va * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1104,7 +1104,7 @@ public Builder setGcsDestination(com.google.cloud.translate.v3.GcsDestination va * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -1179,10 +1179,10 @@ public Builder setGcsDestination( * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1194,7 +1194,7 @@ public Builder setGcsDestination( * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -1281,10 +1281,10 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3.GcsDestination * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1296,7 +1296,7 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3.GcsDestination * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -1376,10 +1376,10 @@ public Builder clearGcsDestination() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1391,7 +1391,7 @@ public Builder clearGcsDestination() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -1458,10 +1458,10 @@ public com.google.cloud.translate.v3.GcsDestination.Builder getGcsDestinationBui * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1473,7 +1473,7 @@ public com.google.cloud.translate.v3.GcsDestination.Builder getGcsDestinationBui * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -1548,10 +1548,10 @@ public com.google.cloud.translate.v3.GcsDestinationOrBuilder getGcsDestinationOr * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1563,7 +1563,7 @@ public com.google.cloud.translate.v3.GcsDestinationOrBuilder getGcsDestinationOr * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; diff --git a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/OutputConfigOrBuilder.java b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/OutputConfigOrBuilder.java index e5a9617a4dd6..739a178c28a4 100644 --- a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/OutputConfigOrBuilder.java +++ b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/OutputConfigOrBuilder.java @@ -82,10 +82,10 @@ public interface OutputConfigOrBuilder * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -97,7 +97,7 @@ public interface OutputConfigOrBuilder * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -164,10 +164,10 @@ public interface OutputConfigOrBuilder * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -179,7 +179,7 @@ public interface OutputConfigOrBuilder * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -246,10 +246,10 @@ public interface OutputConfigOrBuilder * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -261,7 +261,7 @@ public interface OutputConfigOrBuilder * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3.GcsDestination gcs_destination = 1; diff --git a/java-translate/proto-google-cloud-translate-v3/src/main/proto/google/cloud/translate/v3/translation_service.proto b/java-translate/proto-google-cloud-translate-v3/src/main/proto/google/cloud/translate/v3/translation_service.proto index fab3467424fe..0eb34aa3ddb4 100644 --- a/java-translate/proto-google-cloud-translate-v3/src/main/proto/google/cloud/translate/v3/translation_service.proto +++ b/java-translate/proto-google-cloud-translate-v3/src/main/proto/google/cloud/translate/v3/translation_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -561,10 +561,10 @@ message OutputConfig { // If input file extension is a txt or html, the translation is directly // written to the output file. If glossary is requested, a separate // glossary_translations_file has format of - // gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + // `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` // // The format of errors file (for target language code 'trg') is: - // gs://translation_test/a_b_c_'trg'_errors.[extension] + // `gs://translation_test/a_b_c_'trg'_errors.[extension]` // // If the input file extension is tsv, errors_file contains the following: // Column 1: ID of the request provided in the input, if it's not @@ -576,7 +576,7 @@ message OutputConfig { // // If the input file extension is txt or html, glossary_error_file will be // generated that contains error details. glossary_error_file has format of - // gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + // `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` GcsDestination gcs_destination = 1; } } @@ -637,9 +637,9 @@ message DocumentOutputConfig { // // For a DocumentInputConfig.gcs_uri provided document, the output file will // have a name according to its URI. For example: an input file with URI: - // "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + // `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name // "my_bucket" will have an output URI: - // "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + // `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where // - [trg] corresponds to the translated file's language code, // - [ext] corresponds to the translated file's extension according to its // mime type. @@ -647,7 +647,7 @@ message DocumentOutputConfig { // // If the document was directly provided through the request, then the // output document will have the format: - // "gs://my_bucket/translated_document_[trg]_translations.[ext], where + // `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where // - [trg] corresponds to the translated file's language code, // - [ext] corresponds to the translated file's extension according to its // mime type. @@ -656,7 +656,7 @@ message DocumentOutputConfig { // translation will be equal to the default output URI but have // `glossary_translations` instead of `translations`. For the previous // example, its glossary URI would be: - // "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + // `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. // // Thus the max number of output files will be 2 (Translated document, // Glossary translated document). @@ -1362,15 +1362,15 @@ message BatchDocumentOutputConfig { // // The naming format of translation output files follows (for target // language code [trg]): `translation_output`: - // gs://translation_output/a_b_c_[trg]_translation.[extension] + // `gs://translation_output/a_b_c_[trg]_translation.[extension]` // `glossary_translation_output`: - // gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + // `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The // output document will maintain the same file format as the input document. // // The naming format of error output files follows (for target language code - // [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + // [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` // `glossary_error_output`: - // gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + // `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error // output is a txt file containing error details. GcsDestination gcs_destination = 1; } diff --git a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchDocumentOutputConfig.java b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchDocumentOutputConfig.java index 80e7f74bea69..cab80a6095d9 100644 --- a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchDocumentOutputConfig.java +++ b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchDocumentOutputConfig.java @@ -142,19 +142,19 @@ public DestinationCase getDestinationCase() { * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -201,19 +201,19 @@ public boolean hasGcsDestination() { * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -263,19 +263,19 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() { * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -721,19 +721,19 @@ public Builder clearDestination() { * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -780,19 +780,19 @@ public boolean hasGcsDestination() { * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -849,19 +849,19 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() { * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -915,19 +915,19 @@ public Builder setGcsDestination(com.google.cloud.translate.v3beta1.GcsDestinati * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -979,19 +979,19 @@ public Builder setGcsDestination( * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -1056,19 +1056,19 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3beta1.GcsDestina * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -1125,19 +1125,19 @@ public Builder clearGcsDestination() { * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -1181,19 +1181,19 @@ public com.google.cloud.translate.v3beta1.GcsDestination.Builder getGcsDestinati * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -1245,19 +1245,19 @@ public com.google.cloud.translate.v3beta1.GcsDestinationOrBuilder getGcsDestinat * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * diff --git a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchDocumentOutputConfigOrBuilder.java b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchDocumentOutputConfigOrBuilder.java index 6baa8740c861..4efe695d3514 100644 --- a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchDocumentOutputConfigOrBuilder.java +++ b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchDocumentOutputConfigOrBuilder.java @@ -58,19 +58,19 @@ public interface BatchDocumentOutputConfigOrBuilder * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -114,19 +114,19 @@ public interface BatchDocumentOutputConfigOrBuilder * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * @@ -170,19 +170,19 @@ public interface BatchDocumentOutputConfigOrBuilder * Since index.csv will be keeping updated during the process, please make * sure there is no custom retention policy applied on the output bucket * that may avoid file updating. - * (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * * The naming format of translation output files follows (for target * language code [trg]): `translation_output`: - * gs://translation_output/a_b_c_[trg]_translation.[extension] + * `gs://translation_output/a_b_c_[trg]_translation.[extension]` * `glossary_translation_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + * `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The * output document will maintain the same file format as the input document. * * The naming format of error output files follows (for target language code - * [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + * [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` * `glossary_error_output`: - * gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + * `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error * output is a txt file containing error details. * * diff --git a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequest.java b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequest.java index a7a590e82f62..995377d556f9 100644 --- a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequest.java +++ b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequest.java @@ -161,7 +161,7 @@ public com.google.protobuf.ByteString getParentBytes() { *

    * Required. The BCP-47 language code of the input document if known, for
    * example, "en-US" or "sr-Latn". Supported language codes are listed in
-   * Language Support (https://cloud.google.com/translate/docs/languages).
+   * [Language Support](https://cloud.google.com/translate/docs/languages).
    * 
* * string source_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -186,7 +186,7 @@ public java.lang.String getSourceLanguageCode() { *
    * Required. The BCP-47 language code of the input document if known, for
    * example, "en-US" or "sr-Latn". Supported language codes are listed in
-   * Language Support (https://cloud.google.com/translate/docs/languages).
+   * [Language Support](https://cloud.google.com/translate/docs/languages).
    * 
* * string source_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1696,7 +1696,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { *
      * Required. The BCP-47 language code of the input document if known, for
      * example, "en-US" or "sr-Latn". Supported language codes are listed in
-     * Language Support (https://cloud.google.com/translate/docs/languages).
+     * [Language Support](https://cloud.google.com/translate/docs/languages).
      * 
* * string source_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1720,7 +1720,7 @@ public java.lang.String getSourceLanguageCode() { *
      * Required. The BCP-47 language code of the input document if known, for
      * example, "en-US" or "sr-Latn". Supported language codes are listed in
-     * Language Support (https://cloud.google.com/translate/docs/languages).
+     * [Language Support](https://cloud.google.com/translate/docs/languages).
      * 
* * string source_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1744,7 +1744,7 @@ public com.google.protobuf.ByteString getSourceLanguageCodeBytes() { *
      * Required. The BCP-47 language code of the input document if known, for
      * example, "en-US" or "sr-Latn". Supported language codes are listed in
-     * Language Support (https://cloud.google.com/translate/docs/languages).
+     * [Language Support](https://cloud.google.com/translate/docs/languages).
      * 
* * string source_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1767,7 +1767,7 @@ public Builder setSourceLanguageCode(java.lang.String value) { *
      * Required. The BCP-47 language code of the input document if known, for
      * example, "en-US" or "sr-Latn". Supported language codes are listed in
-     * Language Support (https://cloud.google.com/translate/docs/languages).
+     * [Language Support](https://cloud.google.com/translate/docs/languages).
      * 
* * string source_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1786,7 +1786,7 @@ public Builder clearSourceLanguageCode() { *
      * Required. The BCP-47 language code of the input document if known, for
      * example, "en-US" or "sr-Latn". Supported language codes are listed in
-     * Language Support (https://cloud.google.com/translate/docs/languages).
+     * [Language Support](https://cloud.google.com/translate/docs/languages).
      * 
* * string source_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequestOrBuilder.java b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequestOrBuilder.java index c7af730c90db..417f5d3bcc93 100644 --- a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequestOrBuilder.java +++ b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequestOrBuilder.java @@ -74,7 +74,7 @@ public interface BatchTranslateDocumentRequestOrBuilder *
    * Required. The BCP-47 language code of the input document if known, for
    * example, "en-US" or "sr-Latn". Supported language codes are listed in
-   * Language Support (https://cloud.google.com/translate/docs/languages).
+   * [Language Support](https://cloud.google.com/translate/docs/languages).
    * 
* * string source_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -88,7 +88,7 @@ public interface BatchTranslateDocumentRequestOrBuilder *
    * Required. The BCP-47 language code of the input document if known, for
    * example, "en-US" or "sr-Latn". Supported language codes are listed in
-   * Language Support (https://cloud.google.com/translate/docs/languages).
+   * [Language Support](https://cloud.google.com/translate/docs/languages).
    * 
* * string source_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DocumentOutputConfig.java b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DocumentOutputConfig.java index 056977124737..ecdf6ea09af0 100644 --- a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DocumentOutputConfig.java +++ b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DocumentOutputConfig.java @@ -129,9 +129,9 @@ public DestinationCase getDestinationCase() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -139,7 +139,7 @@ public DestinationCase getDestinationCase() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -148,7 +148,7 @@ public DestinationCase getDestinationCase() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -188,9 +188,9 @@ public boolean hasGcsDestination() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -198,7 +198,7 @@ public boolean hasGcsDestination() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -207,7 +207,7 @@ public boolean hasGcsDestination() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -250,9 +250,9 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -260,7 +260,7 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -269,7 +269,7 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -796,9 +796,9 @@ public Builder clearDestination() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -806,7 +806,7 @@ public Builder clearDestination() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -815,7 +815,7 @@ public Builder clearDestination() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -855,9 +855,9 @@ public boolean hasGcsDestination() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -865,7 +865,7 @@ public boolean hasGcsDestination() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -874,7 +874,7 @@ public boolean hasGcsDestination() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -924,9 +924,9 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -934,7 +934,7 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -943,7 +943,7 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -990,9 +990,9 @@ public Builder setGcsDestination(com.google.cloud.translate.v3beta1.GcsDestinati * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1000,7 +1000,7 @@ public Builder setGcsDestination(com.google.cloud.translate.v3beta1.GcsDestinati * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1009,7 +1009,7 @@ public Builder setGcsDestination(com.google.cloud.translate.v3beta1.GcsDestinati * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -1054,9 +1054,9 @@ public Builder setGcsDestination( * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1064,7 +1064,7 @@ public Builder setGcsDestination( * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1073,7 +1073,7 @@ public Builder setGcsDestination( * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -1131,9 +1131,9 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3beta1.GcsDestina * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1141,7 +1141,7 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3beta1.GcsDestina * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1150,7 +1150,7 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3beta1.GcsDestina * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -1200,9 +1200,9 @@ public Builder clearGcsDestination() { * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1210,7 +1210,7 @@ public Builder clearGcsDestination() { * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1219,7 +1219,7 @@ public Builder clearGcsDestination() { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -1256,9 +1256,9 @@ public com.google.cloud.translate.v3beta1.GcsDestination.Builder getGcsDestinati * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1266,7 +1266,7 @@ public com.google.cloud.translate.v3beta1.GcsDestination.Builder getGcsDestinati * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1275,7 +1275,7 @@ public com.google.cloud.translate.v3beta1.GcsDestination.Builder getGcsDestinati * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -1320,9 +1320,9 @@ public com.google.cloud.translate.v3beta1.GcsDestinationOrBuilder getGcsDestinat * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1330,7 +1330,7 @@ public com.google.cloud.translate.v3beta1.GcsDestinationOrBuilder getGcsDestinat * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -1339,7 +1339,7 @@ public com.google.cloud.translate.v3beta1.GcsDestinationOrBuilder getGcsDestinat * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). diff --git a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DocumentOutputConfigOrBuilder.java b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DocumentOutputConfigOrBuilder.java index 76a92bb0d96b..463254c21d21 100644 --- a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DocumentOutputConfigOrBuilder.java +++ b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DocumentOutputConfigOrBuilder.java @@ -43,9 +43,9 @@ public interface DocumentOutputConfigOrBuilder * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -53,7 +53,7 @@ public interface DocumentOutputConfigOrBuilder * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -62,7 +62,7 @@ public interface DocumentOutputConfigOrBuilder * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -99,9 +99,9 @@ public interface DocumentOutputConfigOrBuilder * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -109,7 +109,7 @@ public interface DocumentOutputConfigOrBuilder * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -118,7 +118,7 @@ public interface DocumentOutputConfigOrBuilder * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). @@ -155,9 +155,9 @@ public interface DocumentOutputConfigOrBuilder * * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -165,7 +165,7 @@ public interface DocumentOutputConfigOrBuilder * * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -174,7 +174,7 @@ public interface DocumentOutputConfigOrBuilder * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). diff --git a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfig.java b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfig.java index 06cd17ae4c3a..d50960132abc 100644 --- a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfig.java +++ b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfig.java @@ -166,10 +166,10 @@ public DestinationCase getDestinationCase() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -181,7 +181,7 @@ public DestinationCase getDestinationCase() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -251,10 +251,10 @@ public boolean hasGcsDestination() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -266,7 +266,7 @@ public boolean hasGcsDestination() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -339,10 +339,10 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -354,7 +354,7 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -818,10 +818,10 @@ public Builder clearDestination() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -833,7 +833,7 @@ public Builder clearDestination() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -903,10 +903,10 @@ public boolean hasGcsDestination() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -918,7 +918,7 @@ public boolean hasGcsDestination() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -998,10 +998,10 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1013,7 +1013,7 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -1090,10 +1090,10 @@ public Builder setGcsDestination(com.google.cloud.translate.v3beta1.GcsDestinati * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1105,7 +1105,7 @@ public Builder setGcsDestination(com.google.cloud.translate.v3beta1.GcsDestinati * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -1180,10 +1180,10 @@ public Builder setGcsDestination( * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1195,7 +1195,7 @@ public Builder setGcsDestination( * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -1283,10 +1283,10 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3beta1.GcsDestina * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1298,7 +1298,7 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3beta1.GcsDestina * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -1378,10 +1378,10 @@ public Builder clearGcsDestination() { * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1393,7 +1393,7 @@ public Builder clearGcsDestination() { * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -1460,10 +1460,10 @@ public com.google.cloud.translate.v3beta1.GcsDestination.Builder getGcsDestinati * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1475,7 +1475,7 @@ public com.google.cloud.translate.v3beta1.GcsDestination.Builder getGcsDestinati * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -1550,10 +1550,10 @@ public com.google.cloud.translate.v3beta1.GcsDestinationOrBuilder getGcsDestinat * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -1565,7 +1565,7 @@ public com.google.cloud.translate.v3beta1.GcsDestinationOrBuilder getGcsDestinat * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; diff --git a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfigOrBuilder.java b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfigOrBuilder.java index 44082dab3bef..f52b193db66f 100644 --- a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfigOrBuilder.java +++ b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfigOrBuilder.java @@ -82,10 +82,10 @@ public interface OutputConfigOrBuilder * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -97,7 +97,7 @@ public interface OutputConfigOrBuilder * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -164,10 +164,10 @@ public interface OutputConfigOrBuilder * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -179,7 +179,7 @@ public interface OutputConfigOrBuilder * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; @@ -246,10 +246,10 @@ public interface OutputConfigOrBuilder * If input file extension is a txt or html, the translation is directly * written to the output file. If glossary is requested, a separate * glossary_translations_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` * * The format of errors file (for target language code 'trg') is: - * gs://translation_test/a_b_c_'trg'_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_errors.[extension]` * * If the input file extension is tsv, errors_file contains the following: * Column 1: ID of the request provided in the input, if it's not @@ -261,7 +261,7 @@ public interface OutputConfigOrBuilder * * If the input file extension is txt or html, glossary_error_file will be * generated that contains error details. glossary_error_file has format of - * gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + * `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` * * * .google.cloud.translation.v3beta1.GcsDestination gcs_destination = 1; diff --git a/java-translate/proto-google-cloud-translate-v3beta1/src/main/proto/google/cloud/translate/v3beta1/translation_service.proto b/java-translate/proto-google-cloud-translate-v3beta1/src/main/proto/google/cloud/translate/v3beta1/translation_service.proto index e8835700c23b..a758ce9f9f85 100644 --- a/java-translate/proto-google-cloud-translate-v3beta1/src/main/proto/google/cloud/translate/v3beta1/translation_service.proto +++ b/java-translate/proto-google-cloud-translate-v3beta1/src/main/proto/google/cloud/translate/v3beta1/translation_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -552,10 +552,10 @@ message OutputConfig { // If input file extension is a txt or html, the translation is directly // written to the output file. If glossary is requested, a separate // glossary_translations_file has format of - // gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + // `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` // // The format of errors file (for target language code 'trg') is: - // gs://translation_test/a_b_c_'trg'_errors.[extension] + // `gs://translation_test/a_b_c_'trg'_errors.[extension]` // // If the input file extension is tsv, errors_file contains the following: // Column 1: ID of the request provided in the input, if it's not @@ -567,7 +567,7 @@ message OutputConfig { // // If the input file extension is txt or html, glossary_error_file will be // generated that contains error details. glossary_error_file has format of - // gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + // `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` GcsDestination gcs_destination = 1; } } @@ -628,9 +628,9 @@ message DocumentOutputConfig { // // For a DocumentInputConfig.gcs_uri provided document, the output file will // have a name according to its URI. For example: an input file with URI: - // "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + // `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name // "my_bucket" will have an output URI: - // "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + // `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where // - [trg] corresponds to the translated file's language code, // - [ext] corresponds to the translated file's extension according to its // mime type. @@ -638,7 +638,7 @@ message DocumentOutputConfig { // // If the document was directly provided through the request, then the // output document will have the format: - // "gs://my_bucket/translated_document_[trg]_translations.[ext], where + // `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where // - [trg] corresponds to the translated file's language code, // - [ext] corresponds to the translated file's extension according to its // mime type. @@ -647,7 +647,7 @@ message DocumentOutputConfig { // translation will be equal to the default output URI but have // `glossary_translations` instead of `translations`. For the previous // example, its glossary URI would be: - // "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + // `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. // // Thus the max number of output files will be 2 (Translated document, // Glossary translated document). @@ -1202,7 +1202,7 @@ message BatchTranslateDocumentRequest { // Required. The BCP-47 language code of the input document if known, for // example, "en-US" or "sr-Latn". Supported language codes are listed in - // Language Support (https://cloud.google.com/translate/docs/languages). + // [Language Support](https://cloud.google.com/translate/docs/languages). string source_language_code = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The BCP-47 language code to use for translation of the input @@ -1321,19 +1321,19 @@ message BatchDocumentOutputConfig { // Since index.csv will be keeping updated during the process, please make // sure there is no custom retention policy applied on the output bucket // that may avoid file updating. - // (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + // (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) // // The naming format of translation output files follows (for target // language code [trg]): `translation_output`: - // gs://translation_output/a_b_c_[trg]_translation.[extension] + // `gs://translation_output/a_b_c_[trg]_translation.[extension]` // `glossary_translation_output`: - // gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + // `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The // output document will maintain the same file format as the input document. // // The naming format of error output files follows (for target language code - // [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + // [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` // `glossary_error_output`: - // gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + // `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error // output is a txt file containing error details. GcsDestination gcs_destination = 1; }