Package com.google.cloud.automl.v1
Class AutoMlSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<AutoMlSettings,AutoMlSettings.Builder>
com.google.cloud.automl.v1.AutoMlSettings.Builder
- Enclosing class:
- AutoMlSettings
public static class AutoMlSettings.Builder
extends ClientSettings.Builder<AutoMlSettings,AutoMlSettings.Builder>
Builder for AutoMlSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(AutoMlSettings settings) protectedBuilder(AutoMlStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createDataset.Returns the builder for the settings used for calls to createDataset.Returns the builder for the settings used for calls to createModel.Returns the builder for the settings used for calls to createModel.OperationCallSettings.Builder<DeleteDatasetRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteDataset.Returns the builder for the settings used for calls to deleteDataset.OperationCallSettings.Builder<DeleteModelRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteModel.Returns the builder for the settings used for calls to deleteModel.OperationCallSettings.Builder<DeployModelRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deployModel.Returns the builder for the settings used for calls to deployModel.OperationCallSettings.Builder<ExportDataRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to exportData.Returns the builder for the settings used for calls to exportData.OperationCallSettings.Builder<ExportModelRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to exportModel.Returns the builder for the settings used for calls to exportModel.Returns the builder for the settings used for calls to getAnnotationSpec.Returns the builder for the settings used for calls to getDataset.Returns the builder for the settings used for calls to getModelEvaluation.Returns the builder for the settings used for calls to getModel.OperationCallSettings.Builder<ImportDataRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to importData.Returns the builder for the settings used for calls to importData.PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse, AutoMlClient.ListDatasetsPagedResponse> Returns the builder for the settings used for calls to listDatasets.PagedCallSettings.Builder<ListModelEvaluationsRequest,ListModelEvaluationsResponse, AutoMlClient.ListModelEvaluationsPagedResponse> Returns the builder for the settings used for calls to listModelEvaluations.PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse, AutoMlClient.ListModelsPagedResponse> Returns the builder for the settings used for calls to listModels.OperationCallSettings.Builder<UndeployModelRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to undeployModel.Returns the builder for the settings used for calls to undeployModel.Returns the builder for the settings used for calls to updateDataset.Returns the builder for the settings used for calls to updateModel.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public AutoMlSettings.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.
-
createDatasetSettings
Returns the builder for the settings used for calls to createDataset. -
createDatasetOperationSettings
public OperationCallSettings.Builder<CreateDatasetRequest,Dataset, createDatasetOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createDataset. -
getDatasetSettings
Returns the builder for the settings used for calls to getDataset. -
listDatasetsSettings
public PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse, listDatasetsSettings()AutoMlClient.ListDatasetsPagedResponse> Returns the builder for the settings used for calls to listDatasets. -
updateDatasetSettings
Returns the builder for the settings used for calls to updateDataset. -
deleteDatasetSettings
Returns the builder for the settings used for calls to deleteDataset. -
deleteDatasetOperationSettings
public OperationCallSettings.Builder<DeleteDatasetRequest,com.google.protobuf.Empty, deleteDatasetOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteDataset. -
importDataSettings
Returns the builder for the settings used for calls to importData. -
importDataOperationSettings
public OperationCallSettings.Builder<ImportDataRequest,com.google.protobuf.Empty, importDataOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to importData. -
exportDataSettings
Returns the builder for the settings used for calls to exportData. -
exportDataOperationSettings
public OperationCallSettings.Builder<ExportDataRequest,com.google.protobuf.Empty, exportDataOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to exportData. -
getAnnotationSpecSettings
public UnaryCallSettings.Builder<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecSettings()Returns the builder for the settings used for calls to getAnnotationSpec. -
createModelSettings
Returns the builder for the settings used for calls to createModel. -
createModelOperationSettings
public OperationCallSettings.Builder<CreateModelRequest,Model, createModelOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createModel. -
getModelSettings
Returns the builder for the settings used for calls to getModel. -
listModelsSettings
public PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse, listModelsSettings()AutoMlClient.ListModelsPagedResponse> Returns the builder for the settings used for calls to listModels. -
deleteModelSettings
Returns the builder for the settings used for calls to deleteModel. -
deleteModelOperationSettings
public OperationCallSettings.Builder<DeleteModelRequest,com.google.protobuf.Empty, deleteModelOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteModel. -
updateModelSettings
Returns the builder for the settings used for calls to updateModel. -
deployModelSettings
Returns the builder for the settings used for calls to deployModel. -
deployModelOperationSettings
public OperationCallSettings.Builder<DeployModelRequest,com.google.protobuf.Empty, deployModelOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deployModel. -
undeployModelSettings
Returns the builder for the settings used for calls to undeployModel. -
undeployModelOperationSettings
public OperationCallSettings.Builder<UndeployModelRequest,com.google.protobuf.Empty, undeployModelOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to undeployModel. -
exportModelSettings
Returns the builder for the settings used for calls to exportModel. -
exportModelOperationSettings
public OperationCallSettings.Builder<ExportModelRequest,com.google.protobuf.Empty, exportModelOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to exportModel. -
getModelEvaluationSettings
public UnaryCallSettings.Builder<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationSettings()Returns the builder for the settings used for calls to getModelEvaluation. -
listModelEvaluationsSettings
public PagedCallSettings.Builder<ListModelEvaluationsRequest,ListModelEvaluationsResponse, listModelEvaluationsSettings()AutoMlClient.ListModelEvaluationsPagedResponse> Returns the builder for the settings used for calls to listModelEvaluations. -
build
- Specified by:
buildin classClientSettings.Builder<AutoMlSettings,AutoMlSettings.Builder> - Throws:
IOException
-