Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAutoMlStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(AutoMlStubSettings settings)
public static final HttpJsonAutoMlStub create(AutoMlStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createDatasetCallable()
public UnaryCallable<CreateDatasetRequest,Operation> createDatasetCallable()
Overrides
createDatasetOperationCallable()
public OperationCallable<CreateDatasetRequest,Dataset,OperationMetadata> createDatasetOperationCallable()
Overrides
createModelCallable()
public UnaryCallable<CreateModelRequest,Operation> createModelCallable()
Overrides
createModelOperationCallable()
public OperationCallable<CreateModelRequest,Model,OperationMetadata> createModelOperationCallable()
Overrides
deleteDatasetCallable()
public UnaryCallable<DeleteDatasetRequest,Operation> deleteDatasetCallable()
Overrides
deleteDatasetOperationCallable()
public OperationCallable<DeleteDatasetRequest,Empty,OperationMetadata> deleteDatasetOperationCallable()
Overrides
deleteModelCallable()
public UnaryCallable<DeleteModelRequest,Operation> deleteModelCallable()
Overrides
deleteModelOperationCallable()
public OperationCallable<DeleteModelRequest,Empty,OperationMetadata> deleteModelOperationCallable()
Overrides
deployModelCallable()
public UnaryCallable<DeployModelRequest,Operation> deployModelCallable()
Overrides
deployModelOperationCallable()
public OperationCallable<DeployModelRequest,Empty,OperationMetadata> deployModelOperationCallable()
Overrides
exportDataCallable()
public UnaryCallable<ExportDataRequest,Operation> exportDataCallable()
Overrides
exportDataOperationCallable()
public OperationCallable<ExportDataRequest,Empty,OperationMetadata> exportDataOperationCallable()
Overrides
exportModelCallable()
public UnaryCallable<ExportModelRequest,Operation> exportModelCallable()
Overrides
exportModelOperationCallable()
public OperationCallable<ExportModelRequest,Empty,OperationMetadata> exportModelOperationCallable()
Overrides
getAnnotationSpecCallable()
public UnaryCallable<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecCallable()
Overrides
getDatasetCallable()
public UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
getModelCallable()
public UnaryCallable<GetModelRequest,Model> getModelCallable()
Overrides
getModelEvaluationCallable()
public UnaryCallable<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationCallable()
Overrides
importDataCallable()
public UnaryCallable<ImportDataRequest,Operation> importDataCallable()
Overrides
importDataOperationCallable()
public OperationCallable<ImportDataRequest,Empty,OperationMetadata> importDataOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listDatasetsCallable()
public UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
Overrides
listDatasetsPagedCallable()
public UnaryCallable<ListDatasetsRequest,AutoMlClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
Overrides
listModelEvaluationsCallable()
public UnaryCallable<ListModelEvaluationsRequest,ListModelEvaluationsResponse> listModelEvaluationsCallable()
Overrides
listModelEvaluationsPagedCallable()
public UnaryCallable<ListModelEvaluationsRequest,AutoMlClient.ListModelEvaluationsPagedResponse> listModelEvaluationsPagedCallable()
Overrides
listModelsCallable()
public UnaryCallable<ListModelsRequest,ListModelsResponse> listModelsCallable()
Overrides
listModelsPagedCallable()
public UnaryCallable<ListModelsRequest,AutoMlClient.ListModelsPagedResponse> listModelsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
undeployModelCallable()
public UnaryCallable<UndeployModelRequest,Operation> undeployModelCallable()
Overrides
undeployModelOperationCallable()
public OperationCallable<UndeployModelRequest,Empty,OperationMetadata> undeployModelOperationCallable()
Overrides
updateDatasetCallable()
public UnaryCallable<UpdateDatasetRequest,Dataset> updateDatasetCallable()
Overrides
updateModelCallable()
public UnaryCallable<UpdateModelRequest,Model> updateModelCallable()
Overrides