Class GrpcAutoMlStub (2.49.0)

public class GrpcAutoMlStub extends AutoMlStub

gRPC stub implementation for the AutoMl service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > AutoMlStub > GrpcAutoMlStub

Static Methods

create(ClientContext clientContext)

public static final GrpcAutoMlStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcAutoMlStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcAutoMlStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcAutoMlStub
Exceptions
Type Description
IOException

create(AutoMlStubSettings settings)

public static final GrpcAutoMlStub create(AutoMlStubSettings settings)
Parameter
Name Description
settings AutoMlStubSettings
Returns
Type Description
GrpcAutoMlStub
Exceptions
Type Description
IOException

Constructors

GrpcAutoMlStub(AutoMlStubSettings settings, ClientContext clientContext)

protected GrpcAutoMlStub(AutoMlStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAutoMlStub, 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

GrpcAutoMlStub(AutoMlStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAutoMlStub(AutoMlStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcAutoMlStub, 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 GrpcStubCallableFactory

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,Dataset> createDatasetCallable()
Returns
Type Description
UnaryCallable<CreateDatasetRequest,Dataset>
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

exportEvaluatedExamplesCallable()

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

exportEvaluatedExamplesOperationCallable()

public OperationCallable<ExportEvaluatedExamplesRequest,Empty,OperationMetadata> exportEvaluatedExamplesOperationCallable()
Returns
Type Description
OperationCallable<ExportEvaluatedExamplesRequest,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

getColumnSpecCallable()

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

getDatasetCallable()

public UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
Returns
Type Description
UnaryCallable<GetDatasetRequest,Dataset>
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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getTableSpecCallable()

public UnaryCallable<GetTableSpecRequest,TableSpec> getTableSpecCallable()
Returns
Type Description
UnaryCallable<GetTableSpecRequest,TableSpec>
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

listColumnSpecsCallable()

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

listColumnSpecsPagedCallable()

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

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

listTableSpecsCallable()

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

listTableSpecsPagedCallable()

public UnaryCallable<ListTableSpecsRequest,AutoMlClient.ListTableSpecsPagedResponse> listTableSpecsPagedCallable()
Returns
Type Description
UnaryCallable<ListTableSpecsRequest,ListTableSpecsPagedResponse>
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

updateColumnSpecCallable()

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

updateDatasetCallable()

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

updateTableSpecCallable()

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