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

Commit

Permalink
chore: update gax-java dependency to 1.62 (#160)
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/6f08a280-f372-463e-a4b0-e3f23d251cf4/targets

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

PiperOrigin-RevId: 361377784
Source-Link: googleapis/googleapis@0e91521
Source-Link: googleapis/googleapis-gen@ba5ec70
  • Loading branch information
yoshi-automation committed Mar 8, 2021
1 parent 87d668c commit 1cab997
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 43 deletions.
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.orgpolicy.v2;

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 @@ -434,7 +429,8 @@ public void listConstraints(
com.google.cloud.orgpolicy.v2.ListConstraintsRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.orgpolicy.v2.ListConstraintsResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getListConstraintsMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getListConstraintsMethod(), responseObserver);
}

/**
Expand All @@ -448,7 +444,8 @@ public void listPolicies(
com.google.cloud.orgpolicy.v2.ListPoliciesRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.orgpolicy.v2.ListPoliciesResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getListPoliciesMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getListPoliciesMethod(), responseObserver);
}

/**
Expand All @@ -464,7 +461,7 @@ public void listPolicies(
public void getPolicy(
com.google.cloud.orgpolicy.v2.GetPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.orgpolicy.v2.Policy> responseObserver) {
asyncUnimplementedUnaryCall(getGetPolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyMethod(), responseObserver);
}

/**
Expand All @@ -482,7 +479,8 @@ public void getPolicy(
public void getEffectivePolicy(
com.google.cloud.orgpolicy.v2.GetEffectivePolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.orgpolicy.v2.Policy> responseObserver) {
asyncUnimplementedUnaryCall(getGetEffectivePolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getGetEffectivePolicyMethod(), responseObserver);
}

/**
Expand All @@ -499,7 +497,8 @@ public void getEffectivePolicy(
public void createPolicy(
com.google.cloud.orgpolicy.v2.CreatePolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.orgpolicy.v2.Policy> responseObserver) {
asyncUnimplementedUnaryCall(getCreatePolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getCreatePolicyMethod(), responseObserver);
}

/**
Expand All @@ -518,7 +517,8 @@ public void createPolicy(
public void updatePolicy(
com.google.cloud.orgpolicy.v2.UpdatePolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.orgpolicy.v2.Policy> responseObserver) {
asyncUnimplementedUnaryCall(getUpdatePolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getUpdatePolicyMethod(), responseObserver);
}

/**
Expand All @@ -533,53 +533,54 @@ public void updatePolicy(
public void deletePolicy(
com.google.cloud.orgpolicy.v2.DeletePolicyRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnimplementedUnaryCall(getDeletePolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeletePolicyMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getListConstraintsMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.orgpolicy.v2.ListConstraintsRequest,
com.google.cloud.orgpolicy.v2.ListConstraintsResponse>(
this, METHODID_LIST_CONSTRAINTS)))
.addMethod(
getListPoliciesMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.orgpolicy.v2.ListPoliciesRequest,
com.google.cloud.orgpolicy.v2.ListPoliciesResponse>(
this, METHODID_LIST_POLICIES)))
.addMethod(
getGetPolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.orgpolicy.v2.GetPolicyRequest,
com.google.cloud.orgpolicy.v2.Policy>(this, METHODID_GET_POLICY)))
.addMethod(
getGetEffectivePolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.orgpolicy.v2.GetEffectivePolicyRequest,
com.google.cloud.orgpolicy.v2.Policy>(this, METHODID_GET_EFFECTIVE_POLICY)))
.addMethod(
getCreatePolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.orgpolicy.v2.CreatePolicyRequest,
com.google.cloud.orgpolicy.v2.Policy>(this, METHODID_CREATE_POLICY)))
.addMethod(
getUpdatePolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.orgpolicy.v2.UpdatePolicyRequest,
com.google.cloud.orgpolicy.v2.Policy>(this, METHODID_UPDATE_POLICY)))
.addMethod(
getDeletePolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.orgpolicy.v2.DeletePolicyRequest, com.google.protobuf.Empty>(
this, METHODID_DELETE_POLICY)))
Expand Down Expand Up @@ -630,7 +631,7 @@ public void listConstraints(
com.google.cloud.orgpolicy.v2.ListConstraintsRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.orgpolicy.v2.ListConstraintsResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListConstraintsMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -647,7 +648,7 @@ public void listPolicies(
com.google.cloud.orgpolicy.v2.ListPoliciesRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.orgpolicy.v2.ListPoliciesResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListPoliciesMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -666,7 +667,7 @@ public void listPolicies(
public void getPolicy(
com.google.cloud.orgpolicy.v2.GetPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.orgpolicy.v2.Policy> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request, responseObserver);
}

Expand All @@ -685,7 +686,7 @@ public void getPolicy(
public void getEffectivePolicy(
com.google.cloud.orgpolicy.v2.GetEffectivePolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.orgpolicy.v2.Policy> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetEffectivePolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -705,7 +706,7 @@ public void getEffectivePolicy(
public void createPolicy(
com.google.cloud.orgpolicy.v2.CreatePolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.orgpolicy.v2.Policy> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreatePolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -727,7 +728,7 @@ public void createPolicy(
public void updatePolicy(
com.google.cloud.orgpolicy.v2.UpdatePolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.orgpolicy.v2.Policy> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -745,7 +746,7 @@ public void updatePolicy(
public void deletePolicy(
com.google.cloud.orgpolicy.v2.DeletePolicyRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeletePolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -795,7 +796,8 @@ protected OrgPolicyBlockingStub build(
*/
public com.google.cloud.orgpolicy.v2.ListConstraintsResponse listConstraints(
com.google.cloud.orgpolicy.v2.ListConstraintsRequest request) {
return blockingUnaryCall(getChannel(), getListConstraintsMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListConstraintsMethod(), getCallOptions(), request);
}

