@BetaApi @Generated(value="by gapic-generator-java") public class AutoMlStubSettings extends com.google.api.gax.rpc.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:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AutoMlStubSettings.Builder autoMlSettingsBuilder = AutoMlStubSettings.newBuilder();
autoMlSettingsBuilder
.createDatasetSettings()
.setRetrySettings(
autoMlSettingsBuilder.createDatasetSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
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 |
|---|---|
com.google.api.gax.rpc.UnaryCallSettings<CreateDatasetRequest,Dataset> |
createDatasetSettings()
Returns the object with the settings used for calls to createDataset.
|
com.google.api.gax.rpc.OperationCallSettings<CreateModelRequest,Model,OperationMetadata> |
createModelOperationSettings()
Returns the object with the settings used for calls to createModel.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateModelRequest,com.google.longrunning.Operation> |
createModelSettings()
Returns the object with the settings used for calls to createModel.
|
AutoMlStub |
createStub() |
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultGrpcApiClientHeaderProviderBuilder() |
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultHttpJsonApiClientHeaderProviderBuilder() |
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteDatasetRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteDatasetOperationSettings()
Returns the object with the settings used for calls to deleteDataset.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteDatasetRequest,com.google.longrunning.Operation> |
deleteDatasetSettings()
Returns the object with the settings used for calls to deleteDataset.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteModelRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteModelOperationSettings()
Returns the object with the settings used for calls to deleteModel.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteModelRequest,com.google.longrunning.Operation> |
deleteModelSettings()
Returns the object with the settings used for calls to deleteModel.
|
com.google.api.gax.rpc.OperationCallSettings<DeployModelRequest,com.google.protobuf.Empty,OperationMetadata> |
deployModelOperationSettings()
Returns the object with the settings used for calls to deployModel.
|
com.google.api.gax.rpc.UnaryCallSettings<DeployModelRequest,com.google.longrunning.Operation> |
deployModelSettings()
Returns the object with the settings used for calls to deployModel.
|
com.google.api.gax.rpc.OperationCallSettings<ExportDataRequest,com.google.protobuf.Empty,OperationMetadata> |
exportDataOperationSettings()
Returns the object with the settings used for calls to exportData.
|
com.google.api.gax.rpc.UnaryCallSettings<ExportDataRequest,com.google.longrunning.Operation> |
exportDataSettings()
Returns the object with the settings used for calls to exportData.
|
com.google.api.gax.rpc.OperationCallSettings<ExportEvaluatedExamplesRequest,com.google.protobuf.Empty,OperationMetadata> |
exportEvaluatedExamplesOperationSettings()
Returns the object with the settings used for calls to exportEvaluatedExamples.
|
com.google.api.gax.rpc.UnaryCallSettings<ExportEvaluatedExamplesRequest,com.google.longrunning.Operation> |
exportEvaluatedExamplesSettings()
Returns the object with the settings used for calls to exportEvaluatedExamples.
|
com.google.api.gax.rpc.OperationCallSettings<ExportModelRequest,com.google.protobuf.Empty,OperationMetadata> |
exportModelOperationSettings()
Returns the object with the settings used for calls to exportModel.
|
com.google.api.gax.rpc.UnaryCallSettings<ExportModelRequest,com.google.longrunning.Operation> |
exportModelSettings()
Returns the object with the settings used for calls to exportModel.
|
com.google.api.gax.rpc.UnaryCallSettings<GetAnnotationSpecRequest,AnnotationSpec> |
getAnnotationSpecSettings()
Returns the object with the settings used for calls to getAnnotationSpec.
|
com.google.api.gax.rpc.UnaryCallSettings<GetColumnSpecRequest,ColumnSpec> |
getColumnSpecSettings()
Returns the object with the settings used for calls to getColumnSpec.
|
com.google.api.gax.rpc.UnaryCallSettings<GetDatasetRequest,Dataset> |
getDatasetSettings()
Returns the object with the settings used for calls to getDataset.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static String |
getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetModelEvaluationRequest,ModelEvaluation> |
getModelEvaluationSettings()
Returns the object with the settings used for calls to getModelEvaluation.
|
com.google.api.gax.rpc.UnaryCallSettings<GetModelRequest,Model> |
getModelSettings()
Returns the object with the settings used for calls to getModel.
|
com.google.api.gax.rpc.UnaryCallSettings<GetTableSpecRequest,TableSpec> |
getTableSpecSettings()
Returns the object with the settings used for calls to getTableSpec.
|
com.google.api.gax.rpc.OperationCallSettings<ImportDataRequest,com.google.protobuf.Empty,OperationMetadata> |
importDataOperationSettings()
Returns the object with the settings used for calls to importData.
|
com.google.api.gax.rpc.UnaryCallSettings<ImportDataRequest,com.google.longrunning.Operation> |
importDataSettings()
Returns the object with the settings used for calls to importData.
|
com.google.api.gax.rpc.PagedCallSettings<ListColumnSpecsRequest,ListColumnSpecsResponse,AutoMlClient.ListColumnSpecsPagedResponse> |
listColumnSpecsSettings()
Returns the object with the settings used for calls to listColumnSpecs.
|
com.google.api.gax.rpc.PagedCallSettings<ListDatasetsRequest,ListDatasetsResponse,AutoMlClient.ListDatasetsPagedResponse> |
listDatasetsSettings()
Returns the object with the settings used for calls to listDatasets.
|
com.google.api.gax.rpc.PagedCallSettings<ListModelEvaluationsRequest,ListModelEvaluationsResponse,AutoMlClient.ListModelEvaluationsPagedResponse> |
listModelEvaluationsSettings()
Returns the object with the settings used for calls to listModelEvaluations.
|
com.google.api.gax.rpc.PagedCallSettings<ListModelsRequest,ListModelsResponse,AutoMlClient.ListModelsPagedResponse> |
listModelsSettings()
Returns the object with the settings used for calls to listModels.
|
com.google.api.gax.rpc.PagedCallSettings<ListTableSpecsRequest,ListTableSpecsResponse,AutoMlClient.ListTableSpecsPagedResponse> |
listTableSpecsSettings()
Returns the object with the settings used for calls to listTableSpecs.
|
static AutoMlStubSettings.Builder |
newBuilder()
Returns a new gRPC builder for this class.
|
static AutoMlStubSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
static AutoMlStubSettings.Builder |
newHttpJsonBuilder()
Returns a new REST builder for this class.
|
AutoMlStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<UndeployModelRequest,com.google.protobuf.Empty,OperationMetadata> |
undeployModelOperationSettings()
Returns the object with the settings used for calls to undeployModel.
|
com.google.api.gax.rpc.UnaryCallSettings<UndeployModelRequest,com.google.longrunning.Operation> |
undeployModelSettings()
Returns the object with the settings used for calls to undeployModel.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateColumnSpecRequest,ColumnSpec> |
updateColumnSpecSettings()
Returns the object with the settings used for calls to updateColumnSpec.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateDatasetRequest,Dataset> |
updateDatasetSettings()
Returns the object with the settings used for calls to updateDataset.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateTableSpecRequest,TableSpec> |
updateTableSpecSettings()
Returns the object with the settings used for calls to updateTableSpec.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toStringprotected AutoMlStubSettings(AutoMlStubSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallSettings<CreateDatasetRequest,Dataset> createDatasetSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetDatasetRequest,Dataset> getDatasetSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListDatasetsRequest,ListDatasetsResponse,AutoMlClient.ListDatasetsPagedResponse> listDatasetsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateDatasetRequest,Dataset> updateDatasetSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteDatasetRequest,com.google.longrunning.Operation> deleteDatasetSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteDatasetRequest,com.google.protobuf.Empty,OperationMetadata> deleteDatasetOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ImportDataRequest,com.google.longrunning.Operation> importDataSettings()
public com.google.api.gax.rpc.OperationCallSettings<ImportDataRequest,com.google.protobuf.Empty,OperationMetadata> importDataOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ExportDataRequest,com.google.longrunning.Operation> exportDataSettings()
public com.google.api.gax.rpc.OperationCallSettings<ExportDataRequest,com.google.protobuf.Empty,OperationMetadata> exportDataOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetTableSpecRequest,TableSpec> getTableSpecSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListTableSpecsRequest,ListTableSpecsResponse,AutoMlClient.ListTableSpecsPagedResponse> listTableSpecsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateTableSpecRequest,TableSpec> updateTableSpecSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetColumnSpecRequest,ColumnSpec> getColumnSpecSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListColumnSpecsRequest,ListColumnSpecsResponse,AutoMlClient.ListColumnSpecsPagedResponse> listColumnSpecsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateColumnSpecRequest,ColumnSpec> updateColumnSpecSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateModelRequest,com.google.longrunning.Operation> createModelSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateModelRequest,Model,OperationMetadata> createModelOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetModelRequest,Model> getModelSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListModelsRequest,ListModelsResponse,AutoMlClient.ListModelsPagedResponse> listModelsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteModelRequest,com.google.longrunning.Operation> deleteModelSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteModelRequest,com.google.protobuf.Empty,OperationMetadata> deleteModelOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeployModelRequest,com.google.longrunning.Operation> deployModelSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeployModelRequest,com.google.protobuf.Empty,OperationMetadata> deployModelOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UndeployModelRequest,com.google.longrunning.Operation> undeployModelSettings()
public com.google.api.gax.rpc.OperationCallSettings<UndeployModelRequest,com.google.protobuf.Empty,OperationMetadata> undeployModelOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ExportModelRequest,com.google.longrunning.Operation> exportModelSettings()
public com.google.api.gax.rpc.OperationCallSettings<ExportModelRequest,com.google.protobuf.Empty,OperationMetadata> exportModelOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ExportEvaluatedExamplesRequest,com.google.longrunning.Operation> exportEvaluatedExamplesSettings()
public com.google.api.gax.rpc.OperationCallSettings<ExportEvaluatedExamplesRequest,com.google.protobuf.Empty,OperationMetadata> exportEvaluatedExamplesOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListModelEvaluationsRequest,ListModelEvaluationsResponse,AutoMlClient.ListModelEvaluationsPagedResponse> listModelEvaluationsSettings()
public AutoMlStub createStub() throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static String getDefaultMtlsEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static AutoMlStubSettings.Builder newBuilder()
public static AutoMlStubSettings.Builder newHttpJsonBuilder()
public static AutoMlStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public AutoMlStubSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.StubSettings<AutoMlStubSettings>Copyright © 2022 Google LLC. All rights reserved.