Class AutoMlStubSettings.Builder (2.51.0)

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

Builder for AutoMlStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AutoMlStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AutoMlStubSettings settings)

protected Builder(AutoMlStubSettings settings)
Parameter
Name Description
settings AutoMlStubSettings

Methods

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

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

build()

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

createDatasetOperationSettings()

public OperationCallSettings.Builder<CreateDatasetRequest,Dataset,OperationMetadata> createDatasetOperationSettings()

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

Returns
Type Description
Builder<CreateDatasetRequest,Dataset,OperationMetadata>

createDatasetSettings()

public UnaryCallSettings.Builder<CreateDatasetRequest,Operation> createDatasetSettings()

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

Returns
Type Description
Builder<CreateDatasetRequest,Operation>

createModelOperationSettings()

public OperationCallSettings.Builder<CreateModelRequest,Model,OperationMetadata> createModelOperationSettings()

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

Returns
Type Description
Builder<CreateModelRequest,Model,OperationMetadata>

createModelSettings()

public UnaryCallSettings.Builder<CreateModelRequest,Operation> createModelSettings()

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

Returns
Type Description
Builder<CreateModelRequest,Operation>

deleteDatasetOperationSettings()

public OperationCallSettings.Builder<DeleteDatasetRequest,Empty,OperationMetadata> deleteDatasetOperationSettings()

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

Returns
Type Description
Builder<DeleteDatasetRequest,Empty,OperationMetadata>

deleteDatasetSettings()

public UnaryCallSettings.Builder<DeleteDatasetRequest,Operation> deleteDatasetSettings()

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

Returns
Type Description
Builder<DeleteDatasetRequest,Operation>

deleteModelOperationSettings()

public OperationCallSettings.Builder<DeleteModelRequest,Empty,OperationMetadata> deleteModelOperationSettings()

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

Returns
Type Description
Builder<DeleteModelRequest,Empty,OperationMetadata>

deleteModelSettings()

public UnaryCallSettings.Builder<DeleteModelRequest,Operation> deleteModelSettings()

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

Returns
Type Description
Builder<DeleteModelRequest,Operation>

deployModelOperationSettings()

public OperationCallSettings.Builder<DeployModelRequest,Empty,OperationMetadata> deployModelOperationSettings()

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

Returns
Type Description
Builder<DeployModelRequest,Empty,OperationMetadata>

deployModelSettings()

public UnaryCallSettings.Builder<DeployModelRequest,Operation> deployModelSettings()

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

Returns
Type Description
Builder<DeployModelRequest,Operation>

exportDataOperationSettings()

public OperationCallSettings.Builder<ExportDataRequest,Empty,OperationMetadata> exportDataOperationSettings()

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

Returns
Type Description
Builder<ExportDataRequest,Empty,OperationMetadata>

exportDataSettings()

public UnaryCallSettings.Builder<ExportDataRequest,Operation> exportDataSettings()

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

Returns
Type Description
Builder<ExportDataRequest,Operation>

exportModelOperationSettings()

public OperationCallSettings.Builder<ExportModelRequest,Empty,OperationMetadata> exportModelOperationSettings()

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

Returns
Type Description
Builder<ExportModelRequest,Empty,OperationMetadata>

exportModelSettings()

public UnaryCallSettings.Builder<ExportModelRequest,Operation> exportModelSettings()

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

Returns
Type Description
Builder<ExportModelRequest,Operation>

getAnnotationSpecSettings()

public UnaryCallSettings.Builder<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecSettings()

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

Returns
Type Description
Builder<GetAnnotationSpecRequest,AnnotationSpec>

getDatasetSettings()

public UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()

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

Returns
Type Description
Builder<GetDatasetRequest,Dataset>

getModelEvaluationSettings()

public UnaryCallSettings.Builder<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationSettings()

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

Returns
Type Description
Builder<GetModelEvaluationRequest,ModelEvaluation>

getModelSettings()

public UnaryCallSettings.Builder<GetModelRequest,Model> getModelSettings()

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

Returns
Type Description
Builder<GetModelRequest,Model>

importDataOperationSettings()

public OperationCallSettings.Builder<ImportDataRequest,Empty,OperationMetadata> importDataOperationSettings()

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

Returns
Type Description
Builder<ImportDataRequest,Empty,OperationMetadata>

importDataSettings()

public UnaryCallSettings.Builder<ImportDataRequest,Operation> importDataSettings()

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

Returns
Type Description
Builder<ImportDataRequest,Operation>

listDatasetsSettings()

public PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,AutoMlClient.ListDatasetsPagedResponse> listDatasetsSettings()

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

Returns
Type Description
Builder<ListDatasetsRequest,ListDatasetsResponse,ListDatasetsPagedResponse>

listModelEvaluationsSettings()

public PagedCallSettings.Builder<ListModelEvaluationsRequest,ListModelEvaluationsResponse,AutoMlClient.ListModelEvaluationsPagedResponse> listModelEvaluationsSettings()

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

Returns
Type Description
Builder<ListModelEvaluationsRequest,ListModelEvaluationsResponse,ListModelEvaluationsPagedResponse>

listModelsSettings()

public PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse,AutoMlClient.ListModelsPagedResponse> listModelsSettings()

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

Returns
Type Description
Builder<ListModelsRequest,ListModelsResponse,ListModelsPagedResponse>

unaryMethodSettingsBuilders()

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

undeployModelOperationSettings()

public OperationCallSettings.Builder<UndeployModelRequest,Empty,OperationMetadata> undeployModelOperationSettings()

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

Returns
Type Description
Builder<UndeployModelRequest,Empty,OperationMetadata>

undeployModelSettings()

public UnaryCallSettings.Builder<UndeployModelRequest,Operation> undeployModelSettings()

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

Returns
Type Description
Builder<UndeployModelRequest,Operation>

updateDatasetSettings()

public UnaryCallSettings.Builder<UpdateDatasetRequest,Dataset> updateDatasetSettings()

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

Returns
Type Description
Builder<UpdateDatasetRequest,Dataset>

updateModelSettings()

public UnaryCallSettings.Builder<UpdateModelRequest,Model> updateModelSettings()

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

Returns
Type Description
Builder<UpdateModelRequest,Model>