Class HttpJsonAutoMlStub (2.55.0)

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.

Inheritance

java.lang.Object > AutoMlStub > HttpJsonAutoMlStub

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()
Overrides

createDatasetCallable()

public UnaryCallable<CreateDatasetRequest,Operation> createDatasetCallable()
Returns
Type Description
UnaryCallable<CreateDatasetRequest,Operation>
Overrides

createDatasetOperationCallable()

public OperationCallable<CreateDatasetRequest,Dataset,OperationMetadata> createDatasetOperationCallable()
Returns
Type Description
OperationCallable<CreateDatasetRequest,Dataset,OperationMetadata>
Overrides

createModelCallable()

public UnaryCallable<CreateModelRequest,Operation> createModelCallable()
Returns
Type Description
UnaryCallable<CreateModelRequest,Operation>
Overrides

createModelOperationCallable()

public OperationCallable<CreateModelRequest,Model,OperationMetadata> createModelOperationCallable()
Returns
Type Description
OperationCallable<CreateModelRequest,Model,OperationMetadata>
Overrides

deleteDatasetCallable()

public UnaryCallable<DeleteDatasetRequest,Operation> deleteDatasetCallable()
Returns
Type Description
UnaryCallable<DeleteDatasetRequest,Operation>
Overrides

deleteDatasetOperationCallable()

public OperationCallable<DeleteDatasetRequest,Empty,OperationMetadata> deleteDatasetOperationCallable()
Returns
Type Description
OperationCallable<DeleteDatasetRequest,Empty,OperationMetadata>
Overrides

deleteModelCallable()

public UnaryCallable<DeleteModelRequest,Operation> deleteModelCallable()
Returns
Type Description
UnaryCallable<DeleteModelRequest,Operation>
Overrides

deleteModelOperationCallable()

public OperationCallable<DeleteModelRequest,Empty,OperationMetadata> deleteModelOperationCallable()
Returns
Type Description
OperationCallable<DeleteModelRequest,Empty,OperationMetadata>
Overrides

deployModelCallable()

public UnaryCallable<DeployModelRequest,Operation> deployModelCallable()
Returns
Type Description
UnaryCallable<DeployModelRequest,Operation>
Overrides

deployModelOperationCallable()

public OperationCallable<DeployModelRequest,Empty,OperationMetadata> deployModelOperationCallable()
Returns
Type Description
OperationCallable<DeployModelRequest,Empty,OperationMetadata>
Overrides

exportDataCallable()

public UnaryCallable<ExportDataRequest,Operation> exportDataCallable()
Returns
Type Description
UnaryCallable<ExportDataRequest,Operation>
Overrides

exportDataOperationCallable()

public OperationCallable<ExportDataRequest,Empty,OperationMetadata> exportDataOperationCallable()
Returns
Type Description
OperationCallable<ExportDataRequest,Empty,OperationMetadata>
Overrides

exportModelCallable()

public UnaryCallable<ExportModelRequest,Operation> exportModelCallable()
Returns
Type Description
UnaryCallable<ExportModelRequest,Operation>
Overrides

exportModelOperationCallable()

public OperationCallable<ExportModelRequest,Empty,OperationMetadata> exportModelOperationCallable()
Returns
Type Description
OperationCallable<ExportModelRequest,Empty,OperationMetadata>
Overrides

getAnnotationSpecCallable()

public UnaryCallable<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecCallable()
Returns
Type Description
UnaryCallable<GetAnnotationSpecRequest,AnnotationSpec>
Overrides

getDatasetCallable()

public UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
Returns
Type Description
UnaryCallable<GetDatasetRequest,Dataset>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getModelCallable()

public UnaryCallable<GetModelRequest,Model> getModelCallable()
Returns
Type Description
UnaryCallable<GetModelRequest,Model>
Overrides

getModelEvaluationCallable()

public UnaryCallable<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationCallable()
Returns
Type Description
UnaryCallable<GetModelEvaluationRequest,ModelEvaluation>
Overrides

importDataCallable()

public UnaryCallable<ImportDataRequest,Operation> importDataCallable()
Returns
Type Description
UnaryCallable<ImportDataRequest,Operation>
Overrides

importDataOperationCallable()

public OperationCallable<ImportDataRequest,Empty,OperationMetadata> importDataOperationCallable()
Returns
Type Description
OperationCallable<ImportDataRequest,Empty,OperationMetadata>
Overrides

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>
Overrides

listDatasetsPagedCallable()

public UnaryCallable<ListDatasetsRequest,AutoMlClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
Returns
Type Description
UnaryCallable<ListDatasetsRequest,ListDatasetsPagedResponse>
Overrides

listModelEvaluationsCallable()

public UnaryCallable<ListModelEvaluationsRequest,ListModelEvaluationsResponse> listModelEvaluationsCallable()
Returns
Type Description
UnaryCallable<ListModelEvaluationsRequest,ListModelEvaluationsResponse>
Overrides

listModelEvaluationsPagedCallable()

public UnaryCallable<ListModelEvaluationsRequest,AutoMlClient.ListModelEvaluationsPagedResponse> listModelEvaluationsPagedCallable()
Returns
Type Description
UnaryCallable<ListModelEvaluationsRequest,ListModelEvaluationsPagedResponse>
Overrides

listModelsCallable()

public UnaryCallable<ListModelsRequest,ListModelsResponse> listModelsCallable()
Returns
Type Description
UnaryCallable<ListModelsRequest,ListModelsResponse>
Overrides

listModelsPagedCallable()

public UnaryCallable<ListModelsRequest,AutoMlClient.ListModelsPagedResponse> listModelsPagedCallable()
Returns
Type Description
UnaryCallable<ListModelsRequest,ListModelsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

undeployModelCallable()

public UnaryCallable<UndeployModelRequest,Operation> undeployModelCallable()
Returns
Type Description
UnaryCallable<UndeployModelRequest,Operation>
Overrides

undeployModelOperationCallable()

public OperationCallable<UndeployModelRequest,Empty,OperationMetadata> undeployModelOperationCallable()
Returns
Type Description
OperationCallable<UndeployModelRequest,Empty,OperationMetadata>
Overrides

updateDatasetCallable()

public UnaryCallable<UpdateDatasetRequest,Dataset> updateDatasetCallable()
Returns
Type Description
UnaryCallable<UpdateDatasetRequest,Dataset>
Overrides

updateModelCallable()

public UnaryCallable<UpdateModelRequest,Model> updateModelCallable()
Returns
Type Description
UnaryCallable<UpdateModelRequest,Model>
Overrides