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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcServiceMonitoringServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ServiceMonitoringServiceStubSettings settings)
public static final GrpcServiceMonitoringServiceStub create(ServiceMonitoringServiceStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createServiceCallable()
public UnaryCallable<CreateServiceRequest,Service> createServiceCallable()
Returns
Overrides
createServiceLevelObjectiveCallable()
public UnaryCallable<CreateServiceLevelObjectiveRequest,ServiceLevelObjective> createServiceLevelObjectiveCallable()
Returns
Overrides
deleteServiceCallable()
public UnaryCallable<DeleteServiceRequest,Empty> deleteServiceCallable()
Returns
Overrides
deleteServiceLevelObjectiveCallable()
public UnaryCallable<DeleteServiceLevelObjectiveRequest,Empty> deleteServiceLevelObjectiveCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
getServiceCallable()
public UnaryCallable<GetServiceRequest,Service> getServiceCallable()
Returns
Overrides
getServiceLevelObjectiveCallable()
public UnaryCallable<GetServiceLevelObjectiveRequest,ServiceLevelObjective> getServiceLevelObjectiveCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listServiceLevelObjectivesCallable()
public UnaryCallable<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesResponse> listServiceLevelObjectivesCallable()
Returns
Overrides
listServiceLevelObjectivesPagedCallable()
public UnaryCallable<ListServiceLevelObjectivesRequest,ServiceMonitoringServiceClient.ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesPagedCallable()
Returns
Overrides
listServicesCallable()
public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Returns
Overrides
listServicesPagedCallable()
public UnaryCallable<ListServicesRequest,ServiceMonitoringServiceClient.ListServicesPagedResponse> listServicesPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateServiceCallable()
public UnaryCallable<UpdateServiceRequest,Service> updateServiceCallable()
Returns
Overrides
updateServiceLevelObjectiveCallable()
public UnaryCallable<UpdateServiceLevelObjectiveRequest,ServiceLevelObjective> updateServiceLevelObjectiveCallable()
Returns
Overrides