public static class AutoMlStubSettings.Builder extends StubSettings.Builder<AutoMlStubSettings,AutoMlStubSettings.Builder>
Builder for AutoMlStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(AutoMlStubSettings settings)
protected Builder(AutoMlStubSettings settings)
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.
build()
public AutoMlStubSettings build()
Overrides
createDatasetOperationSettings()
public OperationCallSettings.Builder<CreateDatasetRequest,Dataset,OperationMetadata> createDatasetOperationSettings()
Returns the builder for the settings used for calls to createDataset.
createDatasetSettings()
public UnaryCallSettings.Builder<CreateDatasetRequest,Operation> createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.
createModelOperationSettings()
public OperationCallSettings.Builder<CreateModelRequest,Model,OperationMetadata> createModelOperationSettings()
Returns the builder for the settings used for calls to createModel.
createModelSettings()
public UnaryCallSettings.Builder<CreateModelRequest,Operation> createModelSettings()
Returns the builder for the settings used for calls to createModel.
deleteDatasetOperationSettings()
public OperationCallSettings.Builder<DeleteDatasetRequest,Empty,OperationMetadata> deleteDatasetOperationSettings()
Returns the builder for the settings used for calls to deleteDataset.
deleteDatasetSettings()
public UnaryCallSettings.Builder<DeleteDatasetRequest,Operation> deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.
deleteModelOperationSettings()
public OperationCallSettings.Builder<DeleteModelRequest,Empty,OperationMetadata> deleteModelOperationSettings()
Returns the builder for the settings used for calls to deleteModel.
deleteModelSettings()
public UnaryCallSettings.Builder<DeleteModelRequest,Operation> deleteModelSettings()
Returns the builder for the settings used for calls to deleteModel.
deployModelOperationSettings()
public OperationCallSettings.Builder<DeployModelRequest,Empty,OperationMetadata> deployModelOperationSettings()
Returns the builder for the settings used for calls to deployModel.
deployModelSettings()
public UnaryCallSettings.Builder<DeployModelRequest,Operation> deployModelSettings()
Returns the builder for the settings used for calls to deployModel.
exportDataOperationSettings()
public OperationCallSettings.Builder<ExportDataRequest,Empty,OperationMetadata> exportDataOperationSettings()
Returns the builder for the settings used for calls to exportData.
exportDataSettings()
public UnaryCallSettings.Builder<ExportDataRequest,Operation> exportDataSettings()
Returns the builder for the settings used for calls to exportData.
exportModelOperationSettings()
public OperationCallSettings.Builder<ExportModelRequest,Empty,OperationMetadata> exportModelOperationSettings()
Returns the builder for the settings used for calls to exportModel.
exportModelSettings()
public UnaryCallSettings.Builder<ExportModelRequest,Operation> exportModelSettings()
Returns the builder for the settings used for calls to exportModel.
getAnnotationSpecSettings()
public UnaryCallSettings.Builder<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecSettings()
Returns the builder for the settings used for calls to getAnnotationSpec.
getDatasetSettings()
public UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getModelEvaluationSettings()
public UnaryCallSettings.Builder<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationSettings()
Returns the builder for the settings used for calls to getModelEvaluation.
getModelSettings()
public UnaryCallSettings.Builder<GetModelRequest,Model> getModelSettings()
Returns the builder for the settings used for calls to getModel.
importDataOperationSettings()
public OperationCallSettings.Builder<ImportDataRequest,Empty,OperationMetadata> importDataOperationSettings()
Returns the builder for the settings used for calls to importData.
importDataSettings()
public UnaryCallSettings.Builder<ImportDataRequest,Operation> importDataSettings()
Returns the builder for the settings used for calls to importData.
listDatasetsSettings()
public PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,AutoMlClient.ListDatasetsPagedResponse> listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.
listModelEvaluationsSettings()
public PagedCallSettings.Builder<ListModelEvaluationsRequest,ListModelEvaluationsResponse,AutoMlClient.ListModelEvaluationsPagedResponse> listModelEvaluationsSettings()
Returns the builder for the settings used for calls to listModelEvaluations.
listModelsSettings()
public PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse,AutoMlClient.ListModelsPagedResponse> listModelsSettings()
Returns the builder for the settings used for calls to listModels.
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.
undeployModelSettings()
public UnaryCallSettings.Builder<UndeployModelRequest,Operation> undeployModelSettings()
Returns the builder for the settings used for calls to undeployModel.
updateDatasetSettings()
public UnaryCallSettings.Builder<UpdateDatasetRequest,Dataset> updateDatasetSettings()
Returns the builder for the settings used for calls to updateDataset.
updateModelSettings()
public UnaryCallSettings.Builder<UpdateModelRequest,Model> updateModelSettings()
Returns the builder for the settings used for calls to updateModel.