public class GrpcTablesServiceStub extends TablesServiceStub
gRPC stub implementation for the TablesService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcTablesServiceStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
GrpcTablesServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcTablesServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcTablesServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(TablesServiceStubSettings settings)
public static final GrpcTablesServiceStub create(TablesServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | TablesServiceStubSettings |
Returns | |
---|---|
Type | Description |
GrpcTablesServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
Constructors
GrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext)
protected GrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcTablesServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Parameters | |
---|---|
Name | Description |
settings | TablesServiceStubSettings |
clientContext | ClientContext |
GrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcTablesServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Parameters | |
---|---|
Name | Description |
settings | TablesServiceStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration | long |
unit | TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
batchCreateRowsCallable()
public UnaryCallable<BatchCreateRowsRequest,BatchCreateRowsResponse> batchCreateRowsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BatchCreateRowsRequest,BatchCreateRowsResponse> |
batchDeleteRowsCallable()
public UnaryCallable<BatchDeleteRowsRequest,Empty> batchDeleteRowsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BatchDeleteRowsRequest,Empty> |
batchUpdateRowsCallable()
public UnaryCallable<BatchUpdateRowsRequest,BatchUpdateRowsResponse> batchUpdateRowsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BatchUpdateRowsRequest,BatchUpdateRowsResponse> |
close()
public final void close()
createRowCallable()
public UnaryCallable<CreateRowRequest,Row> createRowCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateRowRequest,Row> |
deleteRowCallable()
public UnaryCallable<DeleteRowRequest,Empty> deleteRowCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteRowRequest,Empty> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getRowCallable()
public UnaryCallable<GetRowRequest,Row> getRowCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRowRequest,Row> |
getTableCallable()
public UnaryCallable<GetTableRequest,Table> getTableCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetTableRequest,Table> |
getWorkspaceCallable()
public UnaryCallable<GetWorkspaceRequest,Workspace> getWorkspaceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetWorkspaceRequest,Workspace> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listRowsCallable()
public UnaryCallable<ListRowsRequest,ListRowsResponse> listRowsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRowsRequest,ListRowsResponse> |
listRowsPagedCallable()
public UnaryCallable<ListRowsRequest,TablesServiceClient.ListRowsPagedResponse> listRowsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRowsRequest,ListRowsPagedResponse> |
listTablesCallable()
public UnaryCallable<ListTablesRequest,ListTablesResponse> listTablesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTablesRequest,ListTablesResponse> |
listTablesPagedCallable()
public UnaryCallable<ListTablesRequest,TablesServiceClient.ListTablesPagedResponse> listTablesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTablesRequest,ListTablesPagedResponse> |
listWorkspacesCallable()
public UnaryCallable<ListWorkspacesRequest,ListWorkspacesResponse> listWorkspacesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkspacesRequest,ListWorkspacesResponse> |
listWorkspacesPagedCallable()
public UnaryCallable<ListWorkspacesRequest,TablesServiceClient.ListWorkspacesPagedResponse> listWorkspacesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkspacesRequest,ListWorkspacesPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateRowCallable()
public UnaryCallable<UpdateRowRequest,Row> updateRowCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateRowRequest,Row> |