Class GrpcOsConfigServiceStub (2.45.0)

public class GrpcOsConfigServiceStub extends OsConfigServiceStub

gRPC stub implementation for the OsConfigService service API.

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

Inheritance

java.lang.Object > OsConfigServiceStub > GrpcOsConfigServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(OsConfigServiceStubSettings settings)

public static final GrpcOsConfigServiceStub create(OsConfigServiceStubSettings settings)
Parameter
Name Description
settings OsConfigServiceStubSettings
Returns
Type Description
GrpcOsConfigServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext)

protected GrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcOsConfigServiceStub, 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 OsConfigServiceStubSettings
clientContext ClientContext

GrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcOsConfigServiceStub, 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 OsConfigServiceStubSettings
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