Class AutoMlStubSettings.Builder (2.4.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

createDatasetSettings()

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

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

Returns
TypeDescription
Builder<CreateDatasetRequest,Dataset>

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>

exportEvaluatedExamplesOperationSettings()

public OperationCallSettings.Builder<ExportEvaluatedExamplesRequest,Empty,OperationMetadata> exportEvaluatedExamplesOperationSettings()

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

Returns
TypeDescription
Builder<ExportEvaluatedExamplesRequest,Empty,OperationMetadata>

exportEvaluatedExamplesSettings()

public UnaryCallSettings.Builder<ExportEvaluatedExamplesRequest,Operation> exportEvaluatedExamplesSettings()

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

Returns
TypeDescription
Builder<ExportEvaluatedExamplesRequest,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>

getColumnSpecSettings()

public UnaryCallSettings.Builder<GetColumnSpecRequest,ColumnSpec> getColumnSpecSettings()

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

Returns
TypeDescription
Builder<GetColumnSpecRequest,ColumnSpec>

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>

getTableSpecSettings()

public UnaryCallSettings.Builder<GetTableSpecRequest,TableSpec> getTableSpecSettings()

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

Returns
TypeDescription
Builder<GetTableSpecRequest,TableSpec>

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>

listColumnSpecsSettings()

public PagedCallSettings.Builder<ListColumnSpecsRequest,ListColumnSpecsResponse,AutoMlClient.ListColumnSpecsPagedResponse> listColumnSpecsSettings()

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

Returns
TypeDescription
Builder<ListColumnSpecsRequest,ListColumnSpecsResponse,ListColumnSpecsPagedResponse>

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>

listTableSpecsSettings()

public PagedCallSettings.Builder<ListTableSpecsRequest,ListTableSpecsResponse,AutoMlClient.ListTableSpecsPagedResponse> listTableSpecsSettings()

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

Returns
TypeDescription
Builder<ListTableSpecsRequest,ListTableSpecsResponse,ListTableSpecsPagedResponse>

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>

updateColumnSpecSettings()

public UnaryCallSettings.Builder<UpdateColumnSpecRequest,ColumnSpec> updateColumnSpecSettings()

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

Returns
TypeDescription
Builder<UpdateColumnSpecRequest,ColumnSpec>

updateDatasetSettings()

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

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

Returns
TypeDescription
Builder<UpdateDatasetRequest,Dataset>

updateTableSpecSettings()

public UnaryCallSettings.Builder<UpdateTableSpecRequest,TableSpec> updateTableSpecSettings()

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

Returns
TypeDescription
Builder<UpdateTableSpecRequest,TableSpec>