Class TablesServiceGrpc.TablesServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<TablesServiceGrpc.TablesServiceStub>
com.google.area120.tables.v1alpha1.TablesServiceGrpc.TablesServiceStub
- Enclosing class:
- TablesServiceGrpc
public static final class TablesServiceGrpc.TablesServiceStub
extends io.grpc.stub.AbstractAsyncStub<TablesServiceGrpc.TablesServiceStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionvoidbatchCreateRows(BatchCreateRowsRequest request, io.grpc.stub.StreamObserver<BatchCreateRowsResponse> responseObserver) Creates multiple rows.voidbatchDeleteRows(BatchDeleteRowsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes multiple rows.voidbatchUpdateRows(BatchUpdateRowsRequest request, io.grpc.stub.StreamObserver<BatchUpdateRowsResponse> responseObserver) Updates multiple rows.protected TablesServiceGrpc.TablesServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateRow(CreateRowRequest request, io.grpc.stub.StreamObserver<Row> responseObserver) Creates a row.voiddeleteRow(DeleteRowRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a row.voidgetRow(GetRowRequest request, io.grpc.stub.StreamObserver<Row> responseObserver) Gets a row.voidgetTable(GetTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver) Gets a table.voidgetWorkspace(GetWorkspaceRequest request, io.grpc.stub.StreamObserver<Workspace> responseObserver) Gets a workspace.voidlistRows(ListRowsRequest request, io.grpc.stub.StreamObserver<ListRowsResponse> responseObserver) Lists rows in a table.voidlistTables(ListTablesRequest request, io.grpc.stub.StreamObserver<ListTablesResponse> responseObserver) Lists tables for the user.voidlistWorkspaces(ListWorkspacesRequest request, io.grpc.stub.StreamObserver<ListWorkspacesResponse> responseObserver) Lists workspaces for the user.voidupdateRow(UpdateRowRequest request, io.grpc.stub.StreamObserver<Row> responseObserver) Updates a row.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.TablesServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<TablesServiceGrpc.TablesServiceStub>
-
getTable
Gets a table. Returns NOT_FOUND if the table does not exist.
-
listTables
public void listTables(ListTablesRequest request, io.grpc.stub.StreamObserver<ListTablesResponse> responseObserver) Lists tables for the user.
-
getWorkspace
public void getWorkspace(GetWorkspaceRequest request, io.grpc.stub.StreamObserver<Workspace> responseObserver) Gets a workspace. Returns NOT_FOUND if the workspace does not exist.
-
listWorkspaces
public void listWorkspaces(ListWorkspacesRequest request, io.grpc.stub.StreamObserver<ListWorkspacesResponse> responseObserver) Lists workspaces for the user.
-
getRow
Gets a row. Returns NOT_FOUND if the row does not exist in the table.
-
listRows
public void listRows(ListRowsRequest request, io.grpc.stub.StreamObserver<ListRowsResponse> responseObserver) Lists rows in a table. Returns NOT_FOUND if the table does not exist.
-
createRow
Creates a row.
-
batchCreateRows
public void batchCreateRows(BatchCreateRowsRequest request, io.grpc.stub.StreamObserver<BatchCreateRowsResponse> responseObserver) Creates multiple rows.
-
updateRow
Updates a row.
-
batchUpdateRows
public void batchUpdateRows(BatchUpdateRowsRequest request, io.grpc.stub.StreamObserver<BatchUpdateRowsResponse> responseObserver) Updates multiple rows.
-
deleteRow
public void deleteRow(DeleteRowRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a row.
-
batchDeleteRows
public void batchDeleteRows(BatchDeleteRowsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes multiple rows.
-