Class EnvironmentsSettings.Builder (4.45.0)

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

Builder for EnvironmentsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EnvironmentsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EnvironmentsSettings settings)

protected Builder(EnvironmentsSettings settings)
Parameter
Name Description
settings EnvironmentsSettings

Builder(EnvironmentsStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createEnvironmentSettings()

public UnaryCallSettings.Builder<CreateEnvironmentRequest,Environment> createEnvironmentSettings()

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

Returns
Type Description
Builder<CreateEnvironmentRequest,Environment>

deleteEnvironmentSettings()

public UnaryCallSettings.Builder<DeleteEnvironmentRequest,Empty> deleteEnvironmentSettings()

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

Returns
Type Description
Builder<DeleteEnvironmentRequest,Empty>

getEnvironmentHistorySettings()

public PagedCallSettings.Builder<GetEnvironmentHistoryRequest,EnvironmentHistory,EnvironmentsClient.GetEnvironmentHistoryPagedResponse> getEnvironmentHistorySettings()

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

Returns
Type Description
Builder<GetEnvironmentHistoryRequest,EnvironmentHistory,GetEnvironmentHistoryPagedResponse>

getEnvironmentSettings()

public UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()

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

Returns
Type Description
Builder<GetEnvironmentRequest,Environment>

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

listEnvironmentsSettings()

public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()

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

Returns
Type Description
Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,ListEnvironmentsPagedResponse>

listLocationsSettings()

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

updateEnvironmentSettings()

public UnaryCallSettings.Builder<UpdateEnvironmentRequest,Environment> updateEnvironmentSettings()

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

Returns
Type Description
Builder<UpdateEnvironmentRequest,Environment>