Skip to content

Commit

Permalink
docs: update comments for image annotator OCR models (#983)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 474070246

Source-Link: googleapis/googleapis@346e2f2

Source-Link: https://github.com/googleapis/googleapis-gen/commit/50b34515fa89525989021be4b6989d49059d8d26
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTBiMzQ1MTVmYTg5NTI1OTg5MDIxYmU0YjY5ODlkNDkwNTlkOGQyNiJ9
  • Loading branch information
gcf-owl-bot[bot] authored Sep 20, 2022
1 parent 03e7d0c commit 5c408fe
Show file tree
Hide file tree
Showing 19 changed files with 110 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public float getScore() {
* <code>float confidence = 5 [deprecated = true];</code>
*
* @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
Expand Down Expand Up @@ -1559,7 +1559,7 @@ public Builder clearScore() {
* <code>float confidence = 5 [deprecated = true];</code>
*
* @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
Expand All @@ -1581,7 +1581,7 @@ public float getConfidence() {
* <code>float confidence = 5 [deprecated = true];</code>
*
* @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.
*/
Expand All @@ -1606,7 +1606,7 @@ public Builder setConfidence(float value) {
* <code>float confidence = 5 [deprecated = true];</code>
*
* @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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public interface EntityAnnotationOrBuilder
* <code>float confidence = 5 [deprecated = true];</code>
*
* @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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,8 @@ public int getMaxResults() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -603,7 +604,8 @@ public java.lang.String getModel() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand Down Expand Up @@ -1121,7 +1123,8 @@ public Builder clearMaxResults() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -1145,7 +1148,8 @@ public java.lang.String getModel() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -1169,7 +1173,8 @@ public com.google.protobuf.ByteString getModelBytes() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -1192,7 +1197,8 @@ public Builder setModel(java.lang.String value) {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -1211,7 +1217,8 @@ public Builder clearModel() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ public interface FeatureOrBuilder
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -82,7 +83,8 @@ public interface FeatureOrBuilder
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,8 @@ public int getMaxResults() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -551,7 +552,8 @@ public java.lang.String getModel() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand Down Expand Up @@ -1070,7 +1072,8 @@ public Builder clearMaxResults() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -1094,7 +1097,8 @@ public java.lang.String getModel() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -1118,7 +1122,8 @@ public com.google.protobuf.ByteString getModelBytes() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -1141,7 +1146,8 @@ public Builder setModel(java.lang.String value) {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -1160,7 +1166,8 @@ public Builder clearModel() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ public interface FeatureOrBuilder
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -81,7 +82,8 @@ public interface FeatureOrBuilder
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,8 @@ public int getMaxResults() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -559,7 +560,8 @@ public java.lang.String getModel() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand Down Expand Up @@ -1080,7 +1082,8 @@ public Builder clearMaxResults() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -1104,7 +1107,8 @@ public java.lang.String getModel() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -1128,7 +1132,8 @@ public com.google.protobuf.ByteString getModelBytes() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -1151,7 +1156,8 @@ public Builder setModel(java.lang.String value) {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -1170,7 +1176,8 @@ public Builder clearModel() {
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ public interface FeatureOrBuilder
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand All @@ -82,7 +83,8 @@ public interface FeatureOrBuilder
* <pre>
* 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.
* </pre>
*
* <code>string model = 3;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Loading

0 comments on commit 5c408fe

Please sign in to comment.