Class GrpcUptimeCheckServiceStub (3.33.0)

See more code actions.
public class GrpcUptimeCheckServiceStub extends UptimeCheckServiceStub

gRPC stub implementation for the UptimeCheckService service API.

This class is for advanced usage and reflects the underlying API directly.

java.lang.Object > UptimeCheckServiceStub > GrpcUptimeCheckServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcUptimeCheckServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcUptimeCheckServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(UptimeCheckServiceStubSettings settings)

public static final GrpcUptimeCheckServiceStub create(UptimeCheckServiceStubSettings settings)
Parameter
NameDescription
settingsUptimeCheckServiceStubSettings
Returns
TypeDescription
GrpcUptimeCheckServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, ClientContext clientContext)

protected GrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcUptimeCheckServiceStub, 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
settingsUptimeCheckServiceStubSettings
clientContextClientContext

GrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcUptimeCheckServiceStub, 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
settingsUptimeCheckServiceStubSettings
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

createUptimeCheckConfigCallable()

public UnaryCallable<CreateUptimeCheckConfigRequest,UptimeCheckConfig> createUptimeCheckConfigCallable()
Overrides

deleteUptimeCheckConfigCallable()

public UnaryCallable<DeleteUptimeCheckConfigRequest,Empty> deleteUptimeCheckConfigCallable()
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getUptimeCheckConfigCallable()

public UnaryCallable<GetUptimeCheckConfigRequest,UptimeCheckConfig> getUptimeCheckConfigCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listUptimeCheckConfigsCallable()

public UnaryCallable<ListUptimeCheckConfigsRequest,ListUptimeCheckConfigsResponse> listUptimeCheckConfigsCallable()
Overrides

listUptimeCheckConfigsPagedCallable()

public UnaryCallable<ListUptimeCheckConfigsRequest,UptimeCheckServiceClient.ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsPagedCallable()
Overrides

listUptimeCheckIpsCallable()

public UnaryCallable<ListUptimeCheckIpsRequest,ListUptimeCheckIpsResponse> listUptimeCheckIpsCallable()
Overrides

listUptimeCheckIpsPagedCallable()

public UnaryCallable<ListUptimeCheckIpsRequest,UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse> listUptimeCheckIpsPagedCallable()
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateUptimeCheckConfigCallable()

public UnaryCallable<UpdateUptimeCheckConfigRequest,UptimeCheckConfig> updateUptimeCheckConfigCallable()
Overrides