Package com.google.cloud.automl.v1.stub
Class AutoMlStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<AutoMlStubSettings,AutoMlStubSettings.Builder>
-
- com.google.cloud.automl.v1.stub.AutoMlStubSettings.Builder
-
- Enclosing class:
- AutoMlStubSettings
public static class AutoMlStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<AutoMlStubSettings,AutoMlStubSettings.Builder>
Builder for AutoMlStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(AutoMlStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoMlStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.AutoMlStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDatasetRequest,Dataset,OperationMetadata>
createDatasetOperationSettings()
Returns the builder for the settings used for calls to createDataset.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatasetRequest,com.google.longrunning.Operation>
createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateModelRequest,Model,OperationMetadata>
createModelOperationSettings()
Returns the builder for the settings used for calls to createModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateModelRequest,com.google.longrunning.Operation>
createModelSettings()
Returns the builder for the settings used for calls to createModel.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDatasetRequest,com.google.protobuf.Empty,OperationMetadata>
deleteDatasetOperationSettings()
Returns the builder for the settings used for calls to deleteDataset.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDatasetRequest,com.google.longrunning.Operation>
deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteModelRequest,com.google.protobuf.Empty,OperationMetadata>
deleteModelOperationSettings()
Returns the builder for the settings used for calls to deleteModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteModelRequest,com.google.longrunning.Operation>
deleteModelSettings()
Returns the builder for the settings used for calls to deleteModel.com.google.api.gax.rpc.OperationCallSettings.Builder<DeployModelRequest,com.google.protobuf.Empty,OperationMetadata>
deployModelOperationSettings()
Returns the builder for the settings used for calls to deployModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeployModelRequest,com.google.longrunning.Operation>
deployModelSettings()
Returns the builder for the settings used for calls to deployModel.com.google.api.gax.rpc.OperationCallSettings.Builder<ExportDataRequest,com.google.protobuf.Empty,OperationMetadata>
exportDataOperationSettings()
Returns the builder for the settings used for calls to exportData.com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportDataRequest,com.google.longrunning.Operation>
exportDataSettings()
Returns the builder for the settings used for calls to exportData.com.google.api.gax.rpc.OperationCallSettings.Builder<ExportModelRequest,com.google.protobuf.Empty,OperationMetadata>
exportModelOperationSettings()
Returns the builder for the settings used for calls to exportModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportModelRequest,com.google.longrunning.Operation>
exportModelSettings()
Returns the builder for the settings used for calls to exportModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAnnotationSpecRequest,AnnotationSpec>
getAnnotationSpecSettings()
Returns the builder for the settings used for calls to getAnnotationSpec.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatasetRequest,Dataset>
getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelEvaluationRequest,ModelEvaluation>
getModelEvaluationSettings()
Returns the builder for the settings used for calls to getModelEvaluation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelRequest,Model>
getModelSettings()
Returns the builder for the settings used for calls to getModel.com.google.api.gax.rpc.OperationCallSettings.Builder<ImportDataRequest,com.google.protobuf.Empty,OperationMetadata>
importDataOperationSettings()
Returns the builder for the settings used for calls to importData.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportDataRequest,com.google.longrunning.Operation>
importDataSettings()
Returns the builder for the settings used for calls to importData.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,AutoMlClient.ListDatasetsPagedResponse>
listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelEvaluationsRequest,ListModelEvaluationsResponse,AutoMlClient.ListModelEvaluationsPagedResponse>
listModelEvaluationsSettings()
Returns the builder for the settings used for calls to listModelEvaluations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse,AutoMlClient.ListModelsPagedResponse>
listModelsSettings()
Returns the builder for the settings used for calls to listModels.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.OperationCallSettings.Builder<UndeployModelRequest,com.google.protobuf.Empty,OperationMetadata>
undeployModelOperationSettings()
Returns the builder for the settings used for calls to undeployModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeployModelRequest,com.google.longrunning.Operation>
undeployModelSettings()
Returns the builder for the settings used for calls to undeployModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatasetRequest,Dataset>
updateDatasetSettings()
Returns the builder for the settings used for calls to updateDataset.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateModelRequest,Model>
updateModelSettings()
Returns the builder for the settings used for calls to updateModel.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(AutoMlStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public AutoMlStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatasetRequest,com.google.longrunning.Operation> createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.
-
createDatasetOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDatasetRequest,Dataset,OperationMetadata> createDatasetOperationSettings()
Returns the builder for the settings used for calls to createDataset.
-
getDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.
-
listDatasetsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,AutoMlClient.ListDatasetsPagedResponse> listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.
-
updateDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatasetRequest,Dataset> updateDatasetSettings()
Returns the builder for the settings used for calls to updateDataset.
-
deleteDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDatasetRequest,com.google.longrunning.Operation> deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.
-
deleteDatasetOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDatasetRequest,com.google.protobuf.Empty,OperationMetadata> deleteDatasetOperationSettings()
Returns the builder for the settings used for calls to deleteDataset.
-
importDataSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportDataRequest,com.google.longrunning.Operation> importDataSettings()
Returns the builder for the settings used for calls to importData.
-
importDataOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportDataRequest,com.google.protobuf.Empty,OperationMetadata> importDataOperationSettings()
Returns the builder for the settings used for calls to importData.
-
exportDataSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportDataRequest,com.google.longrunning.Operation> exportDataSettings()
Returns the builder for the settings used for calls to exportData.
-
exportDataOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportDataRequest,com.google.protobuf.Empty,OperationMetadata> exportDataOperationSettings()
Returns the builder for the settings used for calls to exportData.
-
getAnnotationSpecSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecSettings()
Returns the builder for the settings used for calls to getAnnotationSpec.
-
createModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateModelRequest,com.google.longrunning.Operation> createModelSettings()
Returns the builder for the settings used for calls to createModel.
-
createModelOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateModelRequest,Model,OperationMetadata> createModelOperationSettings()
Returns the builder for the settings used for calls to createModel.
-
getModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelRequest,Model> getModelSettings()
Returns the builder for the settings used for calls to getModel.
-
listModelsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse,AutoMlClient.ListModelsPagedResponse> listModelsSettings()
Returns the builder for the settings used for calls to listModels.
-
deleteModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteModelRequest,com.google.longrunning.Operation> deleteModelSettings()
Returns the builder for the settings used for calls to deleteModel.
-
deleteModelOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteModelRequest,com.google.protobuf.Empty,OperationMetadata> deleteModelOperationSettings()
Returns the builder for the settings used for calls to deleteModel.
-
updateModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateModelRequest,Model> updateModelSettings()
Returns the builder for the settings used for calls to updateModel.
-
deployModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeployModelRequest,com.google.longrunning.Operation> deployModelSettings()
Returns the builder for the settings used for calls to deployModel.
-
deployModelOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeployModelRequest,com.google.protobuf.Empty,OperationMetadata> deployModelOperationSettings()
Returns the builder for the settings used for calls to deployModel.
-
undeployModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeployModelRequest,com.google.longrunning.Operation> undeployModelSettings()
Returns the builder for the settings used for calls to undeployModel.
-
undeployModelOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UndeployModelRequest,com.google.protobuf.Empty,OperationMetadata> undeployModelOperationSettings()
Returns the builder for the settings used for calls to undeployModel.
-
exportModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportModelRequest,com.google.longrunning.Operation> exportModelSettings()
Returns the builder for the settings used for calls to exportModel.
-
exportModelOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportModelRequest,com.google.protobuf.Empty,OperationMetadata> exportModelOperationSettings()
Returns the builder for the settings used for calls to exportModel.
-
getModelEvaluationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationSettings()
Returns the builder for the settings used for calls to getModelEvaluation.
-
listModelEvaluationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelEvaluationsRequest,ListModelEvaluationsResponse,AutoMlClient.ListModelEvaluationsPagedResponse> listModelEvaluationsSettings()
Returns the builder for the settings used for calls to listModelEvaluations.
-
build
public AutoMlStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<AutoMlStubSettings,AutoMlStubSettings.Builder>
- Throws:
IOException
-
-