public class GrpcServiceMonitoringServiceStub extends ServiceMonitoringServiceStub
gRPC stub implementation for the ServiceMonitoringService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcServiceMonitoringServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcServiceMonitoringServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(ServiceMonitoringServiceStubSettings settings)
public static final GrpcServiceMonitoringServiceStub create(ServiceMonitoringServiceStubSettings settings)
Constructors
GrpcServiceMonitoringServiceStub(ServiceMonitoringServiceStubSettings settings, ClientContext clientContext)
protected GrpcServiceMonitoringServiceStub(ServiceMonitoringServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcServiceMonitoringServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
GrpcServiceMonitoringServiceStub(ServiceMonitoringServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcServiceMonitoringServiceStub(ServiceMonitoringServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcServiceMonitoringServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createServiceCallable()
public UnaryCallable<CreateServiceRequest,Service> createServiceCallable()
Overrides
createServiceLevelObjectiveCallable()
public UnaryCallable<CreateServiceLevelObjectiveRequest,ServiceLevelObjective> createServiceLevelObjectiveCallable()
Overrides
deleteServiceCallable()
public UnaryCallable<DeleteServiceRequest,Empty> deleteServiceCallable()
Overrides
deleteServiceLevelObjectiveCallable()
public UnaryCallable<DeleteServiceLevelObjectiveRequest,Empty> deleteServiceLevelObjectiveCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getServiceCallable()
public UnaryCallable<GetServiceRequest,Service> getServiceCallable()
Overrides
getServiceLevelObjectiveCallable()
public UnaryCallable<GetServiceLevelObjectiveRequest,ServiceLevelObjective> getServiceLevelObjectiveCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listServiceLevelObjectivesCallable()
public UnaryCallable<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesResponse> listServiceLevelObjectivesCallable()
Overrides
listServiceLevelObjectivesPagedCallable()
public UnaryCallable<ListServiceLevelObjectivesRequest,ServiceMonitoringServiceClient.ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesPagedCallable()
Overrides
listServicesCallable()
public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Overrides
listServicesPagedCallable()
public UnaryCallable<ListServicesRequest,ServiceMonitoringServiceClient.ListServicesPagedResponse> listServicesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateServiceCallable()
public UnaryCallable<UpdateServiceRequest,Service> updateServiceCallable()
Overrides
updateServiceLevelObjectiveCallable()
public UnaryCallable<UpdateServiceLevelObjectiveRequest,ServiceLevelObjective> updateServiceLevelObjectiveCallable()
Overrides