Class ConversationModelsSettings.Builder (4.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class ConversationModelsSettings.Builder extends ClientSettings.Builder<ConversationModelsSettings,ConversationModelsSettings.Builder>
Builder for ConversationModelsSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(ConversationModelsSettings settings)
protected Builder(ConversationModelsSettings settings)
Parameter
Builder(ConversationModelsStubSettings.Builder stubSettings)
protected Builder(ConversationModelsStubSettings.Builder stubSettings)
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ConversationModelsSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
Parameter
Returns
build()
public ConversationModelsSettings build()
Returns
Overrides
Exceptions
createConversationModelEvaluationOperationSettings()
public OperationCallSettings.Builder<CreateConversationModelEvaluationRequest,ConversationModelEvaluation,CreateConversationModelEvaluationOperationMetadata> createConversationModelEvaluationOperationSettings()
Returns the builder for the settings used for calls to createConversationModelEvaluation.
Returns
createConversationModelEvaluationSettings()
public UnaryCallSettings.Builder<CreateConversationModelEvaluationRequest,Operation> createConversationModelEvaluationSettings()
Returns the builder for the settings used for calls to createConversationModelEvaluation.
Returns
createConversationModelOperationSettings()
public OperationCallSettings.Builder<CreateConversationModelRequest,ConversationModel,CreateConversationModelOperationMetadata> createConversationModelOperationSettings()
Returns the builder for the settings used for calls to createConversationModel.
Returns
createConversationModelSettings()
public UnaryCallSettings.Builder<CreateConversationModelRequest,Operation> createConversationModelSettings()
Returns the builder for the settings used for calls to createConversationModel.
Returns
deleteConversationModelOperationSettings()
public OperationCallSettings.Builder<DeleteConversationModelRequest,Empty,DeleteConversationModelOperationMetadata> deleteConversationModelOperationSettings()
Returns the builder for the settings used for calls to deleteConversationModel.
Returns
deleteConversationModelSettings()
public UnaryCallSettings.Builder<DeleteConversationModelRequest,Operation> deleteConversationModelSettings()
Returns the builder for the settings used for calls to deleteConversationModel.
Returns
deployConversationModelOperationSettings()
public OperationCallSettings.Builder<DeployConversationModelRequest,Empty,DeployConversationModelOperationMetadata> deployConversationModelOperationSettings()
Returns the builder for the settings used for calls to deployConversationModel.
Returns
deployConversationModelSettings()
public UnaryCallSettings.Builder<DeployConversationModelRequest,Operation> deployConversationModelSettings()
Returns the builder for the settings used for calls to deployConversationModel.
Returns
getConversationModelEvaluationSettings()
public UnaryCallSettings.Builder<GetConversationModelEvaluationRequest,ConversationModelEvaluation> getConversationModelEvaluationSettings()
Returns the builder for the settings used for calls to getConversationModelEvaluation.
Returns
getConversationModelSettings()
public UnaryCallSettings.Builder<GetConversationModelRequest,ConversationModel> getConversationModelSettings()
Returns the builder for the settings used for calls to getConversationModel.
Returns
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns
Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getStubSettingsBuilder()
public ConversationModelsStubSettings.Builder getStubSettingsBuilder()
Returns
listConversationModelEvaluationsSettings()
public PagedCallSettings.Builder<ListConversationModelEvaluationsRequest,ListConversationModelEvaluationsResponse,ConversationModelsClient.ListConversationModelEvaluationsPagedResponse> listConversationModelEvaluationsSettings()
Returns the builder for the settings used for calls to listConversationModelEvaluations.
Returns
listConversationModelsSettings()
public PagedCallSettings.Builder<ListConversationModelsRequest,ListConversationModelsResponse,ConversationModelsClient.ListConversationModelsPagedResponse> listConversationModelsSettings()
Returns the builder for the settings used for calls to listConversationModels.
Returns
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ConversationModelsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
Returns
undeployConversationModelOperationSettings()
public OperationCallSettings.Builder<UndeployConversationModelRequest,Empty,UndeployConversationModelOperationMetadata> undeployConversationModelOperationSettings()
Returns the builder for the settings used for calls to undeployConversationModel.
Returns
undeployConversationModelSettings()
public UnaryCallSettings.Builder<UndeployConversationModelRequest,Operation> undeployConversationModelSettings()
Returns the builder for the settings used for calls to undeployConversationModel.
Returns
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-05 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-09-05 UTC.",
"confidential": False
}