Class GrpcTablesServiceStub
java.lang.Object
com.google.area120.tables.v1alpha.stub.TablesServiceStub
com.google.area120.tables.v1alpha.stub.GrpcTablesServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcTablesServiceStub, using the given settings.protectedGrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcTablesServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) UnaryCallable<BatchDeleteRowsRequest,com.google.protobuf.Empty> final voidclose()static final GrpcTablesServiceStubcreate(ClientContext clientContext) static final GrpcTablesServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcTablesServiceStubcreate(TablesServiceStubSettings settings) UnaryCallable<DeleteRowRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcTablesServiceStub
protected GrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
GrpcTablesServiceStub
protected GrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcTablesServiceStub create(TablesServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcTablesServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
getTableCallable
- Overrides:
getTableCallablein classTablesServiceStub
-
listTablesCallable
- Overrides:
listTablesCallablein classTablesServiceStub
-
listTablesPagedCallable
public UnaryCallable<ListTablesRequest,TablesServiceClient.ListTablesPagedResponse> listTablesPagedCallable()- Overrides:
listTablesPagedCallablein classTablesServiceStub
-
getWorkspaceCallable
- Overrides:
getWorkspaceCallablein classTablesServiceStub
-
listWorkspacesCallable
- Overrides:
listWorkspacesCallablein classTablesServiceStub
-
listWorkspacesPagedCallable
public UnaryCallable<ListWorkspacesRequest,TablesServiceClient.ListWorkspacesPagedResponse> listWorkspacesPagedCallable()- Overrides:
listWorkspacesPagedCallablein classTablesServiceStub
-
getRowCallable
- Overrides:
getRowCallablein classTablesServiceStub
-
listRowsCallable
- Overrides:
listRowsCallablein classTablesServiceStub
-
listRowsPagedCallable
public UnaryCallable<ListRowsRequest,TablesServiceClient.ListRowsPagedResponse> listRowsPagedCallable()- Overrides:
listRowsPagedCallablein classTablesServiceStub
-
createRowCallable
- Overrides:
createRowCallablein classTablesServiceStub
-
batchCreateRowsCallable
- Overrides:
batchCreateRowsCallablein classTablesServiceStub
-
updateRowCallable
- Overrides:
updateRowCallablein classTablesServiceStub
-
batchUpdateRowsCallable
- Overrides:
batchUpdateRowsCallablein classTablesServiceStub
-
deleteRowCallable
- Overrides:
deleteRowCallablein classTablesServiceStub
-
batchDeleteRowsCallable
- Overrides:
batchDeleteRowsCallablein classTablesServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classTablesServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-