Class HttpJsonConnectionServiceStub
java.lang.Object
com.google.cloud.bigqueryconnection.v1.stub.ConnectionServiceStub
com.google.cloud.bigqueryconnection.v1.stub.HttpJsonConnectionServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonConnectionServiceStub
extends ConnectionServiceStub
REST stub implementation for the ConnectionService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonConnectionServiceStub(ConnectionServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonConnectionServiceStub, using the given settings.protectedHttpJsonConnectionServiceStub(ConnectionServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonConnectionServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonConnectionServiceStubcreate(ClientContext clientContext) static final HttpJsonConnectionServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonConnectionServiceStubcreate(ConnectionServiceStubSettings settings) UnaryCallable<DeleteConnectionRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()void
-
Constructor Details
-
HttpJsonConnectionServiceStub
protected HttpJsonConnectionServiceStub(ConnectionServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonConnectionServiceStub, 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
-
HttpJsonConnectionServiceStub
protected HttpJsonConnectionServiceStub(ConnectionServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonConnectionServiceStub, 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 HttpJsonConnectionServiceStub create(ConnectionServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonConnectionServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonConnectionServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
createConnectionCallable
- Overrides:
createConnectionCallablein classConnectionServiceStub
-
getConnectionCallable
- Overrides:
getConnectionCallablein classConnectionServiceStub
-
listConnectionsCallable
- Overrides:
listConnectionsCallablein classConnectionServiceStub
-
listConnectionsPagedCallable
public UnaryCallable<ListConnectionsRequest,ConnectionServiceClient.ListConnectionsPagedResponse> listConnectionsPagedCallable()- Overrides:
listConnectionsPagedCallablein classConnectionServiceStub
-
updateConnectionCallable
- Overrides:
updateConnectionCallablein classConnectionServiceStub
-
deleteConnectionCallable
- Overrides:
deleteConnectionCallablein classConnectionServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classConnectionServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classConnectionServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classConnectionServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classConnectionServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-