- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
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 | |
---|---|
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()
createServiceCallable()
public UnaryCallable<CreateServiceRequest,Service> createServiceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateServiceRequest,Service> |
createServiceLevelObjectiveCallable()
public UnaryCallable<CreateServiceLevelObjectiveRequest,ServiceLevelObjective> createServiceLevelObjectiveCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateServiceLevelObjectiveRequest,ServiceLevelObjective> |
deleteServiceCallable()
public UnaryCallable<DeleteServiceRequest,Empty> deleteServiceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteServiceRequest,Empty> |
deleteServiceLevelObjectiveCallable()
public UnaryCallable<DeleteServiceLevelObjectiveRequest,Empty> deleteServiceLevelObjectiveCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteServiceLevelObjectiveRequest,Empty> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getServiceCallable()
public UnaryCallable<GetServiceRequest,Service> getServiceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetServiceRequest,Service> |
getServiceLevelObjectiveCallable()
public UnaryCallable<GetServiceLevelObjectiveRequest,ServiceLevelObjective> getServiceLevelObjectiveCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetServiceLevelObjectiveRequest,ServiceLevelObjective> |
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> |
listServiceLevelObjectivesPagedCallable()
public UnaryCallable<ListServiceLevelObjectivesRequest,ServiceMonitoringServiceClient.ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesPagedResponse> |
listServicesCallable()
public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServicesRequest,ListServicesResponse> |
listServicesPagedCallable()
public UnaryCallable<ListServicesRequest,ServiceMonitoringServiceClient.ListServicesPagedResponse> listServicesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServicesRequest,ListServicesPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateServiceCallable()
public UnaryCallable<UpdateServiceRequest,Service> updateServiceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateServiceRequest,Service> |
updateServiceLevelObjectiveCallable()
public UnaryCallable<UpdateServiceLevelObjectiveRequest,ServiceLevelObjective> updateServiceLevelObjectiveCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateServiceLevelObjectiveRequest,ServiceLevelObjective> |