Class GrpcManagedKafkaConnectStub (0.16.1)

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.

Inheritance

java.lang.Object > ManagedKafkaConnectStub > GrpcManagedKafkaConnectStub

Static Methods

create(ClientContext clientContext)

public static final GrpcManagedKafkaConnectStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcManagedKafkaConnectStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcManagedKafkaConnectStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcManagedKafkaConnectStub
Exceptions
Type Description
IOException

create(ManagedKafkaConnectStubSettings settings)

public static final GrpcManagedKafkaConnectStub create(ManagedKafkaConnectStubSettings settings)
Parameter
Name Description
settings ManagedKafkaConnectStubSettings
Returns
Type Description
GrpcManagedKafkaConnectStub
Exceptions
Type Description
IOException

Constructors

GrpcManagedKafkaConnectStub(ManagedKafkaConnectStubSettings settings, ClientContext clientContext)

protected GrpcManagedKafkaConnectStub(ManagedKafkaConnectStubSettings settings, ClientContext clientContext)

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.

Parameters
Name Description
settings ManagedKafkaConnectStubSettings
clientContext ClientContext

GrpcManagedKafkaConnectStub(ManagedKafkaConnectStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcManagedKafkaConnectStub(ManagedKafkaConnectStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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.

Parameters
Name Description
settings ManagedKafkaConnectStubSettings
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

close()

public final void close()
Overrides

createConnectClusterCallable()

public UnaryCallable<CreateConnectClusterRequest,Operation> createConnectClusterCallable()
Returns
Type Description
UnaryCallable<CreateConnectClusterRequest,Operation>
Overrides

createConnectClusterOperationCallable()

public OperationCallable<CreateConnectClusterRequest,ConnectCluster,OperationMetadata> createConnectClusterOperationCallable()
Returns
Type Description
OperationCallable<CreateConnectClusterRequest,ConnectCluster,OperationMetadata>
Overrides

createConnectorCallable()

public UnaryCallable<CreateConnectorRequest,Connector> createConnectorCallable()
Returns
Type Description
UnaryCallable<CreateConnectorRequest,Connector>
Overrides

deleteConnectClusterCallable()

public UnaryCallable<DeleteConnectClusterRequest,Operation> deleteConnectClusterCallable()
Returns
Type Description
UnaryCallable<DeleteConnectClusterRequest,Operation>
Overrides

deleteConnectClusterOperationCallable()

public OperationCallable<DeleteConnectClusterRequest,Empty,OperationMetadata> deleteConnectClusterOperationCallable()
Returns
Type Description
OperationCallable<DeleteConnectClusterRequest,Empty,OperationMetadata>
Overrides

deleteConnectorCallable()

public UnaryCallable<DeleteConnectorRequest,Empty> deleteConnectorCallable()
Returns
Type Description
UnaryCallable<DeleteConnectorRequest,Empty>
Overrides

getConnectClusterCallable()

public UnaryCallable<GetConnectClusterRequest,ConnectCluster> getConnectClusterCallable()
Returns
Type Description
UnaryCallable<GetConnectClusterRequest,ConnectCluster>
Overrides

getConnectorCallable()

public UnaryCallable<GetConnectorRequest,Connector> getConnectorCallable()
Returns
Type Description
UnaryCallable<GetConnectorRequest,Connector>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listConnectClustersCallable()

public UnaryCallable<ListConnectClustersRequest,ListConnectClustersResponse> listConnectClustersCallable()
Returns
Type Description
UnaryCallable<ListConnectClustersRequest,ListConnectClustersResponse>
Overrides

listConnectClustersPagedCallable()

public UnaryCallable<ListConnectClustersRequest,ManagedKafkaConnectClient.ListConnectClustersPagedResponse> listConnectClustersPagedCallable()
Returns
Type Description
UnaryCallable<ListConnectClustersRequest,ListConnectClustersPagedResponse>
Overrides

listConnectorsCallable()

public UnaryCallable<ListConnectorsRequest,ListConnectorsResponse> listConnectorsCallable()
Returns
Type Description
UnaryCallable<ListConnectorsRequest,ListConnectorsResponse>
Overrides

listConnectorsPagedCallable()

public UnaryCallable<ListConnectorsRequest,ManagedKafkaConnectClient.ListConnectorsPagedResponse> listConnectorsPagedCallable()
Returns
Type Description
UnaryCallable<ListConnectorsRequest,ListConnectorsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,ManagedKafkaConnectClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

pauseConnectorCallable()

public UnaryCallable<PauseConnectorRequest,PauseConnectorResponse> pauseConnectorCallable()
Returns
Type Description
UnaryCallable<PauseConnectorRequest,PauseConnectorResponse>
Overrides

restartConnectorCallable()

public UnaryCallable<RestartConnectorRequest,RestartConnectorResponse> restartConnectorCallable()
Returns
Type Description
UnaryCallable<RestartConnectorRequest,RestartConnectorResponse>
Overrides

resumeConnectorCallable()

public UnaryCallable<ResumeConnectorRequest,ResumeConnectorResponse> resumeConnectorCallable()
Returns
Type Description
UnaryCallable<ResumeConnectorRequest,ResumeConnectorResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

stopConnectorCallable()

public UnaryCallable<StopConnectorRequest,StopConnectorResponse> stopConnectorCallable()
Returns
Type Description
UnaryCallable<StopConnectorRequest,StopConnectorResponse>
Overrides

updateConnectClusterCallable()

public UnaryCallable<UpdateConnectClusterRequest,Operation> updateConnectClusterCallable()
Returns
Type Description
UnaryCallable<UpdateConnectClusterRequest,Operation>
Overrides

updateConnectClusterOperationCallable()

public OperationCallable<UpdateConnectClusterRequest,ConnectCluster,OperationMetadata> updateConnectClusterOperationCallable()
Returns
Type Description
OperationCallable<UpdateConnectClusterRequest,ConnectCluster,OperationMetadata>
Overrides

updateConnectorCallable()

public UnaryCallable<UpdateConnectorRequest,Connector> updateConnectorCallable()
Returns
Type Description
UnaryCallable<UpdateConnectorRequest,Connector>
Overrides