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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDataLabelingServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(DataLabelingServiceStubSettings settings)
public static final GrpcDataLabelingServiceStub create(DataLabelingServiceStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createAnnotationSpecSetCallable()
public UnaryCallable<CreateAnnotationSpecSetRequest,AnnotationSpecSet> createAnnotationSpecSetCallable()
Returns
Overrides
createDatasetCallable()
public UnaryCallable<CreateDatasetRequest,Dataset> createDatasetCallable()
Returns
Overrides
createEvaluationJobCallable()
public UnaryCallable<CreateEvaluationJobRequest,EvaluationJob> createEvaluationJobCallable()
Returns
Overrides
createInstructionCallable()
public UnaryCallable<CreateInstructionRequest,Operation> createInstructionCallable()
Returns
Overrides
createInstructionOperationCallable()
public OperationCallable<CreateInstructionRequest,Instruction,CreateInstructionMetadata> createInstructionOperationCallable()
Returns
Overrides
deleteAnnotatedDatasetCallable()
public UnaryCallable<DeleteAnnotatedDatasetRequest,Empty> deleteAnnotatedDatasetCallable()
Returns
Overrides
deleteAnnotationSpecSetCallable()
public UnaryCallable<DeleteAnnotationSpecSetRequest,Empty> deleteAnnotationSpecSetCallable()
Returns
Overrides
deleteDatasetCallable()
public UnaryCallable<DeleteDatasetRequest,Empty> deleteDatasetCallable()
Returns
Overrides
deleteEvaluationJobCallable()
public UnaryCallable<DeleteEvaluationJobRequest,Empty> deleteEvaluationJobCallable()
Returns
Overrides
deleteInstructionCallable()
public UnaryCallable<DeleteInstructionRequest,Empty> deleteInstructionCallable()
Returns
Overrides
exportDataCallable()
public UnaryCallable<ExportDataRequest,Operation> exportDataCallable()
Returns
Overrides
exportDataOperationCallable()
public OperationCallable<ExportDataRequest,ExportDataOperationResponse,ExportDataOperationMetadata> exportDataOperationCallable()
Returns
Overrides
getAnnotatedDatasetCallable()
public UnaryCallable<GetAnnotatedDatasetRequest,AnnotatedDataset> getAnnotatedDatasetCallable()
Returns
Overrides
getAnnotationSpecSetCallable()
public UnaryCallable<GetAnnotationSpecSetRequest,AnnotationSpecSet> getAnnotationSpecSetCallable()
Returns
Overrides
getDataItemCallable()
public UnaryCallable<GetDataItemRequest,DataItem> getDataItemCallable()
Returns
Overrides
getDatasetCallable()
public UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
Returns
Overrides
getEvaluationCallable()
public UnaryCallable<GetEvaluationRequest,Evaluation> getEvaluationCallable()
Returns
Overrides
getEvaluationJobCallable()
public UnaryCallable<GetEvaluationJobRequest,EvaluationJob> getEvaluationJobCallable()
Returns
Overrides
getExampleCallable()
public UnaryCallable<GetExampleRequest,Example> getExampleCallable()
Returns
Overrides
getInstructionCallable()
public UnaryCallable<GetInstructionRequest,Instruction> getInstructionCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
importDataCallable()
public UnaryCallable<ImportDataRequest,Operation> importDataCallable()
Returns
Overrides
importDataOperationCallable()
public OperationCallable<ImportDataRequest,ImportDataOperationResponse,ImportDataOperationMetadata> importDataOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
labelImageCallable()
public UnaryCallable<LabelImageRequest,Operation> labelImageCallable()
Returns
Overrides
labelImageOperationCallable()
public OperationCallable<LabelImageRequest,AnnotatedDataset,LabelOperationMetadata> labelImageOperationCallable()
Returns
Overrides
labelTextCallable()
public UnaryCallable<LabelTextRequest,Operation> labelTextCallable()
Returns
Overrides
labelTextOperationCallable()
public OperationCallable<LabelTextRequest,AnnotatedDataset,LabelOperationMetadata> labelTextOperationCallable()
Returns
Overrides
labelVideoCallable()
public UnaryCallable<LabelVideoRequest,Operation> labelVideoCallable()
Returns
Overrides
labelVideoOperationCallable()
public OperationCallable<LabelVideoRequest,AnnotatedDataset,LabelOperationMetadata> labelVideoOperationCallable()
Returns
Overrides
listAnnotatedDatasetsCallable()
public UnaryCallable<ListAnnotatedDatasetsRequest,ListAnnotatedDatasetsResponse> listAnnotatedDatasetsCallable()
Returns
Overrides
listAnnotatedDatasetsPagedCallable()
public UnaryCallable<ListAnnotatedDatasetsRequest,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> listAnnotatedDatasetsPagedCallable()
Returns
Overrides
listAnnotationSpecSetsCallable()
public UnaryCallable<ListAnnotationSpecSetsRequest,ListAnnotationSpecSetsResponse> listAnnotationSpecSetsCallable()
Returns
Overrides
listAnnotationSpecSetsPagedCallable()
public UnaryCallable<ListAnnotationSpecSetsRequest,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> listAnnotationSpecSetsPagedCallable()
Returns
Overrides
listDataItemsCallable()
public UnaryCallable<ListDataItemsRequest,ListDataItemsResponse> listDataItemsCallable()
Returns
Overrides
listDataItemsPagedCallable()
public UnaryCallable<ListDataItemsRequest,DataLabelingServiceClient.ListDataItemsPagedResponse> listDataItemsPagedCallable()
Returns
Overrides
listDatasetsCallable()
public UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
Returns
Overrides
listDatasetsPagedCallable()
public UnaryCallable<ListDatasetsRequest,DataLabelingServiceClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
Returns
Overrides
listEvaluationJobsCallable()
public UnaryCallable<ListEvaluationJobsRequest,ListEvaluationJobsResponse> listEvaluationJobsCallable()
Returns
Overrides
listEvaluationJobsPagedCallable()
public UnaryCallable<ListEvaluationJobsRequest,DataLabelingServiceClient.ListEvaluationJobsPagedResponse> listEvaluationJobsPagedCallable()
Returns
Overrides
listExamplesCallable()
public UnaryCallable<ListExamplesRequest,ListExamplesResponse> listExamplesCallable()
Returns
Overrides
listExamplesPagedCallable()
public UnaryCallable<ListExamplesRequest,DataLabelingServiceClient.ListExamplesPagedResponse> listExamplesPagedCallable()
Returns
Overrides
listInstructionsCallable()
public UnaryCallable<ListInstructionsRequest,ListInstructionsResponse> listInstructionsCallable()
Returns
Overrides
listInstructionsPagedCallable()
public UnaryCallable<ListInstructionsRequest,DataLabelingServiceClient.ListInstructionsPagedResponse> listInstructionsPagedCallable()
Returns
Overrides
pauseEvaluationJobCallable()
public UnaryCallable<PauseEvaluationJobRequest,Empty> pauseEvaluationJobCallable()
Returns
Overrides
resumeEvaluationJobCallable()
public UnaryCallable<ResumeEvaluationJobRequest,Empty> resumeEvaluationJobCallable()
Returns
Overrides
searchEvaluationsCallable()
public UnaryCallable<SearchEvaluationsRequest,SearchEvaluationsResponse> searchEvaluationsCallable()
Returns
Overrides
searchEvaluationsPagedCallable()
public UnaryCallable<SearchEvaluationsRequest,DataLabelingServiceClient.SearchEvaluationsPagedResponse> searchEvaluationsPagedCallable()
Returns
Overrides
searchExampleComparisonsCallable()
public UnaryCallable<SearchExampleComparisonsRequest,SearchExampleComparisonsResponse> searchExampleComparisonsCallable()
Returns
Overrides
searchExampleComparisonsPagedCallable()
public UnaryCallable<SearchExampleComparisonsRequest,DataLabelingServiceClient.SearchExampleComparisonsPagedResponse> searchExampleComparisonsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateEvaluationJobCallable()
public UnaryCallable<UpdateEvaluationJobRequest,EvaluationJob> updateEvaluationJobCallable()
Returns
Overrides