Class GrpcCssProductInputsServiceStub (0.1.0)

public class GrpcCssProductInputsServiceStub extends CssProductInputsServiceStub

gRPC stub implementation for the CssProductInputsService service API.

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

Inheritance

java.lang.Object > CssProductInputsServiceStub > GrpcCssProductInputsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(CssProductInputsServiceStubSettings settings)

public static final GrpcCssProductInputsServiceStub create(CssProductInputsServiceStubSettings settings)
Parameter
NameDescription
settingsCssProductInputsServiceStubSettings
Returns
TypeDescription
GrpcCssProductInputsServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcCssProductInputsServiceStub(CssProductInputsServiceStubSettings settings, ClientContext clientContext)

protected GrpcCssProductInputsServiceStub(CssProductInputsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcCssProductInputsServiceStub, 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
settingsCssProductInputsServiceStubSettings
clientContextClientContext

GrpcCssProductInputsServiceStub(CssProductInputsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcCssProductInputsServiceStub(CssProductInputsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcCssProductInputsServiceStub, 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
settingsCssProductInputsServiceStubSettings
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

deleteCssProductInputCallable()

public UnaryCallable<DeleteCssProductInputRequest,Empty> deleteCssProductInputCallable()
Returns
TypeDescription
UnaryCallable<DeleteCssProductInputRequest,Empty>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

insertCssProductInputCallable()

public UnaryCallable<InsertCssProductInputRequest,CssProductInput> insertCssProductInputCallable()
Returns
TypeDescription
UnaryCallable<InsertCssProductInputRequest,CssProductInput>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()