Class GrpcTablesServiceStub (0.45.0)

public class GrpcTablesServiceStub extends TablesServiceStub

gRPC stub implementation for the TablesService service API.

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

Inheritance

java.lang.Object > TablesServiceStub > GrpcTablesServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(TablesServiceStubSettings settings)

public static final GrpcTablesServiceStub create(TablesServiceStubSettings settings)
Parameter
NameDescription
settingsTablesServiceStubSettings
Returns
TypeDescription
GrpcTablesServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext)

protected GrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcTablesServiceStub, 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
settingsTablesServiceStubSettings
clientContextClientContext

GrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

batchCreateRowsCallable()

public UnaryCallable<BatchCreateRowsRequest,BatchCreateRowsResponse> batchCreateRowsCallable()
Returns
TypeDescription
UnaryCallable<BatchCreateRowsRequest,BatchCreateRowsResponse>
Overrides

batchDeleteRowsCallable()

public UnaryCallable<BatchDeleteRowsRequest,Empty> batchDeleteRowsCallable()
Returns
TypeDescription
UnaryCallable<BatchDeleteRowsRequest,Empty>
Overrides

batchUpdateRowsCallable()

public UnaryCallable<BatchUpdateRowsRequest,BatchUpdateRowsResponse> batchUpdateRowsCallable()
Returns
TypeDescription
UnaryCallable<BatchUpdateRowsRequest,BatchUpdateRowsResponse>
Overrides

close()

public final void close()
Overrides

createRowCallable()

public UnaryCallable<CreateRowRequest,Row> createRowCallable()
Returns
TypeDescription
UnaryCallable<CreateRowRequest,Row>
Overrides

deleteRowCallable()

public UnaryCallable<DeleteRowRequest,Empty> deleteRowCallable()
Returns
TypeDescription
UnaryCallable<DeleteRowRequest,Empty>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getRowCallable()

public UnaryCallable<GetRowRequest,Row> getRowCallable()
Returns
TypeDescription
UnaryCallable<GetRowRequest,Row>
Overrides

getTableCallable()

public UnaryCallable<GetTableRequest,Table> getTableCallable()
Returns
TypeDescription
UnaryCallable<GetTableRequest,Table>
Overrides

getWorkspaceCallable()

public UnaryCallable<GetWorkspaceRequest,Workspace> getWorkspaceCallable()
Returns
TypeDescription
UnaryCallable<GetWorkspaceRequest,Workspace>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listRowsCallable()

public UnaryCallable<ListRowsRequest,ListRowsResponse> listRowsCallable()
Returns
TypeDescription
UnaryCallable<ListRowsRequest,ListRowsResponse>
Overrides

listRowsPagedCallable()

public UnaryCallable<ListRowsRequest,TablesServiceClient.ListRowsPagedResponse> listRowsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRowsRequest,ListRowsPagedResponse>
Overrides

listTablesCallable()

public UnaryCallable<ListTablesRequest,ListTablesResponse> listTablesCallable()
Returns
TypeDescription
UnaryCallable<ListTablesRequest,ListTablesResponse>
Overrides

listTablesPagedCallable()

public UnaryCallable<ListTablesRequest,TablesServiceClient.ListTablesPagedResponse> listTablesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTablesRequest,ListTablesPagedResponse>
Overrides

listWorkspacesCallable()

public UnaryCallable<ListWorkspacesRequest,ListWorkspacesResponse> listWorkspacesCallable()
Returns
TypeDescription
UnaryCallable<ListWorkspacesRequest,ListWorkspacesResponse>
Overrides

listWorkspacesPagedCallable()

public UnaryCallable<ListWorkspacesRequest,TablesServiceClient.ListWorkspacesPagedResponse> listWorkspacesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListWorkspacesRequest,ListWorkspacesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateRowCallable()

public UnaryCallable<UpdateRowRequest,Row> updateRowCallable()
Returns
TypeDescription
UnaryCallable<UpdateRowRequest,Row>
Overrides