diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java index cafa547b..8f898905 100644 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java +++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java @@ -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; /** * @@ -338,7 +333,8 @@ public void listAlertPolicies( com.google.monitoring.v3.ListAlertPoliciesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListAlertPoliciesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAlertPoliciesMethod(), responseObserver); } /** @@ -351,7 +347,8 @@ public void listAlertPolicies( public void getAlertPolicy( com.google.monitoring.v3.GetAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetAlertPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAlertPolicyMethod(), responseObserver); } /** @@ -364,7 +361,8 @@ public void getAlertPolicy( public void createAlertPolicy( com.google.monitoring.v3.CreateAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateAlertPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAlertPolicyMethod(), responseObserver); } /** @@ -377,7 +375,8 @@ public void createAlertPolicy( public void deleteAlertPolicy( com.google.monitoring.v3.DeleteAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteAlertPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAlertPolicyMethod(), responseObserver); } /** @@ -393,7 +392,8 @@ public void deleteAlertPolicy( public void updateAlertPolicy( com.google.monitoring.v3.UpdateAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateAlertPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAlertPolicyMethod(), responseObserver); } @java.lang.Override @@ -401,32 +401,32 @@ 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))) @@ -472,7 +472,7 @@ public void listAlertPolicies( com.google.monitoring.v3.ListAlertPoliciesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListAlertPoliciesMethod(), getCallOptions()), request, responseObserver); @@ -488,7 +488,7 @@ public void listAlertPolicies( public void getAlertPolicy( com.google.monitoring.v3.GetAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetAlertPolicyMethod(), getCallOptions()), request, responseObserver); @@ -504,7 +504,7 @@ public void getAlertPolicy( public void createAlertPolicy( com.google.monitoring.v3.CreateAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateAlertPolicyMethod(), getCallOptions()), request, responseObserver); @@ -520,7 +520,7 @@ public void createAlertPolicy( public void deleteAlertPolicy( com.google.monitoring.v3.DeleteAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteAlertPolicyMethod(), getCallOptions()), request, responseObserver); @@ -539,7 +539,7 @@ public void deleteAlertPolicy( public void updateAlertPolicy( com.google.monitoring.v3.UpdateAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateAlertPolicyMethod(), getCallOptions()), request, responseObserver); @@ -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); } @@ -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); } /** @@ -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); } @@ -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); } @@ -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); } } @@ -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); } @@ -692,7 +693,7 @@ protected AlertPolicyServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture getAlertPolicy(com.google.monitoring.v3.GetAlertPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAlertPolicyMethod(), getCallOptions()), request); } @@ -705,7 +706,7 @@ protected AlertPolicyServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture createAlertPolicy(com.google.monitoring.v3.CreateAlertPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateAlertPolicyMethod(), getCallOptions()), request); } @@ -718,7 +719,7 @@ protected AlertPolicyServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteAlertPolicy(com.google.monitoring.v3.DeleteAlertPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteAlertPolicyMethod(), getCallOptions()), request); } @@ -734,7 +735,7 @@ protected AlertPolicyServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture updateAlertPolicy(com.google.monitoring.v3.UpdateAlertPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateAlertPolicyMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java index e35fcdfe..1b7b94fe 100644 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java +++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java @@ -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; /** * @@ -366,7 +361,7 @@ public abstract static class GroupServiceImplBase implements io.grpc.BindableSer public void listGroups( com.google.monitoring.v3.ListGroupsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListGroupsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGroupsMethod(), responseObserver); } /** @@ -379,7 +374,7 @@ public void listGroups( public void getGroup( com.google.monitoring.v3.GetGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGroupMethod(), responseObserver); } /** @@ -392,7 +387,8 @@ public void getGroup( public void createGroup( com.google.monitoring.v3.CreateGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateGroupMethod(), responseObserver); } /** @@ -406,7 +402,8 @@ public void createGroup( public void updateGroup( com.google.monitoring.v3.UpdateGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateGroupMethod(), responseObserver); } /** @@ -419,7 +416,8 @@ public void updateGroup( public void deleteGroup( com.google.monitoring.v3.DeleteGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteGroupMethod(), responseObserver); } /** @@ -433,7 +431,8 @@ public void listGroupMembers( com.google.monitoring.v3.ListGroupMembersRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListGroupMembersMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListGroupMembersMethod(), responseObserver); } @java.lang.Override @@ -441,37 +440,37 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getListGroupsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.ListGroupsRequest, com.google.monitoring.v3.ListGroupsResponse>(this, METHODID_LIST_GROUPS))) .addMethod( getGetGroupMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.GetGroupRequest, com.google.monitoring.v3.Group>( this, METHODID_GET_GROUP))) .addMethod( getCreateGroupMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.CreateGroupRequest, com.google.monitoring.v3.Group>( this, METHODID_CREATE_GROUP))) .addMethod( getUpdateGroupMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.UpdateGroupRequest, com.google.monitoring.v3.Group>( this, METHODID_UPDATE_GROUP))) .addMethod( getDeleteGroupMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.DeleteGroupRequest, com.google.protobuf.Empty>( this, METHODID_DELETE_GROUP))) .addMethod( getListGroupMembersMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.ListGroupMembersRequest, com.google.monitoring.v3.ListGroupMembersResponse>( @@ -518,7 +517,7 @@ protected GroupServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public void listGroups( com.google.monitoring.v3.ListGroupsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListGroupsMethod(), getCallOptions()), request, responseObserver); } @@ -532,7 +531,7 @@ public void listGroups( public void getGroup( com.google.monitoring.v3.GetGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetGroupMethod(), getCallOptions()), request, responseObserver); } @@ -546,7 +545,7 @@ public void getGroup( public void createGroup( com.google.monitoring.v3.CreateGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateGroupMethod(), getCallOptions()), request, responseObserver); @@ -563,7 +562,7 @@ public void createGroup( public void updateGroup( com.google.monitoring.v3.UpdateGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request, responseObserver); @@ -579,7 +578,7 @@ public void updateGroup( public void deleteGroup( com.google.monitoring.v3.DeleteGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), request, responseObserver); @@ -596,7 +595,7 @@ public void listGroupMembers( com.google.monitoring.v3.ListGroupMembersRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListGroupMembersMethod(), getCallOptions()), request, responseObserver); @@ -641,7 +640,8 @@ protected GroupServiceBlockingStub build( */ public com.google.monitoring.v3.ListGroupsResponse listGroups( com.google.monitoring.v3.ListGroupsRequest request) { - return blockingUnaryCall(getChannel(), getListGroupsMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListGroupsMethod(), getCallOptions(), request); } /** @@ -653,7 +653,8 @@ public com.google.monitoring.v3.ListGroupsResponse listGroups( */ public com.google.monitoring.v3.Group getGroup( com.google.monitoring.v3.GetGroupRequest request) { - return blockingUnaryCall(getChannel(), getGetGroupMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGroupMethod(), getCallOptions(), request); } /** @@ -665,7 +666,8 @@ public com.google.monitoring.v3.Group getGroup( */ public com.google.monitoring.v3.Group createGroup( com.google.monitoring.v3.CreateGroupRequest request) { - return blockingUnaryCall(getChannel(), getCreateGroupMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateGroupMethod(), getCallOptions(), request); } /** @@ -678,7 +680,8 @@ public com.google.monitoring.v3.Group createGroup( */ public com.google.monitoring.v3.Group updateGroup( com.google.monitoring.v3.UpdateGroupRequest request) { - return blockingUnaryCall(getChannel(), getUpdateGroupMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGroupMethod(), getCallOptions(), request); } /** @@ -690,7 +693,8 @@ public com.google.monitoring.v3.Group updateGroup( */ public com.google.protobuf.Empty deleteGroup( com.google.monitoring.v3.DeleteGroupRequest request) { - return blockingUnaryCall(getChannel(), getDeleteGroupMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteGroupMethod(), getCallOptions(), request); } /** @@ -702,7 +706,7 @@ public com.google.protobuf.Empty deleteGroup( */ public com.google.monitoring.v3.ListGroupMembersResponse listGroupMembers( com.google.monitoring.v3.ListGroupMembersRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListGroupMembersMethod(), getCallOptions(), request); } } @@ -746,7 +750,7 @@ protected GroupServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.ListGroupsResponse> listGroups(com.google.monitoring.v3.ListGroupsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListGroupsMethod(), getCallOptions()), request); } @@ -759,7 +763,8 @@ protected GroupServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture getGroup(com.google.monitoring.v3.GetGroupRequest request) { - return futureUnaryCall(getChannel().newCall(getGetGroupMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGroupMethod(), getCallOptions()), request); } /** @@ -771,7 +776,7 @@ protected GroupServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture createGroup(com.google.monitoring.v3.CreateGroupRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateGroupMethod(), getCallOptions()), request); } @@ -785,7 +790,7 @@ protected GroupServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture updateGroup(com.google.monitoring.v3.UpdateGroupRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request); } @@ -798,7 +803,7 @@ protected GroupServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteGroup(com.google.monitoring.v3.DeleteGroupRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), request); } @@ -812,7 +817,7 @@ protected GroupServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.ListGroupMembersResponse> listGroupMembers(com.google.monitoring.v3.ListGroupMembersRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListGroupMembersMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java index 9963b9c6..070db41b 100644 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java +++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java @@ -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; /** * @@ -482,7 +477,8 @@ public void listMonitoredResourceDescriptors( io.grpc.stub.StreamObserver< com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> responseObserver) { - asyncUnimplementedUnaryCall(getListMonitoredResourceDescriptorsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListMonitoredResourceDescriptorsMethod(), responseObserver); } /** @@ -495,7 +491,8 @@ public void listMonitoredResourceDescriptors( public void getMonitoredResourceDescriptor( com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetMonitoredResourceDescriptorMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMonitoredResourceDescriptorMethod(), responseObserver); } /** @@ -509,7 +506,8 @@ public void listMetricDescriptors( com.google.monitoring.v3.ListMetricDescriptorsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListMetricDescriptorsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListMetricDescriptorsMethod(), responseObserver); } /** @@ -522,7 +520,8 @@ public void listMetricDescriptors( public void getMetricDescriptor( com.google.monitoring.v3.GetMetricDescriptorRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetMetricDescriptorMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMetricDescriptorMethod(), responseObserver); } /** @@ -537,7 +536,8 @@ public void getMetricDescriptor( public void createMetricDescriptor( com.google.monitoring.v3.CreateMetricDescriptorRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateMetricDescriptorMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateMetricDescriptorMethod(), responseObserver); } /** @@ -552,7 +552,8 @@ public void createMetricDescriptor( public void deleteMetricDescriptor( com.google.monitoring.v3.DeleteMetricDescriptorRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteMetricDescriptorMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteMetricDescriptorMethod(), responseObserver); } /** @@ -566,7 +567,8 @@ public void listTimeSeries( com.google.monitoring.v3.ListTimeSeriesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListTimeSeriesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTimeSeriesMethod(), responseObserver); } /** @@ -582,7 +584,8 @@ public void listTimeSeries( public void createTimeSeries( com.google.monitoring.v3.CreateTimeSeriesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateTimeSeriesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTimeSeriesMethod(), responseObserver); } @java.lang.Override @@ -590,53 +593,53 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getListMonitoredResourceDescriptorsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest, com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse>( this, METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS))) .addMethod( getGetMonitoredResourceDescriptorMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest, com.google.api.MonitoredResourceDescriptor>( this, METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR))) .addMethod( getListMetricDescriptorsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.ListMetricDescriptorsRequest, com.google.monitoring.v3.ListMetricDescriptorsResponse>( this, METHODID_LIST_METRIC_DESCRIPTORS))) .addMethod( getGetMetricDescriptorMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.GetMetricDescriptorRequest, com.google.api.MetricDescriptor>(this, METHODID_GET_METRIC_DESCRIPTOR))) .addMethod( getCreateMetricDescriptorMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.CreateMetricDescriptorRequest, com.google.api.MetricDescriptor>(this, METHODID_CREATE_METRIC_DESCRIPTOR))) .addMethod( getDeleteMetricDescriptorMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.DeleteMetricDescriptorRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_METRIC_DESCRIPTOR))) .addMethod( getListTimeSeriesMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.ListTimeSeriesRequest, com.google.monitoring.v3.ListTimeSeriesResponse>( this, METHODID_LIST_TIME_SERIES))) .addMethod( getCreateTimeSeriesMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty>( this, METHODID_CREATE_TIME_SERIES))) @@ -675,7 +678,7 @@ public void listMonitoredResourceDescriptors( io.grpc.stub.StreamObserver< com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListMonitoredResourceDescriptorsMethod(), getCallOptions()), request, responseObserver); @@ -691,7 +694,7 @@ public void listMonitoredResourceDescriptors( public void getMonitoredResourceDescriptor( com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetMonitoredResourceDescriptorMethod(), getCallOptions()), request, responseObserver); @@ -708,7 +711,7 @@ public void listMetricDescriptors( com.google.monitoring.v3.ListMetricDescriptorsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListMetricDescriptorsMethod(), getCallOptions()), request, responseObserver); @@ -724,7 +727,7 @@ public void listMetricDescriptors( public void getMetricDescriptor( com.google.monitoring.v3.GetMetricDescriptorRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetMetricDescriptorMethod(), getCallOptions()), request, responseObserver); @@ -742,7 +745,7 @@ public void getMetricDescriptor( public void createMetricDescriptor( com.google.monitoring.v3.CreateMetricDescriptorRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateMetricDescriptorMethod(), getCallOptions()), request, responseObserver); @@ -760,7 +763,7 @@ public void createMetricDescriptor( public void deleteMetricDescriptor( com.google.monitoring.v3.DeleteMetricDescriptorRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteMetricDescriptorMethod(), getCallOptions()), request, responseObserver); @@ -777,7 +780,7 @@ public void listTimeSeries( com.google.monitoring.v3.ListTimeSeriesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTimeSeriesMethod(), getCallOptions()), request, responseObserver); @@ -796,7 +799,7 @@ public void listTimeSeries( public void createTimeSeries( com.google.monitoring.v3.CreateTimeSeriesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTimeSeriesMethod(), getCallOptions()), request, responseObserver); @@ -833,7 +836,7 @@ protected MetricServiceBlockingStub build( public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse listMonitoredResourceDescriptors( com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListMonitoredResourceDescriptorsMethod(), getCallOptions(), request); } @@ -846,7 +849,7 @@ protected MetricServiceBlockingStub build( */ public com.google.api.MonitoredResourceDescriptor getMonitoredResourceDescriptor( com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetMonitoredResourceDescriptorMethod(), getCallOptions(), request); } @@ -859,7 +862,7 @@ public com.google.api.MonitoredResourceDescriptor getMonitoredResourceDescriptor */ public com.google.monitoring.v3.ListMetricDescriptorsResponse listMetricDescriptors( com.google.monitoring.v3.ListMetricDescriptorsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListMetricDescriptorsMethod(), getCallOptions(), request); } @@ -872,7 +875,7 @@ public com.google.monitoring.v3.ListMetricDescriptorsResponse listMetricDescript */ public com.google.api.MetricDescriptor getMetricDescriptor( com.google.monitoring.v3.GetMetricDescriptorRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetMetricDescriptorMethod(), getCallOptions(), request); } @@ -887,7 +890,7 @@ public com.google.api.MetricDescriptor getMetricDescriptor( */ public com.google.api.MetricDescriptor createMetricDescriptor( com.google.monitoring.v3.CreateMetricDescriptorRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateMetricDescriptorMethod(), getCallOptions(), request); } @@ -902,7 +905,7 @@ public com.google.api.MetricDescriptor createMetricDescriptor( */ public com.google.protobuf.Empty deleteMetricDescriptor( com.google.monitoring.v3.DeleteMetricDescriptorRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteMetricDescriptorMethod(), getCallOptions(), request); } @@ -915,7 +918,8 @@ public com.google.protobuf.Empty deleteMetricDescriptor( */ public com.google.monitoring.v3.ListTimeSeriesResponse listTimeSeries( com.google.monitoring.v3.ListTimeSeriesRequest request) { - return blockingUnaryCall(getChannel(), getListTimeSeriesMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTimeSeriesMethod(), getCallOptions(), request); } /** @@ -930,7 +934,7 @@ public com.google.monitoring.v3.ListTimeSeriesResponse listTimeSeries( */ public com.google.protobuf.Empty createTimeSeries( com.google.monitoring.v3.CreateTimeSeriesRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTimeSeriesMethod(), getCallOptions(), request); } } @@ -966,7 +970,7 @@ protected MetricServiceFutureStub build( com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> listMonitoredResourceDescriptors( com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListMonitoredResourceDescriptorsMethod(), getCallOptions()), request); } @@ -982,7 +986,7 @@ protected MetricServiceFutureStub build( com.google.api.MonitoredResourceDescriptor> getMonitoredResourceDescriptor( com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetMonitoredResourceDescriptorMethod(), getCallOptions()), request); } @@ -997,7 +1001,7 @@ protected MetricServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.ListMetricDescriptorsResponse> listMetricDescriptors(com.google.monitoring.v3.ListMetricDescriptorsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListMetricDescriptorsMethod(), getCallOptions()), request); } @@ -1010,7 +1014,7 @@ protected MetricServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture getMetricDescriptor(com.google.monitoring.v3.GetMetricDescriptorRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetMetricDescriptorMethod(), getCallOptions()), request); } @@ -1025,7 +1029,7 @@ protected MetricServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture createMetricDescriptor(com.google.monitoring.v3.CreateMetricDescriptorRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateMetricDescriptorMethod(), getCallOptions()), request); } @@ -1040,7 +1044,7 @@ protected MetricServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteMetricDescriptor(com.google.monitoring.v3.DeleteMetricDescriptorRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteMetricDescriptorMethod(), getCallOptions()), request); } @@ -1054,7 +1058,7 @@ protected MetricServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.ListTimeSeriesResponse> listTimeSeries(com.google.monitoring.v3.ListTimeSeriesRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTimeSeriesMethod(), getCallOptions()), request); } @@ -1070,7 +1074,7 @@ protected MetricServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture createTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTimeSeriesMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java index 6c56ec71..60fa14e6 100644 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java +++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java @@ -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; /** * @@ -631,7 +626,8 @@ public void listNotificationChannelDescriptors( io.grpc.stub.StreamObserver< com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> responseObserver) { - asyncUnimplementedUnaryCall(getListNotificationChannelDescriptorsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNotificationChannelDescriptorsMethod(), responseObserver); } /** @@ -646,7 +642,8 @@ public void getNotificationChannelDescriptor( com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetNotificationChannelDescriptorMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetNotificationChannelDescriptorMethod(), responseObserver); } /** @@ -660,7 +657,8 @@ public void listNotificationChannels( com.google.monitoring.v3.ListNotificationChannelsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListNotificationChannelsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNotificationChannelsMethod(), responseObserver); } /** @@ -678,7 +676,8 @@ public void getNotificationChannel( com.google.monitoring.v3.GetNotificationChannelRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetNotificationChannelMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetNotificationChannelMethod(), responseObserver); } /** @@ -693,7 +692,8 @@ public void createNotificationChannel( com.google.monitoring.v3.CreateNotificationChannelRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateNotificationChannelMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateNotificationChannelMethod(), responseObserver); } /** @@ -708,7 +708,8 @@ public void updateNotificationChannel( com.google.monitoring.v3.UpdateNotificationChannelRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateNotificationChannelMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateNotificationChannelMethod(), responseObserver); } /** @@ -721,7 +722,8 @@ public void updateNotificationChannel( public void deleteNotificationChannel( com.google.monitoring.v3.DeleteNotificationChannelRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteNotificationChannelMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteNotificationChannelMethod(), responseObserver); } /** @@ -735,7 +737,7 @@ public void deleteNotificationChannel( public void sendNotificationChannelVerificationCode( com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall( + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getSendNotificationChannelVerificationCodeMethod(), responseObserver); } @@ -770,7 +772,7 @@ public void getNotificationChannelVerificationCode( io.grpc.stub.StreamObserver< com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> responseObserver) { - asyncUnimplementedUnaryCall( + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetNotificationChannelVerificationCodeMethod(), responseObserver); } @@ -787,7 +789,8 @@ public void verifyNotificationChannel( com.google.monitoring.v3.VerifyNotificationChannelRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getVerifyNotificationChannelMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getVerifyNotificationChannelMethod(), responseObserver); } @java.lang.Override @@ -795,69 +798,69 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getListNotificationChannelDescriptorsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest, com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse>( this, METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS))) .addMethod( getGetNotificationChannelDescriptorMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.GetNotificationChannelDescriptorRequest, com.google.monitoring.v3.NotificationChannelDescriptor>( this, METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR))) .addMethod( getListNotificationChannelsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.ListNotificationChannelsRequest, com.google.monitoring.v3.ListNotificationChannelsResponse>( this, METHODID_LIST_NOTIFICATION_CHANNELS))) .addMethod( getGetNotificationChannelMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.GetNotificationChannelRequest, com.google.monitoring.v3.NotificationChannel>( this, METHODID_GET_NOTIFICATION_CHANNEL))) .addMethod( getCreateNotificationChannelMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.CreateNotificationChannelRequest, com.google.monitoring.v3.NotificationChannel>( this, METHODID_CREATE_NOTIFICATION_CHANNEL))) .addMethod( getUpdateNotificationChannelMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.UpdateNotificationChannelRequest, com.google.monitoring.v3.NotificationChannel>( this, METHODID_UPDATE_NOTIFICATION_CHANNEL))) .addMethod( getDeleteNotificationChannelMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.DeleteNotificationChannelRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_NOTIFICATION_CHANNEL))) .addMethod( getSendNotificationChannelVerificationCodeMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest, com.google.protobuf.Empty>( this, METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE))) .addMethod( getGetNotificationChannelVerificationCodeMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest, com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse>( this, METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE))) .addMethod( getVerifyNotificationChannelMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.VerifyNotificationChannelRequest, com.google.monitoring.v3.NotificationChannel>( @@ -900,7 +903,7 @@ public void listNotificationChannelDescriptors( io.grpc.stub.StreamObserver< com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListNotificationChannelDescriptorsMethod(), getCallOptions()), request, responseObserver); @@ -918,7 +921,7 @@ public void getNotificationChannelDescriptor( com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetNotificationChannelDescriptorMethod(), getCallOptions()), request, responseObserver); @@ -935,7 +938,7 @@ public void listNotificationChannels( com.google.monitoring.v3.ListNotificationChannelsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListNotificationChannelsMethod(), getCallOptions()), request, responseObserver); @@ -956,7 +959,7 @@ public void getNotificationChannel( com.google.monitoring.v3.GetNotificationChannelRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetNotificationChannelMethod(), getCallOptions()), request, responseObserver); @@ -974,7 +977,7 @@ public void createNotificationChannel( com.google.monitoring.v3.CreateNotificationChannelRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateNotificationChannelMethod(), getCallOptions()), request, responseObserver); @@ -992,7 +995,7 @@ public void updateNotificationChannel( com.google.monitoring.v3.UpdateNotificationChannelRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateNotificationChannelMethod(), getCallOptions()), request, responseObserver); @@ -1008,7 +1011,7 @@ public void updateNotificationChannel( public void deleteNotificationChannel( com.google.monitoring.v3.DeleteNotificationChannelRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteNotificationChannelMethod(), getCallOptions()), request, responseObserver); @@ -1025,7 +1028,7 @@ public void deleteNotificationChannel( public void sendNotificationChannelVerificationCode( com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel() .newCall(getSendNotificationChannelVerificationCodeMethod(), getCallOptions()), request, @@ -1063,7 +1066,7 @@ public void getNotificationChannelVerificationCode( io.grpc.stub.StreamObserver< com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetNotificationChannelVerificationCodeMethod(), getCallOptions()), request, responseObserver); @@ -1082,7 +1085,7 @@ public void verifyNotificationChannel( com.google.monitoring.v3.VerifyNotificationChannelRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getVerifyNotificationChannelMethod(), getCallOptions()), request, responseObserver); @@ -1121,7 +1124,7 @@ protected NotificationChannelServiceBlockingStub build( public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse listNotificationChannelDescriptors( com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListNotificationChannelDescriptorsMethod(), getCallOptions(), request); } @@ -1135,7 +1138,7 @@ protected NotificationChannelServiceBlockingStub build( */ public com.google.monitoring.v3.NotificationChannelDescriptor getNotificationChannelDescriptor( com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetNotificationChannelDescriptorMethod(), getCallOptions(), request); } @@ -1148,7 +1151,7 @@ public com.google.monitoring.v3.NotificationChannelDescriptor getNotificationCha */ public com.google.monitoring.v3.ListNotificationChannelsResponse listNotificationChannels( com.google.monitoring.v3.ListNotificationChannelsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListNotificationChannelsMethod(), getCallOptions(), request); } @@ -1165,7 +1168,7 @@ public com.google.monitoring.v3.ListNotificationChannelsResponse listNotificatio */ public com.google.monitoring.v3.NotificationChannel getNotificationChannel( com.google.monitoring.v3.GetNotificationChannelRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetNotificationChannelMethod(), getCallOptions(), request); } @@ -1179,7 +1182,7 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannel( */ public com.google.monitoring.v3.NotificationChannel createNotificationChannel( com.google.monitoring.v3.CreateNotificationChannelRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateNotificationChannelMethod(), getCallOptions(), request); } @@ -1193,7 +1196,7 @@ public com.google.monitoring.v3.NotificationChannel createNotificationChannel( */ public com.google.monitoring.v3.NotificationChannel updateNotificationChannel( com.google.monitoring.v3.UpdateNotificationChannelRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateNotificationChannelMethod(), getCallOptions(), request); } @@ -1206,7 +1209,7 @@ public com.google.monitoring.v3.NotificationChannel updateNotificationChannel( */ public com.google.protobuf.Empty deleteNotificationChannel( com.google.monitoring.v3.DeleteNotificationChannelRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteNotificationChannelMethod(), getCallOptions(), request); } @@ -1220,7 +1223,7 @@ public com.google.protobuf.Empty deleteNotificationChannel( */ public com.google.protobuf.Empty sendNotificationChannelVerificationCode( com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSendNotificationChannelVerificationCodeMethod(), getCallOptions(), @@ -1256,7 +1259,7 @@ public com.google.protobuf.Empty sendNotificationChannelVerificationCode( public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse getNotificationChannelVerificationCode( com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetNotificationChannelVerificationCodeMethod(), getCallOptions(), @@ -1274,7 +1277,7 @@ public com.google.protobuf.Empty sendNotificationChannelVerificationCode( */ public com.google.monitoring.v3.NotificationChannel verifyNotificationChannel( com.google.monitoring.v3.VerifyNotificationChannelRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getVerifyNotificationChannelMethod(), getCallOptions(), request); } } @@ -1312,7 +1315,7 @@ protected NotificationChannelServiceFutureStub build( com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> listNotificationChannelDescriptors( com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListNotificationChannelDescriptorsMethod(), getCallOptions()), request); } @@ -1329,7 +1332,7 @@ protected NotificationChannelServiceFutureStub build( com.google.monitoring.v3.NotificationChannelDescriptor> getNotificationChannelDescriptor( com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetNotificationChannelDescriptorMethod(), getCallOptions()), request); } @@ -1344,7 +1347,7 @@ protected NotificationChannelServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.ListNotificationChannelsResponse> listNotificationChannels(com.google.monitoring.v3.ListNotificationChannelsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListNotificationChannelsMethod(), getCallOptions()), request); } @@ -1362,7 +1365,7 @@ protected NotificationChannelServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.NotificationChannel> getNotificationChannel(com.google.monitoring.v3.GetNotificationChannelRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetNotificationChannelMethod(), getCallOptions()), request); } @@ -1378,7 +1381,7 @@ protected NotificationChannelServiceFutureStub build( com.google.monitoring.v3.NotificationChannel> createNotificationChannel( com.google.monitoring.v3.CreateNotificationChannelRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateNotificationChannelMethod(), getCallOptions()), request); } @@ -1394,7 +1397,7 @@ protected NotificationChannelServiceFutureStub build( com.google.monitoring.v3.NotificationChannel> updateNotificationChannel( com.google.monitoring.v3.UpdateNotificationChannelRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateNotificationChannelMethod(), getCallOptions()), request); } @@ -1408,7 +1411,7 @@ protected NotificationChannelServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture deleteNotificationChannel( com.google.monitoring.v3.DeleteNotificationChannelRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteNotificationChannelMethod(), getCallOptions()), request); } @@ -1423,7 +1426,7 @@ protected NotificationChannelServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture sendNotificationChannelVerificationCode( com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel() .newCall(getSendNotificationChannelVerificationCodeMethod(), getCallOptions()), request); @@ -1459,7 +1462,7 @@ protected NotificationChannelServiceFutureStub build( com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> getNotificationChannelVerificationCode( com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetNotificationChannelVerificationCodeMethod(), getCallOptions()), request); } @@ -1477,7 +1480,7 @@ protected NotificationChannelServiceFutureStub build( com.google.monitoring.v3.NotificationChannel> verifyNotificationChannel( com.google.monitoring.v3.VerifyNotificationChannelRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getVerifyNotificationChannelMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java index f0aa314d..89abf1b5 100644 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java +++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java @@ -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; /** * @@ -578,7 +573,8 @@ public abstract static class ServiceMonitoringServiceImplBase implements io.grpc public void createService( com.google.monitoring.v3.CreateServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateServiceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateServiceMethod(), responseObserver); } /** @@ -591,7 +587,7 @@ public void createService( public void getService( com.google.monitoring.v3.GetServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetServiceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceMethod(), responseObserver); } /** @@ -605,7 +601,8 @@ public void listServices( com.google.monitoring.v3.ListServicesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListServicesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListServicesMethod(), responseObserver); } /** @@ -618,7 +615,8 @@ public void listServices( public void updateService( com.google.monitoring.v3.UpdateServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateServiceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateServiceMethod(), responseObserver); } /** @@ -631,7 +629,8 @@ public void updateService( public void deleteService( com.google.monitoring.v3.DeleteServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteServiceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteServiceMethod(), responseObserver); } /** @@ -645,7 +644,8 @@ public void createServiceLevelObjective( com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateServiceLevelObjectiveMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateServiceLevelObjectiveMethod(), responseObserver); } /** @@ -659,7 +659,8 @@ public void getServiceLevelObjective( com.google.monitoring.v3.GetServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetServiceLevelObjectiveMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetServiceLevelObjectiveMethod(), responseObserver); } /** @@ -673,7 +674,8 @@ public void listServiceLevelObjectives( com.google.monitoring.v3.ListServiceLevelObjectivesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListServiceLevelObjectivesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListServiceLevelObjectivesMethod(), responseObserver); } /** @@ -687,7 +689,8 @@ public void updateServiceLevelObjective( com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateServiceLevelObjectiveMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateServiceLevelObjectiveMethod(), responseObserver); } /** @@ -700,7 +703,8 @@ public void updateServiceLevelObjective( public void deleteServiceLevelObjective( com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteServiceLevelObjectiveMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteServiceLevelObjectiveMethod(), responseObserver); } @java.lang.Override @@ -708,65 +712,65 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateServiceMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.CreateServiceRequest, com.google.monitoring.v3.Service>(this, METHODID_CREATE_SERVICE))) .addMethod( getGetServiceMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.GetServiceRequest, com.google.monitoring.v3.Service>( this, METHODID_GET_SERVICE))) .addMethod( getListServicesMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.ListServicesRequest, com.google.monitoring.v3.ListServicesResponse>(this, METHODID_LIST_SERVICES))) .addMethod( getUpdateServiceMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.UpdateServiceRequest, com.google.monitoring.v3.Service>(this, METHODID_UPDATE_SERVICE))) .addMethod( getDeleteServiceMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.DeleteServiceRequest, com.google.protobuf.Empty>( this, METHODID_DELETE_SERVICE))) .addMethod( getCreateServiceLevelObjectiveMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.CreateServiceLevelObjectiveRequest, com.google.monitoring.v3.ServiceLevelObjective>( this, METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE))) .addMethod( getGetServiceLevelObjectiveMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.GetServiceLevelObjectiveRequest, com.google.monitoring.v3.ServiceLevelObjective>( this, METHODID_GET_SERVICE_LEVEL_OBJECTIVE))) .addMethod( getListServiceLevelObjectivesMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.ListServiceLevelObjectivesRequest, com.google.monitoring.v3.ListServiceLevelObjectivesResponse>( this, METHODID_LIST_SERVICE_LEVEL_OBJECTIVES))) .addMethod( getUpdateServiceLevelObjectiveMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest, com.google.monitoring.v3.ServiceLevelObjective>( this, METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE))) .addMethod( getDeleteServiceLevelObjectiveMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE))) @@ -806,7 +810,7 @@ protected ServiceMonitoringServiceStub build( public void createService( com.google.monitoring.v3.CreateServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request, responseObserver); @@ -822,7 +826,7 @@ public void createService( public void getService( com.google.monitoring.v3.GetServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetServiceMethod(), getCallOptions()), request, responseObserver); } @@ -837,7 +841,7 @@ public void listServices( com.google.monitoring.v3.ListServicesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListServicesMethod(), getCallOptions()), request, responseObserver); @@ -853,7 +857,7 @@ public void listServices( public void updateService( com.google.monitoring.v3.UpdateServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), request, responseObserver); @@ -869,7 +873,7 @@ public void updateService( public void deleteService( com.google.monitoring.v3.DeleteServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request, responseObserver); @@ -886,7 +890,7 @@ public void createServiceLevelObjective( com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateServiceLevelObjectiveMethod(), getCallOptions()), request, responseObserver); @@ -903,7 +907,7 @@ public void getServiceLevelObjective( com.google.monitoring.v3.GetServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetServiceLevelObjectiveMethod(), getCallOptions()), request, responseObserver); @@ -920,7 +924,7 @@ public void listServiceLevelObjectives( com.google.monitoring.v3.ListServiceLevelObjectivesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListServiceLevelObjectivesMethod(), getCallOptions()), request, responseObserver); @@ -937,7 +941,7 @@ public void updateServiceLevelObjective( com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateServiceLevelObjectiveMethod(), getCallOptions()), request, responseObserver); @@ -953,7 +957,7 @@ public void updateServiceLevelObjective( public void deleteServiceLevelObjective( com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteServiceLevelObjectiveMethod(), getCallOptions()), request, responseObserver); @@ -992,7 +996,8 @@ protected ServiceMonitoringServiceBlockingStub build( */ public com.google.monitoring.v3.Service createService( com.google.monitoring.v3.CreateServiceRequest request) { - return blockingUnaryCall(getChannel(), getCreateServiceMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateServiceMethod(), getCallOptions(), request); } /** @@ -1004,7 +1009,8 @@ public com.google.monitoring.v3.Service createService( */ public com.google.monitoring.v3.Service getService( com.google.monitoring.v3.GetServiceRequest request) { - return blockingUnaryCall(getChannel(), getGetServiceMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetServiceMethod(), getCallOptions(), request); } /** @@ -1016,7 +1022,8 @@ public com.google.monitoring.v3.Service getService( */ public com.google.monitoring.v3.ListServicesResponse listServices( com.google.monitoring.v3.ListServicesRequest request) { - return blockingUnaryCall(getChannel(), getListServicesMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListServicesMethod(), getCallOptions(), request); } /** @@ -1028,7 +1035,8 @@ public com.google.monitoring.v3.ListServicesResponse listServices( */ public com.google.monitoring.v3.Service updateService( com.google.monitoring.v3.UpdateServiceRequest request) { - return blockingUnaryCall(getChannel(), getUpdateServiceMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateServiceMethod(), getCallOptions(), request); } /** @@ -1040,7 +1048,8 @@ public com.google.monitoring.v3.Service updateService( */ public com.google.protobuf.Empty deleteService( com.google.monitoring.v3.DeleteServiceRequest request) { - return blockingUnaryCall(getChannel(), getDeleteServiceMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteServiceMethod(), getCallOptions(), request); } /** @@ -1052,7 +1061,7 @@ public com.google.protobuf.Empty deleteService( */ public com.google.monitoring.v3.ServiceLevelObjective createServiceLevelObjective( com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateServiceLevelObjectiveMethod(), getCallOptions(), request); } @@ -1065,7 +1074,7 @@ public com.google.monitoring.v3.ServiceLevelObjective createServiceLevelObjectiv */ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective( com.google.monitoring.v3.GetServiceLevelObjectiveRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetServiceLevelObjectiveMethod(), getCallOptions(), request); } @@ -1078,7 +1087,7 @@ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective( */ public com.google.monitoring.v3.ListServiceLevelObjectivesResponse listServiceLevelObjectives( com.google.monitoring.v3.ListServiceLevelObjectivesRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListServiceLevelObjectivesMethod(), getCallOptions(), request); } @@ -1091,7 +1100,7 @@ public com.google.monitoring.v3.ListServiceLevelObjectivesResponse listServiceLe */ public com.google.monitoring.v3.ServiceLevelObjective updateServiceLevelObjective( com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateServiceLevelObjectiveMethod(), getCallOptions(), request); } @@ -1104,7 +1113,7 @@ public com.google.monitoring.v3.ServiceLevelObjective updateServiceLevelObjectiv */ public com.google.protobuf.Empty deleteServiceLevelObjective( com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteServiceLevelObjectiveMethod(), getCallOptions(), request); } } @@ -1141,7 +1150,7 @@ protected ServiceMonitoringServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture createService(com.google.monitoring.v3.CreateServiceRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request); } @@ -1154,7 +1163,7 @@ protected ServiceMonitoringServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture getService(com.google.monitoring.v3.GetServiceRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetServiceMethod(), getCallOptions()), request); } @@ -1168,7 +1177,7 @@ protected ServiceMonitoringServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.ListServicesResponse> listServices(com.google.monitoring.v3.ListServicesRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListServicesMethod(), getCallOptions()), request); } @@ -1181,7 +1190,7 @@ protected ServiceMonitoringServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture updateService(com.google.monitoring.v3.UpdateServiceRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), request); } @@ -1194,7 +1203,7 @@ protected ServiceMonitoringServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteService(com.google.monitoring.v3.DeleteServiceRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request); } @@ -1209,7 +1218,7 @@ protected ServiceMonitoringServiceFutureStub build( com.google.monitoring.v3.ServiceLevelObjective> createServiceLevelObjective( com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateServiceLevelObjectiveMethod(), getCallOptions()), request); } @@ -1223,7 +1232,7 @@ protected ServiceMonitoringServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.ServiceLevelObjective> getServiceLevelObjective(com.google.monitoring.v3.GetServiceLevelObjectiveRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetServiceLevelObjectiveMethod(), getCallOptions()), request); } @@ -1238,7 +1247,7 @@ protected ServiceMonitoringServiceFutureStub build( com.google.monitoring.v3.ListServiceLevelObjectivesResponse> listServiceLevelObjectives( com.google.monitoring.v3.ListServiceLevelObjectivesRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListServiceLevelObjectivesMethod(), getCallOptions()), request); } @@ -1253,7 +1262,7 @@ protected ServiceMonitoringServiceFutureStub build( com.google.monitoring.v3.ServiceLevelObjective> updateServiceLevelObjective( com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateServiceLevelObjectiveMethod(), getCallOptions()), request); } @@ -1267,7 +1276,7 @@ protected ServiceMonitoringServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture deleteServiceLevelObjective( com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteServiceLevelObjectiveMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java index 5805b596..ade46fb1 100644 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java +++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java @@ -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; /** * @@ -411,7 +406,8 @@ public void listUptimeCheckConfigs( com.google.monitoring.v3.ListUptimeCheckConfigsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListUptimeCheckConfigsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListUptimeCheckConfigsMethod(), responseObserver); } /** @@ -424,7 +420,8 @@ public void listUptimeCheckConfigs( public void getUptimeCheckConfig( com.google.monitoring.v3.GetUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetUptimeCheckConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetUptimeCheckConfigMethod(), responseObserver); } /** @@ -437,7 +434,8 @@ public void getUptimeCheckConfig( public void createUptimeCheckConfig( com.google.monitoring.v3.CreateUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateUptimeCheckConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateUptimeCheckConfigMethod(), responseObserver); } /** @@ -453,7 +451,8 @@ public void createUptimeCheckConfig( public void updateUptimeCheckConfig( com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateUptimeCheckConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateUptimeCheckConfigMethod(), responseObserver); } /** @@ -468,7 +467,8 @@ public void updateUptimeCheckConfig( public void deleteUptimeCheckConfig( com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteUptimeCheckConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteUptimeCheckConfigMethod(), responseObserver); } /** @@ -482,7 +482,8 @@ public void listUptimeCheckIps( com.google.monitoring.v3.ListUptimeCheckIpsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListUptimeCheckIpsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListUptimeCheckIpsMethod(), responseObserver); } @java.lang.Override @@ -490,41 +491,41 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getListUptimeCheckConfigsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.ListUptimeCheckConfigsRequest, com.google.monitoring.v3.ListUptimeCheckConfigsResponse>( this, METHODID_LIST_UPTIME_CHECK_CONFIGS))) .addMethod( getGetUptimeCheckConfigMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.GetUptimeCheckConfigRequest, com.google.monitoring.v3.UptimeCheckConfig>( this, METHODID_GET_UPTIME_CHECK_CONFIG))) .addMethod( getCreateUptimeCheckConfigMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.CreateUptimeCheckConfigRequest, com.google.monitoring.v3.UptimeCheckConfig>( this, METHODID_CREATE_UPTIME_CHECK_CONFIG))) .addMethod( getUpdateUptimeCheckConfigMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.UpdateUptimeCheckConfigRequest, com.google.monitoring.v3.UptimeCheckConfig>( this, METHODID_UPDATE_UPTIME_CHECK_CONFIG))) .addMethod( getDeleteUptimeCheckConfigMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.DeleteUptimeCheckConfigRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_UPTIME_CHECK_CONFIG))) .addMethod( getListUptimeCheckIpsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.monitoring.v3.ListUptimeCheckIpsRequest, com.google.monitoring.v3.ListUptimeCheckIpsResponse>( @@ -571,7 +572,7 @@ public void listUptimeCheckConfigs( com.google.monitoring.v3.ListUptimeCheckConfigsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListUptimeCheckConfigsMethod(), getCallOptions()), request, responseObserver); @@ -587,7 +588,7 @@ public void listUptimeCheckConfigs( public void getUptimeCheckConfig( com.google.monitoring.v3.GetUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetUptimeCheckConfigMethod(), getCallOptions()), request, responseObserver); @@ -603,7 +604,7 @@ public void getUptimeCheckConfig( public void createUptimeCheckConfig( com.google.monitoring.v3.CreateUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateUptimeCheckConfigMethod(), getCallOptions()), request, responseObserver); @@ -622,7 +623,7 @@ public void createUptimeCheckConfig( public void updateUptimeCheckConfig( com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateUptimeCheckConfigMethod(), getCallOptions()), request, responseObserver); @@ -640,7 +641,7 @@ public void updateUptimeCheckConfig( public void deleteUptimeCheckConfig( com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteUptimeCheckConfigMethod(), getCallOptions()), request, responseObserver); @@ -657,7 +658,7 @@ public void listUptimeCheckIps( com.google.monitoring.v3.ListUptimeCheckIpsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListUptimeCheckIpsMethod(), getCallOptions()), request, responseObserver); @@ -701,7 +702,7 @@ protected UptimeCheckServiceBlockingStub build( */ public com.google.monitoring.v3.ListUptimeCheckConfigsResponse listUptimeCheckConfigs( com.google.monitoring.v3.ListUptimeCheckConfigsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListUptimeCheckConfigsMethod(), getCallOptions(), request); } @@ -714,7 +715,7 @@ public com.google.monitoring.v3.ListUptimeCheckConfigsResponse listUptimeCheckCo */ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig( com.google.monitoring.v3.GetUptimeCheckConfigRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetUptimeCheckConfigMethod(), getCallOptions(), request); } @@ -727,7 +728,7 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig( */ public com.google.monitoring.v3.UptimeCheckConfig createUptimeCheckConfig( com.google.monitoring.v3.CreateUptimeCheckConfigRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateUptimeCheckConfigMethod(), getCallOptions(), request); } @@ -743,7 +744,7 @@ public com.google.monitoring.v3.UptimeCheckConfig createUptimeCheckConfig( */ public com.google.monitoring.v3.UptimeCheckConfig updateUptimeCheckConfig( com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateUptimeCheckConfigMethod(), getCallOptions(), request); } @@ -758,7 +759,7 @@ public com.google.monitoring.v3.UptimeCheckConfig updateUptimeCheckConfig( */ public com.google.protobuf.Empty deleteUptimeCheckConfig( com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteUptimeCheckConfigMethod(), getCallOptions(), request); } @@ -771,7 +772,7 @@ public com.google.protobuf.Empty deleteUptimeCheckConfig( */ public com.google.monitoring.v3.ListUptimeCheckIpsResponse listUptimeCheckIps( com.google.monitoring.v3.ListUptimeCheckIpsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListUptimeCheckIpsMethod(), getCallOptions(), request); } } @@ -813,7 +814,7 @@ protected UptimeCheckServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.ListUptimeCheckConfigsResponse> listUptimeCheckConfigs(com.google.monitoring.v3.ListUptimeCheckConfigsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListUptimeCheckConfigsMethod(), getCallOptions()), request); } @@ -827,7 +828,7 @@ protected UptimeCheckServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.UptimeCheckConfig> getUptimeCheckConfig(com.google.monitoring.v3.GetUptimeCheckConfigRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetUptimeCheckConfigMethod(), getCallOptions()), request); } @@ -841,7 +842,7 @@ protected UptimeCheckServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.UptimeCheckConfig> createUptimeCheckConfig(com.google.monitoring.v3.CreateUptimeCheckConfigRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateUptimeCheckConfigMethod(), getCallOptions()), request); } @@ -858,7 +859,7 @@ protected UptimeCheckServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.UptimeCheckConfig> updateUptimeCheckConfig(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateUptimeCheckConfigMethod(), getCallOptions()), request); } @@ -873,7 +874,7 @@ protected UptimeCheckServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteUptimeCheckConfig(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteUptimeCheckConfigMethod(), getCallOptions()), request); } @@ -887,7 +888,7 @@ protected UptimeCheckServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.monitoring.v3.ListUptimeCheckIpsResponse> listUptimeCheckIps(com.google.monitoring.v3.ListUptimeCheckIpsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListUptimeCheckIpsMethod(), getCallOptions()), request); } } diff --git a/synth.metadata b/synth.metadata index cdf78102..12deb3f9 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-monitoring.git", - "sha": "35ca49b598c3e3f23e53afd375aa4348a2607f3b" + "sha": "b7b8684e0808da7e9a0d25717189c0bb12724539" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "3befd26ca55723d3e8111909331eac1249837987", - "internalRef": "360805639" + "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89", + "internalRef": "361377784" } }, {