Class GrpcUptimeCheckServiceStub (3.43.0)

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.

Inheritance

java.lang.Object > UptimeCheckServiceStub > GrpcUptimeCheckServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcUptimeCheckServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcUptimeCheckServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcUptimeCheckServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcUptimeCheckServiceStub
Exceptions
Type Description
IOException

create(UptimeCheckServiceStubSettings settings)

public static final GrpcUptimeCheckServiceStub create(UptimeCheckServiceStubSettings settings)
Parameter
Name Description
settings UptimeCheckServiceStubSettings
Returns
Type Description
GrpcUptimeCheckServiceStub
Exceptions
Type Description
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
Name Description
settings UptimeCheckServiceStubSettings
clientContext ClientContext

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
Name Description
settings UptimeCheckServiceStubSettings
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()
Overrides

createUptimeCheckConfigCallable()

public UnaryCallable<CreateUptimeCheckConfigRequest,UptimeCheckConfig> createUptimeCheckConfigCallable()
Returns
Type Description
UnaryCallable<CreateUptimeCheckConfigRequest,UptimeCheckConfig>
Overrides

deleteUptimeCheckConfigCallable()

public UnaryCallable<DeleteUptimeCheckConfigRequest,Empty> deleteUptimeCheckConfigCallable()
Returns
Type Description
UnaryCallable<DeleteUptimeCheckConfigRequest,Empty>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getUptimeCheckConfigCallable()

public UnaryCallable<GetUptimeCheckConfigRequest,UptimeCheckConfig> getUptimeCheckConfigCallable()
Returns
Type Description
UnaryCallable<GetUptimeCheckConfigRequest,UptimeCheckConfig>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listUptimeCheckConfigsCallable()

public UnaryCallable<ListUptimeCheckConfigsRequest,ListUptimeCheckConfigsResponse> listUptimeCheckConfigsCallable()
Returns
Type Description
UnaryCallable<ListUptimeCheckConfigsRequest,ListUptimeCheckConfigsResponse>
Overrides

listUptimeCheckConfigsPagedCallable()

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

listUptimeCheckIpsCallable()

public UnaryCallable<ListUptimeCheckIpsRequest,ListUptimeCheckIpsResponse> listUptimeCheckIpsCallable()
Returns
Type Description
UnaryCallable<ListUptimeCheckIpsRequest,ListUptimeCheckIpsResponse>
Overrides

listUptimeCheckIpsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateUptimeCheckConfigCallable()

public UnaryCallable<UpdateUptimeCheckConfigRequest,UptimeCheckConfig> updateUptimeCheckConfigCallable()
Returns
Type Description
UnaryCallable<UpdateUptimeCheckConfigRequest,UptimeCheckConfig>
Overrides