Class HttpJsonTablesServiceStub
java.lang.Object
com.google.area120.tables.v1alpha.stub.TablesServiceStub
com.google.area120.tables.v1alpha.stub.HttpJsonTablesServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class HttpJsonTablesServiceStub
extends TablesServiceStub
REST stub implementation for the TablesService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonTablesServiceStub, using the given settings.protectedHttpJsonTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonTablesServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) UnaryCallable<BatchDeleteRowsRequest,com.google.protobuf.Empty> final voidclose()static final HttpJsonTablesServiceStubcreate(ClientContext clientContext) static final HttpJsonTablesServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonTablesServiceStubcreate(TablesServiceStubSettings settings) UnaryCallable<DeleteRowRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()void
-
Constructor Details
-
HttpJsonTablesServiceStub
protected HttpJsonTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonTablesServiceStub, 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
-
HttpJsonTablesServiceStub
protected HttpJsonTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonTablesServiceStub, 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 HttpJsonTablesServiceStub create(TablesServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonTablesServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonTablesServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
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
-