Class ConversationModelsSettings.Builder (4.38.0)

See more code actions.
public static class ConversationModelsSettings.Builder extends ClientSettings.Builder<ConversationModelsSettings,ConversationModelsSettings.Builder>

Builder for ConversationModelsSettings.

java.lang.Object > ClientSettings.Builder > ConversationModelsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConversationModelsSettings settings)

protected Builder(ConversationModelsSettings settings)
Parameter
Name Description
settings ConversationModelsSettings

Builder(ConversationModelsStubSettings.Builder stubSettings)

protected Builder(ConversationModelsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ConversationModelsStubSettings.Builder

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ConversationModelsSettings.Builder

build()

public ConversationModelsSettings build()
Returns
Type Description
ConversationModelsSettings
Overrides
Exceptions
Type Description
IOException

createConversationModelEvaluationOperationSettings()

public OperationCallSettings.Builder<CreateConversationModelEvaluationRequest,ConversationModelEvaluation,CreateConversationModelEvaluationOperationMetadata> createConversationModelEvaluationOperationSettings()

Returns the builder for the settings used for calls to createConversationModelEvaluation.

createConversationModelEvaluationSettings()

public UnaryCallSettings.Builder<CreateConversationModelEvaluationRequest,Operation> createConversationModelEvaluationSettings()

Returns the builder for the settings used for calls to createConversationModelEvaluation.

createConversationModelOperationSettings()

public OperationCallSettings.Builder<CreateConversationModelRequest,ConversationModel,CreateConversationModelOperationMetadata> createConversationModelOperationSettings()

Returns the builder for the settings used for calls to createConversationModel.

createConversationModelSettings()

public UnaryCallSettings.Builder<CreateConversationModelRequest,Operation> createConversationModelSettings()

Returns the builder for the settings used for calls to createConversationModel.

deleteConversationModelOperationSettings()

public OperationCallSettings.Builder<DeleteConversationModelRequest,Empty,DeleteConversationModelOperationMetadata> deleteConversationModelOperationSettings()

Returns the builder for the settings used for calls to deleteConversationModel.

deleteConversationModelSettings()

public UnaryCallSettings.Builder<DeleteConversationModelRequest,Operation> deleteConversationModelSettings()

Returns the builder for the settings used for calls to deleteConversationModel.

deployConversationModelOperationSettings()

public OperationCallSettings.Builder<DeployConversationModelRequest,Empty,DeployConversationModelOperationMetadata> deployConversationModelOperationSettings()

Returns the builder for the settings used for calls to deployConversationModel.

deployConversationModelSettings()

public UnaryCallSettings.Builder<DeployConversationModelRequest,Operation> deployConversationModelSettings()

Returns the builder for the settings used for calls to deployConversationModel.

getConversationModelEvaluationSettings()

public UnaryCallSettings.Builder<GetConversationModelEvaluationRequest,ConversationModelEvaluation> getConversationModelEvaluationSettings()

Returns the builder for the settings used for calls to getConversationModelEvaluation.

getConversationModelSettings()

public UnaryCallSettings.Builder<GetConversationModelRequest,ConversationModel> getConversationModelSettings()

Returns the builder for the settings used for calls to getConversationModel.

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
Type Description
ConversationModelsStubSettings.Builder

listConversationModelEvaluationsSettings()

public PagedCallSettings.Builder<ListConversationModelEvaluationsRequest,ListConversationModelEvaluationsResponse,ConversationModelsClient.ListConversationModelEvaluationsPagedResponse> listConversationModelEvaluationsSettings()

Returns the builder for the settings used for calls to listConversationModelEvaluations.

listConversationModelsSettings()

public PagedCallSettings.Builder<ListConversationModelsRequest,ListConversationModelsResponse,ConversationModelsClient.ListConversationModelsPagedResponse> listConversationModelsSettings()

Returns the builder for the settings used for calls to listConversationModels.

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ConversationModelsClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

undeployConversationModelOperationSettings()

public OperationCallSettings.Builder<UndeployConversationModelRequest,Empty,UndeployConversationModelOperationMetadata> undeployConversationModelOperationSettings()

Returns the builder for the settings used for calls to undeployConversationModel.

undeployConversationModelSettings()

public UnaryCallSettings.Builder<UndeployConversationModelRequest,Operation> undeployConversationModelSettings()

Returns the builder for the settings used for calls to undeployConversationModel.