Class DeploymentSettings.Builder (0.1.0)

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

Builder for DeploymentSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DeploymentSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DeploymentSettings settings)

protected Builder(DeploymentSettings settings)
Parameter
Name Description
settings DeploymentSettings

Builder(DeploymentStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createFrameworkDeploymentOperationSettings()

public OperationCallSettings.Builder<CreateFrameworkDeploymentRequest,FrameworkDeployment,OperationMetadata> createFrameworkDeploymentOperationSettings()

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

Returns
Type Description
Builder<CreateFrameworkDeploymentRequest,FrameworkDeployment,OperationMetadata>

createFrameworkDeploymentSettings()

public UnaryCallSettings.Builder<CreateFrameworkDeploymentRequest,Operation> createFrameworkDeploymentSettings()

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

Returns
Type Description
Builder<CreateFrameworkDeploymentRequest,Operation>

deleteFrameworkDeploymentOperationSettings()

public OperationCallSettings.Builder<DeleteFrameworkDeploymentRequest,Empty,OperationMetadata> deleteFrameworkDeploymentOperationSettings()

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

Returns
Type Description
Builder<DeleteFrameworkDeploymentRequest,Empty,OperationMetadata>

deleteFrameworkDeploymentSettings()

public UnaryCallSettings.Builder<DeleteFrameworkDeploymentRequest,Operation> deleteFrameworkDeploymentSettings()

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

Returns
Type Description
Builder<DeleteFrameworkDeploymentRequest,Operation>

getCloudControlDeploymentSettings()

public UnaryCallSettings.Builder<GetCloudControlDeploymentRequest,CloudControlDeployment> getCloudControlDeploymentSettings()

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

Returns
Type Description
Builder<GetCloudControlDeploymentRequest,CloudControlDeployment>

getFrameworkDeploymentSettings()

public UnaryCallSettings.Builder<GetFrameworkDeploymentRequest,FrameworkDeployment> getFrameworkDeploymentSettings()

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

Returns
Type Description
Builder<GetFrameworkDeploymentRequest,FrameworkDeployment>

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

listCloudControlDeploymentsSettings()

public PagedCallSettings.Builder<ListCloudControlDeploymentsRequest,ListCloudControlDeploymentsResponse,DeploymentClient.ListCloudControlDeploymentsPagedResponse> listCloudControlDeploymentsSettings()

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

Returns
Type Description
Builder<ListCloudControlDeploymentsRequest,ListCloudControlDeploymentsResponse,ListCloudControlDeploymentsPagedResponse>

listFrameworkDeploymentsSettings()

public PagedCallSettings.Builder<ListFrameworkDeploymentsRequest,ListFrameworkDeploymentsResponse,DeploymentClient.ListFrameworkDeploymentsPagedResponse> listFrameworkDeploymentsSettings()

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

Returns
Type Description
Builder<ListFrameworkDeploymentsRequest,ListFrameworkDeploymentsResponse,ListFrameworkDeploymentsPagedResponse>

listLocationsSettings()

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