Class HttpJsonTablesServiceStub (0.50.0)

public class HttpJsonTablesServiceStub extends TablesServiceStub

REST stub implementation for the TablesService service API.

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

Inheritance

java.lang.Object > TablesServiceStub > HttpJsonTablesServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(TablesServiceStubSettings settings)

public static final HttpJsonTablesServiceStub create(TablesServiceStubSettings settings)
Parameter
Name Description
settings TablesServiceStubSettings
Returns
Type Description
HttpJsonTablesServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext)

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

HttpJsonTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

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

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