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/*`.
 
  • Method Details

    • build

      protected TablesServiceGrpc.TablesServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<TablesServiceGrpc.TablesServiceStub>
    • getTable

      public void getTable(GetTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver)
       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

      public void getRow(GetRowRequest request, io.grpc.stub.StreamObserver<Row> responseObserver)
       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

      public void createRow(CreateRowRequest request, io.grpc.stub.StreamObserver<Row> responseObserver)
       Creates a row.
       
    • batchCreateRows

      public void batchCreateRows(BatchCreateRowsRequest request, io.grpc.stub.StreamObserver<BatchCreateRowsResponse> responseObserver)
       Creates multiple rows.
       
    • updateRow

      public void updateRow(UpdateRowRequest request, io.grpc.stub.StreamObserver<Row> responseObserver)
       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.