public static class EnvironmentsSettings.Builder extends ClientSettings.Builder<EnvironmentsSettings,EnvironmentsSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(EnvironmentsSettings settings) |
protected |
Builder(EnvironmentsStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
EnvironmentsSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
EnvironmentsSettings |
build() |
UnaryCallSettings.Builder<CreateEnvironmentRequest,Environment> |
createEnvironmentSettings()
Returns the builder for the settings used for calls to createEnvironment.
|
UnaryCallSettings.Builder<DeleteEnvironmentRequest,Empty> |
deleteEnvironmentSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
|
PagedCallSettings.Builder<GetEnvironmentHistoryRequest,EnvironmentHistory,EnvironmentsClient.GetEnvironmentHistoryPagedResponse> |
getEnvironmentHistorySettings()
Returns the builder for the settings used for calls to getEnvironmentHistory.
|
UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> |
getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.
|
UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
|
EnvironmentsStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> |
listEnvironmentsSettings()
Returns the builder for the settings used for calls to listEnvironments.
|
PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,EnvironmentsClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
|
UnaryCallSettings.Builder<UpdateEnvironmentRequest,Environment> |
updateEnvironmentSettings()
Returns the builder for the settings used for calls to updateEnvironment.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(EnvironmentsSettings settings)
protected Builder(EnvironmentsStubSettings.Builder stubSettings)
public EnvironmentsStubSettings.Builder getStubSettingsBuilder()
public EnvironmentsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()
public UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()
public UnaryCallSettings.Builder<CreateEnvironmentRequest,Environment> createEnvironmentSettings()
public UnaryCallSettings.Builder<UpdateEnvironmentRequest,Environment> updateEnvironmentSettings()
public UnaryCallSettings.Builder<DeleteEnvironmentRequest,Empty> deleteEnvironmentSettings()
public PagedCallSettings.Builder<GetEnvironmentHistoryRequest,EnvironmentHistory,EnvironmentsClient.GetEnvironmentHistoryPagedResponse> getEnvironmentHistorySettings()
public PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,EnvironmentsClient.ListLocationsPagedResponse> listLocationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public EnvironmentsSettings build() throws IOException
build
in class ClientSettings.Builder<EnvironmentsSettings,EnvironmentsSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.