Class DataprocMetastoreFederationSettings.Builder (2.10.0)

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

Builder for DataprocMetastoreFederationSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DataprocMetastoreFederationSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DataprocMetastoreFederationSettings settings)

protected Builder(DataprocMetastoreFederationSettings settings)
Parameter
NameDescription
settingsDataprocMetastoreFederationSettings

Builder(DataprocMetastoreFederationStubSettings.Builder stubSettings)

protected Builder(DataprocMetastoreFederationStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDataprocMetastoreFederationStubSettings.Builder

Methods

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

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

build()

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

createFederationOperationSettings()

public OperationCallSettings.Builder<CreateFederationRequest,Federation,OperationMetadata> createFederationOperationSettings()

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

Returns
TypeDescription
Builder<CreateFederationRequest,Federation,OperationMetadata>

createFederationSettings()

public UnaryCallSettings.Builder<CreateFederationRequest,Operation> createFederationSettings()

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

Returns
TypeDescription
Builder<CreateFederationRequest,Operation>

deleteFederationOperationSettings()

public OperationCallSettings.Builder<DeleteFederationRequest,Empty,OperationMetadata> deleteFederationOperationSettings()

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

Returns
TypeDescription
Builder<DeleteFederationRequest,Empty,OperationMetadata>

deleteFederationSettings()

public UnaryCallSettings.Builder<DeleteFederationRequest,Operation> deleteFederationSettings()

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

Returns
TypeDescription
Builder<DeleteFederationRequest,Operation>

getFederationSettings()

public UnaryCallSettings.Builder<GetFederationRequest,Federation> getFederationSettings()

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

Returns
TypeDescription
Builder<GetFederationRequest,Federation>

getStubSettingsBuilder()

public DataprocMetastoreFederationStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
DataprocMetastoreFederationStubSettings.Builder

listFederationsSettings()

public PagedCallSettings.Builder<ListFederationsRequest,ListFederationsResponse,DataprocMetastoreFederationClient.ListFederationsPagedResponse> listFederationsSettings()

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

Returns
TypeDescription
Builder<ListFederationsRequest,ListFederationsResponse,ListFederationsPagedResponse>

updateFederationOperationSettings()

public OperationCallSettings.Builder<UpdateFederationRequest,Federation,OperationMetadata> updateFederationOperationSettings()

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

Returns
TypeDescription
Builder<UpdateFederationRequest,Federation,OperationMetadata>

updateFederationSettings()

public UnaryCallSettings.Builder<UpdateFederationRequest,Operation> updateFederationSettings()

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

Returns
TypeDescription
Builder<UpdateFederationRequest,Operation>