Class GrpcServiceMonitoringServiceStub (3.17.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcServiceMonitoringServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcServiceMonitoringServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcServiceMonitoringServiceStub
Exceptions
TypeDescription
IOException

create(ServiceMonitoringServiceStubSettings settings)

public static final GrpcServiceMonitoringServiceStub create(ServiceMonitoringServiceStubSettings settings)
Parameter
NameDescription
settingsServiceMonitoringServiceStubSettings
Returns
TypeDescription
GrpcServiceMonitoringServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsServiceMonitoringServiceStubSettings
clientContextClientContext

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
NameDescription
settingsServiceMonitoringServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createServiceCallable()

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

createServiceLevelObjectiveCallable()

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

deleteServiceCallable()

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

deleteServiceLevelObjectiveCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getServiceCallable()

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

getServiceLevelObjectiveCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listServiceLevelObjectivesCallable()

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

listServiceLevelObjectivesPagedCallable()

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

listServicesCallable()

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

listServicesPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateServiceCallable()

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

updateServiceLevelObjectiveCallable()

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