Class DataprocMetastoreFederationSettings.Builder (2.44.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
Name Description
clientContext ClientContext

Builder(DataprocMetastoreFederationSettings settings)

protected Builder(DataprocMetastoreFederationSettings settings)
Parameter
Name Description
settings DataprocMetastoreFederationSettings

Builder(DataprocMetastoreFederationStubSettings.Builder stubSettings)

protected Builder(DataprocMetastoreFederationStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DataprocMetastoreFederationStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DataprocMetastoreFederationSettings.Builder

build()

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

createFederationOperationSettings()

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

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

Returns
Type Description
Builder<CreateFederationRequest,Federation,OperationMetadata>

createFederationSettings()

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

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

Returns
Type Description
Builder<CreateFederationRequest,Operation>

deleteFederationOperationSettings()

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

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

Returns
Type Description
Builder<DeleteFederationRequest,Empty,OperationMetadata>

deleteFederationSettings()

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

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

Returns
Type Description
Builder<DeleteFederationRequest,Operation>

getFederationSettings()

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

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

Returns
Type Description
Builder<GetFederationRequest,Federation>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

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 DataprocMetastoreFederationStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DataprocMetastoreFederationStubSettings.Builder

listFederationsSettings()

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

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

Returns
Type Description
Builder<ListFederationsRequest,ListFederationsResponse,ListFederationsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DataprocMetastoreFederationClient.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>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateFederationOperationSettings()

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

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

Returns
Type Description
Builder<UpdateFederationRequest,Federation,OperationMetadata>

updateFederationSettings()

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

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

Returns
Type Description
Builder<UpdateFederationRequest,Operation>