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

Commit

Permalink
chore: update gax-java dependency to 1.62 (#458)
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 b7b8684 commit a8be7ad
Show file tree
Hide file tree
Showing 7 changed files with 281 additions and 258 deletions.
Expand Up @@ -16,11 +16,6 @@
package com.google.monitoring.v3;

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 @@ -338,7 +333,8 @@ public void listAlertPolicies(
com.google.monitoring.v3.ListAlertPoliciesRequest request,
io.grpc.stub.StreamObserver<com.google.monitoring.v3.ListAlertPoliciesResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getListAlertPoliciesMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getListAlertPoliciesMethod(), responseObserver);
}

/**
Expand All @@ -351,7 +347,8 @@ public void listAlertPolicies(
public void getAlertPolicy(
com.google.monitoring.v3.GetAlertPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.monitoring.v3.AlertPolicy> responseObserver) {
asyncUnimplementedUnaryCall(getGetAlertPolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getGetAlertPolicyMethod(), responseObserver);
}

/**
Expand All @@ -364,7 +361,8 @@ public void getAlertPolicy(
public void createAlertPolicy(
com.google.monitoring.v3.CreateAlertPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.monitoring.v3.AlertPolicy> responseObserver) {
asyncUnimplementedUnaryCall(getCreateAlertPolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getCreateAlertPolicyMethod(), responseObserver);
}

/**
Expand All @@ -377,7 +375,8 @@ public void createAlertPolicy(
public void deleteAlertPolicy(
com.google.monitoring.v3.DeleteAlertPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnimplementedUnaryCall(getDeleteAlertPolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeleteAlertPolicyMethod(), responseObserver);
}

/**
Expand All @@ -393,40 +392,41 @@ public void deleteAlertPolicy(
public void updateAlertPolicy(
com.google.monitoring.v3.UpdateAlertPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.monitoring.v3.AlertPolicy> responseObserver) {
asyncUnimplementedUnaryCall(getUpdateAlertPolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getUpdateAlertPolicyMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getListAlertPoliciesMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.monitoring.v3.ListAlertPoliciesRequest,
com.google.monitoring.v3.ListAlertPoliciesResponse>(
this, METHODID_LIST_ALERT_POLICIES)))
.addMethod(
getGetAlertPolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.monitoring.v3.GetAlertPolicyRequest,
com.google.monitoring.v3.AlertPolicy>(this, METHODID_GET_ALERT_POLICY)))
.addMethod(
getCreateAlertPolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.monitoring.v3.CreateAlertPolicyRequest,
com.google.monitoring.v3.AlertPolicy>(this, METHODID_CREATE_ALERT_POLICY)))
.addMethod(
getDeleteAlertPolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.monitoring.v3.DeleteAlertPolicyRequest, com.google.protobuf.Empty>(
this, METHODID_DELETE_ALERT_POLICY)))
.addMethod(
getUpdateAlertPolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.monitoring.v3.UpdateAlertPolicyRequest,
com.google.monitoring.v3.AlertPolicy>(this, METHODID_UPDATE_ALERT_POLICY)))
Expand Down Expand Up @@ -472,7 +472,7 @@ public void listAlertPolicies(
com.google.monitoring.v3.ListAlertPoliciesRequest request,
io.grpc.stub.StreamObserver<com.google.monitoring.v3.ListAlertPoliciesResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListAlertPoliciesMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -488,7 +488,7 @@ public void listAlertPolicies(
public void getAlertPolicy(
com.google.monitoring.v3.GetAlertPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.monitoring.v3.AlertPolicy> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetAlertPolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -504,7 +504,7 @@ public void getAlertPolicy(
public void createAlertPolicy(
com.google.monitoring.v3.CreateAlertPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.monitoring.v3.AlertPolicy> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateAlertPolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -520,7 +520,7 @@ public void createAlertPolicy(
public void deleteAlertPolicy(
com.google.monitoring.v3.DeleteAlertPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteAlertPolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -539,7 +539,7 @@ public void deleteAlertPolicy(
public void updateAlertPolicy(
com.google.monitoring.v3.UpdateAlertPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.monitoring.v3.AlertPolicy> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateAlertPolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -583,7 +583,7 @@ protected AlertPolicyServiceBlockingStub build(
*/
public com.google.monitoring.v3.ListAlertPoliciesResponse listAlertPolicies(
com.google.monitoring.v3.ListAlertPoliciesRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListAlertPoliciesMethod(), getCallOptions(), request);
}

Expand All @@ -596,7 +596,8 @@ public com.google.monitoring.v3.ListAlertPoliciesResponse listAlertPolicies(
*/
public com.google.monitoring.v3.AlertPolicy getAlertPolicy(
com.google.monitoring.v3.GetAlertPolicyRequest request) {
return blockingUnaryCall(getChannel(), getGetAlertPolicyMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetAlertPolicyMethod(), getCallOptions(), request);
}

/**
Expand All @@ -608,7 +609,7 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicy(
*/
public com.google.monitoring.v3.AlertPolicy createAlertPolicy(
com.google.monitoring.v3.CreateAlertPolicyRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateAlertPolicyMethod(), getCallOptions(), request);
}

Expand All @@ -621,7 +622,7 @@ public com.google.monitoring.v3.AlertPolicy createAlertPolicy(
*/
public com.google.protobuf.Empty deleteAlertPolicy(
com.google.monitoring.v3.DeleteAlertPolicyRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteAlertPolicyMethod(), getCallOptions(), request);
}

Expand All @@ -637,7 +638,7 @@ public com.google.protobuf.Empty deleteAlertPolicy(
*/
public com.google.monitoring.v3.AlertPolicy updateAlertPolicy(
com.google.monitoring.v3.UpdateAlertPolicyRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateAlertPolicyMethod(), getCallOptions(), request);
}
}
Expand Down Expand Up @@ -679,7 +680,7 @@ protected AlertPolicyServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.monitoring.v3.ListAlertPoliciesResponse>
listAlertPolicies(com.google.monitoring.v3.ListAlertPoliciesRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListAlertPoliciesMethod(), getCallOptions()), request);
}

Expand All @@ -692,7 +693,7 @@ protected AlertPolicyServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.monitoring.v3.AlertPolicy>
getAlertPolicy(com.google.monitoring.v3.GetAlertPolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetAlertPolicyMethod(), getCallOptions()), request);
}

Expand All @@ -705,7 +706,7 @@ protected AlertPolicyServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.monitoring.v3.AlertPolicy>
createAlertPolicy(com.google.monitoring.v3.CreateAlertPolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateAlertPolicyMethod(), getCallOptions()), request);
}

Expand All @@ -718,7 +719,7 @@ protected AlertPolicyServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteAlertPolicy(com.google.monitoring.v3.DeleteAlertPolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteAlertPolicyMethod(), getCallOptions()), request);
}

Expand All @@ -734,7 +735,7 @@ protected AlertPolicyServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.monitoring.v3.AlertPolicy>
updateAlertPolicy(com.google.monitoring.v3.UpdateAlertPolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateAlertPolicyMethod(), getCallOptions()), request);
}
}
Expand Down

0 comments on commit a8be7ad

Please sign in to comment.