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.
Static Methods
create(ClientContext clientContext)
public static final GrpcAutoMlStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcAutoMlStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(AutoMlStubSettings settings)
public static final GrpcAutoMlStub create(AutoMlStubSettings settings)
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.
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.
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
getModelCallable()
public UnaryCallable<GetModelRequest,Model> getModelCallable()
Overrides
getModelEvaluationCallable()
public UnaryCallable<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
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