Class ManagedKafkaConnectStubSettings.Builder (0.16.1)

public static class ManagedKafkaConnectStubSettings.Builder extends StubSettings.Builder<ManagedKafkaConnectStubSettings,ManagedKafkaConnectStubSettings.Builder>

Builder for ManagedKafkaConnectStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ManagedKafkaConnectStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ManagedKafkaConnectStubSettings settings)

protected Builder(ManagedKafkaConnectStubSettings settings)
Parameter
Name Description
settings ManagedKafkaConnectStubSettings

Methods

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

public ManagedKafkaConnectStubSettings.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
ManagedKafkaConnectStubSettings.Builder

build()

public ManagedKafkaConnectStubSettings build()
Returns
Type Description
ManagedKafkaConnectStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

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>