Class AutoMlStubSettings.Builder (2.33.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
NameDescription
clientContextClientContext

Builder(AutoMlStubSettings settings)

protected Builder(AutoMlStubSettings settings)
Parameter
NameDescription
settingsAutoMlStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AutoMlStubSettings.Builder

build()

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

createDatasetOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateDatasetRequest,Dataset,OperationMetadata>

createDatasetSettings()

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

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

Returns
TypeDescription
Builder<CreateDatasetRequest,Operation>

createModelOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateModelRequest,Model,OperationMetadata>

createModelSettings()

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

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

Returns
TypeDescription
Builder<CreateModelRequest,Operation>

deleteDatasetOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteDatasetRequest,Empty,OperationMetadata>

deleteDatasetSettings()

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

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

Returns
TypeDescription
Builder<DeleteDatasetRequest,Operation>

deleteModelOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteModelRequest,Empty,OperationMetadata>

deleteModelSettings()

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

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

Returns
TypeDescription
Builder<DeleteModelRequest,Operation>

deployModelOperationSettings()

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

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

Returns
TypeDescription
Builder<DeployModelRequest,Empty,OperationMetadata>

deployModelSettings()

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

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

Returns
TypeDescription
Builder<DeployModelRequest,Operation>

exportDataOperationSettings()

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

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

Returns
TypeDescription
Builder<ExportDataRequest,Empty,OperationMetadata>

exportDataSettings()

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

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

Returns
TypeDescription
Builder<ExportDataRequest,Operation>

exportModelOperationSettings()

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

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

Returns
TypeDescription
Builder<ExportModelRequest,Empty,OperationMetadata>

exportModelSettings()

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

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

Returns
TypeDescription
Builder<ExportModelRequest,Operation>

getAnnotationSpecSettings()

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

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

Returns
TypeDescription
Builder<GetAnnotationSpecRequest,AnnotationSpec>

getDatasetSettings()

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

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

Returns
TypeDescription
Builder<GetDatasetRequest,Dataset>

getModelEvaluationSettings()

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

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

Returns
TypeDescription
Builder<GetModelEvaluationRequest,ModelEvaluation>

getModelSettings()

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

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

Returns
TypeDescription
Builder<GetModelRequest,Model>

importDataOperationSettings()

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

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

Returns
TypeDescription
Builder<ImportDataRequest,Empty,OperationMetadata>

importDataSettings()

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

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

Returns
TypeDescription
Builder<ImportDataRequest,Operation>

listDatasetsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListModelsRequest,ListModelsResponse,ListModelsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UndeployModelRequest,Empty,OperationMetadata>

undeployModelSettings()

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

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

Returns
TypeDescription
Builder<UndeployModelRequest,Operation>

updateDatasetSettings()

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

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

Returns
TypeDescription
Builder<UpdateDatasetRequest,Dataset>

updateModelSettings()

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

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

Returns
TypeDescription
Builder<UpdateModelRequest,Model>