Class AutoMlStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<AutoMlStubSettings,AutoMlStubSettings.Builder>
com.google.cloud.automl.v1beta1.stub.AutoMlStubSettings.Builder
- Enclosing class:
- AutoMlStubSettings
public static class AutoMlStubSettings.Builder
extends StubSettings.Builder<AutoMlStubSettings,AutoMlStubSettings.Builder>
Builder for AutoMlStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(AutoMlStubSettings settings) -
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 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<ExportEvaluatedExamplesRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to exportEvaluatedExamples.Returns the builder for the settings used for calls to exportEvaluatedExamples.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 getColumnSpec.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.Returns the builder for the settings used for calls to getTableSpec.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<ListColumnSpecsRequest,ListColumnSpecsResponse, AutoMlClient.ListColumnSpecsPagedResponse> Returns the builder for the settings used for calls to listColumnSpecs.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.PagedCallSettings.Builder<ListTableSpecsRequest,ListTableSpecsResponse, AutoMlClient.ListTableSpecsPagedResponse> Returns the builder for the settings used for calls to listTableSpecs.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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 updateColumnSpec.Returns the builder for the settings used for calls to updateDataset.Returns the builder for the settings used for calls to updateTableSpec.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
createDatasetSettings
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. -
getTableSpecSettings
Returns the builder for the settings used for calls to getTableSpec. -
listTableSpecsSettings
public PagedCallSettings.Builder<ListTableSpecsRequest,ListTableSpecsResponse, listTableSpecsSettings()AutoMlClient.ListTableSpecsPagedResponse> Returns the builder for the settings used for calls to listTableSpecs. -
updateTableSpecSettings
Returns the builder for the settings used for calls to updateTableSpec. -
getColumnSpecSettings
Returns the builder for the settings used for calls to getColumnSpec. -
listColumnSpecsSettings
public PagedCallSettings.Builder<ListColumnSpecsRequest,ListColumnSpecsResponse, listColumnSpecsSettings()AutoMlClient.ListColumnSpecsPagedResponse> Returns the builder for the settings used for calls to listColumnSpecs. -
updateColumnSpecSettings
Returns the builder for the settings used for calls to updateColumnSpec. -
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. -
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. -
exportEvaluatedExamplesSettings
public UnaryCallSettings.Builder<ExportEvaluatedExamplesRequest,Operation> exportEvaluatedExamplesSettings()Returns the builder for the settings used for calls to exportEvaluatedExamples. -
exportEvaluatedExamplesOperationSettings
public OperationCallSettings.Builder<ExportEvaluatedExamplesRequest,com.google.protobuf.Empty, exportEvaluatedExamplesOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to exportEvaluatedExamples. -
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 classStubSettings.Builder<AutoMlStubSettings,AutoMlStubSettings.Builder> - Throws:
IOException
-