@Generated("by gapic-generator-java")
Package com.google.cloud.datalabeling.v1beta1
A client to Data Labeling API
The interfaces provided are listed below, along with usage samples.
======================= DataLabelingServiceClient =======================
Service Description: Service for the AI Platform Data Labeling API.
Sample for DataLabelingServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
ProjectName parent = ProjectName.of("[PROJECT]");
Dataset dataset = Dataset.newBuilder().build();
Dataset response = dataLabelingServiceClient.createDataset(parent, dataset);
}
-
Class Summary Class Description AnnotatedDataset AnnotatedDataset is a set holding annotations for data in a Dataset.AnnotatedDataset.Builder AnnotatedDataset is a set holding annotations for data in a Dataset.AnnotatedDatasetMetadata Metadata on AnnotatedDataset.AnnotatedDatasetMetadata.Builder Metadata on AnnotatedDataset.AnnotatedDatasetName AnnotatedDatasetName.Builder Builder for projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}.Annotation Annotation for Example.Annotation.Builder Annotation for Example.AnnotationMetadata Additional information associated with the annotation.AnnotationMetadata.Builder Additional information associated with the annotation.AnnotationOuterClass AnnotationSpec Container of information related to one possible annotation that can be used in a labeling task.AnnotationSpec.Builder Container of information related to one possible annotation that can be used in a labeling task.AnnotationSpecSet An AnnotationSpecSet is a collection of label definitions.AnnotationSpecSet.Builder An AnnotationSpecSet is a collection of label definitions.AnnotationSpecSetName AnnotationSpecSetName.Builder Builder for projects/{project}/annotationSpecSets/{annotation_spec_set}.AnnotationSpecSetOuterClass AnnotationValue Annotation value for an example.AnnotationValue.Builder Annotation value for an example.Attempt Records a failed evaluation job run.Attempt.Builder Records a failed evaluation job run.BigQuerySource The BigQuery location for input data.BigQuerySource.Builder The BigQuery location for input data.BoundingBoxEvaluationOptions Options regarding evaluation between bounding boxes.BoundingBoxEvaluationOptions.Builder Options regarding evaluation between bounding boxes.BoundingPoly A bounding polygon in the image.BoundingPoly.Builder A bounding polygon in the image.BoundingPolyConfig Config for image bounding poly (and bounding box) human labeling task.BoundingPolyConfig.Builder Config for image bounding poly (and bounding box) human labeling task.ClassificationMetadata Metadata for classification annotations.ClassificationMetadata.Builder Metadata for classification annotations.ClassificationMetrics Metrics calculated for a classification model.ClassificationMetrics.Builder Metrics calculated for a classification model.ConfusionMatrix Confusion matrix of the model running the classification.ConfusionMatrix.Builder Confusion matrix of the model running the classification.ConfusionMatrix.ConfusionMatrixEntry Protobuf typegoogle.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry
ConfusionMatrix.ConfusionMatrixEntry.Builder Protobuf typegoogle.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry
ConfusionMatrix.Row A row in the confusion matrix.ConfusionMatrix.Row.Builder A row in the confusion matrix.CreateAnnotationSpecSetRequest Request message for CreateAnnotationSpecSet.CreateAnnotationSpecSetRequest.Builder Request message for CreateAnnotationSpecSet.CreateDatasetRequest Request message for CreateDataset.CreateDatasetRequest.Builder Request message for CreateDataset.CreateEvaluationJobRequest Request message for CreateEvaluationJob.CreateEvaluationJobRequest.Builder Request message for CreateEvaluationJob.CreateInstructionMetadata Metadata of a CreateInstruction operation.CreateInstructionMetadata.Builder Metadata of a CreateInstruction operation.CreateInstructionRequest Request message for CreateInstruction.CreateInstructionRequest.Builder Request message for CreateInstruction.CsvInstruction Deprecated: this instruction format is not supported any more.CsvInstruction.Builder Deprecated: this instruction format is not supported any more.DataItem DataItem is a piece of data, without annotation.DataItem.Builder DataItem is a piece of data, without annotation.DataItemName DataItemName.Builder Builder for projects/{project}/datasets/{dataset}/dataItems/{data_item}.DataLabelingServiceClient Service Description: Service for the AI Platform Data Labeling API.DataLabelingServiceClient.ListAnnotatedDatasetsFixedSizeCollection DataLabelingServiceClient.ListAnnotatedDatasetsPage DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse DataLabelingServiceClient.ListAnnotationSpecSetsFixedSizeCollection DataLabelingServiceClient.ListAnnotationSpecSetsPage DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse DataLabelingServiceClient.ListDataItemsFixedSizeCollection DataLabelingServiceClient.ListDataItemsPage DataLabelingServiceClient.ListDataItemsPagedResponse DataLabelingServiceClient.ListDatasetsFixedSizeCollection DataLabelingServiceClient.ListDatasetsPage DataLabelingServiceClient.ListDatasetsPagedResponse DataLabelingServiceClient.ListEvaluationJobsFixedSizeCollection DataLabelingServiceClient.ListEvaluationJobsPage DataLabelingServiceClient.ListEvaluationJobsPagedResponse DataLabelingServiceClient.ListExamplesFixedSizeCollection DataLabelingServiceClient.ListExamplesPage DataLabelingServiceClient.ListExamplesPagedResponse DataLabelingServiceClient.ListInstructionsFixedSizeCollection DataLabelingServiceClient.ListInstructionsPage DataLabelingServiceClient.ListInstructionsPagedResponse DataLabelingServiceClient.SearchEvaluationsFixedSizeCollection DataLabelingServiceClient.SearchEvaluationsPage DataLabelingServiceClient.SearchEvaluationsPagedResponse DataLabelingServiceClient.SearchExampleComparisonsFixedSizeCollection DataLabelingServiceClient.SearchExampleComparisonsPage DataLabelingServiceClient.SearchExampleComparisonsPagedResponse DataLabelingServiceGrpc Service for the AI Platform Data Labeling API.DataLabelingServiceGrpc.DataLabelingServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service DataLabelingService.DataLabelingServiceGrpc.DataLabelingServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service DataLabelingService.DataLabelingServiceGrpc.DataLabelingServiceImplBase Base class for the server implementation of the service DataLabelingService.DataLabelingServiceGrpc.DataLabelingServiceStub A stub to allow clients to do asynchronous rpc calls to service DataLabelingService.DataLabelingServiceOuterClass DataLabelingServiceSettings Settings class to configure an instance ofDataLabelingServiceClient
.DataLabelingServiceSettings.Builder Builder for DataLabelingServiceSettings.DataPayloads Dataset Dataset is the resource to hold your data.Dataset.Builder Dataset is the resource to hold your data.DatasetName DatasetName.Builder Builder for projects/{project}/datasets/{dataset}.DatasetOuterClass DeleteAnnotatedDatasetRequest Request message for DeleteAnnotatedDataset.DeleteAnnotatedDatasetRequest.Builder Request message for DeleteAnnotatedDataset.DeleteAnnotationSpecSetRequest Request message for DeleteAnnotationSpecSet.DeleteAnnotationSpecSetRequest.Builder Request message for DeleteAnnotationSpecSet.DeleteDatasetRequest Request message for DeleteDataset.DeleteDatasetRequest.Builder Request message for DeleteDataset.DeleteEvaluationJobRequest Request message DeleteEvaluationJob.DeleteEvaluationJobRequest.Builder Request message DeleteEvaluationJob.DeleteInstructionRequest Request message for DeleteInstruction.DeleteInstructionRequest.Builder Request message for DeleteInstruction.Evaluation Describes an evaluation between a machine learning model's predictions and ground truth labels.Evaluation.Builder Describes an evaluation between a machine learning model's predictions and ground truth labels.EvaluationConfig Configuration details used for calculating evaluation metrics and creating an [Evaluation][google.cloud.datalabeling.v1beta1.Evaluation].EvaluationConfig.Builder Configuration details used for calculating evaluation metrics and creating an [Evaluation][google.cloud.datalabeling.v1beta1.Evaluation].EvaluationJob Defines an evaluation job that runs periodically to generate [Evaluations][google.cloud.datalabeling.v1beta1.Evaluation].EvaluationJob.Builder Defines an evaluation job that runs periodically to generate [Evaluations][google.cloud.datalabeling.v1beta1.Evaluation].EvaluationJobAlertConfig Provides details for how an evaluation job sends email alerts based on the results of a run.EvaluationJobAlertConfig.Builder Provides details for how an evaluation job sends email alerts based on the results of a run.EvaluationJobConfig Configures specific details of how a continuous evaluation job works.EvaluationJobConfig.Builder Configures specific details of how a continuous evaluation job works.EvaluationJobName EvaluationJobName.Builder Builder for projects/{project}/evaluationJobs/{evaluation_job}.EvaluationJobOuterClass EvaluationMetrics Protobuf typegoogle.cloud.datalabeling.v1beta1.EvaluationMetrics
EvaluationMetrics.Builder Protobuf typegoogle.cloud.datalabeling.v1beta1.EvaluationMetrics
EvaluationName EvaluationName.Builder Builder for projects/{project}/datasets/{dataset}/evaluations/{evaluation}.EvaluationOuterClass EventConfig Config for video event human labeling task.EventConfig.Builder Config for video event human labeling task.Example An Example is a piece of data and its annotation.Example.Builder An Example is a piece of data and its annotation.ExampleName ExampleName.Builder Builder for projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}/examples/{example}.ExportDataOperationMetadata Metadata of an ExportData operation.ExportDataOperationMetadata.Builder Metadata of an ExportData operation.ExportDataOperationResponse Response used for ExportDataset longrunning operation.ExportDataOperationResponse.Builder Response used for ExportDataset longrunning operation.ExportDataRequest Request message for ExportData API.ExportDataRequest.Builder Request message for ExportData API.GcsDestination Export destination of the data.Only gcs path is allowed in output_uri.GcsDestination.Builder Export destination of the data.Only gcs path is allowed in output_uri.GcsFolderDestination Export folder destination of the data.GcsFolderDestination.Builder Export folder destination of the data.GcsSource Source of the Cloud Storage file to be imported.GcsSource.Builder Source of the Cloud Storage file to be imported.GetAnnotatedDatasetRequest Request message for GetAnnotatedDataset.GetAnnotatedDatasetRequest.Builder Request message for GetAnnotatedDataset.GetAnnotationSpecSetRequest Request message for GetAnnotationSpecSet.GetAnnotationSpecSetRequest.Builder Request message for GetAnnotationSpecSet.GetDataItemRequest Request message for GetDataItem.GetDataItemRequest.Builder Request message for GetDataItem.GetDatasetRequest Request message for GetDataSet.GetDatasetRequest.Builder Request message for GetDataSet.GetEvaluationJobRequest Request message for GetEvaluationJob.GetEvaluationJobRequest.Builder Request message for GetEvaluationJob.GetEvaluationRequest Request message for GetEvaluation.GetEvaluationRequest.Builder Request message for GetEvaluation.GetExampleRequest Request message for GetExampleGetExampleRequest.Builder Request message for GetExampleGetInstructionRequest Request message for GetInstruction.GetInstructionRequest.Builder Request message for GetInstruction.HumanAnnotationConfig Configuration for how human labeling task should be done.HumanAnnotationConfig.Builder Configuration for how human labeling task should be done.HumanAnnotationConfigOuterClass ImageBoundingPolyAnnotation Image bounding poly annotation.ImageBoundingPolyAnnotation.Builder Image bounding poly annotation.ImageClassificationAnnotation Image classification annotation definition.ImageClassificationAnnotation.Builder Image classification annotation definition.ImageClassificationConfig Config for image classification human labeling task.ImageClassificationConfig.Builder Config for image classification human labeling task.ImagePayload Container of information about an image.ImagePayload.Builder Container of information about an image.ImagePolylineAnnotation A polyline for the image annotation.ImagePolylineAnnotation.Builder A polyline for the image annotation.ImageSegmentationAnnotation Image segmentation annotation.ImageSegmentationAnnotation.Builder Image segmentation annotation.ImportDataOperationMetadata Metadata of an ImportData operation.ImportDataOperationMetadata.Builder Metadata of an ImportData operation.ImportDataOperationResponse Response used for ImportData longrunning operation.ImportDataOperationResponse.Builder Response used for ImportData longrunning operation.ImportDataRequest Request message for ImportData API.ImportDataRequest.Builder Request message for ImportData API.InputConfig The configuration of input data, including data type, location, etc.InputConfig.Builder The configuration of input data, including data type, location, etc.Instruction Instruction of how to perform the labeling task for human operators.Instruction.Builder Instruction of how to perform the labeling task for human operators.InstructionName InstructionName.Builder Builder for projects/{project}/instructions/{instruction}.InstructionOuterClass LabelImageBoundingBoxOperationMetadata Details of a LabelImageBoundingBox operation metadata.LabelImageBoundingBoxOperationMetadata.Builder Details of a LabelImageBoundingBox operation metadata.LabelImageBoundingPolyOperationMetadata Details of LabelImageBoundingPoly operation metadata.LabelImageBoundingPolyOperationMetadata.Builder Details of LabelImageBoundingPoly operation metadata.LabelImageClassificationOperationMetadata Metadata of a LabelImageClassification operation.LabelImageClassificationOperationMetadata.Builder Metadata of a LabelImageClassification operation.LabelImageOrientedBoundingBoxOperationMetadata Details of a LabelImageOrientedBoundingBox operation metadata.LabelImageOrientedBoundingBoxOperationMetadata.Builder Details of a LabelImageOrientedBoundingBox operation metadata.LabelImagePolylineOperationMetadata Details of LabelImagePolyline operation metadata.LabelImagePolylineOperationMetadata.Builder Details of LabelImagePolyline operation metadata.LabelImageRequest Request message for starting an image labeling task.LabelImageRequest.Builder Request message for starting an image labeling task.LabelImageSegmentationOperationMetadata Details of a LabelImageSegmentation operation metadata.LabelImageSegmentationOperationMetadata.Builder Details of a LabelImageSegmentation operation metadata.LabelOperationMetadata Metadata of a labeling operation, such as LabelImage or LabelVideo.LabelOperationMetadata.Builder Metadata of a labeling operation, such as LabelImage or LabelVideo.LabelStats Statistics about annotation specs.LabelStats.Builder Statistics about annotation specs.LabelTextClassificationOperationMetadata Details of a LabelTextClassification operation metadata.LabelTextClassificationOperationMetadata.Builder Details of a LabelTextClassification operation metadata.LabelTextEntityExtractionOperationMetadata Details of a LabelTextEntityExtraction operation metadata.LabelTextEntityExtractionOperationMetadata.Builder Details of a LabelTextEntityExtraction operation metadata.LabelTextRequest Request message for LabelText.LabelTextRequest.Builder Request message for LabelText.LabelVideoClassificationOperationMetadata Details of a LabelVideoClassification operation metadata.LabelVideoClassificationOperationMetadata.Builder Details of a LabelVideoClassification operation metadata.LabelVideoEventOperationMetadata Details of a LabelVideoEvent operation metadata.LabelVideoEventOperationMetadata.Builder Details of a LabelVideoEvent operation metadata.LabelVideoObjectDetectionOperationMetadata Details of a LabelVideoObjectDetection operation metadata.LabelVideoObjectDetectionOperationMetadata.Builder Details of a LabelVideoObjectDetection operation metadata.LabelVideoObjectTrackingOperationMetadata Details of a LabelVideoObjectTracking operation metadata.LabelVideoObjectTrackingOperationMetadata.Builder Details of a LabelVideoObjectTracking operation metadata.LabelVideoRequest Request message for LabelVideo.LabelVideoRequest.Builder Request message for LabelVideo.ListAnnotatedDatasetsRequest Request message for ListAnnotatedDatasets.ListAnnotatedDatasetsRequest.Builder Request message for ListAnnotatedDatasets.ListAnnotatedDatasetsResponse Results of listing annotated datasets for a dataset.ListAnnotatedDatasetsResponse.Builder Results of listing annotated datasets for a dataset.ListAnnotationSpecSetsRequest Request message for ListAnnotationSpecSets.ListAnnotationSpecSetsRequest.Builder Request message for ListAnnotationSpecSets.ListAnnotationSpecSetsResponse Results of listing annotation spec set under a project.ListAnnotationSpecSetsResponse.Builder Results of listing annotation spec set under a project.ListDataItemsRequest Request message for ListDataItems.ListDataItemsRequest.Builder Request message for ListDataItems.ListDataItemsResponse Results of listing data items in a dataset.ListDataItemsResponse.Builder Results of listing data items in a dataset.ListDatasetsRequest Request message for ListDataset.ListDatasetsRequest.Builder Request message for ListDataset.ListDatasetsResponse Results of listing datasets within a project.ListDatasetsResponse.Builder Results of listing datasets within a project.ListEvaluationJobsRequest Request message for ListEvaluationJobs.ListEvaluationJobsRequest.Builder Request message for ListEvaluationJobs.ListEvaluationJobsResponse Results for listing evaluation jobs.ListEvaluationJobsResponse.Builder Results for listing evaluation jobs.ListExamplesRequest Request message for ListExamples.ListExamplesRequest.Builder Request message for ListExamples.ListExamplesResponse Results of listing Examples in and annotated dataset.ListExamplesResponse.Builder Results of listing Examples in and annotated dataset.ListInstructionsRequest Request message for ListInstructions.ListInstructionsRequest.Builder Request message for ListInstructions.ListInstructionsResponse Results of listing instructions under a project.ListInstructionsResponse.Builder Results of listing instructions under a project.NormalizedBoundingPoly Normalized bounding polygon.NormalizedBoundingPoly.Builder Normalized bounding polygon.NormalizedPolyline Normalized polyline.NormalizedPolyline.Builder Normalized polyline.NormalizedVertex A vertex represents a 2D point in the image.NormalizedVertex.Builder A vertex represents a 2D point in the image.ObjectDetectionConfig Config for video object detection human labeling task.ObjectDetectionConfig.Builder Config for video object detection human labeling task.ObjectDetectionMetrics Metrics calculated for an image object detection (bounding box) model.ObjectDetectionMetrics.Builder Metrics calculated for an image object detection (bounding box) model.ObjectTrackingConfig Config for video object tracking human labeling task.ObjectTrackingConfig.Builder Config for video object tracking human labeling task.ObjectTrackingFrame Video frame level annotation for object detection and tracking.ObjectTrackingFrame.Builder Video frame level annotation for object detection and tracking.Operations OperatorMetadata General information useful for labels coming from contributors.OperatorMetadata.Builder General information useful for labels coming from contributors.OutputConfig The configuration of output data.OutputConfig.Builder The configuration of output data.PauseEvaluationJobRequest Request message for PauseEvaluationJob.PauseEvaluationJobRequest.Builder Request message for PauseEvaluationJob.PdfInstruction Instruction from a PDF file.PdfInstruction.Builder Instruction from a PDF file.Polyline A line with multiple line segments.Polyline.Builder A line with multiple line segments.PolylineConfig Config for image polyline human labeling task.PolylineConfig.Builder Config for image polyline human labeling task.PrCurve Protobuf typegoogle.cloud.datalabeling.v1beta1.PrCurve
PrCurve.Builder Protobuf typegoogle.cloud.datalabeling.v1beta1.PrCurve
PrCurve.ConfidenceMetricsEntry Protobuf typegoogle.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry
PrCurve.ConfidenceMetricsEntry.Builder Protobuf typegoogle.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry
ProjectName ProjectName.Builder Builder for projects/{project}.ResumeEvaluationJobRequest Request message ResumeEvaluationJob.ResumeEvaluationJobRequest.Builder Request message ResumeEvaluationJob.SearchEvaluationsRequest Request message for SearchEvaluation.SearchEvaluationsRequest.Builder Request message for SearchEvaluation.SearchEvaluationsResponse Results of searching evaluations.SearchEvaluationsResponse.Builder Results of searching evaluations.SearchExampleComparisonsRequest Request message of SearchExampleComparisons.SearchExampleComparisonsRequest.Builder Request message of SearchExampleComparisons.SearchExampleComparisonsResponse Results of searching example comparisons.SearchExampleComparisonsResponse.Builder Results of searching example comparisons.SearchExampleComparisonsResponse.ExampleComparison Example comparisons comparing ground truth output and predictions for a specific input.SearchExampleComparisonsResponse.ExampleComparison.Builder Example comparisons comparing ground truth output and predictions for a specific input.SegmentationConfig Config for image segmentationSegmentationConfig.Builder Config for image segmentationSentimentConfig Config for setting up sentiments.SentimentConfig.Builder Config for setting up sentiments.SequentialSegment Start and end position in a sequence (e.g.SequentialSegment.Builder Start and end position in a sequence (e.g.TextClassificationAnnotation Text classification annotation.TextClassificationAnnotation.Builder Text classification annotation.TextClassificationConfig Config for text classification human labeling task.TextClassificationConfig.Builder Config for text classification human labeling task.TextEntityExtractionAnnotation Text entity extraction annotation.TextEntityExtractionAnnotation.Builder Text entity extraction annotation.TextEntityExtractionConfig Config for text entity extraction human labeling task.TextEntityExtractionConfig.Builder Config for text entity extraction human labeling task.TextMetadata Metadata for the text.TextMetadata.Builder Metadata for the text.TextPayload Container of information about a piece of text.TextPayload.Builder Container of information about a piece of text.TimeSegment A time period inside of an example that has a time dimension (e.g.TimeSegment.Builder A time period inside of an example that has a time dimension (e.g.UpdateEvaluationJobRequest Request message for UpdateEvaluationJob.UpdateEvaluationJobRequest.Builder Request message for UpdateEvaluationJob.Vertex A vertex represents a 2D point in the image.Vertex.Builder A vertex represents a 2D point in the image.VideoClassificationAnnotation Video classification annotation.VideoClassificationAnnotation.Builder Video classification annotation.VideoClassificationConfig Config for video classification human labeling task.VideoClassificationConfig.AnnotationSpecSetConfig Annotation spec set with the setting of allowing multi labels or not.VideoClassificationConfig.AnnotationSpecSetConfig.Builder Annotation spec set with the setting of allowing multi labels or not.VideoClassificationConfig.Builder Config for video classification human labeling task.VideoEventAnnotation Video event annotation.VideoEventAnnotation.Builder Video event annotation.VideoObjectTrackingAnnotation Video object tracking annotation.VideoObjectTrackingAnnotation.Builder Video object tracking annotation.VideoPayload Container of information of a video.VideoPayload.Builder Container of information of a video.VideoThumbnail Container of information of a video thumbnail.VideoThumbnail.Builder Container of information of a video thumbnail.