Class GrpcServiceMonitoringServiceStub (3.46.0)

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.

Inheritance

java.lang.Object > ServiceMonitoringServiceStub > GrpcServiceMonitoringServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcServiceMonitoringServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcServiceMonitoringServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcServiceMonitoringServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcServiceMonitoringServiceStub
Exceptions
Type Description
IOException

create(ServiceMonitoringServiceStubSettings settings)

public static final GrpcServiceMonitoringServiceStub create(ServiceMonitoringServiceStubSettings settings)
Parameter
Name Description
settings ServiceMonitoringServiceStubSettings
Returns
Type Description
GrpcServiceMonitoringServiceStub
Exceptions
Type Description
IOException

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
Name Description
settings ServiceMonitoringServiceStubSettings
clientContext ClientContext

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
Name Description
settings ServiceMonitoringServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createServiceCallable()

public UnaryCallable<CreateServiceRequest,Service> createServiceCallable()
Returns
Type Description
UnaryCallable<CreateServiceRequest,Service>
Overrides

createServiceLevelObjectiveCallable()

public UnaryCallable<CreateServiceLevelObjectiveRequest,ServiceLevelObjective> createServiceLevelObjectiveCallable()
Returns
Type Description
UnaryCallable<CreateServiceLevelObjectiveRequest,ServiceLevelObjective>
Overrides

deleteServiceCallable()

public UnaryCallable<DeleteServiceRequest,Empty> deleteServiceCallable()
Returns
Type Description
UnaryCallable<DeleteServiceRequest,Empty>
Overrides

deleteServiceLevelObjectiveCallable()

public UnaryCallable<DeleteServiceLevelObjectiveRequest,Empty> deleteServiceLevelObjectiveCallable()
Returns
Type Description
UnaryCallable<DeleteServiceLevelObjectiveRequest,Empty>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getServiceCallable()

public UnaryCallable<GetServiceRequest,Service> getServiceCallable()
Returns
Type Description
UnaryCallable<GetServiceRequest,Service>
Overrides

getServiceLevelObjectiveCallable()

public UnaryCallable<GetServiceLevelObjectiveRequest,ServiceLevelObjective> getServiceLevelObjectiveCallable()
Returns
Type Description
UnaryCallable<GetServiceLevelObjectiveRequest,ServiceLevelObjective>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listServiceLevelObjectivesCallable()

public UnaryCallable<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesResponse> listServiceLevelObjectivesCallable()
Returns
Type Description
UnaryCallable<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesResponse>
Overrides

listServiceLevelObjectivesPagedCallable()

public UnaryCallable<ListServiceLevelObjectivesRequest,ServiceMonitoringServiceClient.ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesPagedCallable()
Returns
Type Description
UnaryCallable<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesPagedResponse>
Overrides

listServicesCallable()

public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Returns
Type Description
UnaryCallable<ListServicesRequest,ListServicesResponse>
Overrides

listServicesPagedCallable()

public UnaryCallable<ListServicesRequest,ServiceMonitoringServiceClient.ListServicesPagedResponse> listServicesPagedCallable()
Returns
Type Description
UnaryCallable<ListServicesRequest,ListServicesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateServiceCallable()

public UnaryCallable<UpdateServiceRequest,Service> updateServiceCallable()
Returns
Type Description
UnaryCallable<UpdateServiceRequest,Service>
Overrides

updateServiceLevelObjectiveCallable()

public UnaryCallable<UpdateServiceLevelObjectiveRequest,ServiceLevelObjective> updateServiceLevelObjectiveCallable()
Returns
Type Description
UnaryCallable<UpdateServiceLevelObjectiveRequest,ServiceLevelObjective>
Overrides