Class HttpJsonAutoMlStub (2.27.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonAutoMlStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonAutoMlStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonAutoMlStub
Exceptions
TypeDescription
IOException

create(AutoMlStubSettings settings)

public static final HttpJsonAutoMlStub create(AutoMlStubSettings settings)
Parameter
NameDescription
settingsAutoMlStubSettings
Returns
TypeDescription
HttpJsonAutoMlStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsAutoMlStubSettings
clientContextClientContext

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
NameDescription
settingsAutoMlStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createDatasetCallable()

public UnaryCallable<CreateDatasetRequest,Dataset> createDatasetCallable()
Returns
TypeDescription
UnaryCallable<CreateDatasetRequest,Dataset>
Overrides

createModelCallable()

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

createModelOperationCallable()

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

deleteDatasetCallable()

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

deleteDatasetOperationCallable()

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

deleteModelCallable()

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

deleteModelOperationCallable()

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

deployModelCallable()

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

deployModelOperationCallable()

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

exportDataCallable()

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

exportDataOperationCallable()

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

exportEvaluatedExamplesCallable()

public UnaryCallable<ExportEvaluatedExamplesRequest,Operation> exportEvaluatedExamplesCallable()
Returns
TypeDescription
UnaryCallable<ExportEvaluatedExamplesRequest,Operation>
Overrides

exportEvaluatedExamplesOperationCallable()

public OperationCallable<ExportEvaluatedExamplesRequest,Empty,OperationMetadata> exportEvaluatedExamplesOperationCallable()
Returns
TypeDescription
OperationCallable<ExportEvaluatedExamplesRequest,Empty,OperationMetadata>
Overrides

exportModelCallable()

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

exportModelOperationCallable()

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

getAnnotationSpecCallable()

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

getColumnSpecCallable()

public UnaryCallable<GetColumnSpecRequest,ColumnSpec> getColumnSpecCallable()
Returns
TypeDescription
UnaryCallable<GetColumnSpecRequest,ColumnSpec>
Overrides

getDatasetCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getModelCallable()

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

getModelEvaluationCallable()

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

getTableSpecCallable()

public UnaryCallable<GetTableSpecRequest,TableSpec> getTableSpecCallable()
Returns
TypeDescription
UnaryCallable<GetTableSpecRequest,TableSpec>
Overrides

importDataCallable()

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

importDataOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listColumnSpecsCallable()

public UnaryCallable<ListColumnSpecsRequest,ListColumnSpecsResponse> listColumnSpecsCallable()
Returns
TypeDescription
UnaryCallable<ListColumnSpecsRequest,ListColumnSpecsResponse>
Overrides

listColumnSpecsPagedCallable()

public UnaryCallable<ListColumnSpecsRequest,AutoMlClient.ListColumnSpecsPagedResponse> listColumnSpecsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListColumnSpecsRequest,ListColumnSpecsPagedResponse>
Overrides

listDatasetsCallable()

public UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
Returns
TypeDescription
UnaryCallable<ListDatasetsRequest,ListDatasetsResponse>
Overrides

listDatasetsPagedCallable()

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

listModelEvaluationsCallable()

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

listModelEvaluationsPagedCallable()

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

listModelsCallable()

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

listModelsPagedCallable()

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

listTableSpecsCallable()

public UnaryCallable<ListTableSpecsRequest,ListTableSpecsResponse> listTableSpecsCallable()
Returns
TypeDescription
UnaryCallable<ListTableSpecsRequest,ListTableSpecsResponse>
Overrides

listTableSpecsPagedCallable()

public UnaryCallable<ListTableSpecsRequest,AutoMlClient.ListTableSpecsPagedResponse> listTableSpecsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTableSpecsRequest,ListTableSpecsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

undeployModelCallable()

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

undeployModelOperationCallable()

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

updateColumnSpecCallable()

public UnaryCallable<UpdateColumnSpecRequest,ColumnSpec> updateColumnSpecCallable()
Returns
TypeDescription
UnaryCallable<UpdateColumnSpecRequest,ColumnSpec>
Overrides

updateDatasetCallable()

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

updateTableSpecCallable()

public UnaryCallable<UpdateTableSpecRequest,TableSpec> updateTableSpecCallable()
Returns
TypeDescription
UnaryCallable<UpdateTableSpecRequest,TableSpec>
Overrides