Class EnvironmentsSettings.Builder (4.4.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
NameDescription
clientContextClientContext

Builder(EnvironmentsSettings settings)

protected Builder(EnvironmentsSettings settings)
Parameter
NameDescription
settingsEnvironmentsSettings

Builder(EnvironmentsStubSettings.Builder stubSettings)

protected Builder(EnvironmentsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsEnvironmentsStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
EnvironmentsSettings.Builder

build()

public EnvironmentsSettings build()
Returns
TypeDescription
EnvironmentsSettings
Overrides Exceptions
TypeDescription
IOException

createEnvironmentSettings()

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

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

Returns
TypeDescription
Builder<CreateEnvironmentRequest,Environment>

deleteEnvironmentSettings()

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

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

Returns
TypeDescription
Builder<DeleteEnvironmentRequest,Empty>

getEnvironmentHistorySettings()

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

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

Returns
TypeDescription
Builder<GetEnvironmentHistoryRequest,EnvironmentHistory,GetEnvironmentHistoryPagedResponse>

getEnvironmentSettings()

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

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

Returns
TypeDescription
Builder<GetEnvironmentRequest,Environment>

getStubSettingsBuilder()

public EnvironmentsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
EnvironmentsStubSettings.Builder

listEnvironmentsSettings()

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

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

Returns
TypeDescription
Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,ListEnvironmentsPagedResponse>

updateEnvironmentSettings()

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

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

Returns
TypeDescription
Builder<UpdateEnvironmentRequest,Environment>