Skip to content

Commit ff54c9f

Browse files
docs: [documentai] minor clarification on fields related to page range (#9955)
* docs: minor clarification on fields related to page range PiperOrigin-RevId: 574226437 Source-Link: googleapis/googleapis@1953fb1 Source-Link: https://github.com/googleapis/googleapis-gen/commit/422b8a4d69eda68a495f1853887a23690bfe68d0 Copy-Tag: eyJwIjoiamF2YS1kb2N1bWVudC1haS8uT3dsQm90LnlhbWwiLCJoIjoiNDIyYjhhNGQ2OWVkYTY4YTQ5NWYxODUzODg3YTIzNjkwYmZlNjhkMCJ9 docs: minor comment update PiperOrigin-RevId: 572309677 Source-Link: googleapis/googleapis@9521f7a Source-Link: https://github.com/googleapis/googleapis-gen/commit/4f8d940036fc3b463475a340f09214847c5d1739 Copy-Tag: eyJwIjoiamF2YS1kb2N1bWVudC1haS8uT3dsQm90LnlhbWwiLCJoIjoiNGY4ZDk0MDAzNmZjM2I0NjM0NzVhMzQwZjA5MjE0ODQ3YzVkMTczOSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b259b3c commit ff54c9f

File tree

4 files changed

+22
-23
lines changed

4 files changed

+22
-23
lines changed

java-document-ai/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.23.0</version>
23+
<version>26.25.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
195195
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
196196
[stability-image]: https://img.shields.io/badge/stability-stable-green
197197
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-document-ai.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.28.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.32.0
199199
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
200200
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
201201
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessOptions.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -907,8 +907,8 @@ public boolean hasIndividualPageSelector() {
907907
*
908908
*
909909
* <pre>
910-
* Only process certain pages from the start. Process all if the document
911-
* has fewer pages.
910+
* Only process certain pages from the start, process all if the document
911+
* has less pages.
912912
* </pre>
913913
*
914914
* <code>int32 from_start = 6;</code>
@@ -923,8 +923,8 @@ public boolean hasFromStart() {
923923
*
924924
*
925925
* <pre>
926-
* Only process certain pages from the start. Process all if the document
927-
* has fewer pages.
926+
* Only process certain pages from the start, process all if the document
927+
* has less pages.
928928
* </pre>
929929
*
930930
* <code>int32 from_start = 6;</code>
@@ -1743,8 +1743,8 @@ public Builder clearIndividualPageSelector() {
17431743
*
17441744
*
17451745
* <pre>
1746-
* Only process certain pages from the start. Process all if the document
1747-
* has fewer pages.
1746+
* Only process certain pages from the start, process all if the document
1747+
* has less pages.
17481748
* </pre>
17491749
*
17501750
* <code>int32 from_start = 6;</code>
@@ -1758,8 +1758,8 @@ public boolean hasFromStart() {
17581758
*
17591759
*
17601760
* <pre>
1761-
* Only process certain pages from the start. Process all if the document
1762-
* has fewer pages.
1761+
* Only process certain pages from the start, process all if the document
1762+
* has less pages.
17631763
* </pre>
17641764
*
17651765
* <code>int32 from_start = 6;</code>
@@ -1776,8 +1776,8 @@ public int getFromStart() {
17761776
*
17771777
*
17781778
* <pre>
1779-
* Only process certain pages from the start. Process all if the document
1780-
* has fewer pages.
1779+
* Only process certain pages from the start, process all if the document
1780+
* has less pages.
17811781
* </pre>
17821782
*
17831783
* <code>int32 from_start = 6;</code>
@@ -1796,8 +1796,8 @@ public Builder setFromStart(int value) {
17961796
*
17971797
*
17981798
* <pre>
1799-
* Only process certain pages from the start. Process all if the document
1800-
* has fewer pages.
1799+
* Only process certain pages from the start, process all if the document
1800+
* has less pages.
18011801
* </pre>
18021802
*
18031803
* <code>int32 from_start = 6;</code>

java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessOptionsOrBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public interface ProcessOptionsOrBuilder
6969
*
7070
*
7171
* <pre>
72-
* Only process certain pages from the start. Process all if the document
73-
* has fewer pages.
72+
* Only process certain pages from the start, process all if the document
73+
* has less pages.
7474
* </pre>
7575
*
7676
* <code>int32 from_start = 6;</code>
@@ -82,8 +82,8 @@ public interface ProcessOptionsOrBuilder
8282
*
8383
*
8484
* <pre>
85-
* Only process certain pages from the start. Process all if the document
86-
* has fewer pages.
85+
* Only process certain pages from the start, process all if the document
86+
* has less pages.
8787
* </pre>
8888
*
8989
* <code>int32 from_start = 6;</code>

java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -337,15 +337,14 @@ message ProcessOptions {
337337
// A subset of pages to process. If not specified, all pages will be
338338
// processed. NOTICE: If any of the page range is set, we will extract and
339339
// process only the given pages from the document. In the output document,
340-
// [Document.Page.page_number][google.cloud.documentai.v1.Document.Page.page_number]
341-
// is referring to the page number in the original document. This
342-
// configuration only applies to sync requests.
340+
// the page_number is referring to the page number in the original document.
341+
// This config only applies to sync requests.
343342
oneof page_range {
344343
// Which pages to process (1-indexed).
345344
IndividualPageSelector individual_page_selector = 5;
346345

347-
// Only process certain pages from the start. Process all if the document
348-
// has fewer pages.
346+
// Only process certain pages from the start, process all if the document
347+
// has less pages.
349348
int32 from_start = 6;
350349

351350
// Only process certain pages from the end, same as above.

0 commit comments

Comments
 (0)