Class GrpcServingConfigServiceStub (0.43.0)

public class GrpcServingConfigServiceStub extends ServingConfigServiceStub

gRPC stub implementation for the ServingConfigService service API.

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

Inheritance

java.lang.Object > ServingConfigServiceStub > GrpcServingConfigServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(ServingConfigServiceStubSettings settings)

public static final GrpcServingConfigServiceStub create(ServingConfigServiceStubSettings settings)
Parameter
Name Description
settings ServingConfigServiceStubSettings
Returns
Type Description
GrpcServingConfigServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcServingConfigServiceStub(ServingConfigServiceStubSettings settings, ClientContext clientContext)

protected GrpcServingConfigServiceStub(ServingConfigServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcServingConfigServiceStub, 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 ServingConfigServiceStubSettings
clientContext ClientContext

GrpcServingConfigServiceStub(ServingConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcServingConfigServiceStub(ServingConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcServingConfigServiceStub, 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 ServingConfigServiceStubSettings
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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getServingConfigCallable()

public UnaryCallable<GetServingConfigRequest,ServingConfig> getServingConfigCallable()
Returns
Type Description
UnaryCallable<GetServingConfigRequest,ServingConfig>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listServingConfigsCallable()

public UnaryCallable<ListServingConfigsRequest,ListServingConfigsResponse> listServingConfigsCallable()
Returns
Type Description
UnaryCallable<ListServingConfigsRequest,ListServingConfigsResponse>
Overrides

listServingConfigsPagedCallable()

public UnaryCallable<ListServingConfigsRequest,ServingConfigServiceClient.ListServingConfigsPagedResponse> listServingConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListServingConfigsRequest,ListServingConfigsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateServingConfigCallable()

public UnaryCallable<UpdateServingConfigRequest,ServingConfig> updateServingConfigCallable()
Returns
Type Description
UnaryCallable<UpdateServingConfigRequest,ServingConfig>
Overrides