public static class EnvironmentsStubSettings.Builder extends StubSettings.Builder<EnvironmentsStubSettings,EnvironmentsStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(EnvironmentsStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
EnvironmentsStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
EnvironmentsStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<UpdateEnvironmentRequest,Environment> |
updateEnvironmentSettings()
Returns the builder for the settings used for calls to updateEnvironment.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(EnvironmentsStubSettings settings)
public EnvironmentsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 EnvironmentsStubSettings build() throws IOException
build
in class StubSettings.Builder<EnvironmentsStubSettings,EnvironmentsStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.