@Generated(value="by gapic-generator-java") public class GrpcServiceHealthStub extends ServiceHealthStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcServiceHealthStub(ServiceHealthStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcServiceHealthStub, using the given settings.
|
protected |
GrpcServiceHealthStub(ServiceHealthStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcServiceHealthStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcServiceHealthStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcServiceHealthStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcServiceHealthStub |
create(ServiceHealthStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<GetEventRequest,Event> |
getEventCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetOrganizationEventRequest,OrganizationEvent> |
getOrganizationEventCallable() |
com.google.api.gax.rpc.UnaryCallable<GetOrganizationImpactRequest,OrganizationImpact> |
getOrganizationImpactCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListEventsRequest,ListEventsResponse> |
listEventsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListEventsRequest,ServiceHealthClient.ListEventsPagedResponse> |
listEventsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ServiceHealthClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListOrganizationEventsRequest,ListOrganizationEventsResponse> |
listOrganizationEventsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListOrganizationEventsRequest,ServiceHealthClient.ListOrganizationEventsPagedResponse> |
listOrganizationEventsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListOrganizationImpactsRequest,ListOrganizationImpactsResponse> |
listOrganizationImpactsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListOrganizationImpactsRequest,ServiceHealthClient.ListOrganizationImpactsPagedResponse> |
listOrganizationImpactsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcServiceHealthStub(ServiceHealthStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcServiceHealthStub(ServiceHealthStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcServiceHealthStub create(ServiceHealthStubSettings settings) throws IOException
IOExceptionpublic static final GrpcServiceHealthStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcServiceHealthStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<ListEventsRequest,ListEventsResponse> listEventsCallable()
listEventsCallable in class ServiceHealthStubpublic com.google.api.gax.rpc.UnaryCallable<ListEventsRequest,ServiceHealthClient.ListEventsPagedResponse> listEventsPagedCallable()
listEventsPagedCallable in class ServiceHealthStubpublic com.google.api.gax.rpc.UnaryCallable<GetEventRequest,Event> getEventCallable()
getEventCallable in class ServiceHealthStubpublic com.google.api.gax.rpc.UnaryCallable<ListOrganizationEventsRequest,ListOrganizationEventsResponse> listOrganizationEventsCallable()
listOrganizationEventsCallable in class ServiceHealthStubpublic com.google.api.gax.rpc.UnaryCallable<ListOrganizationEventsRequest,ServiceHealthClient.ListOrganizationEventsPagedResponse> listOrganizationEventsPagedCallable()
listOrganizationEventsPagedCallable in class ServiceHealthStubpublic com.google.api.gax.rpc.UnaryCallable<GetOrganizationEventRequest,OrganizationEvent> getOrganizationEventCallable()
getOrganizationEventCallable in class ServiceHealthStubpublic com.google.api.gax.rpc.UnaryCallable<ListOrganizationImpactsRequest,ListOrganizationImpactsResponse> listOrganizationImpactsCallable()
listOrganizationImpactsCallable in class ServiceHealthStubpublic com.google.api.gax.rpc.UnaryCallable<ListOrganizationImpactsRequest,ServiceHealthClient.ListOrganizationImpactsPagedResponse> listOrganizationImpactsPagedCallable()
listOrganizationImpactsPagedCallable in class ServiceHealthStubpublic com.google.api.gax.rpc.UnaryCallable<GetOrganizationImpactRequest,OrganizationImpact> getOrganizationImpactCallable()
getOrganizationImpactCallable in class ServiceHealthStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class ServiceHealthStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ServiceHealthClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class ServiceHealthStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class ServiceHealthStubpublic final void close()
close in interface AutoCloseableclose in class ServiceHealthStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.