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

Commit

Permalink
chore: update gax-java dependency to 1.62 (#404)
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/7e2e9c02-b8c0-4067-8a5f-964a3f8fb03d/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 ec231c8 commit 845d2b7
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 75 deletions.
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.language.v1;

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 @@ -387,7 +382,8 @@ public void analyzeSentiment(
com.google.cloud.language.v1.AnalyzeSentimentRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.language.v1.AnalyzeSentimentResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getAnalyzeSentimentMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getAnalyzeSentimentMethod(), responseObserver);
}

/**
Expand All @@ -403,7 +399,8 @@ public void analyzeEntities(
com.google.cloud.language.v1.AnalyzeEntitiesRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.language.v1.AnalyzeEntitiesResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getAnalyzeEntitiesMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getAnalyzeEntitiesMethod(), responseObserver);
}

/**
Expand All @@ -418,7 +415,8 @@ public void analyzeEntitySentiment(
com.google.cloud.language.v1.AnalyzeEntitySentimentRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.language.v1.AnalyzeEntitySentimentResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getAnalyzeEntitySentimentMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getAnalyzeEntitySentimentMethod(), responseObserver);
}

/**
Expand All @@ -434,7 +432,8 @@ public void analyzeSyntax(
com.google.cloud.language.v1.AnalyzeSyntaxRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.language.v1.AnalyzeSyntaxResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getAnalyzeSyntaxMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getAnalyzeSyntaxMethod(), responseObserver);
}

/**
Expand All @@ -448,7 +447,8 @@ public void classifyText(
com.google.cloud.language.v1.ClassifyTextRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.language.v1.ClassifyTextResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getClassifyTextMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getClassifyTextMethod(), responseObserver);
}

/**
Expand All @@ -463,50 +463,51 @@ public void annotateText(
com.google.cloud.language.v1.AnnotateTextRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.language.v1.AnnotateTextResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getAnnotateTextMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getAnnotateTextMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getAnalyzeSentimentMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.language.v1.AnalyzeSentimentRequest,
com.google.cloud.language.v1.AnalyzeSentimentResponse>(
this, METHODID_ANALYZE_SENTIMENT)))
.addMethod(
getAnalyzeEntitiesMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.language.v1.AnalyzeEntitiesRequest,
com.google.cloud.language.v1.AnalyzeEntitiesResponse>(
this, METHODID_ANALYZE_ENTITIES)))
.addMethod(
getAnalyzeEntitySentimentMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.language.v1.AnalyzeEntitySentimentRequest,
com.google.cloud.language.v1.AnalyzeEntitySentimentResponse>(
this, METHODID_ANALYZE_ENTITY_SENTIMENT)))
.addMethod(
getAnalyzeSyntaxMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.language.v1.AnalyzeSyntaxRequest,
com.google.cloud.language.v1.AnalyzeSyntaxResponse>(
this, METHODID_ANALYZE_SYNTAX)))
.addMethod(
getClassifyTextMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.language.v1.ClassifyTextRequest,
com.google.cloud.language.v1.ClassifyTextResponse>(
this, METHODID_CLASSIFY_TEXT)))
.addMethod(
getAnnotateTextMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.language.v1.AnnotateTextRequest,
com.google.cloud.language.v1.AnnotateTextResponse>(
Expand Down Expand Up @@ -545,7 +546,7 @@ public void analyzeSentiment(
com.google.cloud.language.v1.AnalyzeSentimentRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.language.v1.AnalyzeSentimentResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAnalyzeSentimentMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -564,7 +565,7 @@ public void analyzeEntities(
com.google.cloud.language.v1.AnalyzeEntitiesRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.language.v1.AnalyzeEntitiesResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAnalyzeEntitiesMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -582,7 +583,7 @@ public void analyzeEntitySentiment(
com.google.cloud.language.v1.AnalyzeEntitySentimentRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.language.v1.AnalyzeEntitySentimentResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAnalyzeEntitySentimentMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -601,7 +602,7 @@ public void analyzeSyntax(
com.google.cloud.language.v1.AnalyzeSyntaxRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.language.v1.AnalyzeSyntaxResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAnalyzeSyntaxMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -618,7 +619,7 @@ public void classifyText(
com.google.cloud.language.v1.ClassifyTextRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.language.v1.ClassifyTextResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getClassifyTextMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -636,7 +637,7 @@ public void annotateText(
com.google.cloud.language.v1.AnnotateTextRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.language.v1.AnnotateTextResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAnnotateTextMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -672,7 +673,7 @@ protected LanguageServiceBlockingStub build(
*/
public com.google.cloud.language.v1.AnalyzeSentimentResponse analyzeSentiment(
com.google.cloud.language.v1.AnalyzeSentimentRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAnalyzeSentimentMethod(), getCallOptions(), request);
}

