For global calls, use `projects/{project-number-or-id}/locations/global` or * `projects/{project-number-or-id}`. - *
Only models within the same region, which have the same location-id, can be used. - * Otherwise an INVALID_ARGUMENT (400) error is returned. + *
Only models within the same region (has same location-id) can be used. Otherwise an + * INVALID_ARGUMENT (400) error is returned. * @param model Optional. The language detection model to be used. *
Format: * `projects/{project-number-or-id}/locations/{location-id}/models/language-detection/{model-id}` @@ -300,8 +300,8 @@ public final DetectLanguageResponse detectLanguage( * `projects/{project-number-or-id}`. *
For global calls, use `projects/{project-number-or-id}/locations/global` or * `projects/{project-number-or-id}`. - *
Only models within the same region, which have the same location-id, can be used. - * Otherwise an INVALID_ARGUMENT (400) error is returned. + *
Only models within the same region (has same location-id) can be used. Otherwise an + * INVALID_ARGUMENT (400) error is returned. * @param model Optional. The language detection model to be used. *
Format: * `projects/{project-number-or-id}/locations/{location-id}/models/language-detection/{model-id}` @@ -408,9 +408,8 @@ public final DetectLanguageResponse detectLanguage(DetectLanguageRequest request * `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` *
- General (built-in) models: * `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, - * `projects/{project-number-or-id}/locations/{location-id}/models/general/base` *
Returns languages supported by the specified model. If missing, we get supported - * languages of Google general base (PBMT) model. + * languages of Google general NMT model. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SupportedLanguages getSupportedLanguages( @@ -457,9 +456,8 @@ public final SupportedLanguages getSupportedLanguages( * `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` *
- General (built-in) models: * `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, - * `projects/{project-number-or-id}/locations/{location-id}/models/general/base` *
Returns languages supported by the specified model. If missing, we get supported
- * languages of Google general base (PBMT) model.
+ * languages of Google general NMT model.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final SupportedLanguages getSupportedLanguages(
@@ -710,7 +708,7 @@ public final UnaryCallable.google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -211,10 +211,10 @@ public boolean hasGcsSource() {
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -245,10 +245,10 @@ public com.google.cloud.translate.v3beta1.GcsSource getGcsSource() {
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -645,10 +645,10 @@ public Builder clearSource() {
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -676,10 +676,10 @@ public boolean hasGcsSource() {
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -717,10 +717,10 @@ public com.google.cloud.translate.v3beta1.GcsSource getGcsSource() {
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -755,10 +755,10 @@ public Builder setGcsSource(com.google.cloud.translate.v3beta1.GcsSource value)
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -791,10 +791,10 @@ public Builder setGcsSource(
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -838,10 +838,10 @@ public Builder mergeGcsSource(com.google.cloud.translate.v3beta1.GcsSource value
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -879,10 +879,10 @@ public Builder clearGcsSource() {
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -907,10 +907,10 @@ public com.google.cloud.translate.v3beta1.GcsSource.Builder getGcsSourceBuilder(
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -943,10 +943,10 @@ public com.google.cloud.translate.v3beta1.GcsSourceOrBuilder getGcsSourceOrBuild
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchDocumentInputConfigOrBuilder.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchDocumentInputConfigOrBuilder.java
index 87edf042..6ec7519a 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchDocumentInputConfigOrBuilder.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchDocumentInputConfigOrBuilder.java
@@ -40,10 +40,10 @@ public interface BatchDocumentInputConfigOrBuilder
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -68,10 +68,10 @@ public interface BatchDocumentInputConfigOrBuilder
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
@@ -96,10 +96,10 @@ public interface BatchDocumentInputConfigOrBuilder
* application/vnd.openxmlformats-officedocument.presentationml.presentation
* - `xlsx`,
* application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- * The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- * The max file size supported for `.pdf` is 1GB and the max page limit is
+ * The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ * The max file size to support for `.pdf` is 1GB and the max page limit is
* 1000 pages.
- * The max file size supported for all input documents is 1GB.
+ * The max file size to support for all input documents is 1GB.
*
*
* .google.cloud.translation.v3beta1.GcsSource gcs_source = 1;
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequest.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequest.java
index 67c19b45..4f95412e 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequest.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequest.java
@@ -228,7 +228,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
* error is returned.
*
*
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
*
* @return The parent.
*/
@@ -256,7 +258,9 @@ public java.lang.String getParent() {
* error is returned.
*
*
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
*
* @return The bytes for parent.
*/
@@ -590,7 +594,6 @@ public int getModelsCount() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is not requested for a language
* pair, then default google model (nmt) is used.
*
@@ -622,7 +625,6 @@ public java.util.Mapstring parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
*
* @return The parent.
*/
@@ -1382,7 +1384,9 @@ public java.lang.String getParent() {
* error is returned.
*
*
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
*
* @return The bytes for parent.
*/
@@ -1409,7 +1413,9 @@ public com.google.protobuf.ByteString getParentBytes() {
* error is returned.
*
*
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
*
* @param value The parent to set.
* @return This builder for chaining.
@@ -1435,7 +1441,9 @@ public Builder setParent(java.lang.String value) {
* error is returned.
*
*
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
*
* @return This builder for chaining.
*/
@@ -1457,7 +1465,9 @@ public Builder clearParent() {
* error is returned.
*
*
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
*
* @param value The bytes for parent to set.
* @return This builder for chaining.
@@ -2495,7 +2505,6 @@ public int getModelsCount() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is not requested for a language
* pair, then default google model (nmt) is used.
*
@@ -2527,7 +2536,6 @@ public java.util.Mapstring parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
*
* @return The parent.
*/
@@ -52,7 +54,9 @@ public interface BatchTranslateDocumentRequestOrBuilder
* error is returned.
*
*
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
*
* @return The bytes for parent.
*/
@@ -283,7 +287,6 @@ com.google.cloud.translate.v3beta1.BatchDocumentInputConfigOrBuilder getInputCon
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is not requested for a language
* pair, then default google model (nmt) is used.
*
@@ -303,7 +306,6 @@ com.google.cloud.translate.v3beta1.BatchDocumentInputConfigOrBuilder getInputCon
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is not requested for a language
* pair, then default google model (nmt) is used.
*
@@ -326,7 +328,6 @@ com.google.cloud.translate.v3beta1.BatchDocumentInputConfigOrBuilder getInputCon
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is not requested for a language
* pair, then default google model (nmt) is used.
*
@@ -346,7 +347,6 @@ com.google.cloud.translate.v3beta1.BatchDocumentInputConfigOrBuilder getInputCon
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is not requested for a language
* pair, then default google model (nmt) is used.
*
@@ -366,7 +366,6 @@ com.google.cloud.translate.v3beta1.BatchDocumentInputConfigOrBuilder getInputCon
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is not requested for a language
* pair, then default google model (nmt) is used.
*
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentResponse.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentResponse.java
index 1b8c94ef..24be43de 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentResponse.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentResponse.java
@@ -182,7 +182,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Total number of pages to translate in all documents. Documents without a
+ * Total number of pages to translate in all documents. Documents without
* clear page definition (such as XLSX) are not counted.
*
*
@@ -202,7 +202,7 @@ public long getTotalPages() {
*
*
* Number of successfully translated pages in all documents. Documents without
- * a clear page definition (such as XLSX) are not counted.
+ * clear page definition (such as XLSX) are not counted.
*
*
* int64 translated_pages = 2;
@@ -221,7 +221,7 @@ public long getTranslatedPages() {
*
*
* Number of pages that failed to process in all documents. Documents without
- * a clear page definition (such as XLSX) are not counted.
+ * clear page definition (such as XLSX) are not counted.
*
*
* int64 failed_pages = 3;
@@ -918,7 +918,7 @@ public Builder mergeFrom(
*
*
*
- * Total number of pages to translate in all documents. Documents without a
+ * Total number of pages to translate in all documents. Documents without
* clear page definition (such as XLSX) are not counted.
*
*
@@ -934,7 +934,7 @@ public long getTotalPages() {
*
*
*
- * Total number of pages to translate in all documents. Documents without a
+ * Total number of pages to translate in all documents. Documents without
* clear page definition (such as XLSX) are not counted.
*
*
@@ -953,7 +953,7 @@ public Builder setTotalPages(long value) {
*
*
*
- * Total number of pages to translate in all documents. Documents without a
+ * Total number of pages to translate in all documents. Documents without
* clear page definition (such as XLSX) are not counted.
*
*
@@ -974,7 +974,7 @@ public Builder clearTotalPages() {
*
*
* Number of successfully translated pages in all documents. Documents without
- * a clear page definition (such as XLSX) are not counted.
+ * clear page definition (such as XLSX) are not counted.
*
*
* int64 translated_pages = 2;
@@ -990,7 +990,7 @@ public long getTranslatedPages() {
*
*
* Number of successfully translated pages in all documents. Documents without
- * a clear page definition (such as XLSX) are not counted.
+ * clear page definition (such as XLSX) are not counted.
*
*
* int64 translated_pages = 2;
@@ -1009,7 +1009,7 @@ public Builder setTranslatedPages(long value) {
*
*
* Number of successfully translated pages in all documents. Documents without
- * a clear page definition (such as XLSX) are not counted.
+ * clear page definition (such as XLSX) are not counted.
*
*
* int64 translated_pages = 2;
@@ -1029,7 +1029,7 @@ public Builder clearTranslatedPages() {
*
*
* Number of pages that failed to process in all documents. Documents without
- * a clear page definition (such as XLSX) are not counted.
+ * clear page definition (such as XLSX) are not counted.
*
*
* int64 failed_pages = 3;
@@ -1045,7 +1045,7 @@ public long getFailedPages() {
*
*
* Number of pages that failed to process in all documents. Documents without
- * a clear page definition (such as XLSX) are not counted.
+ * clear page definition (such as XLSX) are not counted.
*
*
* int64 failed_pages = 3;
@@ -1064,7 +1064,7 @@ public Builder setFailedPages(long value) {
*
*
* Number of pages that failed to process in all documents. Documents without
- * a clear page definition (such as XLSX) are not counted.
+ * clear page definition (such as XLSX) are not counted.
*
*
* int64 failed_pages = 3;
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentResponseOrBuilder.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentResponseOrBuilder.java
index 0c29088b..413d4af7 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentResponseOrBuilder.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentResponseOrBuilder.java
@@ -27,7 +27,7 @@ public interface BatchTranslateDocumentResponseOrBuilder
*
*
*
- * Total number of pages to translate in all documents. Documents without a
+ * Total number of pages to translate in all documents. Documents without
* clear page definition (such as XLSX) are not counted.
*
*
@@ -42,7 +42,7 @@ public interface BatchTranslateDocumentResponseOrBuilder
*
*
* Number of successfully translated pages in all documents. Documents without
- * a clear page definition (such as XLSX) are not counted.
+ * clear page definition (such as XLSX) are not counted.
*
*
* int64 translated_pages = 2;
@@ -56,7 +56,7 @@ public interface BatchTranslateDocumentResponseOrBuilder
*
*
* Number of pages that failed to process in all documents. Documents without
- * a clear page definition (such as XLSX) are not counted.
+ * clear page definition (such as XLSX) are not counted.
*
*
* int64 failed_pages = 3;
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateTextRequest.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateTextRequest.java
index 94d1a49a..99b6cacd 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateTextRequest.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateTextRequest.java
@@ -432,14 +432,13 @@ public int getModelsCount() {
*
*
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -464,14 +463,13 @@ public java.util.Map
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -487,14 +485,13 @@ public java.util.Map
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -514,14 +511,13 @@ public java.lang.String getModelsOrDefault(java.lang.String key, java.lang.Strin
*
*
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -1945,14 +1941,13 @@ public int getModelsCount() {
*
*
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -1977,14 +1972,13 @@ public java.util.Map
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -2000,14 +1994,13 @@ public java.util.Map
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -2028,14 +2021,13 @@ public java.lang.String getModelsOrDefault(
*
*
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -2063,14 +2055,13 @@ public Builder clearModels() {
*
*
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -2094,14 +2085,13 @@ public java.util.Map
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -2123,14 +2113,13 @@ public Builder putModels(java.lang.String key, java.lang.String value) {
*
*
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateTextRequestOrBuilder.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateTextRequestOrBuilder.java
index 8b5ecc1f..dbbe3fc5 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateTextRequestOrBuilder.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateTextRequestOrBuilder.java
@@ -147,14 +147,13 @@ public interface BatchTranslateTextRequestOrBuilder
*
*
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -167,14 +166,13 @@ public interface BatchTranslateTextRequestOrBuilder
*
*
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -190,14 +188,13 @@ public interface BatchTranslateTextRequestOrBuilder
*
*
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -210,14 +207,13 @@ public interface BatchTranslateTextRequestOrBuilder
*
*
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
@@ -230,14 +226,13 @@ public interface BatchTranslateTextRequestOrBuilder
*
*
* Optional. The models to use for translation. Map's key is target language
- * code. Map's value is the model name. Value can be a built-in general model,
+ * code. Map's value is model name. Value can be a built-in general model,
* or an AutoML Translation model.
* The value format depends on model type:
* - AutoML Translation models:
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If the map is empty or a specific model is
* not requested for a language pair, then default google model (nmt) is used.
*
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DetectLanguageRequest.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DetectLanguageRequest.java
index c237aa25..584da741 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DetectLanguageRequest.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DetectLanguageRequest.java
@@ -215,7 +215,7 @@ public SourceCase getSourceCase() {
* `projects/{project-number-or-id}`.
* For global calls, use `projects/{project-number-or-id}/locations/global` or
* `projects/{project-number-or-id}`.
- * Only models within the same region, which have the same location-id, can be used.
+ * Only models within the same region (has same location-id) can be used.
* Otherwise an INVALID_ARGUMENT (400) error is returned.
*
*
@@ -247,7 +247,7 @@ public java.lang.String getParent() {
* `projects/{project-number-or-id}`.
* For global calls, use `projects/{project-number-or-id}/locations/global` or
* `projects/{project-number-or-id}`.
- * Only models within the same region, which have the same location-id, can be used.
+ * Only models within the same region (has same location-id) can be used.
* Otherwise an INVALID_ARGUMENT (400) error is returned.
*
*
@@ -1029,7 +1029,7 @@ public Builder clearSource() {
* `projects/{project-number-or-id}`.
* For global calls, use `projects/{project-number-or-id}/locations/global` or
* `projects/{project-number-or-id}`.
- * Only models within the same region, which have the same location-id, can be used.
+ * Only models within the same region (has same location-id) can be used.
* Otherwise an INVALID_ARGUMENT (400) error is returned.
*
*
@@ -1060,7 +1060,7 @@ public java.lang.String getParent() {
* `projects/{project-number-or-id}`.
* For global calls, use `projects/{project-number-or-id}/locations/global` or
* `projects/{project-number-or-id}`.
- * Only models within the same region, which have the same location-id, can be used.
+ * Only models within the same region (has same location-id) can be used.
* Otherwise an INVALID_ARGUMENT (400) error is returned.
*
*
@@ -1091,7 +1091,7 @@ public com.google.protobuf.ByteString getParentBytes() {
* `projects/{project-number-or-id}`.
* For global calls, use `projects/{project-number-or-id}/locations/global` or
* `projects/{project-number-or-id}`.
- * Only models within the same region, which have the same location-id, can be used.
+ * Only models within the same region (has same location-id) can be used.
* Otherwise an INVALID_ARGUMENT (400) error is returned.
*
*
@@ -1121,7 +1121,7 @@ public Builder setParent(java.lang.String value) {
* `projects/{project-number-or-id}`.
* For global calls, use `projects/{project-number-or-id}/locations/global` or
* `projects/{project-number-or-id}`.
- * Only models within the same region, which have the same location-id, can be used.
+ * Only models within the same region (has same location-id) can be used.
* Otherwise an INVALID_ARGUMENT (400) error is returned.
*
*
@@ -1147,7 +1147,7 @@ public Builder clearParent() {
* `projects/{project-number-or-id}`.
* For global calls, use `projects/{project-number-or-id}/locations/global` or
* `projects/{project-number-or-id}`.
- * Only models within the same region, which have the same location-id, can be used.
+ * Only models within the same region (has same location-id) can be used.
* Otherwise an INVALID_ARGUMENT (400) error is returned.
*
*
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DetectLanguageRequestOrBuilder.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DetectLanguageRequestOrBuilder.java
index 9a0a6ded..174f150d 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DetectLanguageRequestOrBuilder.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DetectLanguageRequestOrBuilder.java
@@ -33,7 +33,7 @@ public interface DetectLanguageRequestOrBuilder
* `projects/{project-number-or-id}`.
* For global calls, use `projects/{project-number-or-id}/locations/global` or
* `projects/{project-number-or-id}`.
- * Only models within the same region, which have the same location-id, can be used.
+ * Only models within the same region (has same location-id) can be used.
* Otherwise an INVALID_ARGUMENT (400) error is returned.
*
*
@@ -54,7 +54,7 @@ public interface DetectLanguageRequestOrBuilder
* `projects/{project-number-or-id}`.
* For global calls, use `projects/{project-number-or-id}/locations/global` or
* `projects/{project-number-or-id}`.
- * Only models within the same region, which have the same location-id, can be used.
+ * Only models within the same region (has same location-id) can be used.
* Otherwise an INVALID_ARGUMENT (400) error is returned.
*
*
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/GetSupportedLanguagesRequest.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/GetSupportedLanguagesRequest.java
index 82ae8900..b71f8872 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/GetSupportedLanguagesRequest.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/GetSupportedLanguagesRequest.java
@@ -261,9 +261,8 @@ public com.google.protobuf.ByteString getDisplayLanguageCodeBytes() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* Returns languages supported by the specified model.
- * If missing, we get supported languages of Google general base (PBMT) model.
+ * If missing, we get supported languages of Google general NMT model.
*
*
* string model = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -292,9 +291,8 @@ public java.lang.String getModel() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* Returns languages supported by the specified model.
- * If missing, we get supported languages of Google general base (PBMT) model.
+ * If missing, we get supported languages of Google general NMT model.
*
*
* string model = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -952,9 +950,8 @@ public Builder setDisplayLanguageCodeBytes(com.google.protobuf.ByteString value)
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* Returns languages supported by the specified model.
- * If missing, we get supported languages of Google general base (PBMT) model.
+ * If missing, we get supported languages of Google general NMT model.
*
*
* string model = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -982,9 +979,8 @@ public java.lang.String getModel() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* Returns languages supported by the specified model.
- * If missing, we get supported languages of Google general base (PBMT) model.
+ * If missing, we get supported languages of Google general NMT model.
*
*
* string model = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1012,9 +1008,8 @@ public com.google.protobuf.ByteString getModelBytes() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* Returns languages supported by the specified model.
- * If missing, we get supported languages of Google general base (PBMT) model.
+ * If missing, we get supported languages of Google general NMT model.
*
*
* string model = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1041,9 +1036,8 @@ public Builder setModel(java.lang.String value) {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* Returns languages supported by the specified model.
- * If missing, we get supported languages of Google general base (PBMT) model.
+ * If missing, we get supported languages of Google general NMT model.
*
*
* string model = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1066,9 +1060,8 @@ public Builder clearModel() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* Returns languages supported by the specified model.
- * If missing, we get supported languages of Google general base (PBMT) model.
+ * If missing, we get supported languages of Google general NMT model.
*
*
* string model = 2 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/GetSupportedLanguagesRequestOrBuilder.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/GetSupportedLanguagesRequestOrBuilder.java
index 5fed14a8..dc6a0bc0 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/GetSupportedLanguagesRequestOrBuilder.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/GetSupportedLanguagesRequestOrBuilder.java
@@ -107,9 +107,8 @@ public interface GetSupportedLanguagesRequestOrBuilder
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* Returns languages supported by the specified model.
- * If missing, we get supported languages of Google general base (PBMT) model.
+ * If missing, we get supported languages of Google general NMT model.
*
*
* string model = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -127,9 +126,8 @@ public interface GetSupportedLanguagesRequestOrBuilder
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* Returns languages supported by the specified model.
- * If missing, we get supported languages of Google general base (PBMT) model.
+ * If missing, we get supported languages of Google general NMT model.
*
*
* string model = 2 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfig.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfig.java
index 10814718..b0103960 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfig.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfig.java
@@ -193,12 +193,12 @@ public DestinationCase getDestinationCase() {
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -266,12 +266,12 @@ public boolean hasGcsDestination() {
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -342,12 +342,12 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() {
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -782,12 +782,12 @@ public Builder clearDestination() {
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -855,12 +855,12 @@ public boolean hasGcsDestination() {
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -938,12 +938,12 @@ public com.google.cloud.translate.v3beta1.GcsDestination getGcsDestination() {
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -1018,12 +1018,12 @@ public Builder setGcsDestination(com.google.cloud.translate.v3beta1.GcsDestinati
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -1096,12 +1096,12 @@ public Builder setGcsDestination(
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -1186,12 +1186,12 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3beta1.GcsDestina
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -1269,12 +1269,12 @@ public Builder clearGcsDestination() {
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -1339,12 +1339,12 @@ public com.google.cloud.translate.v3beta1.GcsDestination.Builder getGcsDestinati
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -1417,12 +1417,12 @@ public com.google.cloud.translate.v3beta1.GcsDestinationOrBuilder getGcsDestinat
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfigOrBuilder.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfigOrBuilder.java
index a16d3321..5adefd34 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfigOrBuilder.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/OutputConfigOrBuilder.java
@@ -50,12 +50,12 @@ public interface OutputConfigOrBuilder
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -120,12 +120,12 @@ public interface OutputConfigOrBuilder
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
@@ -190,12 +190,12 @@ public interface OutputConfigOrBuilder
* strings if the input_file is tsv. They could also be empty if we have no
* content to output.
* Once a row is present in index.csv, the input/output matching never
- * changes. Callers should also expect the contents in the input_file are
+ * changes. Callers should also expect all the content in input_file are
* processed and ready to be consumed (that is, no partial output file is
* written).
- * Since index.csv will be updated during the process, please make
+ * 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 prevent file updating.
+ * that may avoid file updating.
* (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
* The format of translations_file (for target language code 'trg') is:
* gs://translation_test/a_b_c_'trg'_translations.[extension]
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateDocumentRequest.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateDocumentRequest.java
index b486cd56..97c24659 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateDocumentRequest.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateDocumentRequest.java
@@ -220,8 +220,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
*
* Required. Location to make a regional call.
* Format: `projects/{project-number-or-id}/locations/{location-id}`.
- * For global calls, use `projects/{project-number-or-id}/locations/global` or
- * `projects/{project-number-or-id}`.
+ * For global calls, use `projects/{project-number-or-id}/locations/global`.
* Non-global location is required for requests using AutoML models or custom
* glossaries.
* Models and glossaries must be within the same region (have the same
@@ -250,8 +249,7 @@ public java.lang.String getParent() {
*
@@ -1258,8 +1254,7 @@ public Builder mergeFrom(
*
* Required. Location to make a regional call.
* Format: `projects/{project-number-or-id}/locations/{location-id}`.
- * For global calls, use `projects/{project-number-or-id}/locations/global` or
- * `projects/{project-number-or-id}`.
+ * For global calls, use `projects/{project-number-or-id}/locations/global`.
* Non-global location is required for requests using AutoML models or custom
* glossaries.
* Models and glossaries must be within the same region (have the same
@@ -519,7 +517,6 @@ public com.google.cloud.translate.v3beta1.DocumentOutputConfig getDocumentOutput
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If not provided, the default Google model (NMT) will be used for
* translation.
*
@@ -550,7 +547,6 @@ public java.lang.String getModel() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If not provided, the default Google model (NMT) will be used for
* translation.
*
* Required. Location to make a regional call.
* Format: `projects/{project-number-or-id}/locations/{location-id}`.
- * For global calls, use `projects/{project-number-or-id}/locations/global` or
- * `projects/{project-number-or-id}`.
+ * For global calls, use `projects/{project-number-or-id}/locations/global`.
* Non-global location is required for requests using AutoML models or custom
* glossaries.
* Models and glossaries must be within the same region (have the same
@@ -1287,8 +1282,7 @@ public java.lang.String getParent() {
*
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateDocumentRequestOrBuilder.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateDocumentRequestOrBuilder.java
index b1dad9c8..1a457709 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateDocumentRequestOrBuilder.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateDocumentRequestOrBuilder.java
@@ -29,8 +29,7 @@ public interface TranslateDocumentRequestOrBuilder
*
* Required. Location to make a regional call.
* Format: `projects/{project-number-or-id}/locations/{location-id}`.
- * For global calls, use `projects/{project-number-or-id}/locations/global` or
- * `projects/{project-number-or-id}`.
+ * For global calls, use `projects/{project-number-or-id}/locations/global`.
* Non-global location is required for requests using AutoML models or custom
* glossaries.
* Models and glossaries must be within the same region (have the same
@@ -1316,8 +1310,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
@@ -2213,7 +2200,6 @@ public Builder clearModel() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If not provided, the default Google model (NMT) will be used for
* translation.
*
* Required. Location to make a regional call.
* Format: `projects/{project-number-or-id}/locations/{location-id}`.
- * For global calls, use `projects/{project-number-or-id}/locations/global` or
- * `projects/{project-number-or-id}`.
+ * For global calls, use `projects/{project-number-or-id}/locations/global`.
* Non-global location is required for requests using AutoML models or custom
* glossaries.
* Models and glossaries must be within the same region (have the same
@@ -1344,8 +1337,7 @@ public Builder setParent(java.lang.String value) {
*
@@ -2188,7 +2176,6 @@ public Builder setModel(java.lang.String value) {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If not provided, the default Google model (NMT) will be used for
* translation.
*
* Required. Location to make a regional call.
* Format: `projects/{project-number-or-id}/locations/{location-id}`.
- * For global calls, use `projects/{project-number-or-id}/locations/global` or
- * `projects/{project-number-or-id}`.
+ * For global calls, use `projects/{project-number-or-id}/locations/global`.
* Non-global location is required for requests using AutoML models or custom
* glossaries.
* Models and glossaries must be within the same region (have the same
@@ -1368,8 +1360,7 @@ public Builder clearParent() {
*
@@ -2159,7 +2148,6 @@ public com.google.protobuf.ByteString getModelBytes() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If not provided, the default Google model (NMT) will be used for
* translation.
*
* Required. Location to make a regional call.
* Format: `projects/{project-number-or-id}/locations/{location-id}`.
- * For global calls, use `projects/{project-number-or-id}/locations/global` or
- * `projects/{project-number-or-id}`.
+ * For global calls, use `projects/{project-number-or-id}/locations/global`.
* Non-global location is required for requests using AutoML models or custom
* glossaries.
* Models and glossaries must be within the same region (have the same
@@ -2099,7 +2090,6 @@ public Builder clearDocumentOutputConfig() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If not provided, the default Google model (NMT) will be used for
* translation.
*
@@ -2129,7 +2119,6 @@ public java.lang.String getModel() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If not provided, the default Google model (NMT) will be used for
* translation.
*
* Required. Location to make a regional call.
* Format: `projects/{project-number-or-id}/locations/{location-id}`.
- * For global calls, use `projects/{project-number-or-id}/locations/global` or
- * `projects/{project-number-or-id}`.
+ * For global calls, use `projects/{project-number-or-id}/locations/global`.
* Non-global location is required for requests using AutoML models or custom
* glossaries.
* Models and glossaries must be within the same region (have the same
@@ -48,8 +47,7 @@ public interface TranslateDocumentRequestOrBuilder
*
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateTextRequest.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateTextRequest.java
index 8b021caa..c4422246 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateTextRequest.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateTextRequest.java
@@ -515,11 +515,10 @@ public com.google.protobuf.ByteString getParentBytes() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* For global (non-regionalized) requests, use `location-id` `global`.
* For example,
* `projects/{project-number-or-id}/locations/global/models/general/nmt`.
- * If missing, the system decides which google base model to use.
+ * If not provided, the default Google model (NMT) will be used
*
*
*
* Required. Location to make a regional call.
* Format: `projects/{project-number-or-id}/locations/{location-id}`.
- * For global calls, use `projects/{project-number-or-id}/locations/global` or
- * `projects/{project-number-or-id}`.
+ * For global calls, use `projects/{project-number-or-id}/locations/global`.
* Non-global location is required for requests using AutoML models or custom
* glossaries.
* Models and glossaries must be within the same region (have the same
@@ -229,7 +227,6 @@ public interface TranslateDocumentRequestOrBuilder
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If not provided, the default Google model (NMT) will be used for
* translation.
*
@@ -249,7 +246,6 @@ public interface TranslateDocumentRequestOrBuilder
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* If not provided, the default Google model (NMT) will be used for
* translation.
* string model = 6 [(.google.api.field_behavior) = OPTIONAL];
@@ -548,11 +547,10 @@ public java.lang.String getModel() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* For global (non-regionalized) requests, use `location-id` `global`.
* For example,
* `projects/{project-number-or-id}/locations/global/models/general/nmt`.
- * If missing, the system decides which google base model to use.
+ * If not provided, the default Google model (NMT) will be used
*
*
* string model = 6 [(.google.api.field_behavior) = OPTIONAL];
@@ -1954,11 +1952,10 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* For global (non-regionalized) requests, use `location-id` `global`.
* For example,
* `projects/{project-number-or-id}/locations/global/models/general/nmt`.
- * If missing, the system decides which google base model to use.
+ * If not provided, the default Google model (NMT) will be used
*
*
* string model = 6 [(.google.api.field_behavior) = OPTIONAL];
@@ -1986,11 +1983,10 @@ public java.lang.String getModel() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* For global (non-regionalized) requests, use `location-id` `global`.
* For example,
* `projects/{project-number-or-id}/locations/global/models/general/nmt`.
- * If missing, the system decides which google base model to use.
+ * If not provided, the default Google model (NMT) will be used
*
*
* string model = 6 [(.google.api.field_behavior) = OPTIONAL];
@@ -2018,11 +2014,10 @@ public com.google.protobuf.ByteString getModelBytes() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* For global (non-regionalized) requests, use `location-id` `global`.
* For example,
* `projects/{project-number-or-id}/locations/global/models/general/nmt`.
- * If missing, the system decides which google base model to use.
+ * If not provided, the default Google model (NMT) will be used
*
*
* string model = 6 [(.google.api.field_behavior) = OPTIONAL];
@@ -2049,11 +2044,10 @@ public Builder setModel(java.lang.String value) {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* For global (non-regionalized) requests, use `location-id` `global`.
* For example,
* `projects/{project-number-or-id}/locations/global/models/general/nmt`.
- * If missing, the system decides which google base model to use.
+ * If not provided, the default Google model (NMT) will be used
*
*
* string model = 6 [(.google.api.field_behavior) = OPTIONAL];
@@ -2076,11 +2070,10 @@ public Builder clearModel() {
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* For global (non-regionalized) requests, use `location-id` `global`.
* For example,
* `projects/{project-number-or-id}/locations/global/models/general/nmt`.
- * If missing, the system decides which google base model to use.
+ * If not provided, the default Google model (NMT) will be used
*
*
* string model = 6 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateTextRequestOrBuilder.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateTextRequestOrBuilder.java
index 9468a66d..0d83a8e2 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateTextRequestOrBuilder.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateTextRequestOrBuilder.java
@@ -230,11 +230,10 @@ public interface TranslateTextRequestOrBuilder
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* For global (non-regionalized) requests, use `location-id` `global`.
* For example,
* `projects/{project-number-or-id}/locations/global/models/general/nmt`.
- * If missing, the system decides which google base model to use.
+ * If not provided, the default Google model (NMT) will be used
*
*
* string model = 6 [(.google.api.field_behavior) = OPTIONAL];
@@ -252,11 +251,10 @@ public interface TranslateTextRequestOrBuilder
* `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
* - General (built-in) models:
* `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- * `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
* For global (non-regionalized) requests, use `location-id` `global`.
* For example,
* `projects/{project-number-or-id}/locations/global/models/general/nmt`.
- * If missing, the system decides which google base model to use.
+ * If not provided, the default Google model (NMT) will be used
*
*
* string model = 6 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/Translation.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/Translation.java
index 9183b864..b85cf13f 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/Translation.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/Translation.java
@@ -152,6 +152,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Text translated into the target language.
+ * If an error occurs during translation, this field might be excluded from
+ * the response.
*
*
* string translated_text = 1;
@@ -175,6 +177,8 @@ public java.lang.String getTranslatedText() {
*
*
* Text translated into the target language.
+ * If an error occurs during translation, this field might be excluded from
+ * the response.
*
*
* string translated_text = 1;
@@ -741,6 +745,8 @@ public Builder mergeFrom(
*
*
* Text translated into the target language.
+ * If an error occurs during translation, this field might be excluded from
+ * the response.
*
*
* string translated_text = 1;
@@ -763,6 +769,8 @@ public java.lang.String getTranslatedText() {
*
*
* Text translated into the target language.
+ * If an error occurs during translation, this field might be excluded from
+ * the response.
*
*
* string translated_text = 1;
@@ -785,6 +793,8 @@ public com.google.protobuf.ByteString getTranslatedTextBytes() {
*
*
* Text translated into the target language.
+ * If an error occurs during translation, this field might be excluded from
+ * the response.
*
*
* string translated_text = 1;
@@ -806,6 +816,8 @@ public Builder setTranslatedText(java.lang.String value) {
*
*
* Text translated into the target language.
+ * If an error occurs during translation, this field might be excluded from
+ * the response.
*
*
* string translated_text = 1;
@@ -823,6 +835,8 @@ public Builder clearTranslatedText() {
*
*
* Text translated into the target language.
+ * If an error occurs during translation, this field might be excluded from
+ * the response.
*
*
* string translated_text = 1;
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationOrBuilder.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationOrBuilder.java
index b0cb015f..34506d3d 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationOrBuilder.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationOrBuilder.java
@@ -28,6 +28,8 @@ public interface TranslationOrBuilder
*
*
* Text translated into the target language.
+ * If an error occurs during translation, this field might be excluded from
+ * the response.
*
*
* string translated_text = 1;
@@ -40,6 +42,8 @@ public interface TranslationOrBuilder
*
*
* Text translated into the target language.
+ * If an error occurs during translation, this field might be excluded from
+ * the response.
*
*
* string translated_text = 1;
diff --git a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceProto.java b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceProto.java
index 28882674..84e89626 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceProto.java
+++ b/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceProto.java
@@ -396,121 +396,122 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\004\022\r\n\tCANCELLED\020\005\"\205\001\n\026DeleteGlossaryRespo"
+ "nse\022\014\n\004name\030\001 \001(\t\022/\n\013submit_time\030\002 \001(\0132\032"
+ ".google.protobuf.Timestamp\022,\n\010end_time\030\003"
- + " \001(\0132\032.google.protobuf.Timestamp\"\231\005\n\035Bat"
- + "chTranslateDocumentRequest\022\023\n\006parent\030\001 \001"
- + "(\tB\003\340A\002\022!\n\024source_language_code\030\002 \001(\tB\003\340"
- + "A\002\022\"\n\025target_language_codes\030\003 \003(\tB\003\340A\002\022V"
- + "\n\rinput_configs\030\004 \003(\0132:.google.cloud.tra"
- + "nslation.v3beta1.BatchDocumentInputConfi"
- + "gB\003\340A\002\022W\n\routput_config\030\005 \001(\0132;.google.c"
- + "loud.translation.v3beta1.BatchDocumentOu"
- + "tputConfigB\003\340A\002\022`\n\006models\030\006 \003(\0132K.google"
- + ".cloud.translation.v3beta1.BatchTranslat"
- + "eDocumentRequest.ModelsEntryB\003\340A\001\022h\n\nglo"
- + "ssaries\030\007 \003(\0132O.google.cloud.translation"
- + ".v3beta1.BatchTranslateDocumentRequest.G"
- + "lossariesEntryB\003\340A\001\032-\n\013ModelsEntry\022\013\n\003ke"
- + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032p\n\017Glossaries"
- + "Entry\022\013\n\003key\030\001 \001(\t\022L\n\005value\030\002 \001(\0132=.goog"
- + "le.cloud.translation.v3beta1.TranslateTe"
- + "xtGlossaryConfig:\0028\001\"g\n\030BatchDocumentInp"
- + "utConfig\022A\n\ngcs_source\030\001 \001(\0132+.google.cl"
- + "oud.translation.v3beta1.GcsSourceH\000B\010\n\006s"
- + "ource\"w\n\031BatchDocumentOutputConfig\022K\n\017gc"
- + "s_destination\030\001 \001(\01320.google.cloud.trans"
- + "lation.v3beta1.GcsDestinationH\000B\r\n\013desti"
- + "nation\"\331\002\n\036BatchTranslateDocumentRespons"
- + "e\022\023\n\013total_pages\030\001 \001(\003\022\030\n\020translated_pag"
- + "es\030\002 \001(\003\022\024\n\014failed_pages\030\003 \001(\003\022\034\n\024total_"
- + "billable_pages\030\004 \001(\003\022\030\n\020total_characters"
- + "\030\005 \001(\003\022\035\n\025translated_characters\030\006 \001(\003\022\031\n"
- + "\021failed_characters\030\007 \001(\003\022!\n\031total_billab"
- + "le_characters\030\010 \001(\003\022/\n\013submit_time\030\t \001(\013"
- + "2\032.google.protobuf.Timestamp\022,\n\010end_time"
- + "\030\n \001(\0132\032.google.protobuf.Timestamp\"\351\003\n\036B"
- + "atchTranslateDocumentMetadata\022U\n\005state\030\001"
- + " \001(\0162F.google.cloud.translation.v3beta1."
- + "BatchTranslateDocumentMetadata.State\022\023\n\013"
- + "total_pages\030\002 \001(\003\022\030\n\020translated_pages\030\003 "
- + "\001(\003\022\024\n\014failed_pages\030\004 \001(\003\022\034\n\024total_billa"
- + "ble_pages\030\005 \001(\003\022\030\n\020total_characters\030\006 \001("
- + "\003\022\035\n\025translated_characters\030\007 \001(\003\022\031\n\021fail"
- + "ed_characters\030\010 \001(\003\022!\n\031total_billable_ch"
- + "aracters\030\t \001(\003\022/\n\013submit_time\030\n \001(\0132\032.go"
- + "ogle.protobuf.Timestamp\"e\n\005State\022\025\n\021STAT"
- + "E_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDE"
- + "D\020\002\022\n\n\006FAILED\020\003\022\016\n\nCANCELLING\020\004\022\r\n\tCANCE"
- + "LLED\020\0052\362\023\n\022TranslationService\022\364\001\n\rTransl"
- + "ateText\0226.google.cloud.translation.v3bet"
- + "a1.TranslateTextRequest\0327.google.cloud.t"
- + "ranslation.v3beta1.TranslateTextResponse"
- + "\"r\202\323\344\223\002l\"6/v3beta1/{parent=projects/*/lo"
- + "cations/*}:translateText:\001*Z/\"*/v3beta1/"
- + "{parent=projects/*}:translateText:\001*\022\223\002\n"
- + "\016DetectLanguage\0227.google.cloud.translati"
- + "on.v3beta1.DetectLanguageRequest\0328.googl"
- + "e.cloud.translation.v3beta1.DetectLangua"
- + "geResponse\"\215\001\202\323\344\223\002n\"7/v3beta1/{parent=pr"
- + "ojects/*/locations/*}:detectLanguage:\001*Z"
- + "0\"+/v3beta1/{parent=projects/*}:detectLa"
- + "nguage:\001*\332A\026parent,model,mime_type\022\253\002\n\025G"
- + "etSupportedLanguages\022>.google.cloud.tran"
- + "slation.v3beta1.GetSupportedLanguagesReq"
- + "uest\0324.google.cloud.translation.v3beta1."
- + "SupportedLanguages\"\233\001\202\323\344\223\002p\022;/v3beta1/{p"
- + "arent=projects/*/locations/*}/supportedL"
- + "anguagesZ1\022//v3beta1/{parent=projects/*}"
- + "/supportedLanguages\332A\"parent,display_lan"
- + "guage_code,model\022\323\001\n\021TranslateDocument\022:"
- + ".google.cloud.translation.v3beta1.Transl"
- + "ateDocumentRequest\032;.google.cloud.transl"
- + "ation.v3beta1.TranslateDocumentResponse\""
- + "E\202\323\344\223\002?\":/v3beta1/{parent=projects/*/loc"
- + "ations/*}:translateDocument:\001*\022\353\001\n\022Batch"
- + "TranslateText\022;.google.cloud.translation"
- + ".v3beta1.BatchTranslateTextRequest\032\035.goo"
- + "gle.longrunning.Operation\"y\202\323\344\223\002@\";/v3be"
- + "ta1/{parent=projects/*/locations/*}:batc"
- + "hTranslateText:\001*\312A0\n\026BatchTranslateResp"
- + "onse\022\026BatchTranslateMetadata\022\210\002\n\026BatchTr"
- + "anslateDocument\022?.google.cloud.translati"
- + "on.v3beta1.BatchTranslateDocumentRequest"
- + "\032\035.google.longrunning.Operation\"\215\001\202\323\344\223\002D"
- + "\"?/v3beta1/{parent=projects/*/locations/"
- + "*}:batchTranslateDocument:\001*\312A@\n\036BatchTr"
- + "anslateDocumentResponse\022\036BatchTranslateD"
- + "ocumentMetadata\022\346\001\n\016CreateGlossary\0227.goo"
- + "gle.cloud.translation.v3beta1.CreateGlos"
- + "saryRequest\032\035.google.longrunning.Operati"
- + "on\"|\202\323\344\223\002?\"3/v3beta1/{parent=projects/*/"
- + "locations/*}/glossaries:\010glossary\332A\017pare"
- + "nt,glossary\312A\"\n\010Glossary\022\026CreateGlossary"
- + "Metadata\022\320\001\n\016ListGlossaries\0227.google.clo"
- + "ud.translation.v3beta1.ListGlossariesReq"
- + "uest\0328.google.cloud.translation.v3beta1."
- + "ListGlossariesResponse\"K\202\323\344\223\0025\0223/v3beta1"
- + "/{parent=projects/*/locations/*}/glossar"
- + "ies\332A\rparent,filter\022\263\001\n\013GetGlossary\0224.go"
- + "ogle.cloud.translation.v3beta1.GetGlossa"
- + "ryRequest\032*.google.cloud.translation.v3b"
- + "eta1.Glossary\"B\202\323\344\223\0025\0223/v3beta1/{name=pr"
- + "ojects/*/locations/*/glossaries/*}\332A\004nam"
- + "e\022\337\001\n\016DeleteGlossary\0227.google.cloud.tran"
- + "slation.v3beta1.DeleteGlossaryRequest\032\035."
- + "google.longrunning.Operation\"u\202\323\344\223\0025*3/v"
- + "3beta1/{name=projects/*/locations/*/glos"
- + "saries/*}\332A\004name\312A0\n\026DeleteGlossaryRespo"
- + "nse\022\026DeleteGlossaryMetadata\032~\312A\030translat"
- + "e.googleapis.com\322A`https://www.googleapi"
- + "s.com/auth/cloud-platform,https://www.go"
- + "ogleapis.com/auth/cloud-translationB\361\001\n\""
- + "com.google.cloud.translate.v3beta1B\027Tran"
- + "slationServiceProtoP\001ZGgoogle.golang.org"
- + "/genproto/googleapis/cloud/translate/v3b"
- + "eta1;translate\370\001\001\252\002\036Google.Cloud.Transla"
- + "te.V3Beta1\312\002\036Google\\Cloud\\Translate\\V3be"
- + "ta1\352\002!Google::Cloud::Translate::V3beta1b"
- + "\006proto3"
+ + " \001(\0132\032.google.protobuf.Timestamp\"\277\005\n\035Bat"
+ + "chTranslateDocumentRequest\0229\n\006parent\030\001 \001"
+ + "(\tB)\340A\002\372A#\n!locations.googleapis.com/Loc"
+ + "ation\022!\n\024source_language_code\030\002 \001(\tB\003\340A\002"
+ + "\022\"\n\025target_language_codes\030\003 \003(\tB\003\340A\002\022V\n\r"
+ + "input_configs\030\004 \003(\0132:.google.cloud.trans"
+ + "lation.v3beta1.BatchDocumentInputConfigB"
+ + "\003\340A\002\022W\n\routput_config\030\005 \001(\0132;.google.clo"
+ + "ud.translation.v3beta1.BatchDocumentOutp"
+ + "utConfigB\003\340A\002\022`\n\006models\030\006 \003(\0132K.google.c"
+ + "loud.translation.v3beta1.BatchTranslateD"
+ + "ocumentRequest.ModelsEntryB\003\340A\001\022h\n\ngloss"
+ + "aries\030\007 \003(\0132O.google.cloud.translation.v"
+ + "3beta1.BatchTranslateDocumentRequest.Glo"
+ + "ssariesEntryB\003\340A\001\032-\n\013ModelsEntry\022\013\n\003key\030"
+ + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032p\n\017GlossariesEn"
+ + "try\022\013\n\003key\030\001 \001(\t\022L\n\005value\030\002 \001(\0132=.google"
+ + ".cloud.translation.v3beta1.TranslateText"
+ + "GlossaryConfig:\0028\001\"g\n\030BatchDocumentInput"
+ + "Config\022A\n\ngcs_source\030\001 \001(\0132+.google.clou"
+ + "d.translation.v3beta1.GcsSourceH\000B\010\n\006sou"
+ + "rce\"w\n\031BatchDocumentOutputConfig\022K\n\017gcs_"
+ + "destination\030\001 \001(\01320.google.cloud.transla"
+ + "tion.v3beta1.GcsDestinationH\000B\r\n\013destina"
+ + "tion\"\331\002\n\036BatchTranslateDocumentResponse\022"
+ + "\023\n\013total_pages\030\001 \001(\003\022\030\n\020translated_pages"
+ + "\030\002 \001(\003\022\024\n\014failed_pages\030\003 \001(\003\022\034\n\024total_bi"
+ + "llable_pages\030\004 \001(\003\022\030\n\020total_characters\030\005"
+ + " \001(\003\022\035\n\025translated_characters\030\006 \001(\003\022\031\n\021f"
+ + "ailed_characters\030\007 \001(\003\022!\n\031total_billable"
+ + "_characters\030\010 \001(\003\022/\n\013submit_time\030\t \001(\0132\032"
+ + ".google.protobuf.Timestamp\022,\n\010end_time\030\n"
+ + " \001(\0132\032.google.protobuf.Timestamp\"\351\003\n\036Bat"
+ + "chTranslateDocumentMetadata\022U\n\005state\030\001 \001"
+ + "(\0162F.google.cloud.translation.v3beta1.Ba"
+ + "tchTranslateDocumentMetadata.State\022\023\n\013to"
+ + "tal_pages\030\002 \001(\003\022\030\n\020translated_pages\030\003 \001("
+ + "\003\022\024\n\014failed_pages\030\004 \001(\003\022\034\n\024total_billabl"
+ + "e_pages\030\005 \001(\003\022\030\n\020total_characters\030\006 \001(\003\022"
+ + "\035\n\025translated_characters\030\007 \001(\003\022\031\n\021failed"
+ + "_characters\030\010 \001(\003\022!\n\031total_billable_char"
+ + "acters\030\t \001(\003\022/\n\013submit_time\030\n \001(\0132\032.goog"
+ + "le.protobuf.Timestamp\"e\n\005State\022\025\n\021STATE_"
+ + "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020"
+ + "\002\022\n\n\006FAILED\020\003\022\016\n\nCANCELLING\020\004\022\r\n\tCANCELL"
+ + "ED\020\0052\362\023\n\022TranslationService\022\364\001\n\rTranslat"
+ + "eText\0226.google.cloud.translation.v3beta1"
+ + ".TranslateTextRequest\0327.google.cloud.tra"
+ + "nslation.v3beta1.TranslateTextResponse\"r"
+ + "\202\323\344\223\002l\"6/v3beta1/{parent=projects/*/loca"
+ + "tions/*}:translateText:\001*Z/\"*/v3beta1/{p"
+ + "arent=projects/*}:translateText:\001*\022\223\002\n\016D"
+ + "etectLanguage\0227.google.cloud.translation"
+ + ".v3beta1.DetectLanguageRequest\0328.google."
+ + "cloud.translation.v3beta1.DetectLanguage"
+ + "Response\"\215\001\202\323\344\223\002n\"7/v3beta1/{parent=proj"
+ + "ects/*/locations/*}:detectLanguage:\001*Z0\""
+ + "+/v3beta1/{parent=projects/*}:detectLang"
+ + "uage:\001*\332A\026parent,model,mime_type\022\253\002\n\025Get"
+ + "SupportedLanguages\022>.google.cloud.transl"
+ + "ation.v3beta1.GetSupportedLanguagesReque"
+ + "st\0324.google.cloud.translation.v3beta1.Su"
+ + "pportedLanguages\"\233\001\202\323\344\223\002p\022;/v3beta1/{par"
+ + "ent=projects/*/locations/*}/supportedLan"
+ + "guagesZ1\022//v3beta1/{parent=projects/*}/s"
+ + "upportedLanguages\332A\"parent,display_langu"
+ + "age_code,model\022\323\001\n\021TranslateDocument\022:.g"
+ + "oogle.cloud.translation.v3beta1.Translat"
+ + "eDocumentRequest\032;.google.cloud.translat"
+ + "ion.v3beta1.TranslateDocumentResponse\"E\202"
+ + "\323\344\223\002?\":/v3beta1/{parent=projects/*/locat"
+ + "ions/*}:translateDocument:\001*\022\353\001\n\022BatchTr"
+ + "anslateText\022;.google.cloud.translation.v"
+ + "3beta1.BatchTranslateTextRequest\032\035.googl"
+ + "e.longrunning.Operation\"y\202\323\344\223\002@\";/v3beta"
+ + "1/{parent=projects/*/locations/*}:batchT"
+ + "ranslateText:\001*\312A0\n\026BatchTranslateRespon"
+ + "se\022\026BatchTranslateMetadata\022\210\002\n\026BatchTran"
+ + "slateDocument\022?.google.cloud.translation"
+ + ".v3beta1.BatchTranslateDocumentRequest\032\035"
+ + ".google.longrunning.Operation\"\215\001\202\323\344\223\002D\"?"
+ + "/v3beta1/{parent=projects/*/locations/*}"
+ + ":batchTranslateDocument:\001*\312A@\n\036BatchTran"
+ + "slateDocumentResponse\022\036BatchTranslateDoc"
+ + "umentMetadata\022\346\001\n\016CreateGlossary\0227.googl"
+ + "e.cloud.translation.v3beta1.CreateGlossa"
+ + "ryRequest\032\035.google.longrunning.Operation"
+ + "\"|\202\323\344\223\002?\"3/v3beta1/{parent=projects/*/lo"
+ + "cations/*}/glossaries:\010glossary\332A\017parent"
+ + ",glossary\312A\"\n\010Glossary\022\026CreateGlossaryMe"
+ + "tadata\022\320\001\n\016ListGlossaries\0227.google.cloud"
+ + ".translation.v3beta1.ListGlossariesReque"
+ + "st\0328.google.cloud.translation.v3beta1.Li"
+ + "stGlossariesResponse\"K\202\323\344\223\0025\0223/v3beta1/{"
+ + "parent=projects/*/locations/*}/glossarie"
+ + "s\332A\rparent,filter\022\263\001\n\013GetGlossary\0224.goog"
+ + "le.cloud.translation.v3beta1.GetGlossary"
+ + "Request\032*.google.cloud.translation.v3bet"
+ + "a1.Glossary\"B\202\323\344\223\0025\0223/v3beta1/{name=proj"
+ + "ects/*/locations/*/glossaries/*}\332A\004name\022"
+ + "\337\001\n\016DeleteGlossary\0227.google.cloud.transl"
+ + "ation.v3beta1.DeleteGlossaryRequest\032\035.go"
+ + "ogle.longrunning.Operation\"u\202\323\344\223\0025*3/v3b"
+ + "eta1/{name=projects/*/locations/*/glossa"
+ + "ries/*}\332A\004name\312A0\n\026DeleteGlossaryRespons"
+ + "e\022\026DeleteGlossaryMetadata\032~\312A\030translate."
+ + "googleapis.com\322A`https://www.googleapis."
+ + "com/auth/cloud-platform,https://www.goog"
+ + "leapis.com/auth/cloud-translationB\361\001\n\"co"
+ + "m.google.cloud.translate.v3beta1B\027Transl"
+ + "ationServiceProtoP\001ZGgoogle.golang.org/g"
+ + "enproto/googleapis/cloud/translate/v3bet"
+ + "a1;translate\370\001\001\252\002\036Google.Cloud.Translate"
+ + ".V3Beta1\312\002\036Google\\Cloud\\Translate\\V3beta"
+ + "1\352\002!Google::Cloud::Translate::V3beta1b\006p"
+ + "roto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-translate-v3beta1/src/main/proto/google/cloud/translate/v3beta1/translation_service.proto b/proto-google-cloud-translate-v3beta1/src/main/proto/google/cloud/translate/v3beta1/translation_service.proto
index 6c10de0f..878af796 100644
--- a/proto-google-cloud-translate-v3beta1/src/main/proto/google/cloud/translate/v3beta1/translation_service.proto
+++ b/proto-google-cloud-translate-v3beta1/src/main/proto/google/cloud/translate/v3beta1/translation_service.proto
@@ -239,14 +239,13 @@ message TranslateTextRequest {
//
// - General (built-in) models:
// `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- // `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
//
//
// For global (non-regionalized) requests, use `location-id` `global`.
// For example,
// `projects/{project-number-or-id}/locations/global/models/general/nmt`.
//
- // If missing, the system decides which google base model to use.
+ // If not provided, the default Google model (NMT) will be used
string model = 6 [(google.api.field_behavior) = OPTIONAL];
// Optional. Glossary to be applied. The glossary must be
@@ -283,6 +282,8 @@ message TranslateTextResponse {
// A single translation response.
message Translation {
// Text translated into the target language.
+ // If an error occurs during translation, this field might be excluded from
+ // the response.
string translated_text = 1;
// Only present when `model` is present in the request.
@@ -316,7 +317,7 @@ message DetectLanguageRequest {
// For global calls, use `projects/{project-number-or-id}/locations/global` or
// `projects/{project-number-or-id}`.
//
- // Only models within the same region, which have the same location-id, can be used.
+ // Only models within the same region (has same location-id) can be used.
// Otherwise an INVALID_ARGUMENT (400) error is returned.
string parent = 5 [
(google.api.field_behavior) = REQUIRED,
@@ -410,11 +411,10 @@ message GetSupportedLanguagesRequest {
//
// - General (built-in) models:
// `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- // `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
//
//
// Returns languages supported by the specified model.
- // If missing, we get supported languages of Google general base (PBMT) model.
+ // If missing, we get supported languages of Google general NMT model.
string model = 2 [(google.api.field_behavior) = OPTIONAL];
}
@@ -523,13 +523,13 @@ message OutputConfig {
// content to output.
//
// Once a row is present in index.csv, the input/output matching never
- // changes. Callers should also expect the contents in the input_file are
+ // changes. Callers should also expect all the content in input_file are
// processed and ready to be consumed (that is, no partial output file is
// written).
//
- // Since index.csv will be updated during the process, please make
+ // 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 prevent file updating.
+ // that may avoid file updating.
// (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy)
//
// The format of translations_file (for target language code 'trg') is:
@@ -674,8 +674,7 @@ message TranslateDocumentRequest {
//
// Format: `projects/{project-number-or-id}/locations/{location-id}`.
//
- // For global calls, use `projects/{project-number-or-id}/locations/global` or
- // `projects/{project-number-or-id}`.
+ // For global calls, use `projects/{project-number-or-id}/locations/global`.
//
// Non-global location is required for requests using AutoML models or custom
// glossaries.
@@ -717,7 +716,6 @@ message TranslateDocumentRequest {
//
// - General (built-in) models:
// `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- // `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
//
//
// If not provided, the default Google model (NMT) will be used for
@@ -810,7 +808,7 @@ message BatchTranslateTextRequest {
[(google.api.field_behavior) = REQUIRED];
// Optional. The models to use for translation. Map's key is target language
- // code. Map's value is the model name. Value can be a built-in general model,
+ // code. Map's value is model name. Value can be a built-in general model,
// or an AutoML Translation model.
//
// The value format depends on model type:
@@ -820,7 +818,6 @@ message BatchTranslateTextRequest {
//
// - General (built-in) models:
// `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- // `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
//
//
// If the map is empty or a specific model is
@@ -1194,7 +1191,12 @@ message BatchTranslateDocumentRequest {
// 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.
- string parent = 1 [(google.api.field_behavior) = REQUIRED];
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
// 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
@@ -1230,7 +1232,6 @@ message BatchTranslateDocumentRequest {
//
// - General (built-in) models:
// `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- // `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
//
//
// If the map is empty or a specific model is not requested for a language
@@ -1261,10 +1262,10 @@ message BatchDocumentInputConfig {
// - `xlsx`,
// application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
//
- // The max file size supported for `.docx`, `.pptx` and `.xlsx` is 100MB.
- // The max file size supported for `.pdf` is 1GB and the max page limit is
+ // The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
+ // The max file size to support for `.pdf` is 1GB and the max page limit is
// 1000 pages.
- // The max file size supported for all input documents is 1GB.
+ // The max file size to support for all input documents is 1GB.
GcsSource gcs_source = 1;
}
}
@@ -1328,16 +1329,16 @@ message BatchDocumentOutputConfig {
// field returned by BatchTranslateDocument if at least one document is
// translated successfully.
message BatchTranslateDocumentResponse {
- // Total number of pages to translate in all documents. Documents without a
+ // Total number of pages to translate in all documents. Documents without
// clear page definition (such as XLSX) are not counted.
int64 total_pages = 1;
// Number of successfully translated pages in all documents. Documents without
- // a clear page definition (such as XLSX) are not counted.
+ // clear page definition (such as XLSX) are not counted.
int64 translated_pages = 2;
// Number of pages that failed to process in all documents. Documents without
- // a clear page definition (such as XLSX) are not counted.
+ // clear page definition (such as XLSX) are not counted.
int64 failed_pages = 3;
// Number of billable pages in documents with clear page definition (such as
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 0a6c3b91..64d68455 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,13 +29,13 @@