Package com.google.cloud.dialogflow.v2
Class ConversationModelsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ConversationModelsSettings,ConversationModelsSettings.Builder>
-
- com.google.cloud.dialogflow.v2.ConversationModelsSettings.Builder
-
- Enclosing class:
- ConversationModelsSettings
public static class ConversationModelsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ConversationModelsSettings,ConversationModelsSettings.Builder>
Builder for ConversationModelsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ConversationModelsSettings settings)
protected
Builder(ConversationModelsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationModelsSettings.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.ConversationModelsSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateConversationModelEvaluationRequest,ConversationModelEvaluation,CreateConversationModelEvaluationOperationMetadata>
createConversationModelEvaluationOperationSettings()
Returns the builder for the settings used for calls to createConversationModelEvaluation.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConversationModelEvaluationRequest,com.google.longrunning.Operation>
createConversationModelEvaluationSettings()
Returns the builder for the settings used for calls to createConversationModelEvaluation.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateConversationModelRequest,ConversationModel,CreateConversationModelOperationMetadata>
createConversationModelOperationSettings()
Returns the builder for the settings used for calls to createConversationModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConversationModelRequest,com.google.longrunning.Operation>
createConversationModelSettings()
Returns the builder for the settings used for calls to createConversationModel.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteConversationModelRequest,com.google.protobuf.Empty,DeleteConversationModelOperationMetadata>
deleteConversationModelOperationSettings()
Returns the builder for the settings used for calls to deleteConversationModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteConversationModelRequest,com.google.longrunning.Operation>
deleteConversationModelSettings()
Returns the builder for the settings used for calls to deleteConversationModel.com.google.api.gax.rpc.OperationCallSettings.Builder<DeployConversationModelRequest,com.google.protobuf.Empty,DeployConversationModelOperationMetadata>
deployConversationModelOperationSettings()
Returns the builder for the settings used for calls to deployConversationModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeployConversationModelRequest,com.google.longrunning.Operation>
deployConversationModelSettings()
Returns the builder for the settings used for calls to deployConversationModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConversationModelEvaluationRequest,ConversationModelEvaluation>
getConversationModelEvaluationSettings()
Returns the builder for the settings used for calls to getConversationModelEvaluation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConversationModelRequest,ConversationModel>
getConversationModelSettings()
Returns the builder for the settings used for calls to getConversationModel.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.ConversationModelsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListConversationModelEvaluationsRequest,ListConversationModelEvaluationsResponse,ConversationModelsClient.ListConversationModelEvaluationsPagedResponse>
listConversationModelEvaluationsSettings()
Returns the builder for the settings used for calls to listConversationModelEvaluations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListConversationModelsRequest,ListConversationModelsResponse,ConversationModelsClient.ListConversationModelsPagedResponse>
listConversationModelsSettings()
Returns the builder for the settings used for calls to listConversationModels.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ConversationModelsClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.OperationCallSettings.Builder<UndeployConversationModelRequest,com.google.protobuf.Empty,UndeployConversationModelOperationMetadata>
undeployConversationModelOperationSettings()
Returns the builder for the settings used for calls to undeployConversationModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeployConversationModelRequest,com.google.longrunning.Operation>
undeployConversationModelSettings()
Returns the builder for the settings used for calls to undeployConversationModel.-
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(ConversationModelsSettings settings)
-
Builder
protected Builder(ConversationModelsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ConversationModelsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ConversationModelsSettings.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.
-
createConversationModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConversationModelRequest,com.google.longrunning.Operation> createConversationModelSettings()
Returns the builder for the settings used for calls to createConversationModel.
-
createConversationModelOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateConversationModelRequest,ConversationModel,CreateConversationModelOperationMetadata> createConversationModelOperationSettings()
Returns the builder for the settings used for calls to createConversationModel.
-
getConversationModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConversationModelRequest,ConversationModel> getConversationModelSettings()
Returns the builder for the settings used for calls to getConversationModel.
-
listConversationModelsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListConversationModelsRequest,ListConversationModelsResponse,ConversationModelsClient.ListConversationModelsPagedResponse> listConversationModelsSettings()
Returns the builder for the settings used for calls to listConversationModels.
-
deleteConversationModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteConversationModelRequest,com.google.longrunning.Operation> deleteConversationModelSettings()
Returns the builder for the settings used for calls to deleteConversationModel.
-
deleteConversationModelOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteConversationModelRequest,com.google.protobuf.Empty,DeleteConversationModelOperationMetadata> deleteConversationModelOperationSettings()
Returns the builder for the settings used for calls to deleteConversationModel.
-
deployConversationModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeployConversationModelRequest,com.google.longrunning.Operation> deployConversationModelSettings()
Returns the builder for the settings used for calls to deployConversationModel.
-
deployConversationModelOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeployConversationModelRequest,com.google.protobuf.Empty,DeployConversationModelOperationMetadata> deployConversationModelOperationSettings()
Returns the builder for the settings used for calls to deployConversationModel.
-
undeployConversationModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeployConversationModelRequest,com.google.longrunning.Operation> undeployConversationModelSettings()
Returns the builder for the settings used for calls to undeployConversationModel.
-
undeployConversationModelOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UndeployConversationModelRequest,com.google.protobuf.Empty,UndeployConversationModelOperationMetadata> undeployConversationModelOperationSettings()
Returns the builder for the settings used for calls to undeployConversationModel.
-
getConversationModelEvaluationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConversationModelEvaluationRequest,ConversationModelEvaluation> getConversationModelEvaluationSettings()
Returns the builder for the settings used for calls to getConversationModelEvaluation.
-
listConversationModelEvaluationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListConversationModelEvaluationsRequest,ListConversationModelEvaluationsResponse,ConversationModelsClient.ListConversationModelEvaluationsPagedResponse> listConversationModelEvaluationsSettings()
Returns the builder for the settings used for calls to listConversationModelEvaluations.
-
createConversationModelEvaluationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConversationModelEvaluationRequest,com.google.longrunning.Operation> createConversationModelEvaluationSettings()
Returns the builder for the settings used for calls to createConversationModelEvaluation.
-
createConversationModelEvaluationOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateConversationModelEvaluationRequest,ConversationModelEvaluation,CreateConversationModelEvaluationOperationMetadata> createConversationModelEvaluationOperationSettings()
Returns the builder for the settings used for calls to createConversationModelEvaluation.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ConversationModelsClient.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 ConversationModelsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ConversationModelsSettings,ConversationModelsSettings.Builder>
- Throws:
IOException
-
-