Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 8a4905a

Browse files
docs: update comments for image annotator OCR models (#983)
- [ ] 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
1 parent 5165082 commit 8a4905a

File tree

19 files changed

+110
-60
lines changed

19 files changed

+110
-60
lines changed

proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotation.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ public float getScore() {
378378
* <code>float confidence = 5 [deprecated = true];</code>
379379
*
380380
* @deprecated google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See
381-
* google/cloud/vision/v1/image_annotator.proto;l=505
381+
* google/cloud/vision/v1/image_annotator.proto;l=506
382382
* @return The confidence.
383383
*/
384384
@java.lang.Override
@@ -1559,7 +1559,7 @@ public Builder clearScore() {
15591559
* <code>float confidence = 5 [deprecated = true];</code>
15601560
*
15611561
* @deprecated google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See
1562-
* google/cloud/vision/v1/image_annotator.proto;l=505
1562+
* google/cloud/vision/v1/image_annotator.proto;l=506
15631563
* @return The confidence.
15641564
*/
15651565
@java.lang.Override
@@ -1581,7 +1581,7 @@ public float getConfidence() {
15811581
* <code>float confidence = 5 [deprecated = true];</code>
15821582
*
15831583
* @deprecated google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See
1584-
* google/cloud/vision/v1/image_annotator.proto;l=505
1584+
* google/cloud/vision/v1/image_annotator.proto;l=506
15851585
* @param value The confidence to set.
15861586
* @return This builder for chaining.
15871587
*/
@@ -1606,7 +1606,7 @@ public Builder setConfidence(float value) {
16061606
* <code>float confidence = 5 [deprecated = true];</code>
16071607
*
16081608
* @deprecated google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See
1609-
* google/cloud/vision/v1/image_annotator.proto;l=505
1609+
* google/cloud/vision/v1/image_annotator.proto;l=506
16101610
* @return This builder for chaining.
16111611
*/
16121612
@java.lang.Deprecated

proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotationOrBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public interface EntityAnnotationOrBuilder
131131
* <code>float confidence = 5 [deprecated = true];</code>
132132
*
133133
* @deprecated google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See
134-
* google/cloud/vision/v1/image_annotator.proto;l=505
134+
* google/cloud/vision/v1/image_annotator.proto;l=506
135135
* @return The confidence.
136136
*/
137137
@java.lang.Deprecated

proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Feature.java

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,8 @@ public int getMaxResults() {
578578
* <pre>
579579
* Model to use for the feature.
580580
* Supported values: "builtin/stable" (the default if unset) and
581-
* "builtin/latest".
581+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
582+
* support "builtin/weekly" for the bleeding edge release updated weekly.
582583
* </pre>
583584
*
584585
* <code>string model = 3;</code>
@@ -603,7 +604,8 @@ public java.lang.String getModel() {
603604
* <pre>
604605
* Model to use for the feature.
605606
* Supported values: "builtin/stable" (the default if unset) and
606-
* "builtin/latest".
607+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
608+
* support "builtin/weekly" for the bleeding edge release updated weekly.
607609
* </pre>
608610
*
609611
* <code>string model = 3;</code>
@@ -1121,7 +1123,8 @@ public Builder clearMaxResults() {
11211123
* <pre>
11221124
* Model to use for the feature.
11231125
* Supported values: "builtin/stable" (the default if unset) and
1124-
* "builtin/latest".
1126+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1127+
* support "builtin/weekly" for the bleeding edge release updated weekly.
11251128
* </pre>
11261129
*
11271130
* <code>string model = 3;</code>
@@ -1145,7 +1148,8 @@ public java.lang.String getModel() {
11451148
* <pre>
11461149
* Model to use for the feature.
11471150
* Supported values: "builtin/stable" (the default if unset) and
1148-
* "builtin/latest".
1151+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1152+
* support "builtin/weekly" for the bleeding edge release updated weekly.
11491153
* </pre>
11501154
*
11511155
* <code>string model = 3;</code>
@@ -1169,7 +1173,8 @@ public com.google.protobuf.ByteString getModelBytes() {
11691173
* <pre>
11701174
* Model to use for the feature.
11711175
* Supported values: "builtin/stable" (the default if unset) and
1172-
* "builtin/latest".
1176+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1177+
* support "builtin/weekly" for the bleeding edge release updated weekly.
11731178
* </pre>
11741179
*
11751180
* <code>string model = 3;</code>
@@ -1192,7 +1197,8 @@ public Builder setModel(java.lang.String value) {
11921197
* <pre>
11931198
* Model to use for the feature.
11941199
* Supported values: "builtin/stable" (the default if unset) and
1195-
* "builtin/latest".
1200+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1201+
* support "builtin/weekly" for the bleeding edge release updated weekly.
11961202
* </pre>
11971203
*
11981204
* <code>string model = 3;</code>
@@ -1211,7 +1217,8 @@ public Builder clearModel() {
12111217
* <pre>
12121218
* Model to use for the feature.
12131219
* Supported values: "builtin/stable" (the default if unset) and
1214-
* "builtin/latest".
1220+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1221+
* support "builtin/weekly" for the bleeding edge release updated weekly.
12151222
* </pre>
12161223
*
12171224
* <code>string model = 3;</code>

proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/FeatureOrBuilder.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ public interface FeatureOrBuilder
6868
* <pre>
6969
* Model to use for the feature.
7070
* Supported values: "builtin/stable" (the default if unset) and
71-
* "builtin/latest".
71+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
72+
* support "builtin/weekly" for the bleeding edge release updated weekly.
7273
* </pre>
7374
*
7475
* <code>string model = 3;</code>
@@ -82,7 +83,8 @@ public interface FeatureOrBuilder
8283
* <pre>
8384
* Model to use for the feature.
8485
* Supported values: "builtin/stable" (the default if unset) and
85-
* "builtin/latest".
86+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
87+
* support "builtin/weekly" for the bleeding edge release updated weekly.
8688
* </pre>
8789
*
8890
* <code>string model = 3;</code>

proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ message Feature {
223223

224224
// Model to use for the feature.
225225
// Supported values: "builtin/stable" (the default if unset) and
226-
// "builtin/latest".
226+
// "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
227+
// support "builtin/weekly" for the bleeding edge release updated weekly.
227228
string model = 3;
228229
}
229230

proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Feature.java

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,8 @@ public int getMaxResults() {
526526
* <pre>
527527
* Model to use for the feature.
528528
* Supported values: "builtin/stable" (the default if unset) and
529-
* "builtin/latest".
529+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
530+
* support "builtin/weekly" for the bleeding edge release updated weekly.
530531
* </pre>
531532
*
532533
* <code>string model = 3;</code>
@@ -551,7 +552,8 @@ public java.lang.String getModel() {
551552
* <pre>
552553
* Model to use for the feature.
553554
* Supported values: "builtin/stable" (the default if unset) and
554-
* "builtin/latest".
555+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
556+
* support "builtin/weekly" for the bleeding edge release updated weekly.
555557
* </pre>
556558
*
557559
* <code>string model = 3;</code>
@@ -1070,7 +1072,8 @@ public Builder clearMaxResults() {
10701072
* <pre>
10711073
* Model to use for the feature.
10721074
* Supported values: "builtin/stable" (the default if unset) and
1073-
* "builtin/latest".
1075+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1076+
* support "builtin/weekly" for the bleeding edge release updated weekly.
10741077
* </pre>
10751078
*
10761079
* <code>string model = 3;</code>
@@ -1094,7 +1097,8 @@ public java.lang.String getModel() {
10941097
* <pre>
10951098
* Model to use for the feature.
10961099
* Supported values: "builtin/stable" (the default if unset) and
1097-
* "builtin/latest".
1100+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1101+
* support "builtin/weekly" for the bleeding edge release updated weekly.
10981102
* </pre>
10991103
*
11001104
* <code>string model = 3;</code>
@@ -1118,7 +1122,8 @@ public com.google.protobuf.ByteString getModelBytes() {
11181122
* <pre>
11191123
* Model to use for the feature.
11201124
* Supported values: "builtin/stable" (the default if unset) and
1121-
* "builtin/latest".
1125+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1126+
* support "builtin/weekly" for the bleeding edge release updated weekly.
11221127
* </pre>
11231128
*
11241129
* <code>string model = 3;</code>
@@ -1141,7 +1146,8 @@ public Builder setModel(java.lang.String value) {
11411146
* <pre>
11421147
* Model to use for the feature.
11431148
* Supported values: "builtin/stable" (the default if unset) and
1144-
* "builtin/latest".
1149+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1150+
* support "builtin/weekly" for the bleeding edge release updated weekly.
11451151
* </pre>
11461152
*
11471153
* <code>string model = 3;</code>
@@ -1160,7 +1166,8 @@ public Builder clearModel() {
11601166
* <pre>
11611167
* Model to use for the feature.
11621168
* Supported values: "builtin/stable" (the default if unset) and
1163-
* "builtin/latest".
1169+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1170+
* support "builtin/weekly" for the bleeding edge release updated weekly.
11641171
* </pre>
11651172
*
11661173
* <code>string model = 3;</code>

proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/FeatureOrBuilder.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ public interface FeatureOrBuilder
6767
* <pre>
6868
* Model to use for the feature.
6969
* Supported values: "builtin/stable" (the default if unset) and
70-
* "builtin/latest".
70+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
71+
* support "builtin/weekly" for the bleeding edge release updated weekly.
7172
* </pre>
7273
*
7374
* <code>string model = 3;</code>
@@ -81,7 +82,8 @@ public interface FeatureOrBuilder
8182
* <pre>
8283
* Model to use for the feature.
8384
* Supported values: "builtin/stable" (the default if unset) and
84-
* "builtin/latest".
85+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
86+
* support "builtin/weekly" for the bleeding edge release updated weekly.
8587
* </pre>
8688
*
8789
* <code>string model = 3;</code>

proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ message Feature {
103103

104104
// Model to use for the feature.
105105
// Supported values: "builtin/stable" (the default if unset) and
106-
// "builtin/latest".
106+
// "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
107+
// support "builtin/weekly" for the bleeding edge release updated weekly.
107108
string model = 3;
108109
}
109110

proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Feature.java

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,8 @@ public int getMaxResults() {
534534
* <pre>
535535
* Model to use for the feature.
536536
* Supported values: "builtin/stable" (the default if unset) and
537-
* "builtin/latest".
537+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
538+
* support "builtin/weekly" for the bleeding edge release updated weekly.
538539
* </pre>
539540
*
540541
* <code>string model = 3;</code>
@@ -559,7 +560,8 @@ public java.lang.String getModel() {
559560
* <pre>
560561
* Model to use for the feature.
561562
* Supported values: "builtin/stable" (the default if unset) and
562-
* "builtin/latest".
563+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
564+
* support "builtin/weekly" for the bleeding edge release updated weekly.
563565
* </pre>
564566
*
565567
* <code>string model = 3;</code>
@@ -1080,7 +1082,8 @@ public Builder clearMaxResults() {
10801082
* <pre>
10811083
* Model to use for the feature.
10821084
* Supported values: "builtin/stable" (the default if unset) and
1083-
* "builtin/latest".
1085+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1086+
* support "builtin/weekly" for the bleeding edge release updated weekly.
10841087
* </pre>
10851088
*
10861089
* <code>string model = 3;</code>
@@ -1104,7 +1107,8 @@ public java.lang.String getModel() {
11041107
* <pre>
11051108
* Model to use for the feature.
11061109
* Supported values: "builtin/stable" (the default if unset) and
1107-
* "builtin/latest".
1110+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1111+
* support "builtin/weekly" for the bleeding edge release updated weekly.
11081112
* </pre>
11091113
*
11101114
* <code>string model = 3;</code>
@@ -1128,7 +1132,8 @@ public com.google.protobuf.ByteString getModelBytes() {
11281132
* <pre>
11291133
* Model to use for the feature.
11301134
* Supported values: "builtin/stable" (the default if unset) and
1131-
* "builtin/latest".
1135+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1136+
* support "builtin/weekly" for the bleeding edge release updated weekly.
11321137
* </pre>
11331138
*
11341139
* <code>string model = 3;</code>
@@ -1151,7 +1156,8 @@ public Builder setModel(java.lang.String value) {
11511156
* <pre>
11521157
* Model to use for the feature.
11531158
* Supported values: "builtin/stable" (the default if unset) and
1154-
* "builtin/latest".
1159+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1160+
* support "builtin/weekly" for the bleeding edge release updated weekly.
11551161
* </pre>
11561162
*
11571163
* <code>string model = 3;</code>
@@ -1170,7 +1176,8 @@ public Builder clearModel() {
11701176
* <pre>
11711177
* Model to use for the feature.
11721178
* Supported values: "builtin/stable" (the default if unset) and
1173-
* "builtin/latest".
1179+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
1180+
* support "builtin/weekly" for the bleeding edge release updated weekly.
11741181
* </pre>
11751182
*
11761183
* <code>string model = 3;</code>

proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/FeatureOrBuilder.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ public interface FeatureOrBuilder
6868
* <pre>
6969
* Model to use for the feature.
7070
* Supported values: "builtin/stable" (the default if unset) and
71-
* "builtin/latest".
71+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
72+
* support "builtin/weekly" for the bleeding edge release updated weekly.
7273
* </pre>
7374
*
7475
* <code>string model = 3;</code>
@@ -82,7 +83,8 @@ public interface FeatureOrBuilder
8283
* <pre>
8384
* Model to use for the feature.
8485
* Supported values: "builtin/stable" (the default if unset) and
85-
* "builtin/latest".
86+
* "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
87+
* support "builtin/weekly" for the bleeding edge release updated weekly.
8688
* </pre>
8789
*
8890
* <code>string model = 3;</code>

0 commit comments

Comments
 (0)