Class GrpcTablesServiceStub (0.47.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcTablesServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(TablesServiceStubSettings settings)

public static final GrpcTablesServiceStub create(TablesServiceStubSettings settings)
Parameter
Name Description
settings TablesServiceStubSettings
Returns
Type Description
GrpcTablesServiceStub
Exceptions
Type Description
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
Name Description
settings TablesServiceStubSettings
clientContext ClientContext

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
Name Description
settings TablesServiceStubSettings
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

batchCreateRowsCallable()

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

batchDeleteRowsCallable()

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

batchUpdateRowsCallable()

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

close()

public final void close()
Overrides

createRowCallable()

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

deleteRowCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getRowCallable()

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

getTableCallable()

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

getWorkspaceCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listRowsCallable()

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

listRowsPagedCallable()

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

listTablesCallable()

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

listTablesPagedCallable()

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

listWorkspacesCallable()

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

listWorkspacesPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateRowCallable()

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