Class GrpcUptimeCheckServiceStub (3.6.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
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()
Returns
TypeDescription
UnaryCallable<CreateUptimeCheckConfigRequest,UptimeCheckConfig>
Overrides

deleteUptimeCheckConfigCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getUptimeCheckConfigCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listUptimeCheckConfigsCallable()

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

listUptimeCheckConfigsPagedCallable()

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

listUptimeCheckIpsCallable()

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

listUptimeCheckIpsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateUptimeCheckConfigCallable()

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