Class GrpcReachabilityServiceStub (1.36.0)

public class GrpcReachabilityServiceStub extends ReachabilityServiceStub

gRPC stub implementation for the ReachabilityService service API.

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

Inheritance

java.lang.Object > ReachabilityServiceStub > GrpcReachabilityServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(ReachabilityServiceStubSettings settings)

public static final GrpcReachabilityServiceStub create(ReachabilityServiceStubSettings settings)
Parameter
NameDescription
settingsReachabilityServiceStubSettings
Returns
TypeDescription
GrpcReachabilityServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcReachabilityServiceStub(ReachabilityServiceStubSettings settings, ClientContext clientContext)

protected GrpcReachabilityServiceStub(ReachabilityServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcReachabilityServiceStub, 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
settingsReachabilityServiceStubSettings
clientContextClientContext

GrpcReachabilityServiceStub(ReachabilityServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)