Class ManagedKafkaConnectSettings.Builder (0.16.1)

public static class ManagedKafkaConnectSettings.Builder extends ClientSettings.Builder<ManagedKafkaConnectSettings,ManagedKafkaConnectSettings.Builder>

Builder for ManagedKafkaConnectSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ManagedKafkaConnectSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ManagedKafkaConnectSettings settings)

protected Builder(ManagedKafkaConnectSettings settings)
Parameter
Name Description
settings ManagedKafkaConnectSettings

Builder(ManagedKafkaConnectStubSettings.Builder stubSettings)

protected Builder(ManagedKafkaConnectStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ManagedKafkaConnectStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ManagedKafkaConnectSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ManagedKafkaConnectSettings.Builder

build()

public ManagedKafkaConnectSettings build()
Returns
Type Description
ManagedKafkaConnectSettings
Overrides
Exceptions
Type Description
IOException

createConnectClusterOperationSettings()

public OperationCallSettings.Builder<CreateConnectClusterRequest,ConnectCluster,OperationMetadata> createConnectClusterOperationSettings()

Returns the builder for the settings used for calls to createConnectCluster.

Returns
Type Description
Builder<CreateConnectClusterRequest,ConnectCluster,OperationMetadata>

createConnectClusterSettings()

public UnaryCallSettings.Builder<CreateConnectClusterRequest,Operation> createConnectClusterSettings()

Returns the builder for the settings used for calls to createConnectCluster.

Returns
Type Description
Builder<CreateConnectClusterRequest,Operation>

createConnectorSettings()

public UnaryCallSettings.Builder<CreateConnectorRequest,Connector> createConnectorSettings()

Returns the builder for the settings used for calls to createConnector.

Returns
Type Description
Builder<CreateConnectorRequest,Connector>

deleteConnectClusterOperationSettings()

public OperationCallSettings.Builder<DeleteConnectClusterRequest,Empty,OperationMetadata> deleteConnectClusterOperationSettings()

Returns the builder for the settings used for calls to deleteConnectCluster.

Returns
Type Description
Builder<DeleteConnectClusterRequest,Empty,OperationMetadata>

deleteConnectClusterSettings()

public UnaryCallSettings.Builder<DeleteConnectClusterRequest,Operation> deleteConnectClusterSettings()

Returns the builder for the settings used for calls to deleteConnectCluster.

Returns
Type Description
Builder<DeleteConnectClusterRequest,Operation>

deleteConnectorSettings()

public UnaryCallSettings.Builder<DeleteConnectorRequest,Empty> deleteConnectorSettings()

Returns the builder for the settings used for calls to deleteConnector.

Returns
Type Description
Builder<DeleteConnectorRequest,Empty>

getConnectClusterSettings()

public UnaryCallSettings.Builder<GetConnectClusterRequest,ConnectCluster> getConnectClusterSettings()

Returns the builder for the settings used for calls to getConnectCluster.

Returns
Type Description
Builder<GetConnectClusterRequest,ConnectCluster>

getConnectorSettings()

public UnaryCallSettings.Builder<GetConnectorRequest,Connector> getConnectorSettings()

Returns the builder for the settings used for calls to getConnector.

Returns
Type Description
Builder<GetConnectorRequest,Connector>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public ManagedKafkaConnectStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ManagedKafkaConnectStubSettings.Builder

listConnectClustersSettings()

public PagedCallSettings.Builder<ListConnectClustersRequest,ListConnectClustersResponse,ManagedKafkaConnectClient.ListConnectClustersPagedResponse> listConnectClustersSettings()

Returns the builder for the settings used for calls to listConnectClusters.

Returns
Type Description
Builder<ListConnectClustersRequest,ListConnectClustersResponse,ListConnectClustersPagedResponse>

listConnectorsSettings()

public PagedCallSettings.Builder<ListConnectorsRequest,ListConnectorsResponse,ManagedKafkaConnectClient.ListConnectorsPagedResponse> listConnectorsSettings()

Returns the builder for the settings used for calls to listConnectors.

Returns
Type Description
Builder<ListConnectorsRequest,ListConnectorsResponse,ListConnectorsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ManagedKafkaConnectClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

pauseConnectorSettings()

public UnaryCallSettings.Builder<PauseConnectorRequest,PauseConnectorResponse> pauseConnectorSettings()

Returns the builder for the settings used for calls to pauseConnector.

Returns
Type Description
Builder<PauseConnectorRequest,PauseConnectorResponse>

restartConnectorSettings()

public UnaryCallSettings.Builder<RestartConnectorRequest,RestartConnectorResponse> restartConnectorSettings()

Returns the builder for the settings used for calls to restartConnector.

Returns
Type Description
Builder<RestartConnectorRequest,RestartConnectorResponse>

resumeConnectorSettings()

public UnaryCallSettings.Builder<ResumeConnectorRequest,ResumeConnectorResponse> resumeConnectorSettings()

Returns the builder for the settings used for calls to resumeConnector.

Returns
Type Description
Builder<ResumeConnectorRequest,ResumeConnectorResponse>

stopConnectorSettings()

public UnaryCallSettings.Builder<StopConnectorRequest,StopConnectorResponse> stopConnectorSettings()

Returns the builder for the settings used for calls to stopConnector.

Returns
Type Description
Builder<StopConnectorRequest,StopConnectorResponse>

updateConnectClusterOperationSettings()

public OperationCallSettings.Builder<UpdateConnectClusterRequest,ConnectCluster,OperationMetadata> updateConnectClusterOperationSettings()

Returns the builder for the settings used for calls to updateConnectCluster.

Returns
Type Description
Builder<UpdateConnectClusterRequest,ConnectCluster,OperationMetadata>

updateConnectClusterSettings()

public UnaryCallSettings.Builder<UpdateConnectClusterRequest,Operation> updateConnectClusterSettings()

Returns the builder for the settings used for calls to updateConnectCluster.

Returns
Type Description
Builder<UpdateConnectClusterRequest,Operation>

updateConnectorSettings()

public UnaryCallSettings.Builder<UpdateConnectorRequest,Connector> updateConnectorSettings()

Returns the builder for the settings used for calls to updateConnector.

Returns
Type Description
Builder<UpdateConnectorRequest,Connector>