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

chore: update gax-java dependency to 1.62 #458

Merged
merged 1 commit into from
Mar 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
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