Class DataFusionStubSettings.Builder (1.45.0)

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

Builder for DataFusionStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DataFusionStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DataFusionStubSettings settings)

protected Builder(DataFusionStubSettings settings)
Parameter
Name Description
settings DataFusionStubSettings

Methods

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

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

build()

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

createInstanceOperationSettings()

public OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()

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

Returns
Type Description
Builder<CreateInstanceRequest,Instance,OperationMetadata>

createInstanceSettings()

public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()

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

Returns
Type Description
Builder<CreateInstanceRequest,Operation>

deleteInstanceOperationSettings()

public OperationCallSettings.Builder<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationSettings()

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

Returns
Type Description
Builder<DeleteInstanceRequest,Empty,OperationMetadata>

deleteInstanceSettings()

public UnaryCallSettings.Builder<DeleteInstanceRequest,Operation> deleteInstanceSettings()

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

Returns
Type Description
Builder<DeleteInstanceRequest,Operation>

getInstanceSettings()

public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()

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

Returns
Type Description
Builder<GetInstanceRequest,Instance>

listAvailableVersionsSettings()

public PagedCallSettings.Builder<ListAvailableVersionsRequest,ListAvailableVersionsResponse,DataFusionClient.ListAvailableVersionsPagedResponse> listAvailableVersionsSettings()

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

Returns
Type Description
Builder<ListAvailableVersionsRequest,ListAvailableVersionsResponse,ListAvailableVersionsPagedResponse>

listInstancesSettings()

public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,DataFusionClient.ListInstancesPagedResponse> listInstancesSettings()

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

Returns
Type Description
Builder<ListInstancesRequest,ListInstancesResponse,ListInstancesPagedResponse>

restartInstanceOperationSettings()

public OperationCallSettings.Builder<RestartInstanceRequest,Instance,OperationMetadata> restartInstanceOperationSettings()

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

Returns
Type Description
Builder<RestartInstanceRequest,Instance,OperationMetadata>

restartInstanceSettings()

public UnaryCallSettings.Builder<RestartInstanceRequest,Operation> restartInstanceSettings()

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

Returns
Type Description
Builder<RestartInstanceRequest,Operation>

unaryMethodSettingsBuilders()

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

updateInstanceOperationSettings()

public OperationCallSettings.Builder<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationSettings()

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

Returns
Type Description
Builder<UpdateInstanceRequest,Instance,OperationMetadata>

updateInstanceSettings()

public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateInstanceSettings()

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

Returns
Type Description
Builder<UpdateInstanceRequest,Operation>