public static final class DataLabelingServiceGrpc.DataLabelingServiceBlockingStub extends io.grpc.stub.AbstractStub<DataLabelingServiceGrpc.DataLabelingServiceBlockingStub>
| Modifier and Type | Method and Description |
|---|---|
protected DataLabelingServiceGrpc.DataLabelingServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
AnnotationSpecSet |
createAnnotationSpecSet(CreateAnnotationSpecSetRequest request)
Creates an annotation spec set by providing a set of labels.
|
Dataset |
createDataset(CreateDatasetRequest request)
Creates dataset.
|
EvaluationJob |
createEvaluationJob(CreateEvaluationJobRequest request)
Creates an evaluation job.
|
com.google.longrunning.Operation |
createInstruction(CreateInstructionRequest request)
Creates an instruction for how data should be labeled.
|
com.google.protobuf.Empty |
deleteAnnotatedDataset(DeleteAnnotatedDatasetRequest request)
Deletes an annotated dataset by resource name.
|
com.google.protobuf.Empty |
deleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest request)
Deletes an annotation spec set by resource name.
|
com.google.protobuf.Empty |
deleteDataset(DeleteDatasetRequest request)
Deletes a dataset by resource name.
|
com.google.protobuf.Empty |
deleteEvaluationJob(DeleteEvaluationJobRequest request)
Stops and deletes an evaluation job.
|
com.google.protobuf.Empty |
deleteInstruction(DeleteInstructionRequest request)
Deletes an instruction object by resource name.
|
com.google.longrunning.Operation |
exportData(ExportDataRequest request)
Exports data and annotations from dataset.
|
AnnotatedDataset |
getAnnotatedDataset(GetAnnotatedDatasetRequest request)
Gets an annotated dataset by resource name.
|
AnnotationSpecSet |
getAnnotationSpecSet(GetAnnotationSpecSetRequest request)
Gets an annotation spec set by resource name.
|
DataItem |
getDataItem(GetDataItemRequest request)
Gets a data item in a dataset by resource name.
|
Dataset |
getDataset(GetDatasetRequest request)
Gets dataset by resource name.
|
Evaluation |
getEvaluation(GetEvaluationRequest request)
Gets an evaluation by resource name.
|
EvaluationJob |
getEvaluationJob(GetEvaluationJobRequest request)
Gets an evaluation job by resource name.
|
Example |
getExample(GetExampleRequest request)
Gets an example by resource name, including both data and annotation.
|
Instruction |
getInstruction(GetInstructionRequest request)
Gets an instruction by resource name.
|
com.google.longrunning.Operation |
importData(ImportDataRequest request)
Imports data into dataset based on source locations defined in request.
|
com.google.longrunning.Operation |
labelImage(LabelImageRequest request)
Starts a labeling task for image.
|
com.google.longrunning.Operation |
labelText(LabelTextRequest request)
Starts a labeling task for text.
|
com.google.longrunning.Operation |
labelVideo(LabelVideoRequest request)
Starts a labeling task for video.
|
ListAnnotatedDatasetsResponse |
listAnnotatedDatasets(ListAnnotatedDatasetsRequest request)
Lists annotated datasets for a dataset.
|
ListAnnotationSpecSetsResponse |
listAnnotationSpecSets(ListAnnotationSpecSetsRequest request)
Lists annotation spec sets for a project.
|
ListDataItemsResponse |
listDataItems(ListDataItemsRequest request)
Lists data items in a dataset.
|
ListDatasetsResponse |
listDatasets(ListDatasetsRequest request)
Lists datasets under a project.
|
ListEvaluationJobsResponse |
listEvaluationJobs(ListEvaluationJobsRequest request)
Lists all evaluation jobs within a project with possible filters.
|
ListExamplesResponse |
listExamples(ListExamplesRequest request)
Lists examples in an annotated dataset.
|
ListInstructionsResponse |
listInstructions(ListInstructionsRequest request)
Lists instructions for a project.
|
com.google.protobuf.Empty |
pauseEvaluationJob(PauseEvaluationJobRequest request)
Pauses an evaluation job.
|
com.google.protobuf.Empty |
resumeEvaluationJob(ResumeEvaluationJobRequest request)
Resumes a paused evaluation job.
|
SearchEvaluationsResponse |
searchEvaluations(SearchEvaluationsRequest request)
Searchs evaluations within a project.
|
SearchExampleComparisonsResponse |
searchExampleComparisons(SearchExampleComparisonsRequest request)
Searchs example comparisons in evaluation, in format of examples
of both ground truth and prediction(s).
|
EvaluationJob |
updateEvaluationJob(UpdateEvaluationJobRequest request)
Updates an evaluation job.
|
protected DataLabelingServiceGrpc.DataLabelingServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<DataLabelingServiceGrpc.DataLabelingServiceBlockingStub>public Dataset createDataset(CreateDatasetRequest request)
Creates dataset. If success return a Dataset resource.
public Dataset getDataset(GetDatasetRequest request)
Gets dataset by resource name.
public ListDatasetsResponse listDatasets(ListDatasetsRequest request)
Lists datasets under a project. Pagination is supported.
public com.google.protobuf.Empty deleteDataset(DeleteDatasetRequest request)
Deletes a dataset by resource name.
public com.google.longrunning.Operation importData(ImportDataRequest request)
Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.
public com.google.longrunning.Operation exportData(ExportDataRequest request)
Exports data and annotations from dataset.
public DataItem getDataItem(GetDataItemRequest request)
Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.
public ListDataItemsResponse listDataItems(ListDataItemsRequest request)
Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.
public AnnotatedDataset getAnnotatedDataset(GetAnnotatedDatasetRequest request)
Gets an annotated dataset by resource name.
public ListAnnotatedDatasetsResponse listAnnotatedDatasets(ListAnnotatedDatasetsRequest request)
Lists annotated datasets for a dataset. Pagination is supported.
public com.google.protobuf.Empty deleteAnnotatedDataset(DeleteAnnotatedDatasetRequest request)
Deletes an annotated dataset by resource name.
public com.google.longrunning.Operation labelImage(LabelImageRequest request)
Starts a labeling task for image. The type of image labeling task is configured by feature in the request.
public com.google.longrunning.Operation labelVideo(LabelVideoRequest request)
Starts a labeling task for video. The type of video labeling task is configured by feature in the request.
public com.google.longrunning.Operation labelText(LabelTextRequest request)
Starts a labeling task for text. The type of text labeling task is configured by feature in the request.
public Example getExample(GetExampleRequest request)
Gets an example by resource name, including both data and annotation.
public ListExamplesResponse listExamples(ListExamplesRequest request)
Lists examples in an annotated dataset. Pagination is supported.
public AnnotationSpecSet createAnnotationSpecSet(CreateAnnotationSpecSetRequest request)
Creates an annotation spec set by providing a set of labels.
public AnnotationSpecSet getAnnotationSpecSet(GetAnnotationSpecSetRequest request)
Gets an annotation spec set by resource name.
public ListAnnotationSpecSetsResponse listAnnotationSpecSets(ListAnnotationSpecSetsRequest request)
Lists annotation spec sets for a project. Pagination is supported.
public com.google.protobuf.Empty deleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest request)
Deletes an annotation spec set by resource name.
public com.google.longrunning.Operation createInstruction(CreateInstructionRequest request)
Creates an instruction for how data should be labeled.
public Instruction getInstruction(GetInstructionRequest request)
Gets an instruction by resource name.
public ListInstructionsResponse listInstructions(ListInstructionsRequest request)
Lists instructions for a project. Pagination is supported.
public com.google.protobuf.Empty deleteInstruction(DeleteInstructionRequest request)
Deletes an instruction object by resource name.
public Evaluation getEvaluation(GetEvaluationRequest request)
Gets an evaluation by resource name.
public SearchEvaluationsResponse searchEvaluations(SearchEvaluationsRequest request)
Searchs evaluations within a project. Supported filter: evaluation_job, evaluation_time.
public SearchExampleComparisonsResponse searchExampleComparisons(SearchExampleComparisonsRequest request)
Searchs example comparisons in evaluation, in format of examples of both ground truth and prediction(s). It is represented as a search with evaluation id.
public EvaluationJob createEvaluationJob(CreateEvaluationJobRequest request)
Creates an evaluation job.
public EvaluationJob updateEvaluationJob(UpdateEvaluationJobRequest request)
Updates an evaluation job.
public EvaluationJob getEvaluationJob(GetEvaluationJobRequest request)
Gets an evaluation job by resource name.
public com.google.protobuf.Empty pauseEvaluationJob(PauseEvaluationJobRequest request)
Pauses an evaluation job. Pausing a evaluation job that is already in PAUSED state will be a no-op.
public com.google.protobuf.Empty resumeEvaluationJob(ResumeEvaluationJobRequest request)
Resumes a paused evaluation job. Deleted evaluation job can't be resumed. Resuming a running evaluation job will be a no-op.
public com.google.protobuf.Empty deleteEvaluationJob(DeleteEvaluationJobRequest request)
Stops and deletes an evaluation job.
public ListEvaluationJobsResponse listEvaluationJobs(ListEvaluationJobsRequest request)
Lists all evaluation jobs within a project with possible filters. Pagination is supported.
Copyright © 2019 Google LLC. All rights reserved.