Class DataFusionStubSettings.Builder (1.20.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
NameDescription
clientContextClientContext

Builder(DataFusionStubSettings settings)

protected Builder(DataFusionStubSettings settings)
Parameter
NameDescription
settingsDataFusionStubSettings

Methods

addDnsPeeringSettings()

public UnaryCallSettings.Builder<AddDnsPeeringRequest,AddDnsPeeringResponse> addDnsPeeringSettings()

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

Returns
TypeDescription
Builder<AddDnsPeeringRequest,AddDnsPeeringResponse>

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DataFusionStubSettings.Builder

build()

public DataFusionStubSettings build()
Returns
TypeDescription
DataFusionStubSettings
Overrides
Exceptions
TypeDescription
IOException

createInstanceOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateInstanceRequest,Instance,OperationMetadata>

createInstanceSettings()

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

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

Returns
TypeDescription
Builder<CreateInstanceRequest,Operation>

deleteInstanceOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteInstanceRequest,Empty,OperationMetadata>

deleteInstanceSettings()

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

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

Returns
TypeDescription
Builder<DeleteInstanceRequest,Operation>

getInstanceSettings()

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

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

Returns
TypeDescription
Builder<GetInstanceRequest,Instance>

listAvailableVersionsSettings()

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

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

Returns
TypeDescription
Builder<ListAvailableVersionsRequest,ListAvailableVersionsResponse,ListAvailableVersionsPagedResponse>

listDnsPeeringsSettings()

public PagedCallSettings.Builder<ListDnsPeeringsRequest,ListDnsPeeringsResponse,DataFusionClient.ListDnsPeeringsPagedResponse> listDnsPeeringsSettings()

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

Returns
TypeDescription
Builder<ListDnsPeeringsRequest,ListDnsPeeringsResponse,ListDnsPeeringsPagedResponse>

listInstancesSettings()

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

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

Returns
TypeDescription
Builder<ListInstancesRequest,ListInstancesResponse,ListInstancesPagedResponse>

listNamespacesSettings()

public PagedCallSettings.Builder<ListNamespacesRequest,ListNamespacesResponse,DataFusionClient.ListNamespacesPagedResponse> listNamespacesSettings()

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

Returns
TypeDescription
Builder<ListNamespacesRequest,ListNamespacesResponse,ListNamespacesPagedResponse>

removeDnsPeeringSettings()

public UnaryCallSettings.Builder<RemoveDnsPeeringRequest,RemoveDnsPeeringResponse> removeDnsPeeringSettings()

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

Returns
TypeDescription
Builder<RemoveDnsPeeringRequest,RemoveDnsPeeringResponse>

removeIamPolicySettings()

public UnaryCallSettings.Builder<RemoveIamPolicyRequest,RemoveIamPolicyResponse> removeIamPolicySettings()

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

Returns
TypeDescription
Builder<RemoveIamPolicyRequest,RemoveIamPolicyResponse>

restartInstanceOperationSettings()

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

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

Returns
TypeDescription
Builder<RestartInstanceRequest,Instance,OperationMetadata>

restartInstanceSettings()

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

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

Returns
TypeDescription
Builder<RestartInstanceRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateInstanceRequest,Instance,OperationMetadata>

updateInstanceSettings()

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

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

Returns
TypeDescription
Builder<UpdateInstanceRequest,Operation>

upgradeInstanceOperationSettings()

public OperationCallSettings.Builder<UpgradeInstanceRequest,Instance,OperationMetadata> upgradeInstanceOperationSettings()

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

Returns
TypeDescription
Builder<UpgradeInstanceRequest,Instance,OperationMetadata>

upgradeInstanceSettings()

public UnaryCallSettings.Builder<UpgradeInstanceRequest,Operation> upgradeInstanceSettings()

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

Returns
TypeDescription
Builder<UpgradeInstanceRequest,Operation>