Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class GrpcDataLabelingServiceStub extends DataLabelingServiceStub
gRPC stub implementation for the DataLabelingService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcDataLabelingServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDataLabelingServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(DataLabelingServiceStubSettings settings)
public static final GrpcDataLabelingServiceStub create(DataLabelingServiceStubSettings settings)
Constructors
GrpcDataLabelingServiceStub(DataLabelingServiceStubSettings settings, ClientContext clientContext)
protected GrpcDataLabelingServiceStub(DataLabelingServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcDataLabelingServiceStub, 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.
GrpcDataLabelingServiceStub(DataLabelingServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcDataLabelingServiceStub(DataLabelingServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDataLabelingServiceStub, 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
createAnnotationSpecSetCallable()
public UnaryCallable<CreateAnnotationSpecSetRequest,AnnotationSpecSet> createAnnotationSpecSetCallable()
Overrides
createDatasetCallable()
public UnaryCallable<CreateDatasetRequest,Dataset> createDatasetCallable()
Overrides
createEvaluationJobCallable()
public UnaryCallable<CreateEvaluationJobRequest,EvaluationJob> createEvaluationJobCallable()
Overrides
createInstructionCallable()
public UnaryCallable<CreateInstructionRequest,Operation> createInstructionCallable()
Overrides
createInstructionOperationCallable()
public OperationCallable<CreateInstructionRequest,Instruction,CreateInstructionMetadata> createInstructionOperationCallable()
Overrides
deleteAnnotatedDatasetCallable()
public UnaryCallable<DeleteAnnotatedDatasetRequest,Empty> deleteAnnotatedDatasetCallable()
Overrides
deleteAnnotationSpecSetCallable()
public UnaryCallable<DeleteAnnotationSpecSetRequest,Empty> deleteAnnotationSpecSetCallable()
Overrides
deleteDatasetCallable()
public UnaryCallable<DeleteDatasetRequest,Empty> deleteDatasetCallable()
Overrides
deleteEvaluationJobCallable()
public UnaryCallable<DeleteEvaluationJobRequest,Empty> deleteEvaluationJobCallable()
Overrides
deleteInstructionCallable()
public UnaryCallable<DeleteInstructionRequest,Empty> deleteInstructionCallable()
Overrides
exportDataCallable()
public UnaryCallable<ExportDataRequest,Operation> exportDataCallable()
Overrides
exportDataOperationCallable()
public OperationCallable<ExportDataRequest,ExportDataOperationResponse,ExportDataOperationMetadata> exportDataOperationCallable()
Overrides
getAnnotatedDatasetCallable()
public UnaryCallable<GetAnnotatedDatasetRequest,AnnotatedDataset> getAnnotatedDatasetCallable()
Overrides
getAnnotationSpecSetCallable()
public UnaryCallable<GetAnnotationSpecSetRequest,AnnotationSpecSet> getAnnotationSpecSetCallable()
Overrides
getDataItemCallable()
public UnaryCallable<GetDataItemRequest,DataItem> getDataItemCallable()
Overrides
getDatasetCallable()
public UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
Overrides
getEvaluationCallable()
public UnaryCallable<GetEvaluationRequest,Evaluation> getEvaluationCallable()
Overrides
getEvaluationJobCallable()
public UnaryCallable<GetEvaluationJobRequest,EvaluationJob> getEvaluationJobCallable()
Overrides
getExampleCallable()
public UnaryCallable<GetExampleRequest,Example> getExampleCallable()
Overrides
getInstructionCallable()
public UnaryCallable<GetInstructionRequest,Instruction> getInstructionCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
importDataCallable()
public UnaryCallable<ImportDataRequest,Operation> importDataCallable()
Overrides
importDataOperationCallable()
public OperationCallable<ImportDataRequest,ImportDataOperationResponse,ImportDataOperationMetadata> importDataOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
labelImageCallable()
public UnaryCallable<LabelImageRequest,Operation> labelImageCallable()
Overrides
labelImageOperationCallable()
public OperationCallable<LabelImageRequest,AnnotatedDataset,LabelOperationMetadata> labelImageOperationCallable()
Overrides
labelTextCallable()
public UnaryCallable<LabelTextRequest,Operation> labelTextCallable()
Overrides
labelTextOperationCallable()
public OperationCallable<LabelTextRequest,AnnotatedDataset,LabelOperationMetadata> labelTextOperationCallable()
Overrides
labelVideoCallable()
public UnaryCallable<LabelVideoRequest,Operation> labelVideoCallable()
Overrides
labelVideoOperationCallable()
public OperationCallable<LabelVideoRequest,AnnotatedDataset,LabelOperationMetadata> labelVideoOperationCallable()
Overrides
listAnnotatedDatasetsCallable()
public UnaryCallable<ListAnnotatedDatasetsRequest,ListAnnotatedDatasetsResponse> listAnnotatedDatasetsCallable()
Overrides
listAnnotatedDatasetsPagedCallable()
public UnaryCallable<ListAnnotatedDatasetsRequest,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> listAnnotatedDatasetsPagedCallable()
Overrides
listAnnotationSpecSetsCallable()
public UnaryCallable<ListAnnotationSpecSetsRequest,ListAnnotationSpecSetsResponse> listAnnotationSpecSetsCallable()
Overrides
listAnnotationSpecSetsPagedCallable()
public UnaryCallable<ListAnnotationSpecSetsRequest,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> listAnnotationSpecSetsPagedCallable()
Overrides
listDataItemsCallable()
public UnaryCallable<ListDataItemsRequest,ListDataItemsResponse> listDataItemsCallable()
Overrides
listDataItemsPagedCallable()
public UnaryCallable<ListDataItemsRequest,DataLabelingServiceClient.ListDataItemsPagedResponse> listDataItemsPagedCallable()
Overrides
listDatasetsCallable()
public UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
Overrides
listDatasetsPagedCallable()
public UnaryCallable<ListDatasetsRequest,DataLabelingServiceClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
Overrides
listEvaluationJobsCallable()
public UnaryCallable<ListEvaluationJobsRequest,ListEvaluationJobsResponse> listEvaluationJobsCallable()
Overrides
listEvaluationJobsPagedCallable()
public UnaryCallable<ListEvaluationJobsRequest,DataLabelingServiceClient.ListEvaluationJobsPagedResponse> listEvaluationJobsPagedCallable()
Overrides
listExamplesCallable()
public UnaryCallable<ListExamplesRequest,ListExamplesResponse> listExamplesCallable()
Overrides
listExamplesPagedCallable()
public UnaryCallable<ListExamplesRequest,DataLabelingServiceClient.ListExamplesPagedResponse> listExamplesPagedCallable()
Overrides
listInstructionsCallable()
public UnaryCallable<ListInstructionsRequest,ListInstructionsResponse> listInstructionsCallable()
Overrides
listInstructionsPagedCallable()
public UnaryCallable<ListInstructionsRequest,DataLabelingServiceClient.ListInstructionsPagedResponse> listInstructionsPagedCallable()
Overrides
pauseEvaluationJobCallable()
public UnaryCallable<PauseEvaluationJobRequest,Empty> pauseEvaluationJobCallable()
Overrides
resumeEvaluationJobCallable()
public UnaryCallable<ResumeEvaluationJobRequest,Empty> resumeEvaluationJobCallable()
Overrides
searchEvaluationsCallable()
public UnaryCallable<SearchEvaluationsRequest,SearchEvaluationsResponse> searchEvaluationsCallable()
Overrides
searchEvaluationsPagedCallable()
public UnaryCallable<SearchEvaluationsRequest,DataLabelingServiceClient.SearchEvaluationsPagedResponse> searchEvaluationsPagedCallable()
Overrides
searchExampleComparisonsCallable()
public UnaryCallable<SearchExampleComparisonsRequest,SearchExampleComparisonsResponse> searchExampleComparisonsCallable()
Overrides
searchExampleComparisonsPagedCallable()
public UnaryCallable<SearchExampleComparisonsRequest,DataLabelingServiceClient.SearchExampleComparisonsPagedResponse> searchExampleComparisonsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateEvaluationJobCallable()
public UnaryCallable<UpdateEvaluationJobRequest,EvaluationJob> updateEvaluationJobCallable()
Overrides