Class EnvironmentsStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<EnvironmentsStubSettings,EnvironmentsStubSettings.Builder>
-
- com.google.cloud.dialogflow.v2beta1.stub.EnvironmentsStubSettings.Builder
-
- Enclosing class:
- EnvironmentsStubSettings
public static class EnvironmentsStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<EnvironmentsStubSettings,EnvironmentsStubSettings.Builder>
Builder for EnvironmentsStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(EnvironmentsStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvironmentsStubSettings.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.EnvironmentsStubSettings
build()
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(EnvironmentsStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public EnvironmentsStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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 EnvironmentsStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<EnvironmentsStubSettings,EnvironmentsStubSettings.Builder>
- Throws:
IOException
-
-