Class HttpJsonCssProductsServiceStub (0.5.0)

public class HttpJsonCssProductsServiceStub extends CssProductsServiceStub

REST stub implementation for the CssProductsService service API.

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

Inheritance

java.lang.Object > CssProductsServiceStub > HttpJsonCssProductsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(CssProductsServiceStubSettings settings)

public static final HttpJsonCssProductsServiceStub create(CssProductsServiceStubSettings settings)
Parameter
NameDescription
settingsCssProductsServiceStubSettings
Returns
TypeDescription
HttpJsonCssProductsServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonCssProductsServiceStub(CssProductsServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonCssProductsServiceStub(CssProductsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonCssProductsServiceStub, 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
settingsCssProductsServiceStubSettings
clientContextClientContext

HttpJsonCssProductsServiceStub(CssProductsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCssProductsServiceStub(CssProductsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

getCssProductCallable()

public UnaryCallable<GetCssProductRequest,CssProduct> getCssProductCallable()
Returns
TypeDescription
UnaryCallable<GetCssProductRequest,CssProduct>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCssProductsCallable()

public UnaryCallable<ListCssProductsRequest,ListCssProductsResponse> listCssProductsCallable()
Returns
TypeDescription
UnaryCallable<ListCssProductsRequest,ListCssProductsResponse>
Overrides

listCssProductsPagedCallable()

public UnaryCallable<ListCssProductsRequest,CssProductsServiceClient.ListCssProductsPagedResponse> listCssProductsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCssProductsRequest,ListCssProductsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()