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 (#377)
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/b096316f-13b7-4a8e-84ef-7f6422d1caba/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 0cc418b commit 330f2b5
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 50 deletions.
Expand Up @@ -16,11 +16,6 @@
package com.google.webrisk.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 @@ -282,7 +277,8 @@ public void computeThreatListDiff(
com.google.webrisk.v1.ComputeThreatListDiffRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1.ComputeThreatListDiffResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getComputeThreatListDiffMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getComputeThreatListDiffMethod(), responseObserver);
}

/**
Expand All @@ -299,7 +295,7 @@ public void computeThreatListDiff(
public void searchUris(
com.google.webrisk.v1.SearchUrisRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1.SearchUrisResponse> responseObserver) {
asyncUnimplementedUnaryCall(getSearchUrisMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchUrisMethod(), responseObserver);
}

/**
Expand All @@ -316,7 +312,8 @@ public void searchUris(
public void searchHashes(
com.google.webrisk.v1.SearchHashesRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1.SearchHashesResponse> responseObserver) {
asyncUnimplementedUnaryCall(getSearchHashesMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getSearchHashesMethod(), responseObserver);
}

/**
Expand All @@ -334,34 +331,35 @@ public void searchHashes(
public void createSubmission(
com.google.webrisk.v1.CreateSubmissionRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1.Submission> responseObserver) {
asyncUnimplementedUnaryCall(getCreateSubmissionMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getCreateSubmissionMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getComputeThreatListDiffMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.webrisk.v1.ComputeThreatListDiffRequest,
com.google.webrisk.v1.ComputeThreatListDiffResponse>(
this, METHODID_COMPUTE_THREAT_LIST_DIFF)))
.addMethod(
getSearchUrisMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.webrisk.v1.SearchUrisRequest,
com.google.webrisk.v1.SearchUrisResponse>(this, METHODID_SEARCH_URIS)))
.addMethod(
getSearchHashesMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.webrisk.v1.SearchHashesRequest,
com.google.webrisk.v1.SearchHashesResponse>(this, METHODID_SEARCH_HASHES)))
.addMethod(
getCreateSubmissionMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.webrisk.v1.CreateSubmissionRequest,
com.google.webrisk.v1.Submission>(this, METHODID_CREATE_SUBMISSION)))
Expand Down Expand Up @@ -404,7 +402,7 @@ public void computeThreatListDiff(
com.google.webrisk.v1.ComputeThreatListDiffRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1.ComputeThreatListDiffResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getComputeThreatListDiffMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -424,7 +422,7 @@ public void computeThreatListDiff(
public void searchUris(
com.google.webrisk.v1.SearchUrisRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1.SearchUrisResponse> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSearchUrisMethod(), getCallOptions()), request, responseObserver);
}

Expand All @@ -442,7 +440,7 @@ public void searchUris(
public void searchHashes(
com.google.webrisk.v1.SearchHashesRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1.SearchHashesResponse> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSearchHashesMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -463,7 +461,7 @@ public void searchHashes(
public void createSubmission(
com.google.webrisk.v1.CreateSubmissionRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1.Submission> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateSubmissionMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -504,7 +502,7 @@ protected WebRiskServiceBlockingStub build(
*/
public com.google.webrisk.v1.ComputeThreatListDiffResponse computeThreatListDiff(
com.google.webrisk.v1.ComputeThreatListDiffRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getComputeThreatListDiffMethod(), getCallOptions(), request);
}

Expand All @@ -521,7 +519,8 @@ public com.google.webrisk.v1.ComputeThreatListDiffResponse computeThreatListDiff
*/
public com.google.webrisk.v1.SearchUrisResponse searchUris(
com.google.webrisk.v1.SearchUrisRequest request) {
return blockingUnaryCall(getChannel(), getSearchUrisMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSearchUrisMethod(), getCallOptions(), request);
}

/**
Expand All @@ -537,7 +536,8 @@ public com.google.webrisk.v1.SearchUrisResponse searchUris(
*/
public com.google.webrisk.v1.SearchHashesResponse searchHashes(
com.google.webrisk.v1.SearchHashesRequest request) {
return blockingUnaryCall(getChannel(), getSearchHashesMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSearchHashesMethod(), getCallOptions(), request);
}

/**
Expand All @@ -554,7 +554,7 @@ public com.google.webrisk.v1.SearchHashesResponse searchHashes(
*/
public com.google.webrisk.v1.Submission createSubmission(
com.google.webrisk.v1.CreateSubmissionRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateSubmissionMethod(), getCallOptions(), request);
}
}
Expand Down Expand Up @@ -594,7 +594,7 @@ protected WebRiskServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.webrisk.v1.ComputeThreatListDiffResponse>
computeThreatListDiff(com.google.webrisk.v1.ComputeThreatListDiffRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getComputeThreatListDiffMethod(), getCallOptions()), request);
}

Expand All @@ -612,7 +612,7 @@ protected WebRiskServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.webrisk.v1.SearchUrisResponse>
searchUris(com.google.webrisk.v1.SearchUrisRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSearchUrisMethod(), getCallOptions()), request);
}

