Class ConversationModelsStubSettings.Builder (4.28.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
Name Description
clientContext ClientContext

Builder(ConversationModelsStubSettings settings)

protected Builder(ConversationModelsStubSettings settings)
Parameter
Name Description
settings ConversationModelsStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
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
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>