Class EnvironmentsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<EnvironmentsSettings,EnvironmentsSettings.Builder>
-
- com.google.cloud.dialogflow.cx.v3beta1.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 protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(EnvironmentsSettings settings)
protected
Builder(EnvironmentsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.EnvironmentsSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,com.google.protobuf.Struct>
createEnvironmentOperationSettings()
Returns the builder for the settings used for calls to createEnvironment.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEnvironmentRequest,com.google.longrunning.Operation>
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.OperationCallSettings.Builder<DeployFlowRequest,DeployFlowResponse,DeployFlowMetadata>
deployFlowOperationSettings()
Returns the builder for the settings used for calls to deployFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeployFlowRequest,com.google.longrunning.Operation>
deployFlowSettings()
Returns the builder for the settings used for calls to deployFlow.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.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListContinuousTestResultsRequest,ListContinuousTestResultsResponse,EnvironmentsClient.ListContinuousTestResultsPagedResponse>
listContinuousTestResultsSettings()
Returns the builder for the settings used for calls to listContinuousTestResults.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.PagedCallSettings.Builder<LookupEnvironmentHistoryRequest,LookupEnvironmentHistoryResponse,EnvironmentsClient.LookupEnvironmentHistoryPagedResponse>
lookupEnvironmentHistorySettings()
Returns the builder for the settings used for calls to lookupEnvironmentHistory.com.google.api.gax.rpc.OperationCallSettings.Builder<RunContinuousTestRequest,RunContinuousTestResponse,RunContinuousTestMetadata>
runContinuousTestOperationSettings()
Returns the builder for the settings used for calls to runContinuousTest.com.google.api.gax.rpc.UnaryCallSettings.Builder<RunContinuousTestRequest,com.google.longrunning.Operation>
runContinuousTestSettings()
Returns the builder for the settings used for calls to runContinuousTest.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateEnvironmentRequest,Environment,com.google.protobuf.Struct>
updateEnvironmentOperationSettings()
Returns the builder for the settings used for calls to updateEnvironment.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEnvironmentRequest,com.google.longrunning.Operation>
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,com.google.longrunning.Operation> createEnvironmentSettings()
Returns the builder for the settings used for calls to createEnvironment.
-
createEnvironmentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,com.google.protobuf.Struct> createEnvironmentOperationSettings()
Returns the builder for the settings used for calls to createEnvironment.
-
updateEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEnvironmentRequest,com.google.longrunning.Operation> updateEnvironmentSettings()
Returns the builder for the settings used for calls to updateEnvironment.
-
updateEnvironmentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateEnvironmentRequest,Environment,com.google.protobuf.Struct> updateEnvironmentOperationSettings()
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.
-
lookupEnvironmentHistorySettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<LookupEnvironmentHistoryRequest,LookupEnvironmentHistoryResponse,EnvironmentsClient.LookupEnvironmentHistoryPagedResponse> lookupEnvironmentHistorySettings()
Returns the builder for the settings used for calls to lookupEnvironmentHistory.
-
runContinuousTestSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RunContinuousTestRequest,com.google.longrunning.Operation> runContinuousTestSettings()
Returns the builder for the settings used for calls to runContinuousTest.
-
runContinuousTestOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RunContinuousTestRequest,RunContinuousTestResponse,RunContinuousTestMetadata> runContinuousTestOperationSettings()
Returns the builder for the settings used for calls to runContinuousTest.
-
listContinuousTestResultsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListContinuousTestResultsRequest,ListContinuousTestResultsResponse,EnvironmentsClient.ListContinuousTestResultsPagedResponse> listContinuousTestResultsSettings()
Returns the builder for the settings used for calls to listContinuousTestResults.
-
deployFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeployFlowRequest,com.google.longrunning.Operation> deployFlowSettings()
Returns the builder for the settings used for calls to deployFlow.
-
deployFlowOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeployFlowRequest,DeployFlowResponse,DeployFlowMetadata> deployFlowOperationSettings()
Returns the builder for the settings used for calls to deployFlow.
-
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:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<EnvironmentsSettings,EnvironmentsSettings.Builder>
- Throws:
IOException
-
-