@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcDataLabelingServiceStub extends DataLabelingServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcDataLabelingServiceStub(DataLabelingServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcDataLabelingServiceStub, using the given settings.
|
protected |
GrpcDataLabelingServiceStub(DataLabelingServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDataLabelingServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcDataLabelingServiceStub |
create(ClientContext clientContext) |
static GrpcDataLabelingServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcDataLabelingServiceStub |
create(DataLabelingServiceStubSettings settings) |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.CreateAnnotationSpecSetRequest,com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> |
createAnnotationSpecSetCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.CreateDatasetRequest,com.google.cloud.datalabeling.v1beta1.Dataset> |
createDatasetCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.CreateInstructionRequest,Operation> |
createInstructionCallable() |
OperationCallable<com.google.cloud.datalabeling.v1beta1.CreateInstructionRequest,com.google.cloud.datalabeling.v1beta1.Instruction,com.google.cloud.datalabeling.v1beta1.CreateInstructionMetadata> |
createInstructionOperationCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.DeleteAnnotatedDatasetRequest,Empty> |
deleteAnnotatedDatasetCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.DeleteAnnotationSpecSetRequest,Empty> |
deleteAnnotationSpecSetCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.DeleteDatasetRequest,Empty> |
deleteDatasetCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.DeleteInstructionRequest,Empty> |
deleteInstructionCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ExportDataRequest,Operation> |
exportDataCallable() |
OperationCallable<com.google.cloud.datalabeling.v1beta1.ExportDataRequest,com.google.cloud.datalabeling.v1beta1.ExportDataOperationResponse,com.google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata> |
exportDataOperationCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.GetAnnotatedDatasetRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset> |
getAnnotatedDatasetCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.GetAnnotationSpecSetRequest,com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> |
getAnnotationSpecSetCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.GetDataItemRequest,com.google.cloud.datalabeling.v1beta1.DataItem> |
getDataItemCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.GetDatasetRequest,com.google.cloud.datalabeling.v1beta1.Dataset> |
getDatasetCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.GetExampleRequest,com.google.cloud.datalabeling.v1beta1.Example> |
getExampleCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.GetInstructionRequest,com.google.cloud.datalabeling.v1beta1.Instruction> |
getInstructionCallable() |
GrpcOperationsStub |
getOperationsStub() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ImportDataRequest,Operation> |
importDataCallable() |
OperationCallable<com.google.cloud.datalabeling.v1beta1.ImportDataRequest,com.google.cloud.datalabeling.v1beta1.ImportDataOperationResponse,com.google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata> |
importDataOperationCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.LabelAudioRequest,Operation> |
labelAudioCallable() |
OperationCallable<com.google.cloud.datalabeling.v1beta1.LabelAudioRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> |
labelAudioOperationCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.LabelImageRequest,Operation> |
labelImageCallable() |
OperationCallable<com.google.cloud.datalabeling.v1beta1.LabelImageRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> |
labelImageOperationCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.LabelTextRequest,Operation> |
labelTextCallable() |
OperationCallable<com.google.cloud.datalabeling.v1beta1.LabelTextRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> |
labelTextOperationCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.LabelVideoRequest,Operation> |
labelVideoCallable() |
OperationCallable<com.google.cloud.datalabeling.v1beta1.LabelVideoRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> |
labelVideoOperationCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsRequest,com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse> |
listAnnotatedDatasetsCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsRequest,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> |
listAnnotatedDatasetsPagedCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsRequest,com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse> |
listAnnotationSpecSetsCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsRequest,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> |
listAnnotationSpecSetsPagedCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListDataItemsRequest,com.google.cloud.datalabeling.v1beta1.ListDataItemsResponse> |
listDataItemsCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListDataItemsRequest,DataLabelingServiceClient.ListDataItemsPagedResponse> |
listDataItemsPagedCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListDatasetsRequest,com.google.cloud.datalabeling.v1beta1.ListDatasetsResponse> |
listDatasetsCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListDatasetsRequest,DataLabelingServiceClient.ListDatasetsPagedResponse> |
listDatasetsPagedCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListExamplesRequest,com.google.cloud.datalabeling.v1beta1.ListExamplesResponse> |
listExamplesCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListExamplesRequest,DataLabelingServiceClient.ListExamplesPagedResponse> |
listExamplesPagedCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListInstructionsRequest,com.google.cloud.datalabeling.v1beta1.ListInstructionsResponse> |
listInstructionsCallable() |
UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListInstructionsRequest,DataLabelingServiceClient.ListInstructionsPagedResponse> |
listInstructionsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcDataLabelingServiceStub(DataLabelingServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcDataLabelingServiceStub(DataLabelingServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcDataLabelingServiceStub create(DataLabelingServiceStubSettings settings) throws IOException
IOException
public static final GrpcDataLabelingServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcDataLabelingServiceStub 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 DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.CreateDatasetRequest,com.google.cloud.datalabeling.v1beta1.Dataset> createDatasetCallable()
createDatasetCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.GetDatasetRequest,com.google.cloud.datalabeling.v1beta1.Dataset> getDatasetCallable()
getDatasetCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListDatasetsRequest,DataLabelingServiceClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
listDatasetsPagedCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListDatasetsRequest,com.google.cloud.datalabeling.v1beta1.ListDatasetsResponse> listDatasetsCallable()
listDatasetsCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.DeleteDatasetRequest,Empty> deleteDatasetCallable()
deleteDatasetCallable
in class DataLabelingServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.datalabeling.v1beta1.ImportDataRequest,com.google.cloud.datalabeling.v1beta1.ImportDataOperationResponse,com.google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata> importDataOperationCallable()
importDataOperationCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ImportDataRequest,Operation> importDataCallable()
importDataCallable
in class DataLabelingServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.datalabeling.v1beta1.ExportDataRequest,com.google.cloud.datalabeling.v1beta1.ExportDataOperationResponse,com.google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata> exportDataOperationCallable()
exportDataOperationCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ExportDataRequest,Operation> exportDataCallable()
exportDataCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.GetDataItemRequest,com.google.cloud.datalabeling.v1beta1.DataItem> getDataItemCallable()
getDataItemCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListDataItemsRequest,DataLabelingServiceClient.ListDataItemsPagedResponse> listDataItemsPagedCallable()
listDataItemsPagedCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListDataItemsRequest,com.google.cloud.datalabeling.v1beta1.ListDataItemsResponse> listDataItemsCallable()
listDataItemsCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.GetAnnotatedDatasetRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset> getAnnotatedDatasetCallable()
getAnnotatedDatasetCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsRequest,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> listAnnotatedDatasetsPagedCallable()
listAnnotatedDatasetsPagedCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsRequest,com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse> listAnnotatedDatasetsCallable()
listAnnotatedDatasetsCallable
in class DataLabelingServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.datalabeling.v1beta1.LabelImageRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> labelImageOperationCallable()
labelImageOperationCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.LabelImageRequest,Operation> labelImageCallable()
labelImageCallable
in class DataLabelingServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.datalabeling.v1beta1.LabelVideoRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> labelVideoOperationCallable()
labelVideoOperationCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.LabelVideoRequest,Operation> labelVideoCallable()
labelVideoCallable
in class DataLabelingServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.datalabeling.v1beta1.LabelTextRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> labelTextOperationCallable()
labelTextOperationCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.LabelTextRequest,Operation> labelTextCallable()
labelTextCallable
in class DataLabelingServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.datalabeling.v1beta1.LabelAudioRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> labelAudioOperationCallable()
labelAudioOperationCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.LabelAudioRequest,Operation> labelAudioCallable()
labelAudioCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.GetExampleRequest,com.google.cloud.datalabeling.v1beta1.Example> getExampleCallable()
getExampleCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListExamplesRequest,DataLabelingServiceClient.ListExamplesPagedResponse> listExamplesPagedCallable()
listExamplesPagedCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListExamplesRequest,com.google.cloud.datalabeling.v1beta1.ListExamplesResponse> listExamplesCallable()
listExamplesCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.CreateAnnotationSpecSetRequest,com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> createAnnotationSpecSetCallable()
createAnnotationSpecSetCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.GetAnnotationSpecSetRequest,com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> getAnnotationSpecSetCallable()
getAnnotationSpecSetCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsRequest,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> listAnnotationSpecSetsPagedCallable()
listAnnotationSpecSetsPagedCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsRequest,com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse> listAnnotationSpecSetsCallable()
listAnnotationSpecSetsCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.DeleteAnnotationSpecSetRequest,Empty> deleteAnnotationSpecSetCallable()
deleteAnnotationSpecSetCallable
in class DataLabelingServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.datalabeling.v1beta1.CreateInstructionRequest,com.google.cloud.datalabeling.v1beta1.Instruction,com.google.cloud.datalabeling.v1beta1.CreateInstructionMetadata> createInstructionOperationCallable()
createInstructionOperationCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.CreateInstructionRequest,Operation> createInstructionCallable()
createInstructionCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.GetInstructionRequest,com.google.cloud.datalabeling.v1beta1.Instruction> getInstructionCallable()
getInstructionCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListInstructionsRequest,DataLabelingServiceClient.ListInstructionsPagedResponse> listInstructionsPagedCallable()
listInstructionsPagedCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.ListInstructionsRequest,com.google.cloud.datalabeling.v1beta1.ListInstructionsResponse> listInstructionsCallable()
listInstructionsCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.DeleteInstructionRequest,Empty> deleteInstructionCallable()
deleteInstructionCallable
in class DataLabelingServiceStub
public UnaryCallable<com.google.cloud.datalabeling.v1beta1.DeleteAnnotatedDatasetRequest,Empty> deleteAnnotatedDatasetCallable()
deleteAnnotatedDatasetCallable
in class DataLabelingServiceStub
public final void close()
close
in interface AutoCloseable
close
in class DataLabelingServiceStub
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.