Class HttpJsonCssProductInputsServiceStub (0.8.0)

public class HttpJsonCssProductInputsServiceStub extends CssProductInputsServiceStub

REST stub implementation for the CssProductInputsService service API.

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

Inheritance

java.lang.Object > CssProductInputsServiceStub > HttpJsonCssProductInputsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonCssProductInputsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonCssProductInputsServiceStub
Exceptions
TypeDescription
IOException

create(CssProductInputsServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonCssProductInputsServiceStub(CssProductInputsServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonCssProductInputsServiceStub(CssProductInputsServiceStubSettings settings, ClientContext clientContext)

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

HttpJsonCssProductInputsServiceStub(CssProductInputsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCssProductInputsServiceStub(CssProductInputsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonCssProductInputsServiceStub, 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
callableFactoryHttpJsonStubCallableFactory

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

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()