/**
Expand All @@ -807,7 +809,8 @@ public com.google.cloud.orgpolicy.v2.ListConstraintsResponse listConstraints(
*/
public com.google.cloud.orgpolicy.v2.ListPoliciesResponse listPolicies(
com.google.cloud.orgpolicy.v2.ListPoliciesRequest request) {
return blockingUnaryCall(getChannel(), getListPoliciesMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListPoliciesMethod(), getCallOptions(), request);
}

/**
Expand All @@ -822,7 +825,8 @@ public com.google.cloud.orgpolicy.v2.ListPoliciesResponse listPolicies(
*/
public com.google.cloud.orgpolicy.v2.Policy getPolicy(
com.google.cloud.orgpolicy.v2.GetPolicyRequest request) {
return blockingUnaryCall(getChannel(), getGetPolicyMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetPolicyMethod(), getCallOptions(), request);
}

/**
Expand All @@ -839,7 +843,7 @@ public com.google.cloud.orgpolicy.v2.Policy getPolicy(
*/
public com.google.cloud.orgpolicy.v2.Policy getEffectivePolicy(
com.google.cloud.orgpolicy.v2.GetEffectivePolicyRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetEffectivePolicyMethod(), getCallOptions(), request);
}

Expand All @@ -856,7 +860,8 @@ public com.google.cloud.orgpolicy.v2.Policy getEffectivePolicy(
*/
public com.google.cloud.orgpolicy.v2.Policy createPolicy(
com.google.cloud.orgpolicy.v2.CreatePolicyRequest request) {
return blockingUnaryCall(getChannel(), getCreatePolicyMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreatePolicyMethod(), getCallOptions(), request);
}

/**
Expand All @@ -874,7 +879,8 @@ public com.google.cloud.orgpolicy.v2.Policy createPolicy(
*/
public com.google.cloud.orgpolicy.v2.Policy updatePolicy(
com.google.cloud.orgpolicy.v2.UpdatePolicyRequest request) {
return blockingUnaryCall(getChannel(), getUpdatePolicyMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdatePolicyMethod(), getCallOptions(), request);
}

/**
Expand All @@ -888,7 +894,8 @@ public com.google.cloud.orgpolicy.v2.Policy updatePolicy(
*/
public com.google.protobuf.Empty deletePolicy(
com.google.cloud.orgpolicy.v2.DeletePolicyRequest request) {
return blockingUnaryCall(getChannel(), getDeletePolicyMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeletePolicyMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -935,7 +942,7 @@ protected OrgPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.orgpolicy.v2.ListConstraintsResponse>
listConstraints(com.google.cloud.orgpolicy.v2.ListConstraintsRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListConstraintsMethod(), getCallOptions()), request);
}

Expand All @@ -949,7 +956,7 @@ protected OrgPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.orgpolicy.v2.ListPoliciesResponse>
listPolicies(com.google.cloud.orgpolicy.v2.ListPoliciesRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListPoliciesMethod(), getCallOptions()), request);
}

Expand All @@ -965,7 +972,8 @@ protected OrgPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.orgpolicy.v2.Policy>
getPolicy(com.google.cloud.orgpolicy.v2.GetPolicyRequest request) {
return futureUnaryCall(getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request);
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request);
}

/**
Expand All @@ -982,7 +990,7 @@ protected OrgPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.orgpolicy.v2.Policy>
getEffectivePolicy(com.google.cloud.orgpolicy.v2.GetEffectivePolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetEffectivePolicyMethod(), getCallOptions()), request);
}

Expand All @@ -999,7 +1007,7 @@ protected OrgPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.orgpolicy.v2.Policy>
createPolicy(com.google.cloud.orgpolicy.v2.CreatePolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreatePolicyMethod(), getCallOptions()), request);
}

Expand All @@ -1018,7 +1026,7 @@ protected OrgPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.orgpolicy.v2.Policy>
updatePolicy(com.google.cloud.orgpolicy.v2.UpdatePolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request);
}

Expand All @@ -1033,7 +1041,7 @@ protected OrgPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deletePolicy(com.google.cloud.orgpolicy.v2.DeletePolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeletePolicyMethod(), getCallOptions()), request);
}
}
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-orgpolicy.git",
"sha": "a632525a7f29cb2e7164a319c2c8dd1c30fc90c6"
"sha": "87d668c63af6a7f88abf24b5ec05a4dedc9aa8ea"
}
},
{
Expand All @@ -19,8 +19,8 @@
"git": {
"name": "googleapis-gen",
"remote": "https://github.com/googleapis/googleapis-gen.git",
"sha": "1ad043d44370c3639640b1f1f549296c005448f5",
"internalRef": "360805639"
"sha": "ba5ec70708cd72caa1692a95ce57891e3ade61dd",
"internalRef": "361377784"
}
},
{
Expand Down

0 comments on commit 1cab997

Please sign in to comment.