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

Commit

Permalink
chore: update gax-java dependency to 1.62 (#381)
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/3f6ca683-ffe3-4731-b15d-91fc1937c0e0/targets

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

PiperOrigin-RevId: 361377784
Source-Link: googleapis/googleapis@0e91521
  • Loading branch information
yoshi-automation committed Mar 8, 2021
1 parent 495b177 commit 4c5a347
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 52 deletions.
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.documentai.v1beta1;

import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;

/**
*
Expand Down Expand Up @@ -157,15 +152,16 @@ public abstract static class DocumentUnderstandingServiceImplBase
public void batchProcessDocuments(
com.google.cloud.documentai.v1beta1.BatchProcessDocumentsRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getBatchProcessDocumentsMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getBatchProcessDocumentsMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getBatchProcessDocumentsMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.documentai.v1beta1.BatchProcessDocumentsRequest,
com.google.longrunning.Operation>(this, METHODID_BATCH_PROCESS_DOCUMENTS)))
Expand Down Expand Up @@ -205,7 +201,7 @@ protected DocumentUnderstandingServiceStub build(
public void batchProcessDocuments(
com.google.cloud.documentai.v1beta1.BatchProcessDocumentsRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBatchProcessDocumentsMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -243,7 +239,7 @@ protected DocumentUnderstandingServiceBlockingStub build(
*/
public com.google.longrunning.Operation batchProcessDocuments(
com.google.cloud.documentai.v1beta1.BatchProcessDocumentsRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBatchProcessDocumentsMethod(), getCallOptions(), request);
}
}
Expand Down Expand Up @@ -280,7 +276,7 @@ protected DocumentUnderstandingServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
batchProcessDocuments(
com.google.cloud.documentai.v1beta1.BatchProcessDocumentsRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBatchProcessDocumentsMethod(), getCallOptions()), request);
}
}
Expand Down
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.documentai.v1beta2;

import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;

/**
*
Expand Down Expand Up @@ -207,7 +202,8 @@ public abstract static class DocumentUnderstandingServiceImplBase
public void batchProcessDocuments(
com.google.cloud.documentai.v1beta2.BatchProcessDocumentsRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getBatchProcessDocumentsMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getBatchProcessDocumentsMethod(), responseObserver);
}

/**
Expand All @@ -221,21 +217,22 @@ public void processDocument(
com.google.cloud.documentai.v1beta2.ProcessDocumentRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.documentai.v1beta2.Document>
responseObserver) {
asyncUnimplementedUnaryCall(getProcessDocumentMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getProcessDocumentMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getBatchProcessDocumentsMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.documentai.v1beta2.BatchProcessDocumentsRequest,
com.google.longrunning.Operation>(this, METHODID_BATCH_PROCESS_DOCUMENTS)))
.addMethod(
getProcessDocumentMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.documentai.v1beta2.ProcessDocumentRequest,
com.google.cloud.documentai.v1beta2.Document>(
Expand Down Expand Up @@ -277,7 +274,7 @@ protected DocumentUnderstandingServiceStub build(
public void batchProcessDocuments(
com.google.cloud.documentai.v1beta2.BatchProcessDocumentsRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBatchProcessDocumentsMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -294,7 +291,7 @@ public void processDocument(
com.google.cloud.documentai.v1beta2.ProcessDocumentRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.documentai.v1beta2.Document>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getProcessDocumentMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -333,7 +330,7 @@ protected DocumentUnderstandingServiceBlockingStub build(
*/
public com.google.longrunning.Operation batchProcessDocuments(
com.google.cloud.documentai.v1beta2.BatchProcessDocumentsRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBatchProcessDocumentsMethod(), getCallOptions(), request);
}

Expand All @@ -346,7 +343,8 @@ public com.google.longrunning.Operation batchProcessDocuments(
*/
public com.google.cloud.documentai.v1beta2.Document processDocument(
com.google.cloud.documentai.v1beta2.ProcessDocumentRequest request) {
return blockingUnaryCall(getChannel(), getProcessDocumentMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getProcessDocumentMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -383,7 +381,7 @@ protected DocumentUnderstandingServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
batchProcessDocuments(
com.google.cloud.documentai.v1beta2.BatchProcessDocumentsRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBatchProcessDocumentsMethod(), getCallOptions()), request);
}

Expand All @@ -397,7 +395,7 @@ protected DocumentUnderstandingServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.documentai.v1beta2.Document>
processDocument(com.google.cloud.documentai.v1beta2.ProcessDocumentRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getProcessDocumentMethod(), getCallOptions()), request);
}
}
Expand Down
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.documentai.v1beta3;