Expand All @@ -687,7 +688,8 @@ public com.google.cloud.language.v1.AnalyzeSentimentResponse analyzeSentiment(
*/
public com.google.cloud.language.v1.AnalyzeEntitiesResponse analyzeEntities(
com.google.cloud.language.v1.AnalyzeEntitiesRequest request) {
return blockingUnaryCall(getChannel(), getAnalyzeEntitiesMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAnalyzeEntitiesMethod(), getCallOptions(), request);
}

/**
Expand All @@ -700,7 +702,7 @@ public com.google.cloud.language.v1.AnalyzeEntitiesResponse analyzeEntities(
*/
public com.google.cloud.language.v1.AnalyzeEntitySentimentResponse analyzeEntitySentiment(
com.google.cloud.language.v1.AnalyzeEntitySentimentRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAnalyzeEntitySentimentMethod(), getCallOptions(), request);
}

Expand All @@ -715,7 +717,8 @@ public com.google.cloud.language.v1.AnalyzeEntitySentimentResponse analyzeEntity
*/
public com.google.cloud.language.v1.AnalyzeSyntaxResponse analyzeSyntax(
com.google.cloud.language.v1.AnalyzeSyntaxRequest request) {
return blockingUnaryCall(getChannel(), getAnalyzeSyntaxMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAnalyzeSyntaxMethod(), getCallOptions(), request);
}

/**
Expand All @@ -727,7 +730,8 @@ public com.google.cloud.language.v1.AnalyzeSyntaxResponse analyzeSyntax(
*/
public com.google.cloud.language.v1.ClassifyTextResponse classifyText(
com.google.cloud.language.v1.ClassifyTextRequest request) {
return blockingUnaryCall(getChannel(), getClassifyTextMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getClassifyTextMethod(), getCallOptions(), request);
}

/**
Expand All @@ -740,7 +744,8 @@ public com.google.cloud.language.v1.ClassifyTextResponse classifyText(
*/
public com.google.cloud.language.v1.AnnotateTextResponse annotateText(
com.google.cloud.language.v1.AnnotateTextRequest request) {
return blockingUnaryCall(getChannel(), getAnnotateTextMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAnnotateTextMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -774,7 +779,7 @@ protected LanguageServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.language.v1.AnalyzeSentimentResponse>
analyzeSentiment(com.google.cloud.language.v1.AnalyzeSentimentRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAnalyzeSentimentMethod(), getCallOptions()), request);
}

Expand All @@ -790,7 +795,7 @@ protected LanguageServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.language.v1.AnalyzeEntitiesResponse>
analyzeEntities(com.google.cloud.language.v1.AnalyzeEntitiesRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAnalyzeEntitiesMethod(), getCallOptions()), request);
}

Expand All @@ -805,7 +810,7 @@ protected LanguageServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.language.v1.AnalyzeEntitySentimentResponse>
analyzeEntitySentiment(com.google.cloud.language.v1.AnalyzeEntitySentimentRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAnalyzeEntitySentimentMethod(), getCallOptions()), request);
}

Expand All @@ -821,7 +826,7 @@ protected LanguageServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.language.v1.AnalyzeSyntaxResponse>
analyzeSyntax(com.google.cloud.language.v1.AnalyzeSyntaxRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAnalyzeSyntaxMethod(), getCallOptions()), request);
}

Expand All @@ -835,7 +840,7 @@ protected LanguageServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.language.v1.ClassifyTextResponse>
classifyText(com.google.cloud.language.v1.ClassifyTextRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getClassifyTextMethod(), getCallOptions()), request);
}

Expand All @@ -850,7 +855,7 @@ protected LanguageServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.language.v1.AnnotateTextResponse>
annotateText(com.google.cloud.language.v1.AnnotateTextRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAnnotateTextMethod(), getCallOptions()), request);
}
}
Expand Down

0 comments on commit 845d2b7

Please sign in to comment.