Class GrpcLfpStoreServiceStub (0.13.0)

public class GrpcLfpStoreServiceStub extends LfpStoreServiceStub

gRPC stub implementation for the LfpStoreService service API.

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

Inheritance

java.lang.Object > LfpStoreServiceStub > GrpcLfpStoreServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(LfpStoreServiceStubSettings settings)

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

Constructors

GrpcLfpStoreServiceStub(LfpStoreServiceStubSettings settings, ClientContext clientContext)

protected GrpcLfpStoreServiceStub(LfpStoreServiceStubSettings settings, ClientContext clientContext)

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

GrpcLfpStoreServiceStub(LfpStoreServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcLfpStoreServiceStub(LfpStoreServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

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