@Generated(value="by gapic-generator-java") public class HttpJsonServiceHealthStub extends ServiceHealthStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonServiceHealthStub(ServiceHealthStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonServiceHealthStub, using the given settings.
|
protected |
HttpJsonServiceHealthStub(ServiceHealthStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonServiceHealthStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonServiceHealthStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonServiceHealthStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonServiceHealthStub |
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() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
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 HttpJsonServiceHealthStub(ServiceHealthStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonServiceHealthStub(ServiceHealthStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonServiceHealthStub create(ServiceHealthStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonServiceHealthStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonServiceHealthStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
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 © 2025 Google LLC. All rights reserved.