Class ConversationModelsStubSettings.Builder (4.6.0)

public static class ConversationModelsStubSettings.Builder extends StubSettings.Builder<ConversationModelsStubSettings,ConversationModelsStubSettings.Builder>

Builder for ConversationModelsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ConversationModelsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ConversationModelsStubSettings settings)

protected Builder(ConversationModelsStubSettings settings)
Parameter
NameDescription
settingsConversationModelsStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ConversationModelsStubSettings.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
ConversationModelsStubSettings.Builder

build()

public ConversationModelsStubSettings build()
Returns
TypeDescription
ConversationModelsStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

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>