Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
feat: Update documentai/v1beta3 protos (#351)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/4fb10fec-2370-437b-8db7-6d9bbf7bad86/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 357825340
Source-Link: googleapis/googleapis@1f68cd0
  • Loading branch information
yoshi-automation committed Feb 19, 2021
1 parent e2f3e67 commit c752c99
Show file tree
Hide file tree
Showing 37 changed files with 13,016 additions and 202 deletions.
Expand Up @@ -326,6 +326,9 @@ public final UnaryCallable<ProcessRequest, ProcessResponse> processDocumentCalla
* .setName(ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString())
* .addAllInputConfigs(new ArrayList<BatchProcessRequest.BatchInputConfig>())
* .setOutputConfig(BatchProcessRequest.BatchOutputConfig.newBuilder().build())
* .setInputDocuments(BatchDocumentsInputConfig.newBuilder().build())
* .setDocumentOutputConfig(DocumentOutputConfig.newBuilder().build())
* .setSkipHumanReview(true)
* .build();
* BatchProcessResponse response =
* documentProcessorServiceClient.batchProcessDocumentsAsync(request).get();
Expand Down Expand Up @@ -355,6 +358,9 @@ public final UnaryCallable<ProcessRequest, ProcessResponse> processDocumentCalla
* .setName(ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString())
* .addAllInputConfigs(new ArrayList<BatchProcessRequest.BatchInputConfig>())
* .setOutputConfig(BatchProcessRequest.BatchOutputConfig.newBuilder().build())
* .setInputDocuments(BatchDocumentsInputConfig.newBuilder().build())
* .setDocumentOutputConfig(DocumentOutputConfig.newBuilder().build())
* .setSkipHumanReview(true)
* .build();
* OperationFuture<BatchProcessResponse, BatchProcessMetadata> future =
* documentProcessorServiceClient
Expand Down Expand Up @@ -385,6 +391,9 @@ public final UnaryCallable<ProcessRequest, ProcessResponse> processDocumentCalla
* .setName(ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString())
* .addAllInputConfigs(new ArrayList<BatchProcessRequest.BatchInputConfig>())
* .setOutputConfig(BatchProcessRequest.BatchOutputConfig.newBuilder().build())
* .setInputDocuments(BatchDocumentsInputConfig.newBuilder().build())
* .setDocumentOutputConfig(DocumentOutputConfig.newBuilder().build())
* .setSkipHumanReview(true)
* .build();
* ApiFuture<Operation> future =
* documentProcessorServiceClient.batchProcessDocumentsCallable().futureCall(request);
Expand Down
Expand Up @@ -86,6 +86,7 @@ public void processDocumentTest() throws Exception {
ProcessResponse.newBuilder()
.setDocument(Document.newBuilder().build())
.setHumanReviewOperation("humanReviewOperation1807415298")
.setHumanReviewStatus(HumanReviewStatus.newBuilder().build())
.build();
mockDocumentProcessorService.addResponse(expectedResponse);

Expand Down Expand Up @@ -125,6 +126,7 @@ public void processDocumentTest2() throws Exception {
ProcessResponse.newBuilder()
.setDocument(Document.newBuilder().build())
.setHumanReviewOperation("humanReviewOperation1807415298")
.setHumanReviewStatus(HumanReviewStatus.newBuilder().build())
.build();
mockDocumentProcessorService.addResponse(expectedResponse);

Expand Down
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/documentai/v1beta1/*OrBuilder</className>
<method>* get*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/documentai/v1beta1/*OrBuilder</className>
<method>boolean contains*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/documentai/v1beta1/*OrBuilder</className>
<method>boolean has*(*)</method>
</difference>
</differences>
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/documentai/v1beta2/*OrBuilder</className>
<method>* get*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/documentai/v1beta2/*OrBuilder</className>
<method>boolean contains*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/documentai/v1beta2/*OrBuilder</className>
<method>boolean has*(*)</method>
</difference>
</differences>
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/documentai/v1beta3/*OrBuilder</className>
<method>* get*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/documentai/v1beta3/*OrBuilder</className>
<method>boolean contains*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/documentai/v1beta3/*OrBuilder</className>
<method>boolean has*(*)</method>
</difference>
</differences>

0 comments on commit c752c99

Please sign in to comment.