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

    • build

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

      public com.google.common.util.concurrent.ListenableFuture<Table> getTable(GetTableRequest request)
       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

      public com.google.common.util.concurrent.ListenableFuture<Row> getRow(GetRowRequest request)
       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

      public com.google.common.util.concurrent.ListenableFuture<Row> createRow(CreateRowRequest request)
       Creates a row.
       
    • batchCreateRows

      public com.google.common.util.concurrent.ListenableFuture<BatchCreateRowsResponse> batchCreateRows(BatchCreateRowsRequest request)
       Creates multiple rows.
       
    • updateRow

      public com.google.common.util.concurrent.ListenableFuture<Row> updateRow(UpdateRowRequest request)
       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.