Class ConversationModelsSettings.Builder (4.7.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
NameDescription
clientContextClientContext

Builder(ConversationModelsSettings settings)

protected Builder(ConversationModelsSettings settings)
Parameter
NameDescription
settingsConversationModelsSettings

Builder(ConversationModelsStubSettings.Builder stubSettings)

protected Builder(ConversationModelsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsConversationModelsStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ConversationModelsSettings.Builder

build()

public ConversationModelsSettings build()
Returns
TypeDescription
ConversationModelsSettings
Overrides Exceptions
TypeDescription
IOException

createConversationModelEvaluationOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateConversationModelEvaluationRequest,ConversationModelEvaluation,CreateConversationModelEvaluationOperationMetadata>

createConversationModelEvaluationSettings()

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

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

Returns
TypeDescription
Builder<CreateConversationModelEvaluationRequest,Operation>

createConversationModelOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateConversationModelRequest,ConversationModel,CreateConversationModelOperationMetadata>

createConversationModelSettings()

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

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

Returns
TypeDescription
Builder<CreateConversationModelRequest,Operation>

deleteConversationModelOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteConversationModelRequest,Empty,DeleteConversationModelOperationMetadata>

deleteConversationModelSettings()

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

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

Returns
TypeDescription
Builder<DeleteConversationModelRequest,Operation>

deployConversationModelOperationSettings()

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

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

Returns
TypeDescription
Builder<DeployConversationModelRequest,Empty,DeployConversationModelOperationMetadata>

deployConversationModelSettings()

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

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

Returns
TypeDescription
Builder<DeployConversationModelRequest,Operation>

getConversationModelEvaluationSettings()

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

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

Returns
TypeDescription
Builder<GetConversationModelEvaluationRequest,ConversationModelEvaluation>

getConversationModelSettings()

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

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

Returns
TypeDescription
Builder<GetConversationModelRequest,ConversationModel>

getStubSettingsBuilder()

public ConversationModelsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ConversationModelsStubSettings.Builder

listConversationModelEvaluationsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListConversationModelsRequest,ListConversationModelsResponse,ListConversationModelsPagedResponse>

undeployConversationModelOperationSettings()

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

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

Returns
TypeDescription
Builder<UndeployConversationModelRequest,Empty,UndeployConversationModelOperationMetadata>

undeployConversationModelSettings()

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

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

Returns
TypeDescription
Builder<UndeployConversationModelRequest,Operation>