@Generated(value="by gapic-generator") @BetaApi public class AutoMlStubSettings extends StubSettings<AutoMlStubSettings>
AutoMlStub
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object. For example, to set the total timeout of createDataset to 30 seconds:
AutoMlStubSettings.Builder autoMlSettingsBuilder =
AutoMlStubSettings.newBuilder();
autoMlSettingsBuilder.createDatasetSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
AutoMlStubSettings autoMlSettings = autoMlSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
AutoMlStubSettings.Builder
Builder for AutoMlStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
AutoMlStubSettings(AutoMlStubSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
UnaryCallSettings<com.google.cloud.automl.v1beta1.CreateDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> |
createDatasetSettings()
Returns the object with the settings used for calls to createDataset.
|
OperationCallSettings<com.google.cloud.automl.v1beta1.CreateModelRequest,com.google.cloud.automl.v1beta1.Model,com.google.cloud.automl.v1beta1.OperationMetadata> |
createModelOperationSettings()
Returns the object with the settings used for calls to createModel.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.CreateModelRequest,Operation> |
createModelSettings()
Returns the object with the settings used for calls to createModel.
|
AutoMlStub |
createStub() |
static ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static TransportChannelProvider |
defaultTransportChannelProvider() |
OperationCallSettings<com.google.cloud.automl.v1beta1.DeleteDatasetRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
deleteDatasetOperationSettings()
Returns the object with the settings used for calls to deleteDataset.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.DeleteDatasetRequest,Operation> |
deleteDatasetSettings()
Returns the object with the settings used for calls to deleteDataset.
|
OperationCallSettings<com.google.cloud.automl.v1beta1.DeleteModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
deleteModelOperationSettings()
Returns the object with the settings used for calls to deleteModel.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.DeleteModelRequest,Operation> |
deleteModelSettings()
Returns the object with the settings used for calls to deleteModel.
|
OperationCallSettings<com.google.cloud.automl.v1beta1.DeployModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
deployModelOperationSettings()
Returns the object with the settings used for calls to deployModel.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.DeployModelRequest,Operation> |
deployModelSettings()
Returns the object with the settings used for calls to deployModel.
|
OperationCallSettings<com.google.cloud.automl.v1beta1.ExportDataRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
exportDataOperationSettings()
Returns the object with the settings used for calls to exportData.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.ExportDataRequest,Operation> |
exportDataSettings()
Returns the object with the settings used for calls to exportData.
|
OperationCallSettings<com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
exportEvaluatedExamplesOperationSettings()
Returns the object with the settings used for calls to exportEvaluatedExamples.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest,Operation> |
exportEvaluatedExamplesSettings()
Returns the object with the settings used for calls to exportEvaluatedExamples.
|
OperationCallSettings<com.google.cloud.automl.v1beta1.ExportModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
exportModelOperationSettings()
Returns the object with the settings used for calls to exportModel.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.ExportModelRequest,Operation> |
exportModelSettings()
Returns the object with the settings used for calls to exportModel.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.GetAnnotationSpecRequest,com.google.cloud.automl.v1beta1.AnnotationSpec> |
getAnnotationSpecSettings()
Returns the object with the settings used for calls to getAnnotationSpec.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.GetColumnSpecRequest,com.google.cloud.automl.v1beta1.ColumnSpec> |
getColumnSpecSettings()
Returns the object with the settings used for calls to getColumnSpec.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.GetDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> |
getDatasetSettings()
Returns the object with the settings used for calls to getDataset.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.GetModelEvaluationRequest,com.google.cloud.automl.v1beta1.ModelEvaluation> |
getModelEvaluationSettings()
Returns the object with the settings used for calls to getModelEvaluation.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.GetModelRequest,com.google.cloud.automl.v1beta1.Model> |
getModelSettings()
Returns the object with the settings used for calls to getModel.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.GetTableSpecRequest,com.google.cloud.automl.v1beta1.TableSpec> |
getTableSpecSettings()
Returns the object with the settings used for calls to getTableSpec.
|
OperationCallSettings<com.google.cloud.automl.v1beta1.ImportDataRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
importDataOperationSettings()
Returns the object with the settings used for calls to importData.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.ImportDataRequest,Operation> |
importDataSettings()
Returns the object with the settings used for calls to importData.
|
PagedCallSettings<com.google.cloud.automl.v1beta1.ListColumnSpecsRequest,com.google.cloud.automl.v1beta1.ListColumnSpecsResponse,AutoMlClient.ListColumnSpecsPagedResponse> |
listColumnSpecsSettings()
Returns the object with the settings used for calls to listColumnSpecs.
|
PagedCallSettings<com.google.cloud.automl.v1beta1.ListDatasetsRequest,com.google.cloud.automl.v1beta1.ListDatasetsResponse,AutoMlClient.ListDatasetsPagedResponse> |
listDatasetsSettings()
Returns the object with the settings used for calls to listDatasets.
|
PagedCallSettings<com.google.cloud.automl.v1beta1.ListModelEvaluationsRequest,com.google.cloud.automl.v1beta1.ListModelEvaluationsResponse,AutoMlClient.ListModelEvaluationsPagedResponse> |
listModelEvaluationsSettings()
Returns the object with the settings used for calls to listModelEvaluations.
|
PagedCallSettings<com.google.cloud.automl.v1beta1.ListModelsRequest,com.google.cloud.automl.v1beta1.ListModelsResponse,AutoMlClient.ListModelsPagedResponse> |
listModelsSettings()
Returns the object with the settings used for calls to listModels.
|
PagedCallSettings<com.google.cloud.automl.v1beta1.ListTableSpecsRequest,com.google.cloud.automl.v1beta1.ListTableSpecsResponse,AutoMlClient.ListTableSpecsPagedResponse> |
listTableSpecsSettings()
Returns the object with the settings used for calls to listTableSpecs.
|
static AutoMlStubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static AutoMlStubSettings.Builder |
newBuilder(ClientContext clientContext)
Returns a new builder for this class.
|
AutoMlStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
OperationCallSettings<com.google.cloud.automl.v1beta1.UndeployModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
undeployModelOperationSettings()
Returns the object with the settings used for calls to undeployModel.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.UndeployModelRequest,Operation> |
undeployModelSettings()
Returns the object with the settings used for calls to undeployModel.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.UpdateColumnSpecRequest,com.google.cloud.automl.v1beta1.ColumnSpec> |
updateColumnSpecSettings()
Returns the object with the settings used for calls to updateColumnSpec.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.UpdateDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> |
updateDatasetSettings()
Returns the object with the settings used for calls to updateDataset.
|
UnaryCallSettings<com.google.cloud.automl.v1beta1.UpdateTableSpecRequest,com.google.cloud.automl.v1beta1.TableSpec> |
updateTableSpecSettings()
Returns the object with the settings used for calls to updateTableSpec.
|
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected AutoMlStubSettings(AutoMlStubSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<com.google.cloud.automl.v1beta1.CreateDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> createDatasetSettings()
public UnaryCallSettings<com.google.cloud.automl.v1beta1.UpdateDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> updateDatasetSettings()
public UnaryCallSettings<com.google.cloud.automl.v1beta1.GetDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> getDatasetSettings()
public PagedCallSettings<com.google.cloud.automl.v1beta1.ListDatasetsRequest,com.google.cloud.automl.v1beta1.ListDatasetsResponse,AutoMlClient.ListDatasetsPagedResponse> listDatasetsSettings()
public UnaryCallSettings<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<com.google.cloud.automl.v1beta1.DeleteDatasetRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> deleteDatasetOperationSettings()
public UnaryCallSettings<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<com.google.cloud.automl.v1beta1.ImportDataRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> importDataOperationSettings()
public UnaryCallSettings<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<com.google.cloud.automl.v1beta1.ExportDataRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> exportDataOperationSettings()
public UnaryCallSettings<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<com.google.cloud.automl.v1beta1.CreateModelRequest,com.google.cloud.automl.v1beta1.Model,com.google.cloud.automl.v1beta1.OperationMetadata> createModelOperationSettings()
public UnaryCallSettings<com.google.cloud.automl.v1beta1.GetModelRequest,com.google.cloud.automl.v1beta1.Model> getModelSettings()
public PagedCallSettings<com.google.cloud.automl.v1beta1.ListModelsRequest,com.google.cloud.automl.v1beta1.ListModelsResponse,AutoMlClient.ListModelsPagedResponse> listModelsSettings()
public UnaryCallSettings<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<com.google.cloud.automl.v1beta1.DeleteModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> deleteModelOperationSettings()
public UnaryCallSettings<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<com.google.cloud.automl.v1beta1.DeployModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> deployModelOperationSettings()
public UnaryCallSettings<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<com.google.cloud.automl.v1beta1.UndeployModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> undeployModelOperationSettings()
public UnaryCallSettings<com.google.cloud.automl.v1beta1.GetModelEvaluationRequest,com.google.cloud.automl.v1beta1.ModelEvaluation> getModelEvaluationSettings()
public UnaryCallSettings<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<com.google.cloud.automl.v1beta1.ExportModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> exportModelOperationSettings()
public UnaryCallSettings<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<com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> exportEvaluatedExamplesOperationSettings()
public PagedCallSettings<com.google.cloud.automl.v1beta1.ListModelEvaluationsRequest,com.google.cloud.automl.v1beta1.ListModelEvaluationsResponse,AutoMlClient.ListModelEvaluationsPagedResponse> listModelEvaluationsSettings()
public UnaryCallSettings<com.google.cloud.automl.v1beta1.GetAnnotationSpecRequest,com.google.cloud.automl.v1beta1.AnnotationSpec> getAnnotationSpecSettings()
public UnaryCallSettings<com.google.cloud.automl.v1beta1.GetTableSpecRequest,com.google.cloud.automl.v1beta1.TableSpec> getTableSpecSettings()
public PagedCallSettings<com.google.cloud.automl.v1beta1.ListTableSpecsRequest,com.google.cloud.automl.v1beta1.ListTableSpecsResponse,AutoMlClient.ListTableSpecsPagedResponse> listTableSpecsSettings()
public UnaryCallSettings<com.google.cloud.automl.v1beta1.UpdateTableSpecRequest,com.google.cloud.automl.v1beta1.TableSpec> updateTableSpecSettings()
public UnaryCallSettings<com.google.cloud.automl.v1beta1.GetColumnSpecRequest,com.google.cloud.automl.v1beta1.ColumnSpec> getColumnSpecSettings()
public PagedCallSettings<com.google.cloud.automl.v1beta1.ListColumnSpecsRequest,com.google.cloud.automl.v1beta1.ListColumnSpecsResponse,AutoMlClient.ListColumnSpecsPagedResponse> listColumnSpecsSettings()
public UnaryCallSettings<com.google.cloud.automl.v1beta1.UpdateColumnSpecRequest,com.google.cloud.automl.v1beta1.ColumnSpec> updateColumnSpecSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public AutoMlStub createStub() throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static AutoMlStubSettings.Builder newBuilder()
public static AutoMlStubSettings.Builder newBuilder(ClientContext clientContext)
public AutoMlStubSettings.Builder toBuilder()
toBuilder
in class StubSettings<AutoMlStubSettings>
Copyright © 2019 Google LLC. All rights reserved.