Class ConfigSettings.Builder (0.22.0)

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

Builder for ConfigSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ConfigSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(ConfigSettings settings)

protected Builder(ConfigSettings settings)
Parameter
Name Description
settings ConfigSettings

Builder(ConfigStubSettings.Builder stubSettings)

protected Builder(ConfigStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ConfigStubSettings.Builder

Methods

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

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

build()

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

createCloudControlSettings()

public UnaryCallSettings.Builder<CreateCloudControlRequest,CloudControl> createCloudControlSettings()

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

Returns
Type Description
Builder<CreateCloudControlRequest,CloudControl>

createFrameworkSettings()

public UnaryCallSettings.Builder<CreateFrameworkRequest,Framework> createFrameworkSettings()

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

Returns
Type Description
Builder<CreateFrameworkRequest,Framework>

deleteCloudControlSettings()

public UnaryCallSettings.Builder<DeleteCloudControlRequest,Empty> deleteCloudControlSettings()

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

Returns
Type Description
Builder<DeleteCloudControlRequest,Empty>

deleteFrameworkSettings()

public UnaryCallSettings.Builder<DeleteFrameworkRequest,Empty> deleteFrameworkSettings()

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

Returns
Type Description
Builder<DeleteFrameworkRequest,Empty>

getCloudControlSettings()

public UnaryCallSettings.Builder<GetCloudControlRequest,CloudControl> getCloudControlSettings()

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

Returns
Type Description
Builder<GetCloudControlRequest,CloudControl>

getFrameworkSettings()

public UnaryCallSettings.Builder<GetFrameworkRequest,Framework> getFrameworkSettings()

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

Returns
Type Description
Builder<GetFrameworkRequest,Framework>

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

listCloudControlsSettings()

public PagedCallSettings.Builder<ListCloudControlsRequest,ListCloudControlsResponse,ConfigClient.ListCloudControlsPagedResponse> listCloudControlsSettings()

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

Returns
Type Description
Builder<ListCloudControlsRequest,ListCloudControlsResponse,ListCloudControlsPagedResponse>

listFrameworksSettings()

public PagedCallSettings.Builder<ListFrameworksRequest,ListFrameworksResponse,ConfigClient.ListFrameworksPagedResponse> listFrameworksSettings()

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

Returns
Type Description
Builder<ListFrameworksRequest,ListFrameworksResponse,ListFrameworksPagedResponse>

listLocationsSettings()

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

updateCloudControlSettings()

public UnaryCallSettings.Builder<UpdateCloudControlRequest,CloudControl> updateCloudControlSettings()

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

Returns
Type Description
Builder<UpdateCloudControlRequest,CloudControl>

updateFrameworkSettings()

public UnaryCallSettings.Builder<UpdateFrameworkRequest,Framework> updateFrameworkSettings()

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

Returns
Type Description
Builder<UpdateFrameworkRequest,Framework>