Class ConversationModelsSettings.Builder (4.60.0)

public static class ConversationModelsSettings.Builder extends ClientSettings.Builder<ConversationModelsSettings,ConversationModelsSettings.Builder>

Builder for ConversationModelsSettings.

Inheritance

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.

Returns
Type Description
Builder<CreateConversationModelEvaluationRequest,ConversationModelEvaluation,CreateConversationModelEvaluationOperationMetadata>

createConversationModelEvaluationSettings()

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

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

Returns
Type Description
Builder<CreateConversationModelEvaluationRequest,Operation>

createConversationModelOperationSettings()

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

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

Returns
Type Description
Builder<CreateConversationModelRequest,ConversationModel,CreateConversationModelOperationMetadata>

createConversationModelSettings()

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

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

Returns
Type Description
Builder<CreateConversationModelRequest,Operation>

deleteConversationModelOperationSettings()

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

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

Returns
Type Description
Builder<DeleteConversationModelRequest,Empty,DeleteConversationModelOperationMetadata>

deleteConversationModelSettings()

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

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

Returns
Type Description
Builder<DeleteConversationModelRequest,Operation>

deployConversationModelOperationSettings()

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

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

Returns
Type Description
Builder<DeployConversationModelRequest,Empty,DeployConversationModelOperationMetadata>

deployConversationModelSettings()

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

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

Returns
Type Description
Builder<DeployConversationModelRequest,Operation>

getConversationModelEvaluationSettings()

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

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

Returns
Type Description
Builder<GetConversationModelEvaluationRequest,ConversationModelEvaluation>

getConversationModelSettings()

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

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

Returns
Type Description
Builder<GetConversationModelRequest,ConversationModel>

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.

Returns
Type Description
Builder<ListConversationModelEvaluationsRequest,ListConversationModelEvaluationsResponse,ListConversationModelEvaluationsPagedResponse>

listConversationModelsSettings()

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

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

Returns
Type Description
Builder<ListConversationModelsRequest,ListConversationModelsResponse,ListConversationModelsPagedResponse>

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.

Returns
Type Description
Builder<UndeployConversationModelRequest,Empty,UndeployConversationModelOperationMetadata>

undeployConversationModelSettings()

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

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

Returns
Type Description
Builder<UndeployConversationModelRequest,Operation>