Class ConfigStubSettings.Builder (0.1.0)

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

Builder for ConfigStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ConfigStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConfigStubSettings settings)

protected Builder(ConfigStubSettings settings)
Parameter
Name Description
settings ConfigStubSettings

Methods

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

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

build()

public ConfigStubSettings build()
Returns
Type Description
ConfigStubSettings
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>

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>

unaryMethodSettingsBuilders()

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

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>