- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.18
- 2.2.3
- 2.1.23
public class HttpJsonAutoMlStub extends AutoMlStub
REST stub implementation for the AutoMl service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonAutoMlStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonAutoMlStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAutoMlStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonAutoMlStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(AutoMlStubSettings settings)
public static final HttpJsonAutoMlStub create(AutoMlStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | AutoMlStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonAutoMlStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonAutoMlStub(AutoMlStubSettings settings, ClientContext clientContext)
protected HttpJsonAutoMlStub(AutoMlStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonAutoMlStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Parameters | |
---|---|
Name | Description |
settings | AutoMlStubSettings |
clientContext | ClientContext |
HttpJsonAutoMlStub(AutoMlStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonAutoMlStub(AutoMlStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAutoMlStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Parameters | |
---|---|
Name | Description |
settings | AutoMlStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration | long |
unit | TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createDatasetCallable()
public UnaryCallable<CreateDatasetRequest,Operation> createDatasetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateDatasetRequest,Operation> |
createDatasetOperationCallable()
public OperationCallable<CreateDatasetRequest,Dataset,OperationMetadata> createDatasetOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateDatasetRequest,Dataset,OperationMetadata> |
createModelCallable()
public UnaryCallable<CreateModelRequest,Operation> createModelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateModelRequest,Operation> |
createModelOperationCallable()
public OperationCallable<CreateModelRequest,Model,OperationMetadata> createModelOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateModelRequest,Model,OperationMetadata> |
deleteDatasetCallable()
public UnaryCallable<DeleteDatasetRequest,Operation> deleteDatasetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteDatasetRequest,Operation> |
deleteDatasetOperationCallable()
public OperationCallable<DeleteDatasetRequest,Empty,OperationMetadata> deleteDatasetOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteDatasetRequest,Empty,OperationMetadata> |
deleteModelCallable()
public UnaryCallable<DeleteModelRequest,Operation> deleteModelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteModelRequest,Operation> |
deleteModelOperationCallable()
public OperationCallable<DeleteModelRequest,Empty,OperationMetadata> deleteModelOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteModelRequest,Empty,OperationMetadata> |
deployModelCallable()
public UnaryCallable<DeployModelRequest,Operation> deployModelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeployModelRequest,Operation> |
deployModelOperationCallable()
public OperationCallable<DeployModelRequest,Empty,OperationMetadata> deployModelOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeployModelRequest,Empty,OperationMetadata> |
exportDataCallable()
public UnaryCallable<ExportDataRequest,Operation> exportDataCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ExportDataRequest,Operation> |
exportDataOperationCallable()
public OperationCallable<ExportDataRequest,Empty,OperationMetadata> exportDataOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ExportDataRequest,Empty,OperationMetadata> |
exportModelCallable()
public UnaryCallable<ExportModelRequest,Operation> exportModelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ExportModelRequest,Operation> |
exportModelOperationCallable()
public OperationCallable<ExportModelRequest,Empty,OperationMetadata> exportModelOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ExportModelRequest,Empty,OperationMetadata> |
getAnnotationSpecCallable()
public UnaryCallable<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetAnnotationSpecRequest,AnnotationSpec> |
getDatasetCallable()
public UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetDatasetRequest,Dataset> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getModelCallable()
public UnaryCallable<GetModelRequest,Model> getModelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetModelRequest,Model> |
getModelEvaluationCallable()
public UnaryCallable<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetModelEvaluationRequest,ModelEvaluation> |
importDataCallable()
public UnaryCallable<ImportDataRequest,Operation> importDataCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ImportDataRequest,Operation> |
importDataOperationCallable()
public OperationCallable<ImportDataRequest,Empty,OperationMetadata> importDataOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ImportDataRequest,Empty,OperationMetadata> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listDatasetsCallable()
public UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> |
listDatasetsPagedCallable()
public UnaryCallable<ListDatasetsRequest,AutoMlClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDatasetsRequest,ListDatasetsPagedResponse> |
listModelEvaluationsCallable()
public UnaryCallable<ListModelEvaluationsRequest,ListModelEvaluationsResponse> listModelEvaluationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListModelEvaluationsRequest,ListModelEvaluationsResponse> |
listModelEvaluationsPagedCallable()
public UnaryCallable<ListModelEvaluationsRequest,AutoMlClient.ListModelEvaluationsPagedResponse> listModelEvaluationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListModelEvaluationsRequest,ListModelEvaluationsPagedResponse> |
listModelsCallable()
public UnaryCallable<ListModelsRequest,ListModelsResponse> listModelsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListModelsRequest,ListModelsResponse> |
listModelsPagedCallable()
public UnaryCallable<ListModelsRequest,AutoMlClient.ListModelsPagedResponse> listModelsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListModelsRequest,ListModelsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
undeployModelCallable()
public UnaryCallable<UndeployModelRequest,Operation> undeployModelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UndeployModelRequest,Operation> |
undeployModelOperationCallable()
public OperationCallable<UndeployModelRequest,Empty,OperationMetadata> undeployModelOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UndeployModelRequest,Empty,OperationMetadata> |
updateDatasetCallable()
public UnaryCallable<UpdateDatasetRequest,Dataset> updateDatasetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateDatasetRequest,Dataset> |
updateModelCallable()
public UnaryCallable<UpdateModelRequest,Model> updateModelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateModelRequest,Model> |