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
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAutoMlStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(AutoMlStubSettings settings)
public static final HttpJsonAutoMlStub create(AutoMlStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createDatasetCallable()
public UnaryCallable<CreateDatasetRequest,Operation> createDatasetCallable()
Returns
Overrides
createDatasetOperationCallable()
public OperationCallable<CreateDatasetRequest,Dataset,OperationMetadata> createDatasetOperationCallable()
Returns
Overrides
createModelCallable()
public UnaryCallable<CreateModelRequest,Operation> createModelCallable()
Returns
Overrides
createModelOperationCallable()
public OperationCallable<CreateModelRequest,Model,OperationMetadata> createModelOperationCallable()
Returns
Overrides
deleteDatasetCallable()
public UnaryCallable<DeleteDatasetRequest,Operation> deleteDatasetCallable()
Returns
Overrides
deleteDatasetOperationCallable()
public OperationCallable<DeleteDatasetRequest,Empty,OperationMetadata> deleteDatasetOperationCallable()
Returns
Overrides
deleteModelCallable()
public UnaryCallable<DeleteModelRequest,Operation> deleteModelCallable()
Returns
Overrides
deleteModelOperationCallable()
public OperationCallable<DeleteModelRequest,Empty,OperationMetadata> deleteModelOperationCallable()
Returns
Overrides
deployModelCallable()
public UnaryCallable<DeployModelRequest,Operation> deployModelCallable()
Returns
Overrides
deployModelOperationCallable()
public OperationCallable<DeployModelRequest,Empty,OperationMetadata> deployModelOperationCallable()
Returns
Overrides
exportDataCallable()
public UnaryCallable<ExportDataRequest,Operation> exportDataCallable()
Returns
Overrides
exportDataOperationCallable()
public OperationCallable<ExportDataRequest,Empty,OperationMetadata> exportDataOperationCallable()
Returns
Overrides
exportModelCallable()
public UnaryCallable<ExportModelRequest,Operation> exportModelCallable()
Returns
Overrides
exportModelOperationCallable()
public OperationCallable<ExportModelRequest,Empty,OperationMetadata> exportModelOperationCallable()
Returns
Overrides
getAnnotationSpecCallable()
public UnaryCallable<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecCallable()
Returns
Overrides
getDatasetCallable()
public UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
Returns
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Overrides
getModelCallable()
public UnaryCallable<GetModelRequest,Model> getModelCallable()
Returns
Overrides
getModelEvaluationCallable()
public UnaryCallable<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationCallable()
Returns
Overrides
importDataCallable()
public UnaryCallable<ImportDataRequest,Operation> importDataCallable()
Returns
Overrides
importDataOperationCallable()
public OperationCallable<ImportDataRequest,Empty,OperationMetadata> importDataOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listDatasetsCallable()
public UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
Returns
Overrides
listDatasetsPagedCallable()
public UnaryCallable<ListDatasetsRequest,AutoMlClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
Returns
Overrides
listModelEvaluationsCallable()
public UnaryCallable<ListModelEvaluationsRequest,ListModelEvaluationsResponse> listModelEvaluationsCallable()
Returns
Overrides
listModelEvaluationsPagedCallable()
public UnaryCallable<ListModelEvaluationsRequest,AutoMlClient.ListModelEvaluationsPagedResponse> listModelEvaluationsPagedCallable()
Returns
Overrides
listModelsCallable()
public UnaryCallable<ListModelsRequest,ListModelsResponse> listModelsCallable()
Returns
Overrides
listModelsPagedCallable()
public UnaryCallable<ListModelsRequest,AutoMlClient.ListModelsPagedResponse> listModelsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
undeployModelCallable()
public UnaryCallable<UndeployModelRequest,Operation> undeployModelCallable()
Returns
Overrides
undeployModelOperationCallable()
public OperationCallable<UndeployModelRequest,Empty,OperationMetadata> undeployModelOperationCallable()
Returns
Overrides
updateDatasetCallable()
public UnaryCallable<UpdateDatasetRequest,Dataset> updateDatasetCallable()
Returns
Overrides
updateModelCallable()
public UnaryCallable<UpdateModelRequest,Model> updateModelCallable()
Returns
Overrides