Class GrpcManagedKafkaConnectStub
java.lang.Object
com.google.cloud.managedkafka.v1.stub.ManagedKafkaConnectStub
com.google.cloud.managedkafka.v1.stub.GrpcManagedKafkaConnectStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcManagedKafkaConnectStub
extends ManagedKafkaConnectStub
gRPC stub implementation for the ManagedKafkaConnect service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcManagedKafkaConnectStub(ManagedKafkaConnectStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcManagedKafkaConnectStub, using the given settings.protectedGrpcManagedKafkaConnectStub(ManagedKafkaConnectStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcManagedKafkaConnectStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcManagedKafkaConnectStubcreate(ClientContext clientContext) static final GrpcManagedKafkaConnectStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcManagedKafkaConnectStubcreate(ManagedKafkaConnectStubSettings settings) OperationCallable<DeleteConnectClusterRequest,com.google.protobuf.Empty, OperationMetadata> UnaryCallable<DeleteConnectorRequest,com.google.protobuf.Empty> booleanbooleanUnaryCallable<ListConnectClustersRequest,ManagedKafkaConnectClient.ListConnectClustersPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.managedkafka.v1.stub.ManagedKafkaConnectStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcManagedKafkaConnectStub
protected GrpcManagedKafkaConnectStub(ManagedKafkaConnectStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcManagedKafkaConnectStub, 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
-
GrpcManagedKafkaConnectStub
protected GrpcManagedKafkaConnectStub(ManagedKafkaConnectStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcManagedKafkaConnectStub, 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 GrpcManagedKafkaConnectStub create(ManagedKafkaConnectStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcManagedKafkaConnectStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcManagedKafkaConnectStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classManagedKafkaConnectStub
-
listConnectClustersCallable
public UnaryCallable<ListConnectClustersRequest,ListConnectClustersResponse> listConnectClustersCallable()- Overrides:
listConnectClustersCallablein classManagedKafkaConnectStub
-
listConnectClustersPagedCallable
public UnaryCallable<ListConnectClustersRequest,ManagedKafkaConnectClient.ListConnectClustersPagedResponse> listConnectClustersPagedCallable()- Overrides:
listConnectClustersPagedCallablein classManagedKafkaConnectStub
-
getConnectClusterCallable
- Overrides:
getConnectClusterCallablein classManagedKafkaConnectStub
-
createConnectClusterCallable
- Overrides:
createConnectClusterCallablein classManagedKafkaConnectStub
-
createConnectClusterOperationCallable
public OperationCallable<CreateConnectClusterRequest,ConnectCluster, createConnectClusterOperationCallable()OperationMetadata> - Overrides:
createConnectClusterOperationCallablein classManagedKafkaConnectStub
-
updateConnectClusterCallable
- Overrides:
updateConnectClusterCallablein classManagedKafkaConnectStub
-
updateConnectClusterOperationCallable
public OperationCallable<UpdateConnectClusterRequest,ConnectCluster, updateConnectClusterOperationCallable()OperationMetadata> - Overrides:
updateConnectClusterOperationCallablein classManagedKafkaConnectStub
-
deleteConnectClusterCallable
- Overrides:
deleteConnectClusterCallablein classManagedKafkaConnectStub
-
deleteConnectClusterOperationCallable
public OperationCallable<DeleteConnectClusterRequest,com.google.protobuf.Empty, deleteConnectClusterOperationCallable()OperationMetadata> - Overrides:
deleteConnectClusterOperationCallablein classManagedKafkaConnectStub
-
listConnectorsCallable
- Overrides:
listConnectorsCallablein classManagedKafkaConnectStub
-
listConnectorsPagedCallable
public UnaryCallable<ListConnectorsRequest,ManagedKafkaConnectClient.ListConnectorsPagedResponse> listConnectorsPagedCallable()- Overrides:
listConnectorsPagedCallablein classManagedKafkaConnectStub
-
getConnectorCallable
- Overrides:
getConnectorCallablein classManagedKafkaConnectStub
-
createConnectorCallable
- Overrides:
createConnectorCallablein classManagedKafkaConnectStub
-
updateConnectorCallable
- Overrides:
updateConnectorCallablein classManagedKafkaConnectStub
-
deleteConnectorCallable
- Overrides:
deleteConnectorCallablein classManagedKafkaConnectStub
-
pauseConnectorCallable
- Overrides:
pauseConnectorCallablein classManagedKafkaConnectStub
-
resumeConnectorCallable
- Overrides:
resumeConnectorCallablein classManagedKafkaConnectStub
-
restartConnectorCallable
- Overrides:
restartConnectorCallablein classManagedKafkaConnectStub
-
stopConnectorCallable
- Overrides:
stopConnectorCallablein classManagedKafkaConnectStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classManagedKafkaConnectStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,ManagedKafkaConnectClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classManagedKafkaConnectStub
-
getLocationCallable
- Overrides:
getLocationCallablein classManagedKafkaConnectStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classManagedKafkaConnectStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-