public static class EnvironmentsSettings.Builder extends ClientSettings.Builder<EnvironmentsSettings,EnvironmentsSettings.Builder>
Builder for EnvironmentsSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(EnvironmentsSettings settings)
protected Builder(EnvironmentsSettings settings)
Builder(EnvironmentsStubSettings.Builder stubSettings)
protected Builder(EnvironmentsStubSettings.Builder stubSettings)
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.
build()
public EnvironmentsSettings build()
Overrides
createEnvironmentSettings()
public UnaryCallSettings.Builder<CreateEnvironmentRequest,Environment> createEnvironmentSettings()
Returns the builder for the settings used for calls to createEnvironment.
deleteEnvironmentSettings()
public UnaryCallSettings.Builder<DeleteEnvironmentRequest,Empty> deleteEnvironmentSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
getEnvironmentHistorySettings()
public PagedCallSettings.Builder<GetEnvironmentHistoryRequest,EnvironmentHistory,EnvironmentsClient.GetEnvironmentHistoryPagedResponse> getEnvironmentHistorySettings()
Returns the builder for the settings used for calls to getEnvironmentHistory.
getEnvironmentSettings()
public UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.
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()
listEnvironmentsSettings()
public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()
Returns the builder for the settings used for calls to listEnvironments.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,EnvironmentsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
updateEnvironmentSettings()
public UnaryCallSettings.Builder<UpdateEnvironmentRequest,Environment> updateEnvironmentSettings()
Returns the builder for the settings used for calls to updateEnvironment.