Class TablesServiceGrpc.TablesServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<TablesServiceGrpc.TablesServiceBlockingV2Stub>
com.google.area120.tables.v1alpha1.TablesServiceGrpc.TablesServiceBlockingV2Stub
Enclosing class:
TablesServiceGrpc

public static final class TablesServiceGrpc.TablesServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<TablesServiceGrpc.TablesServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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.TablesServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<TablesServiceGrpc.TablesServiceBlockingV2Stub>
    • getTable

      public Table getTable(GetTableRequest request) throws io.grpc.StatusException
       Gets a table. Returns NOT_FOUND if the table does not exist.
       
      Throws:
      io.grpc.StatusException
    • listTables

      public ListTablesResponse listTables(ListTablesRequest request) throws io.grpc.StatusException
       Lists tables for the user.
       
      Throws:
      io.grpc.StatusException
    • getWorkspace

      public Workspace getWorkspace(GetWorkspaceRequest request) throws io.grpc.StatusException
       Gets a workspace. Returns NOT_FOUND if the workspace does not exist.
       
      Throws:
      io.grpc.StatusException
    • listWorkspaces

      public ListWorkspacesResponse listWorkspaces(ListWorkspacesRequest request) throws io.grpc.StatusException
       Lists workspaces for the user.
       
      Throws:
      io.grpc.StatusException
    • getRow

      public Row getRow(GetRowRequest request) throws io.grpc.StatusException
       Gets a row. Returns NOT_FOUND if the row does not exist in the table.
       
      Throws:
      io.grpc.StatusException
    • listRows

      public ListRowsResponse listRows(ListRowsRequest request) throws io.grpc.StatusException
       Lists rows in a table. Returns NOT_FOUND if the table does not exist.
       
      Throws:
      io.grpc.StatusException
    • createRow

      public Row createRow(CreateRowRequest request) throws io.grpc.StatusException
       Creates a row.
       
      Throws:
      io.grpc.StatusException
    • batchCreateRows

      public BatchCreateRowsResponse batchCreateRows(BatchCreateRowsRequest request) throws io.grpc.StatusException
       Creates multiple rows.
       
      Throws:
      io.grpc.StatusException
    • updateRow

      public Row updateRow(UpdateRowRequest request) throws io.grpc.StatusException
       Updates a row.
       
      Throws:
      io.grpc.StatusException
    • batchUpdateRows

      public BatchUpdateRowsResponse batchUpdateRows(BatchUpdateRowsRequest request) throws io.grpc.StatusException
       Updates multiple rows.
       
      Throws:
      io.grpc.StatusException
    • deleteRow

      public com.google.protobuf.Empty deleteRow(DeleteRowRequest request) throws io.grpc.StatusException
       Deletes a row.
       
      Throws:
      io.grpc.StatusException
    • batchDeleteRows

      public com.google.protobuf.Empty batchDeleteRows(BatchDeleteRowsRequest request) throws io.grpc.StatusException
       Deletes multiple rows.
       
      Throws:
      io.grpc.StatusException