@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcAutoMlStub extends AutoMlStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcAutoMlStub(AutoMlStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcAutoMlStub, using the given settings.
|
protected |
GrpcAutoMlStub(AutoMlStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAutoMlStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcAutoMlStub |
create(AutoMlStubSettings settings) |
static GrpcAutoMlStub |
create(ClientContext clientContext) |
static GrpcAutoMlStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
UnaryCallable<com.google.cloud.automl.v1beta1.CreateDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> |
createDatasetCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.CreateModelRequest,Operation> |
createModelCallable() |
OperationCallable<com.google.cloud.automl.v1beta1.CreateModelRequest,com.google.cloud.automl.v1beta1.Model,com.google.cloud.automl.v1beta1.OperationMetadata> |
createModelOperationCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.DeleteDatasetRequest,Operation> |
deleteDatasetCallable() |
OperationCallable<com.google.cloud.automl.v1beta1.DeleteDatasetRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
deleteDatasetOperationCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.DeleteModelRequest,Operation> |
deleteModelCallable() |
OperationCallable<com.google.cloud.automl.v1beta1.DeleteModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
deleteModelOperationCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.DeployModelRequest,Operation> |
deployModelCallable() |
OperationCallable<com.google.cloud.automl.v1beta1.DeployModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
deployModelOperationCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ExportDataRequest,Operation> |
exportDataCallable() |
OperationCallable<com.google.cloud.automl.v1beta1.ExportDataRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
exportDataOperationCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest,Operation> |
exportEvaluatedExamplesCallable() |
OperationCallable<com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
exportEvaluatedExamplesOperationCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ExportModelRequest,Operation> |
exportModelCallable() |
OperationCallable<com.google.cloud.automl.v1beta1.ExportModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
exportModelOperationCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.GetAnnotationSpecRequest,com.google.cloud.automl.v1beta1.AnnotationSpec> |
getAnnotationSpecCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.GetColumnSpecRequest,com.google.cloud.automl.v1beta1.ColumnSpec> |
getColumnSpecCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.GetDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> |
getDatasetCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.GetModelRequest,com.google.cloud.automl.v1beta1.Model> |
getModelCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.GetModelEvaluationRequest,com.google.cloud.automl.v1beta1.ModelEvaluation> |
getModelEvaluationCallable() |
GrpcOperationsStub |
getOperationsStub() |
UnaryCallable<com.google.cloud.automl.v1beta1.GetTableSpecRequest,com.google.cloud.automl.v1beta1.TableSpec> |
getTableSpecCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ImportDataRequest,Operation> |
importDataCallable() |
OperationCallable<com.google.cloud.automl.v1beta1.ImportDataRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
importDataOperationCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.automl.v1beta1.ListColumnSpecsRequest,com.google.cloud.automl.v1beta1.ListColumnSpecsResponse> |
listColumnSpecsCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ListColumnSpecsRequest,AutoMlClient.ListColumnSpecsPagedResponse> |
listColumnSpecsPagedCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ListDatasetsRequest,com.google.cloud.automl.v1beta1.ListDatasetsResponse> |
listDatasetsCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ListDatasetsRequest,AutoMlClient.ListDatasetsPagedResponse> |
listDatasetsPagedCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ListModelEvaluationsRequest,com.google.cloud.automl.v1beta1.ListModelEvaluationsResponse> |
listModelEvaluationsCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ListModelEvaluationsRequest,AutoMlClient.ListModelEvaluationsPagedResponse> |
listModelEvaluationsPagedCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ListModelsRequest,com.google.cloud.automl.v1beta1.ListModelsResponse> |
listModelsCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ListModelsRequest,AutoMlClient.ListModelsPagedResponse> |
listModelsPagedCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ListTableSpecsRequest,com.google.cloud.automl.v1beta1.ListTableSpecsResponse> |
listTableSpecsCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.ListTableSpecsRequest,AutoMlClient.ListTableSpecsPagedResponse> |
listTableSpecsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.automl.v1beta1.UndeployModelRequest,Operation> |
undeployModelCallable() |
OperationCallable<com.google.cloud.automl.v1beta1.UndeployModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> |
undeployModelOperationCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.UpdateColumnSpecRequest,com.google.cloud.automl.v1beta1.ColumnSpec> |
updateColumnSpecCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.UpdateDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> |
updateDatasetCallable() |
UnaryCallable<com.google.cloud.automl.v1beta1.UpdateTableSpecRequest,com.google.cloud.automl.v1beta1.TableSpec> |
updateTableSpecCallable() |
protected GrpcAutoMlStub(AutoMlStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcAutoMlStub(AutoMlStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcAutoMlStub create(AutoMlStubSettings settings) throws IOException
IOException
public static final GrpcAutoMlStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcAutoMlStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.CreateDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> createDatasetCallable()
createDatasetCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.UpdateDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> updateDatasetCallable()
updateDatasetCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.GetDatasetRequest,com.google.cloud.automl.v1beta1.Dataset> getDatasetCallable()
getDatasetCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ListDatasetsRequest,AutoMlClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
listDatasetsPagedCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ListDatasetsRequest,com.google.cloud.automl.v1beta1.ListDatasetsResponse> listDatasetsCallable()
listDatasetsCallable
in class AutoMlStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.automl.v1beta1.DeleteDatasetRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> deleteDatasetOperationCallable()
deleteDatasetOperationCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.DeleteDatasetRequest,Operation> deleteDatasetCallable()
deleteDatasetCallable
in class AutoMlStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.automl.v1beta1.ImportDataRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> importDataOperationCallable()
importDataOperationCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ImportDataRequest,Operation> importDataCallable()
importDataCallable
in class AutoMlStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.automl.v1beta1.ExportDataRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> exportDataOperationCallable()
exportDataOperationCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ExportDataRequest,Operation> exportDataCallable()
exportDataCallable
in class AutoMlStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.automl.v1beta1.CreateModelRequest,com.google.cloud.automl.v1beta1.Model,com.google.cloud.automl.v1beta1.OperationMetadata> createModelOperationCallable()
createModelOperationCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.CreateModelRequest,Operation> createModelCallable()
createModelCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.GetModelRequest,com.google.cloud.automl.v1beta1.Model> getModelCallable()
getModelCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ListModelsRequest,AutoMlClient.ListModelsPagedResponse> listModelsPagedCallable()
listModelsPagedCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ListModelsRequest,com.google.cloud.automl.v1beta1.ListModelsResponse> listModelsCallable()
listModelsCallable
in class AutoMlStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.automl.v1beta1.DeleteModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> deleteModelOperationCallable()
deleteModelOperationCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.DeleteModelRequest,Operation> deleteModelCallable()
deleteModelCallable
in class AutoMlStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.automl.v1beta1.DeployModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> deployModelOperationCallable()
deployModelOperationCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.DeployModelRequest,Operation> deployModelCallable()
deployModelCallable
in class AutoMlStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.automl.v1beta1.UndeployModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> undeployModelOperationCallable()
undeployModelOperationCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.UndeployModelRequest,Operation> undeployModelCallable()
undeployModelCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.GetModelEvaluationRequest,com.google.cloud.automl.v1beta1.ModelEvaluation> getModelEvaluationCallable()
getModelEvaluationCallable
in class AutoMlStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.automl.v1beta1.ExportModelRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> exportModelOperationCallable()
exportModelOperationCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ExportModelRequest,Operation> exportModelCallable()
exportModelCallable
in class AutoMlStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest,Empty,com.google.cloud.automl.v1beta1.OperationMetadata> exportEvaluatedExamplesOperationCallable()
exportEvaluatedExamplesOperationCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest,Operation> exportEvaluatedExamplesCallable()
exportEvaluatedExamplesCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ListModelEvaluationsRequest,AutoMlClient.ListModelEvaluationsPagedResponse> listModelEvaluationsPagedCallable()
listModelEvaluationsPagedCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ListModelEvaluationsRequest,com.google.cloud.automl.v1beta1.ListModelEvaluationsResponse> listModelEvaluationsCallable()
listModelEvaluationsCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.GetAnnotationSpecRequest,com.google.cloud.automl.v1beta1.AnnotationSpec> getAnnotationSpecCallable()
getAnnotationSpecCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.GetTableSpecRequest,com.google.cloud.automl.v1beta1.TableSpec> getTableSpecCallable()
getTableSpecCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ListTableSpecsRequest,AutoMlClient.ListTableSpecsPagedResponse> listTableSpecsPagedCallable()
listTableSpecsPagedCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ListTableSpecsRequest,com.google.cloud.automl.v1beta1.ListTableSpecsResponse> listTableSpecsCallable()
listTableSpecsCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.UpdateTableSpecRequest,com.google.cloud.automl.v1beta1.TableSpec> updateTableSpecCallable()
updateTableSpecCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.GetColumnSpecRequest,com.google.cloud.automl.v1beta1.ColumnSpec> getColumnSpecCallable()
getColumnSpecCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ListColumnSpecsRequest,AutoMlClient.ListColumnSpecsPagedResponse> listColumnSpecsPagedCallable()
listColumnSpecsPagedCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.ListColumnSpecsRequest,com.google.cloud.automl.v1beta1.ListColumnSpecsResponse> listColumnSpecsCallable()
listColumnSpecsCallable
in class AutoMlStub
public UnaryCallable<com.google.cloud.automl.v1beta1.UpdateColumnSpecRequest,com.google.cloud.automl.v1beta1.ColumnSpec> updateColumnSpecCallable()
updateColumnSpecCallable
in class AutoMlStub
public final void close()
close
in interface AutoCloseable
close
in class AutoMlStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.