Class GrpcOsConfigZonalServiceStub (2.35.0)

public class GrpcOsConfigZonalServiceStub extends OsConfigZonalServiceStub

gRPC stub implementation for the OsConfigZonalService service API.

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

Inheritance

java.lang.Object > OsConfigZonalServiceStub > GrpcOsConfigZonalServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(OsConfigZonalServiceStubSettings settings)

public static final GrpcOsConfigZonalServiceStub create(OsConfigZonalServiceStubSettings settings)
Parameter
NameDescription
settingsOsConfigZonalServiceStubSettings
Returns
TypeDescription
GrpcOsConfigZonalServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext)

protected GrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcOsConfigZonalServiceStub, 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
settingsOsConfigZonalServiceStubSettings
clientContextClientContext

GrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcOsConfigZonalServiceStub, 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
settingsOsConfigZonalServiceStubSettings
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

createOSPolicyAssignmentCallable()