Class HttpJsonLfpStoreServiceStub (0.8.0)

public class HttpJsonLfpStoreServiceStub extends LfpStoreServiceStub

REST stub implementation for the LfpStoreService service API.

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

Inheritance

java.lang.Object > LfpStoreServiceStub > HttpJsonLfpStoreServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(LfpStoreServiceStubSettings settings)

public static final HttpJsonLfpStoreServiceStub create(LfpStoreServiceStubSettings settings)
Parameter
Name Description
settings LfpStoreServiceStubSettings
Returns
Type Description
HttpJsonLfpStoreServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonLfpStoreServiceStub(LfpStoreServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonLfpStoreServiceStub(LfpStoreServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonLfpStoreServiceStub, 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 LfpStoreServiceStubSettings
clientContext ClientContext

HttpJsonLfpStoreServiceStub(LfpStoreServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonLfpStoreServiceStub(LfpStoreServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonLfpStoreServiceStub, 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 LfpStoreServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

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

deleteLfpStoreCallable()

public UnaryCallable<DeleteLfpStoreRequest,Empty> deleteLfpStoreCallable()
Returns
Type Description
UnaryCallable<DeleteLfpStoreRequest,Empty>
Overrides

getLfpStoreCallable()

public UnaryCallable<GetLfpStoreRequest,LfpStore> getLfpStoreCallable()
Returns
Type Description
UnaryCallable<GetLfpStoreRequest,LfpStore>
Overrides

insertLfpStoreCallable()

public UnaryCallable<InsertLfpStoreRequest,LfpStore> insertLfpStoreCallable()
Returns
Type Description
UnaryCallable<InsertLfpStoreRequest,LfpStore>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listLfpStoresCallable()

public UnaryCallable<ListLfpStoresRequest,ListLfpStoresResponse> listLfpStoresCallable()
Returns
Type Description
UnaryCallable<ListLfpStoresRequest,ListLfpStoresResponse>
Overrides

listLfpStoresPagedCallable()

public UnaryCallable<ListLfpStoresRequest,LfpStoreServiceClient.ListLfpStoresPagedResponse> listLfpStoresPagedCallable()
Returns
Type Description
UnaryCallable<ListLfpStoresRequest,ListLfpStoresPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()