Package com.google.cloud.dialogflow.v2
Class EnvironmentsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<EnvironmentsSettings,EnvironmentsSettings.Builder>
-
- com.google.cloud.dialogflow.v2.EnvironmentsSettings.Builder
-
- Enclosing class:
- EnvironmentsSettings
public static class EnvironmentsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<EnvironmentsSettings,EnvironmentsSettings.Builder>
Builder for EnvironmentsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)protectedBuilder(EnvironmentsSettings settings)protectedBuilder(EnvironmentsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvironmentsSettings.BuilderapplyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)Applies the given settings updater function to all of the unary API methods in this service.EnvironmentsSettingsbuild()com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEnvironmentRequest,Environment>createEnvironmentSettings()Returns the builder for the settings used for calls to createEnvironment.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEnvironmentRequest,com.google.protobuf.Empty>deleteEnvironmentSettings()Returns the builder for the settings used for calls to deleteEnvironment.com.google.api.gax.rpc.PagedCallSettings.Builder<GetEnvironmentHistoryRequest,EnvironmentHistory,EnvironmentsClient.GetEnvironmentHistoryPagedResponse>getEnvironmentHistorySettings()Returns the builder for the settings used for calls to getEnvironmentHistory.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEnvironmentRequest,Environment>getEnvironmentSettings()Returns the builder for the settings used for calls to getEnvironment.com.google.api.gax.rpc.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.BuildergetStubSettingsBuilder()com.google.api.gax.rpc.PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse>listEnvironmentsSettings()Returns the builder for the settings used for calls to listEnvironments.com.google.api.gax.rpc.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.api.gax.rpc.UnaryCallSettings.Builder<UpdateEnvironmentRequest,Environment>updateEnvironmentSettings()Returns the builder for the settings used for calls to updateEnvironment.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(EnvironmentsSettings settings)
-
Builder
protected Builder(EnvironmentsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public EnvironmentsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public EnvironmentsSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
listEnvironmentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()
Returns the builder for the settings used for calls to listEnvironments.
-
getEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.
-
createEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEnvironmentRequest,Environment> createEnvironmentSettings()
Returns the builder for the settings used for calls to createEnvironment.
-
updateEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEnvironmentRequest,Environment> updateEnvironmentSettings()
Returns the builder for the settings used for calls to updateEnvironment.
-
deleteEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEnvironmentRequest,com.google.protobuf.Empty> deleteEnvironmentSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
-
getEnvironmentHistorySettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<GetEnvironmentHistoryRequest,EnvironmentHistory,EnvironmentsClient.GetEnvironmentHistoryPagedResponse> getEnvironmentHistorySettings()
Returns the builder for the settings used for calls to getEnvironmentHistory.
-
listLocationsSettings
public com.google.api.gax.rpc.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.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public EnvironmentsSettings build() throws IOException
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<EnvironmentsSettings,EnvironmentsSettings.Builder>- Throws:
IOException
-
-