Class GrpcServingConfigServiceStub (2.4.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcServingConfigServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(ServingConfigServiceStubSettings settings)

public static final GrpcServingConfigServiceStub create(ServingConfigServiceStubSettings settings)
Parameter
NameDescription
settingsServingConfigServiceStubSettings
Returns
TypeDescription
GrpcServingConfigServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsServingConfigServiceStubSettings
clientContextClientContext

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
NameDescription
settingsServingConfigServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

addControlCallable()

public UnaryCallable<AddControlRequest,ServingConfig> addControlCallable()
Returns
TypeDescription
UnaryCallable<AddControlRequest,ServingConfig>
Overrides

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

createServingConfigCallable()

public UnaryCallable<CreateServingConfigRequest,ServingConfig> createServingConfigCallable()
Returns
TypeDescription
UnaryCallable<CreateServingConfigRequest,ServingConfig>
Overrides

deleteServingConfigCallable()

public UnaryCallable<DeleteServingConfigRequest,Empty> deleteServingConfigCallable()
Returns
TypeDescription
UnaryCallable<DeleteServingConfigRequest,Empty>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getServingConfigCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listServingConfigsCallable()

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

listServingConfigsPagedCallable()

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

removeControlCallable()

public UnaryCallable<RemoveControlRequest,ServingConfig> removeControlCallable()
Returns
TypeDescription
UnaryCallable<RemoveControlRequest,ServingConfig>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateServingConfigCallable()

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