import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;

/**
*
Expand Down Expand Up @@ -253,7 +248,8 @@ public void processDocument(
com.google.cloud.documentai.v1beta3.ProcessRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.documentai.v1beta3.ProcessResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getProcessDocumentMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getProcessDocumentMethod(), responseObserver);
}

/**
Expand All @@ -267,7 +263,8 @@ public void processDocument(
public void batchProcessDocuments(
com.google.cloud.documentai.v1beta3.BatchProcessRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getBatchProcessDocumentsMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getBatchProcessDocumentsMethod(), responseObserver);
}

/**
Expand All @@ -281,28 +278,29 @@ public void batchProcessDocuments(
public void reviewDocument(
com.google.cloud.documentai.v1beta3.ReviewDocumentRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getReviewDocumentMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getReviewDocumentMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getProcessDocumentMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.documentai.v1beta3.ProcessRequest,
com.google.cloud.documentai.v1beta3.ProcessResponse>(
this, METHODID_PROCESS_DOCUMENT)))
.addMethod(
getBatchProcessDocumentsMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.documentai.v1beta3.BatchProcessRequest,
com.google.longrunning.Operation>(this, METHODID_BATCH_PROCESS_DOCUMENTS)))
.addMethod(
getReviewDocumentMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.documentai.v1beta3.ReviewDocumentRequest,
com.google.longrunning.Operation>(this, METHODID_REVIEW_DOCUMENT)))
Expand Down Expand Up @@ -343,7 +341,7 @@ public void processDocument(
com.google.cloud.documentai.v1beta3.ProcessRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.documentai.v1beta3.ProcessResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getProcessDocumentMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -360,7 +358,7 @@ public void processDocument(
public void batchProcessDocuments(
com.google.cloud.documentai.v1beta3.BatchProcessRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBatchProcessDocumentsMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -377,7 +375,7 @@ public void batchProcessDocuments(
public void reviewDocument(
com.google.cloud.documentai.v1beta3.ReviewDocumentRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getReviewDocumentMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -416,7 +414,8 @@ protected DocumentProcessorServiceBlockingStub build(
*/
public com.google.cloud.documentai.v1beta3.ProcessResponse processDocument(
com.google.cloud.documentai.v1beta3.ProcessRequest request) {
return blockingUnaryCall(getChannel(), getProcessDocumentMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getProcessDocumentMethod(), getCallOptions(), request);
}

/**
Expand All @@ -429,7 +428,7 @@ public com.google.cloud.documentai.v1beta3.ProcessResponse processDocument(
*/
public com.google.longrunning.Operation batchProcessDocuments(
com.google.cloud.documentai.v1beta3.BatchProcessRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBatchProcessDocumentsMethod(), getCallOptions(), request);
}

Expand All @@ -443,7 +442,8 @@ public com.google.longrunning.Operation batchProcessDocuments(
*/
public com.google.longrunning.Operation reviewDocument(
com.google.cloud.documentai.v1beta3.ReviewDocumentRequest request) {
return blockingUnaryCall(getChannel(), getReviewDocumentMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getReviewDocumentMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -480,7 +480,7 @@ protected DocumentProcessorServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.documentai.v1beta3.ProcessResponse>
processDocument(com.google.cloud.documentai.v1beta3.ProcessRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getProcessDocumentMethod(), getCallOptions()), request);
}

Expand All @@ -494,7 +494,7 @@ protected DocumentProcessorServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
batchProcessDocuments(com.google.cloud.documentai.v1beta3.BatchProcessRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBatchProcessDocumentsMethod(), getCallOptions()), request);
}

Expand All @@ -508,7 +508,7 @@ protected DocumentProcessorServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
reviewDocument(com.google.cloud.documentai.v1beta3.ReviewDocumentRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getReviewDocumentMethod(), getCallOptions()), request);
}
}
Expand Down
14 changes: 7 additions & 7 deletions synth.metadata
Expand Up @@ -4,31 +4,31 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-document-ai.git",
"sha": "52135656aa3decdc57ed15eb39ccfa79d5e755e0"
"sha": "495b17716b7a580360902f4e9a1ff4dd0c6330c1"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "3befd26ca55723d3e8111909331eac1249837987",
"internalRef": "360805639"
"sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
"internalRef": "361377784"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "3befd26ca55723d3e8111909331eac1249837987",
"internalRef": "360805639"
"sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
"internalRef": "361377784"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "3befd26ca55723d3e8111909331eac1249837987",
"internalRef": "360805639"
"sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
"internalRef": "361377784"
}
},
{
Expand Down

0 comments on commit 4c5a347

Please sign in to comment.