Expand All @@ -630,7 +630,7 @@ protected WebRiskServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.webrisk.v1.SearchHashesResponse>
searchHashes(com.google.webrisk.v1.SearchHashesRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSearchHashesMethod(), getCallOptions()), request);
}

Expand All @@ -648,7 +648,7 @@ protected WebRiskServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.webrisk.v1.Submission>
createSubmission(com.google.webrisk.v1.CreateSubmissionRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateSubmissionMethod(), getCallOptions()), request);
}
}
Expand Down
Expand Up @@ -16,11 +16,6 @@
package com.google.webrisk.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 @@ -244,7 +239,8 @@ public void computeThreatListDiff(
com.google.webrisk.v1beta1.ComputeThreatListDiffRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1beta1.ComputeThreatListDiffResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getComputeThreatListDiffMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getComputeThreatListDiffMethod(), responseObserver);
}

/**
Expand All @@ -258,7 +254,7 @@ public void searchUris(
com.google.webrisk.v1beta1.SearchUrisRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1beta1.SearchUrisResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getSearchUrisMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchUrisMethod(), responseObserver);
}

/**
Expand All @@ -276,28 +272,29 @@ public void searchHashes(
com.google.webrisk.v1beta1.SearchHashesRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1beta1.SearchHashesResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getSearchHashesMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getSearchHashesMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getComputeThreatListDiffMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.webrisk.v1beta1.ComputeThreatListDiffRequest,
com.google.webrisk.v1beta1.ComputeThreatListDiffResponse>(
this, METHODID_COMPUTE_THREAT_LIST_DIFF)))
.addMethod(
getSearchUrisMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.webrisk.v1beta1.SearchUrisRequest,
com.google.webrisk.v1beta1.SearchUrisResponse>(this, METHODID_SEARCH_URIS)))
.addMethod(
getSearchHashesMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.webrisk.v1beta1.SearchHashesRequest,
com.google.webrisk.v1beta1.SearchHashesResponse>(
Expand Down Expand Up @@ -337,7 +334,7 @@ public void computeThreatListDiff(
com.google.webrisk.v1beta1.ComputeThreatListDiffRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1beta1.ComputeThreatListDiffResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getComputeThreatListDiffMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -354,7 +351,7 @@ public void searchUris(
com.google.webrisk.v1beta1.SearchUrisRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1beta1.SearchUrisResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSearchUrisMethod(), getCallOptions()), request, responseObserver);
}

Expand All @@ -373,7 +370,7 @@ public void searchHashes(
com.google.webrisk.v1beta1.SearchHashesRequest request,
io.grpc.stub.StreamObserver<com.google.webrisk.v1beta1.SearchHashesResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSearchHashesMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -410,7 +407,7 @@ protected WebRiskServiceV1Beta1BlockingStub build(
*/
public com.google.webrisk.v1beta1.ComputeThreatListDiffResponse computeThreatListDiff(
com.google.webrisk.v1beta1.ComputeThreatListDiffRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getComputeThreatListDiffMethod(), getCallOptions(), request);
}

Expand All @@ -423,7 +420,8 @@ public com.google.webrisk.v1beta1.ComputeThreatListDiffResponse computeThreatLis
*/
public com.google.webrisk.v1beta1.SearchUrisResponse searchUris(
com.google.webrisk.v1beta1.SearchUrisRequest request) {
return blockingUnaryCall(getChannel(), getSearchUrisMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSearchUrisMethod(), getCallOptions(), request);
}

/**
Expand All @@ -439,7 +437,8 @@ public com.google.webrisk.v1beta1.SearchUrisResponse searchUris(
*/
public com.google.webrisk.v1beta1.SearchHashesResponse searchHashes(
com.google.webrisk.v1beta1.SearchHashesRequest request) {
return blockingUnaryCall(getChannel(), getSearchHashesMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSearchHashesMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -474,7 +473,7 @@ protected WebRiskServiceV1Beta1FutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.webrisk.v1beta1.ComputeThreatListDiffResponse>
computeThreatListDiff(com.google.webrisk.v1beta1.ComputeThreatListDiffRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getComputeThreatListDiffMethod(), getCallOptions()), request);
}

Expand All @@ -488,7 +487,7 @@ protected WebRiskServiceV1Beta1FutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.webrisk.v1beta1.SearchUrisResponse>
searchUris(com.google.webrisk.v1beta1.SearchUrisRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSearchUrisMethod(), getCallOptions()), request);
}

Expand All @@ -506,7 +505,7 @@ protected WebRiskServiceV1Beta1FutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.webrisk.v1beta1.SearchHashesResponse>
searchHashes(com.google.webrisk.v1beta1.SearchHashesRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSearchHashesMethod(), getCallOptions()), request);
}
}
Expand Down
10 changes: 5 additions & 5 deletions synth.metadata
Expand Up @@ -4,23 +4,23 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-webrisk.git",
"sha": "294def350d0a15927c06913d92f3168a4da2604d"
"sha": "0cc418b5e316658077786e2dbe7a37a54392c95f"
}
},
{
"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 330f2b5

Please sign in to comment.