Class TablesServiceGrpc.TablesServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<TablesServiceGrpc.TablesServiceFutureStub>
com.google.area120.tables.v1alpha1.TablesServiceGrpc.TablesServiceFutureStub
- Enclosing class:
- TablesServiceGrpc
public static final class TablesServiceGrpc.TablesServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<TablesServiceGrpc.TablesServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service TablesService.
The Tables Service provides an API for reading and updating tables. It defines the following resource model: - The API has a collection of [Table][google.area120.tables.v1alpha1.Table] resources, named `tables/*` - Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] resources, named `tables/*/rows/*` - The API has a collection of [Workspace][google.area120.tables.v1alpha1.Workspace] resources, named `workspaces/*`.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<BatchCreateRowsResponse>batchCreateRows(BatchCreateRowsRequest request) Creates multiple rows.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>batchDeleteRows(BatchDeleteRowsRequest request) Deletes multiple rows.com.google.common.util.concurrent.ListenableFuture<BatchUpdateRowsResponse>batchUpdateRows(BatchUpdateRowsRequest request) Updates multiple rows.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Row>createRow(CreateRowRequest request) Creates a row.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteRow(DeleteRowRequest request) Deletes a row.com.google.common.util.concurrent.ListenableFuture<Row>getRow(GetRowRequest request) Gets a row.com.google.common.util.concurrent.ListenableFuture<Table>getTable(GetTableRequest request) Gets a table.com.google.common.util.concurrent.ListenableFuture<Workspace>getWorkspace(GetWorkspaceRequest request) Gets a workspace.com.google.common.util.concurrent.ListenableFuture<ListRowsResponse>listRows(ListRowsRequest request) Lists rows in a table.com.google.common.util.concurrent.ListenableFuture<ListTablesResponse>listTables(ListTablesRequest request) Lists tables for the user.com.google.common.util.concurrent.ListenableFuture<ListWorkspacesResponse>listWorkspaces(ListWorkspacesRequest request) Lists workspaces for the user.com.google.common.util.concurrent.ListenableFuture<Row>updateRow(UpdateRowRequest request) Updates a row.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected TablesServiceGrpc.TablesServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<TablesServiceGrpc.TablesServiceFutureStub>
-
getTable
Gets a table. Returns NOT_FOUND if the table does not exist.
-
listTables
public com.google.common.util.concurrent.ListenableFuture<ListTablesResponse> listTables(ListTablesRequest request) Lists tables for the user.
-
getWorkspace
public com.google.common.util.concurrent.ListenableFuture<Workspace> getWorkspace(GetWorkspaceRequest request) Gets a workspace. Returns NOT_FOUND if the workspace does not exist.
-
listWorkspaces
public com.google.common.util.concurrent.ListenableFuture<ListWorkspacesResponse> listWorkspaces(ListWorkspacesRequest request) Lists workspaces for the user.
-
getRow
Gets a row. Returns NOT_FOUND if the row does not exist in the table.
-
listRows
public com.google.common.util.concurrent.ListenableFuture<ListRowsResponse> listRows(ListRowsRequest request) Lists rows in a table. Returns NOT_FOUND if the table does not exist.
-
createRow
Creates a row.
-
batchCreateRows
public com.google.common.util.concurrent.ListenableFuture<BatchCreateRowsResponse> batchCreateRows(BatchCreateRowsRequest request) Creates multiple rows.
-
updateRow
Updates a row.
-
batchUpdateRows
public com.google.common.util.concurrent.ListenableFuture<BatchUpdateRowsResponse> batchUpdateRows(BatchUpdateRowsRequest request) Updates multiple rows.
-
deleteRow
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteRow(DeleteRowRequest request) Deletes a row.
-
batchDeleteRows
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> batchDeleteRows(BatchDeleteRowsRequest request) Deletes multiple rows.
-