@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcUptimeCheckServiceStub extends UptimeCheckServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcUptimeCheckServiceStub, using the given settings.
|
protected |
GrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcUptimeCheckServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcUptimeCheckServiceStub |
create(ClientContext clientContext) |
static GrpcUptimeCheckServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcUptimeCheckServiceStub |
create(UptimeCheckServiceStubSettings settings) |
UnaryCallable<com.google.monitoring.v3.CreateUptimeCheckConfigRequest,com.google.monitoring.v3.UptimeCheckConfig> |
createUptimeCheckConfigCallable() |
UnaryCallable<com.google.monitoring.v3.DeleteUptimeCheckConfigRequest,Empty> |
deleteUptimeCheckConfigCallable() |
UnaryCallable<com.google.monitoring.v3.GetUptimeCheckConfigRequest,com.google.monitoring.v3.UptimeCheckConfig> |
getUptimeCheckConfigCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.monitoring.v3.ListUptimeCheckConfigsRequest,com.google.monitoring.v3.ListUptimeCheckConfigsResponse> |
listUptimeCheckConfigsCallable() |
UnaryCallable<com.google.monitoring.v3.ListUptimeCheckConfigsRequest,UptimeCheckServiceClient.ListUptimeCheckConfigsPagedResponse> |
listUptimeCheckConfigsPagedCallable() |
UnaryCallable<com.google.monitoring.v3.ListUptimeCheckIpsRequest,com.google.monitoring.v3.ListUptimeCheckIpsResponse> |
listUptimeCheckIpsCallable() |
UnaryCallable<com.google.monitoring.v3.ListUptimeCheckIpsRequest,UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse> |
listUptimeCheckIpsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.monitoring.v3.UpdateUptimeCheckConfigRequest,com.google.monitoring.v3.UptimeCheckConfig> |
updateUptimeCheckConfigCallable() |
protected GrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcUptimeCheckServiceStub create(UptimeCheckServiceStubSettings settings) throws IOException
IOException
public static final GrpcUptimeCheckServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcUptimeCheckServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.monitoring.v3.ListUptimeCheckConfigsRequest,UptimeCheckServiceClient.ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsPagedCallable()
listUptimeCheckConfigsPagedCallable
in class UptimeCheckServiceStub
public UnaryCallable<com.google.monitoring.v3.ListUptimeCheckConfigsRequest,com.google.monitoring.v3.ListUptimeCheckConfigsResponse> listUptimeCheckConfigsCallable()
listUptimeCheckConfigsCallable
in class UptimeCheckServiceStub
public UnaryCallable<com.google.monitoring.v3.GetUptimeCheckConfigRequest,com.google.monitoring.v3.UptimeCheckConfig> getUptimeCheckConfigCallable()
getUptimeCheckConfigCallable
in class UptimeCheckServiceStub
public UnaryCallable<com.google.monitoring.v3.CreateUptimeCheckConfigRequest,com.google.monitoring.v3.UptimeCheckConfig> createUptimeCheckConfigCallable()
createUptimeCheckConfigCallable
in class UptimeCheckServiceStub
public UnaryCallable<com.google.monitoring.v3.UpdateUptimeCheckConfigRequest,com.google.monitoring.v3.UptimeCheckConfig> updateUptimeCheckConfigCallable()
updateUptimeCheckConfigCallable
in class UptimeCheckServiceStub
public UnaryCallable<com.google.monitoring.v3.DeleteUptimeCheckConfigRequest,Empty> deleteUptimeCheckConfigCallable()
deleteUptimeCheckConfigCallable
in class UptimeCheckServiceStub
public UnaryCallable<com.google.monitoring.v3.ListUptimeCheckIpsRequest,UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse> listUptimeCheckIpsPagedCallable()
listUptimeCheckIpsPagedCallable
in class UptimeCheckServiceStub
public UnaryCallable<com.google.monitoring.v3.ListUptimeCheckIpsRequest,com.google.monitoring.v3.ListUptimeCheckIpsResponse> listUptimeCheckIpsCallable()
listUptimeCheckIpsCallable
in class UptimeCheckServiceStub
public final void close()
close
in interface AutoCloseable
close
in class UptimeCheckServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.