From 5c408fef37777fb9899d9190b89896318f64d262 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 20 Sep 2022 14:30:30 +0000 Subject: [PATCH] docs: update comments for image annotator OCR models (#983) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 474070246 Source-Link: https://github.com/googleapis/googleapis/commit/346e2f2a106ed0ff8863b11a3b1ec32cd40b9cf1 Source-Link: https://github.com/googleapis/googleapis-gen/commit/50b34515fa89525989021be4b6989d49059d8d26 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTBiMzQ1MTVmYTg5NTI1OTg5MDIxYmU0YjY5ODlkNDkwNTlkOGQyNiJ9 --- .../cloud/vision/v1/EntityAnnotation.java | 8 +++---- .../vision/v1/EntityAnnotationOrBuilder.java | 2 +- .../com/google/cloud/vision/v1/Feature.java | 21 ++++++++++++------- .../cloud/vision/v1/FeatureOrBuilder.java | 6 ++++-- .../cloud/vision/v1/image_annotator.proto | 3 ++- .../cloud/vision/v1p1beta1/Feature.java | 21 ++++++++++++------- .../vision/v1p1beta1/FeatureOrBuilder.java | 6 ++++-- .../vision/v1p1beta1/image_annotator.proto | 3 ++- .../cloud/vision/v1p2beta1/Feature.java | 21 ++++++++++++------- .../vision/v1p2beta1/FeatureOrBuilder.java | 6 ++++-- .../vision/v1p2beta1/image_annotator.proto | 3 ++- .../cloud/vision/v1p3beta1/Feature.java | 21 ++++++++++++------- .../vision/v1p3beta1/FeatureOrBuilder.java | 6 ++++-- .../vision/v1p3beta1/image_annotator.proto | 3 ++- .../vision/v1p4beta1/EntityAnnotation.java | 8 +++---- .../v1p4beta1/EntityAnnotationOrBuilder.java | 2 +- .../cloud/vision/v1p4beta1/Feature.java | 21 ++++++++++++------- .../vision/v1p4beta1/FeatureOrBuilder.java | 6 ++++-- .../vision/v1p4beta1/image_annotator.proto | 3 ++- 19 files changed, 110 insertions(+), 60 deletions(-) diff --git a/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotation.java b/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotation.java index d699fcc13405..720445e62f21 100644 --- a/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotation.java +++ b/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotation.java @@ -378,7 +378,7 @@ public float getScore() { * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1/image_annotator.proto;l=505 + * google/cloud/vision/v1/image_annotator.proto;l=506 * @return The confidence. */ @java.lang.Override @@ -1559,7 +1559,7 @@ public Builder clearScore() { * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1/image_annotator.proto;l=505 + * google/cloud/vision/v1/image_annotator.proto;l=506 * @return The confidence. */ @java.lang.Override @@ -1581,7 +1581,7 @@ public float getConfidence() { * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1/image_annotator.proto;l=505 + * google/cloud/vision/v1/image_annotator.proto;l=506 * @param value The confidence to set. * @return This builder for chaining. */ @@ -1606,7 +1606,7 @@ public Builder setConfidence(float value) { * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1/image_annotator.proto;l=505 + * google/cloud/vision/v1/image_annotator.proto;l=506 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotationOrBuilder.java b/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotationOrBuilder.java index 979005b274dd..4031257d8888 100644 --- a/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotationOrBuilder.java +++ b/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotationOrBuilder.java @@ -131,7 +131,7 @@ public interface EntityAnnotationOrBuilder * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1/image_annotator.proto;l=505 + * google/cloud/vision/v1/image_annotator.proto;l=506 * @return The confidence. */ @java.lang.Deprecated diff --git a/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Feature.java b/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Feature.java index 18d6f3fc7ed1..8a4058fa9b3b 100644 --- a/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Feature.java +++ b/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Feature.java @@ -578,7 +578,8 @@ public int getMaxResults() { *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -603,7 +604,8 @@ public java.lang.String getModel() { *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -1121,7 +1123,8 @@ public Builder clearMaxResults() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1145,7 +1148,8 @@ public java.lang.String getModel() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1169,7 +1173,8 @@ public com.google.protobuf.ByteString getModelBytes() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1192,7 +1197,8 @@ public Builder setModel(java.lang.String value) { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1211,7 +1217,8 @@ public Builder clearModel() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; diff --git a/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/FeatureOrBuilder.java b/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/FeatureOrBuilder.java index 3bea82449184..ee1b7f90f06a 100644 --- a/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/FeatureOrBuilder.java +++ b/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/FeatureOrBuilder.java @@ -68,7 +68,8 @@ public interface FeatureOrBuilder *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -82,7 +83,8 @@ public interface FeatureOrBuilder *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; diff --git a/java-vision/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto b/java-vision/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto index 10464b0e0d83..6fed6112bec7 100644 --- a/java-vision/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto +++ b/java-vision/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto @@ -223,7 +223,8 @@ message Feature { // Model to use for the feature. // Supported values: "builtin/stable" (the default if unset) and - // "builtin/latest". + // "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also + // support "builtin/weekly" for the bleeding edge release updated weekly. string model = 3; } diff --git a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Feature.java b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Feature.java index 85d7d9ec4c82..94c38c3f73f8 100644 --- a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Feature.java +++ b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Feature.java @@ -526,7 +526,8 @@ public int getMaxResults() { *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -551,7 +552,8 @@ public java.lang.String getModel() { *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -1070,7 +1072,8 @@ public Builder clearMaxResults() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1094,7 +1097,8 @@ public java.lang.String getModel() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1118,7 +1122,8 @@ public com.google.protobuf.ByteString getModelBytes() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1141,7 +1146,8 @@ public Builder setModel(java.lang.String value) { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1160,7 +1166,8 @@ public Builder clearModel() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; diff --git a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/FeatureOrBuilder.java b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/FeatureOrBuilder.java index 27b501642b70..f708c53ea227 100644 --- a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/FeatureOrBuilder.java +++ b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/FeatureOrBuilder.java @@ -67,7 +67,8 @@ public interface FeatureOrBuilder *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -81,7 +82,8 @@ public interface FeatureOrBuilder *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; diff --git a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto index 729a0fa08e6b..f66ad504fca9 100644 --- a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto +++ b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto @@ -103,7 +103,8 @@ message Feature { // Model to use for the feature. // Supported values: "builtin/stable" (the default if unset) and - // "builtin/latest". + // "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also + // support "builtin/weekly" for the bleeding edge release updated weekly. string model = 3; } diff --git a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Feature.java b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Feature.java index 9b70f5a74983..c5b17829be55 100644 --- a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Feature.java +++ b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Feature.java @@ -534,7 +534,8 @@ public int getMaxResults() { *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -559,7 +560,8 @@ public java.lang.String getModel() { *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -1080,7 +1082,8 @@ public Builder clearMaxResults() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1104,7 +1107,8 @@ public java.lang.String getModel() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1128,7 +1132,8 @@ public com.google.protobuf.ByteString getModelBytes() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1151,7 +1156,8 @@ public Builder setModel(java.lang.String value) { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1170,7 +1176,8 @@ public Builder clearModel() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; diff --git a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/FeatureOrBuilder.java b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/FeatureOrBuilder.java index 0eed6b0ec5ac..71748e0b915b 100644 --- a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/FeatureOrBuilder.java +++ b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/FeatureOrBuilder.java @@ -68,7 +68,8 @@ public interface FeatureOrBuilder *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -82,7 +83,8 @@ public interface FeatureOrBuilder *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; diff --git a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/image_annotator.proto b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/image_annotator.proto index 5fc3163c75d6..264462d48438 100644 --- a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/image_annotator.proto +++ b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/image_annotator.proto @@ -126,7 +126,8 @@ message Feature { // Model to use for the feature. // Supported values: "builtin/stable" (the default if unset) and - // "builtin/latest". + // "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also + // support "builtin/weekly" for the bleeding edge release updated weekly. string model = 3; } diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/Feature.java b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/Feature.java index bdd7408b0beb..919d397b89f7 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/Feature.java +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/Feature.java @@ -578,7 +578,8 @@ public int getMaxResults() { *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -603,7 +604,8 @@ public java.lang.String getModel() { *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -1124,7 +1126,8 @@ public Builder clearMaxResults() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1148,7 +1151,8 @@ public java.lang.String getModel() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1172,7 +1176,8 @@ public com.google.protobuf.ByteString getModelBytes() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1195,7 +1200,8 @@ public Builder setModel(java.lang.String value) { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1214,7 +1220,8 @@ public Builder clearModel() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/FeatureOrBuilder.java b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/FeatureOrBuilder.java index 47fdca977086..42976996936a 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/FeatureOrBuilder.java +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/FeatureOrBuilder.java @@ -68,7 +68,8 @@ public interface FeatureOrBuilder *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -82,7 +83,8 @@ public interface FeatureOrBuilder *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/image_annotator.proto b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/image_annotator.proto index ca0b4e86d5b9..ebab14a6b115 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/image_annotator.proto +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/image_annotator.proto @@ -134,7 +134,8 @@ message Feature { // Model to use for the feature. // Supported values: "builtin/stable" (the default if unset) and - // "builtin/latest". + // "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also + // support "builtin/weekly" for the bleeding edge release updated weekly. string model = 3; } diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotation.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotation.java index d5f0a74e3dc4..2da866534134 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotation.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotation.java @@ -379,7 +379,7 @@ public float getScore() { * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1p4beta1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1p4beta1/image_annotator.proto;l=477 + * google/cloud/vision/v1p4beta1/image_annotator.proto;l=478 * @return The confidence. */ @java.lang.Override @@ -1562,7 +1562,7 @@ public Builder clearScore() { * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1p4beta1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1p4beta1/image_annotator.proto;l=477 + * google/cloud/vision/v1p4beta1/image_annotator.proto;l=478 * @return The confidence. */ @java.lang.Override @@ -1584,7 +1584,7 @@ public float getConfidence() { * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1p4beta1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1p4beta1/image_annotator.proto;l=477 + * google/cloud/vision/v1p4beta1/image_annotator.proto;l=478 * @param value The confidence to set. * @return This builder for chaining. */ @@ -1609,7 +1609,7 @@ public Builder setConfidence(float value) { * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1p4beta1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1p4beta1/image_annotator.proto;l=477 + * google/cloud/vision/v1p4beta1/image_annotator.proto;l=478 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotationOrBuilder.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotationOrBuilder.java index 3508678dbb03..1344ad02b81c 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotationOrBuilder.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/EntityAnnotationOrBuilder.java @@ -131,7 +131,7 @@ public interface EntityAnnotationOrBuilder * float confidence = 5 [deprecated = true]; * * @deprecated google.cloud.vision.v1p4beta1.EntityAnnotation.confidence is deprecated. See - * google/cloud/vision/v1p4beta1/image_annotator.proto;l=477 + * google/cloud/vision/v1p4beta1/image_annotator.proto;l=478 * @return The confidence. */ @java.lang.Deprecated diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/Feature.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/Feature.java index da9ca19fc76b..7856600c65cc 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/Feature.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/Feature.java @@ -578,7 +578,8 @@ public int getMaxResults() { *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -603,7 +604,8 @@ public java.lang.String getModel() { *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -1124,7 +1126,8 @@ public Builder clearMaxResults() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1148,7 +1151,8 @@ public java.lang.String getModel() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1172,7 +1176,8 @@ public com.google.protobuf.ByteString getModelBytes() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1195,7 +1200,8 @@ public Builder setModel(java.lang.String value) { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; @@ -1214,7 +1220,8 @@ public Builder clearModel() { *
      * Model to use for the feature.
      * Supported values: "builtin/stable" (the default if unset) and
-     * "builtin/latest".
+     * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+     * support "builtin/weekly" for the bleeding edge release updated weekly.
      * 
* * string model = 3; diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/FeatureOrBuilder.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/FeatureOrBuilder.java index 34a23fcc17f4..c70ce4c52dee 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/FeatureOrBuilder.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/FeatureOrBuilder.java @@ -68,7 +68,8 @@ public interface FeatureOrBuilder *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; @@ -82,7 +83,8 @@ public interface FeatureOrBuilder *
    * Model to use for the feature.
    * Supported values: "builtin/stable" (the default if unset) and
-   * "builtin/latest".
+   * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
+   * support "builtin/weekly" for the bleeding edge release updated weekly.
    * 
* * string model = 3; diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/image_annotator.proto b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/image_annotator.proto index 0fed9eea7a20..cc7836974588 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/image_annotator.proto +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/image_annotator.proto @@ -175,7 +175,8 @@ message Feature { // Model to use for the feature. // Supported values: "builtin/stable" (the default if unset) and - // "builtin/latest". + // "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also + // support "builtin/weekly" for the bleeding edge release updated weekly. string model = 3; }