Class TablesServiceGrpc (0.40.0)

public final class TablesServiceGrpc

The Tables Service provides an API for reading and updating tables. It defines the following resource model:

  • The API has a collection of Table resources, named tables/*
  • Each Table has a collection of Row resources, named tables/*/rows/*
  • The API has a collection of Workspace resources, named workspaces/*.

Inheritance

java.lang.Object > TablesServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(TablesServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(TablesServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceTablesServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getBatchCreateRowsMethod()

public static MethodDescriptor<BatchCreateRowsRequest,BatchCreateRowsResponse> getBatchCreateRowsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchCreateRowsRequest,BatchCreateRowsResponse>

getBatchDeleteRowsMethod()

public static MethodDescriptor<BatchDeleteRowsRequest,Empty> getBatchDeleteRowsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchDeleteRowsRequest,Empty>

getBatchUpdateRowsMethod()

public static MethodDescriptor<BatchUpdateRowsRequest,BatchUpdateRowsResponse> getBatchUpdateRowsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchUpdateRowsRequest,BatchUpdateRowsResponse>

getCreateRowMethod()

public static MethodDescriptor<CreateRowRequest,Row> getCreateRowMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateRowRequest,Row>

getDeleteRowMethod()

public static MethodDescriptor<DeleteRowRequest,Empty> getDeleteRowMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteRowRequest,Empty>

getGetRowMethod()

public static MethodDescriptor<GetRowRequest,Row> getGetRowMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetRowRequest,Row>

getGetTableMethod()

public static MethodDescriptor<GetTableRequest,Table> getGetTableMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetTableRequest,Table>

getGetWorkspaceMethod()

public static MethodDescriptor<GetWorkspaceRequest,Workspace> getGetWorkspaceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetWorkspaceRequest,Workspace>

getListRowsMethod()

public static MethodDescriptor<ListRowsRequest,ListRowsResponse> getListRowsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListRowsRequest,ListRowsResponse>

getListTablesMethod()

public static MethodDescriptor<ListTablesRequest,ListTablesResponse> getListTablesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListTablesRequest,ListTablesResponse>

getListWorkspacesMethod()

public static MethodDescriptor<ListWorkspacesRequest,ListWorkspacesResponse> getListWorkspacesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListWorkspacesRequest,ListWorkspacesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateRowMethod()

public static MethodDescriptor<UpdateRowRequest,Row> getUpdateRowMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateRowRequest,Row>

newBlockingStub(Channel channel)

public static TablesServiceGrpc.TablesServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TablesServiceGrpc.TablesServiceBlockingStub

newFutureStub(Channel channel)

public static TablesServiceGrpc.TablesServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TablesServiceGrpc.TablesServiceFutureStub

newStub(Channel channel)

public static TablesServiceGrpc.TablesServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TablesServiceGrpc.TablesServiceStub