public static class AutoMlStubSettings.Builder extends StubSettings.Builder<AutoMlStubSettings,AutoMlStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AutoMlStubSettings settings) |
protected |
Builder(ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AutoMlStubSettings.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.
|
AutoMlStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(AutoMlStubSettings settings)
public AutoMlStubSettings.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 com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 use by generated code 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 use by generated code 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 use by generated code 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 use by generated code 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 use by generated code 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 use by generated code 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 use by generated code 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 use by generated code 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 use by generated code 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 AutoMlStubSettings build() throws IOException
build
in class StubSettings.Builder<AutoMlStubSettings,AutoMlStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.