public static class AutoMlSettings.Builder extends ClientSettings.Builder<AutoMlSettings,AutoMlSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AutoMlSettings settings) |
protected |
Builder(AutoMlStubSettings.Builder stubSettings) |
protected |
Builder(ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AutoMlSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
AutoMlSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.CreateDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> |
createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.
|
OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.CreateModelRequest,com.google.cloud.automl.v1beta1.Model,com.google.cloud.automl.v1beta1.OperationMetadata> |
createModelOperationSettings()
Returns the builder for the settings used for calls to createModel.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.CreateModelRequest,Operation> |
createModelSettings()
Returns the builder for the settings used for calls to createModel.
|
OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.DeleteDatasetRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
deleteDatasetOperationSettings()
Returns the builder for the settings used for calls to deleteDataset.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.DeleteDatasetRequest,Operation> |
deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.
|
OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.DeleteModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
deleteModelOperationSettings()
Returns the builder for the settings used for calls to deleteModel.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.DeleteModelRequest,Operation> |
deleteModelSettings()
Returns the builder for the settings used for calls to deleteModel.
|
OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.DeployModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
deployModelOperationSettings()
Returns the builder for the settings used for calls to deployModel.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.DeployModelRequest,Operation> |
deployModelSettings()
Returns the builder for the settings used for calls to deployModel.
|
OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.ExportDataRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
exportDataOperationSettings()
Returns the builder for the settings used for calls to exportData.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.ExportDataRequest,Operation> |
exportDataSettings()
Returns the builder for the settings used for calls to exportData.
|
OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
exportEvaluatedExamplesOperationSettings()
Returns the builder for the settings used for calls to exportEvaluatedExamples.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest,Operation> |
exportEvaluatedExamplesSettings()
Returns the builder for the settings used for calls to exportEvaluatedExamples.
|
OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.ExportModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
exportModelOperationSettings()
Returns the builder for the settings used for calls to exportModel.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.ExportModelRequest,Operation> |
exportModelSettings()
Returns the builder for the settings used for calls to exportModel.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.GetAnnotationSpecRequest,com.google.cloud.automl.v1beta1.AnnotationSpec> |
getAnnotationSpecSettings()
Returns the builder for the settings used for calls to getAnnotationSpec.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.GetColumnSpecRequest,com.google.cloud.automl.v1beta1.ColumnSpec> |
getColumnSpecSettings()
Returns the builder for the settings used for calls to getColumnSpec.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.GetDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> |
getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.GetModelEvaluationRequest,com.google.cloud.automl.v1beta1.ModelEvaluation> |
getModelEvaluationSettings()
Returns the builder for the settings used for calls to getModelEvaluation.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.GetModelRequest,com.google.cloud.automl.v1beta1.Model> |
getModelSettings()
Returns the builder for the settings used for calls to getModel.
|
AutoMlStubSettings.Builder |
getStubSettingsBuilder() |
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.GetTableSpecRequest,com.google.cloud.automl.v1beta1.TableSpec> |
getTableSpecSettings()
Returns the builder for the settings used for calls to getTableSpec.
|
OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.ImportDataRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
importDataOperationSettings()
Returns the builder for the settings used for calls to importData.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.ImportDataRequest,Operation> |
importDataSettings()
Returns the builder for the settings used for calls to importData.
|
PagedCallSettings.Builder<com.google.cloud.automl.v1beta1.ListColumnSpecsRequest,com.google.cloud.automl.v1beta1.ListColumnSpecsResponse,AutoMlClient.ListColumnSpecsPagedResponse> |
listColumnSpecsSettings()
Returns the builder for the settings used for calls to listColumnSpecs.
|
PagedCallSettings.Builder<com.google.cloud.automl.v1beta1.ListDatasetsRequest,com.google.cloud.automl.v1beta1.ListDatasetsResponse,AutoMlClient.ListDatasetsPagedResponse> |
listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.
|
PagedCallSettings.Builder<com.google.cloud.automl.v1beta1.ListModelEvaluationsRequest,com.google.cloud.automl.v1beta1.ListModelEvaluationsResponse,AutoMlClient.ListModelEvaluationsPagedResponse> |
listModelEvaluationsSettings()
Returns the builder for the settings used for calls to listModelEvaluations.
|
PagedCallSettings.Builder<com.google.cloud.automl.v1beta1.ListModelsRequest,com.google.cloud.automl.v1beta1.ListModelsResponse,AutoMlClient.ListModelsPagedResponse> |
listModelsSettings()
Returns the builder for the settings used for calls to listModels.
|
PagedCallSettings.Builder<com.google.cloud.automl.v1beta1.ListTableSpecsRequest,com.google.cloud.automl.v1beta1.ListTableSpecsResponse,AutoMlClient.ListTableSpecsPagedResponse> |
listTableSpecsSettings()
Returns the builder for the settings used for calls to listTableSpecs.
|
OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.UndeployModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
undeployModelOperationSettings()
Returns the builder for the settings used for calls to undeployModel.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.UndeployModelRequest,Operation> |
undeployModelSettings()
Returns the builder for the settings used for calls to undeployModel.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.UpdateColumnSpecRequest,com.google.cloud.automl.v1beta1.ColumnSpec> |
updateColumnSpecSettings()
Returns the builder for the settings used for calls to updateColumnSpec.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.UpdateDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> |
updateDatasetSettings()
Returns the builder for the settings used for calls to updateDataset.
|
UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.UpdateTableSpecRequest,com.google.cloud.automl.v1beta1.TableSpec> |
updateTableSpecSettings()
Returns the builder for the settings used for calls to updateTableSpec.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(AutoMlSettings settings)
protected Builder(AutoMlStubSettings.Builder stubSettings)
public AutoMlStubSettings.Builder getStubSettingsBuilder()
public AutoMlSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.CreateDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> createDatasetSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.UpdateDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> updateDatasetSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.GetDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> getDatasetSettings()
public PagedCallSettings.Builder<com.google.cloud.automl.v1beta1.ListDatasetsRequest,com.google.cloud.automl.v1beta1.ListDatasetsResponse,AutoMlClient.ListDatasetsPagedResponse> listDatasetsSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.DeleteDatasetRequest,Operation> deleteDatasetSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.DeleteDatasetRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> deleteDatasetOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.ImportDataRequest,Operation> importDataSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.ImportDataRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> importDataOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.ExportDataRequest,Operation> exportDataSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.ExportDataRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> exportDataOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.CreateModelRequest,Operation> createModelSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.CreateModelRequest,com.google.cloud.automl.v1beta1.Model,com.google.cloud.automl.v1beta1.OperationMetadata> createModelOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.GetModelRequest,com.google.cloud.automl.v1beta1.Model> getModelSettings()
public PagedCallSettings.Builder<com.google.cloud.automl.v1beta1.ListModelsRequest,com.google.cloud.automl.v1beta1.ListModelsResponse,AutoMlClient.ListModelsPagedResponse> listModelsSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.DeleteModelRequest,Operation> deleteModelSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.DeleteModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> deleteModelOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.DeployModelRequest,Operation> deployModelSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.DeployModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> deployModelOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.UndeployModelRequest,Operation> undeployModelSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.UndeployModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> undeployModelOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.GetModelEvaluationRequest,com.google.cloud.automl.v1beta1.ModelEvaluation> getModelEvaluationSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.ExportModelRequest,Operation> exportModelSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.ExportModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> exportModelOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest,Operation> exportEvaluatedExamplesSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> exportEvaluatedExamplesOperationSettings()
public PagedCallSettings.Builder<com.google.cloud.automl.v1beta1.ListModelEvaluationsRequest,com.google.cloud.automl.v1beta1.ListModelEvaluationsResponse,AutoMlClient.ListModelEvaluationsPagedResponse> listModelEvaluationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.GetAnnotationSpecRequest,com.google.cloud.automl.v1beta1.AnnotationSpec> getAnnotationSpecSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.GetTableSpecRequest,com.google.cloud.automl.v1beta1.TableSpec> getTableSpecSettings()
public PagedCallSettings.Builder<com.google.cloud.automl.v1beta1.ListTableSpecsRequest,com.google.cloud.automl.v1beta1.ListTableSpecsResponse,AutoMlClient.ListTableSpecsPagedResponse> listTableSpecsSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.UpdateTableSpecRequest,com.google.cloud.automl.v1beta1.TableSpec> updateTableSpecSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.GetColumnSpecRequest,com.google.cloud.automl.v1beta1.ColumnSpec> getColumnSpecSettings()
public PagedCallSettings.Builder<com.google.cloud.automl.v1beta1.ListColumnSpecsRequest,com.google.cloud.automl.v1beta1.ListColumnSpecsResponse,AutoMlClient.ListColumnSpecsPagedResponse> listColumnSpecsSettings()
public UnaryCallSettings.Builder<com.google.cloud.automl.v1beta1.UpdateColumnSpecRequest,com.google.cloud.automl.v1beta1.ColumnSpec> updateColumnSpecSettings()
public AutoMlSettings build() throws IOException
build
in class ClientSettings.Builder<AutoMlSettings,AutoMlSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.