| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package datalabeling aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package datalabeling |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 31 |
const ( |
| 32 |
AnnotationSentiment_ANNOTATION_SENTIMENT_UNSPECIFIED = src.AnnotationSentiment_ANNOTATION_SENTIMENT_UNSPECIFIED |
| 33 |
AnnotationSentiment_NEGATIVE = src.AnnotationSentiment_NEGATIVE |
| 34 |
AnnotationSentiment_POSITIVE = src.AnnotationSentiment_POSITIVE |
| 35 |
AnnotationSource_ANNOTATION_SOURCE_UNSPECIFIED = src.AnnotationSource_ANNOTATION_SOURCE_UNSPECIFIED |
| 36 |
AnnotationSource_OPERATOR = src.AnnotationSource_OPERATOR |
| 37 |
AnnotationType_ANNOTATION_TYPE_UNSPECIFIED = src.AnnotationType_ANNOTATION_TYPE_UNSPECIFIED |
| 38 |
AnnotationType_GENERAL_CLASSIFICATION_ANNOTATION = src.AnnotationType_GENERAL_CLASSIFICATION_ANNOTATION |
| 39 |
AnnotationType_IMAGE_BOUNDING_BOX_ANNOTATION = src.AnnotationType_IMAGE_BOUNDING_BOX_ANNOTATION |
| 40 |
AnnotationType_IMAGE_BOUNDING_POLY_ANNOTATION = src.AnnotationType_IMAGE_BOUNDING_POLY_ANNOTATION |
| 41 |
AnnotationType_IMAGE_CLASSIFICATION_ANNOTATION = src.AnnotationType_IMAGE_CLASSIFICATION_ANNOTATION |
| 42 |
AnnotationType_IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION = src.AnnotationType_IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION |
| 43 |
AnnotationType_IMAGE_POLYLINE_ANNOTATION = src.AnnotationType_IMAGE_POLYLINE_ANNOTATION |
| 44 |
AnnotationType_IMAGE_SEGMENTATION_ANNOTATION = src.AnnotationType_IMAGE_SEGMENTATION_ANNOTATION |
| 45 |
AnnotationType_TEXT_CLASSIFICATION_ANNOTATION = src.AnnotationType_TEXT_CLASSIFICATION_ANNOTATION |
| 46 |
AnnotationType_TEXT_ENTITY_EXTRACTION_ANNOTATION = src.AnnotationType_TEXT_ENTITY_EXTRACTION_ANNOTATION |
| 47 |
AnnotationType_VIDEO_EVENT_ANNOTATION = src.AnnotationType_VIDEO_EVENT_ANNOTATION |
| 48 |
AnnotationType_VIDEO_OBJECT_DETECTION_ANNOTATION = src.AnnotationType_VIDEO_OBJECT_DETECTION_ANNOTATION |
| 49 |
AnnotationType_VIDEO_OBJECT_TRACKING_ANNOTATION = src.AnnotationType_VIDEO_OBJECT_TRACKING_ANNOTATION |
| 50 |
AnnotationType_VIDEO_SHOTS_CLASSIFICATION_ANNOTATION = src.AnnotationType_VIDEO_SHOTS_CLASSIFICATION_ANNOTATION |
| 51 |
DataType_DATA_TYPE_UNSPECIFIED = src.DataType_DATA_TYPE_UNSPECIFIED |
| 52 |
DataType_GENERAL_DATA = src.DataType_GENERAL_DATA |
| 53 |
DataType_IMAGE = src.DataType_IMAGE |
| 54 |
DataType_TEXT = src.DataType_TEXT |
| 55 |
DataType_VIDEO = src.DataType_VIDEO |
| 56 |
EvaluationJob_PAUSED = src.EvaluationJob_PAUSED |
| 57 |
EvaluationJob_RUNNING = src.EvaluationJob_RUNNING |
| 58 |
EvaluationJob_SCHEDULED = src.EvaluationJob_SCHEDULED |
| 59 |
EvaluationJob_STATE_UNSPECIFIED = src.EvaluationJob_STATE_UNSPECIFIED |
| 60 |
EvaluationJob_STOPPED = src.EvaluationJob_STOPPED |
| 61 |
LabelImageRequest_BOUNDING_BOX = src.LabelImageRequest_BOUNDING_BOX |
| 62 |
LabelImageRequest_BOUNDING_POLY = src.LabelImageRequest_BOUNDING_POLY |
| 63 |
LabelImageRequest_CLASSIFICATION = src.LabelImageRequest_CLASSIFICATION |
| 64 |
LabelImageRequest_FEATURE_UNSPECIFIED = src.LabelImageRequest_FEATURE_UNSPECIFIED |
| 65 |
LabelImageRequest_ORIENTED_BOUNDING_BOX = src.LabelImageRequest_ORIENTED_BOUNDING_BOX |
| 66 |
LabelImageRequest_POLYLINE = src.LabelImageRequest_POLYLINE |
| 67 |
LabelImageRequest_SEGMENTATION = src.LabelImageRequest_SEGMENTATION |
| 68 |
LabelTextRequest_FEATURE_UNSPECIFIED = src.LabelTextRequest_FEATURE_UNSPECIFIED |
| 69 |
LabelTextRequest_TEXT_CLASSIFICATION = src.LabelTextRequest_TEXT_CLASSIFICATION |
| 70 |
LabelTextRequest_TEXT_ENTITY_EXTRACTION = src.LabelTextRequest_TEXT_ENTITY_EXTRACTION |
| 71 |
LabelVideoRequest_CLASSIFICATION = src.LabelVideoRequest_CLASSIFICATION |
| 72 |
LabelVideoRequest_EVENT = src.LabelVideoRequest_EVENT |
| 73 |
LabelVideoRequest_FEATURE_UNSPECIFIED = src.LabelVideoRequest_FEATURE_UNSPECIFIED |
| 74 |
LabelVideoRequest_OBJECT_DETECTION = src.LabelVideoRequest_OBJECT_DETECTION |
| 75 |
LabelVideoRequest_OBJECT_TRACKING = src.LabelVideoRequest_OBJECT_TRACKING |
| 76 |
StringAggregationType_MAJORITY_VOTE = src.StringAggregationType_MAJORITY_VOTE |
| 77 |
StringAggregationType_NO_AGGREGATION = src.StringAggregationType_NO_AGGREGATION |
| 78 |
StringAggregationType_STRING_AGGREGATION_TYPE_UNSPECIFIED = src.StringAggregationType_STRING_AGGREGATION_TYPE_UNSPECIFIED |
| 79 |
StringAggregationType_UNANIMOUS_VOTE = src.StringAggregationType_UNANIMOUS_VOTE |
| 80 |
) |
| 81 |
|
| 82 |
// Deprecated: Please use vars in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 83 |
var ( |
| 84 |
AnnotationSentiment_name = src.AnnotationSentiment_name |
| 85 |
AnnotationSentiment_value = src.AnnotationSentiment_value |
| 86 |
AnnotationSource_name = src.AnnotationSource_name |
| 87 |
AnnotationSource_value = src.AnnotationSource_value |
| 88 |
AnnotationType_name = src.AnnotationType_name |
| 89 |
AnnotationType_value = src.AnnotationType_value |
| 90 |
DataType_name = src.DataType_name |
| 91 |
DataType_value = src.DataType_value |
| 92 |
EvaluationJob_State_name = src.EvaluationJob_State_name |
| 93 |
EvaluationJob_State_value = src.EvaluationJob_State_value |
| 94 |
File_google_cloud_datalabeling_v1beta1_annotation_proto = src.File_google_cloud_datalabeling_v1beta1_annotation_proto |
| 95 |
File_google_cloud_datalabeling_v1beta1_annotation_spec_set_proto = src.File_google_cloud_datalabeling_v1beta1_annotation_spec_set_proto |
| 96 |
File_google_cloud_datalabeling_v1beta1_data_labeling_service_proto = src.File_google_cloud_datalabeling_v1beta1_data_labeling_service_proto |
| 97 |
File_google_cloud_datalabeling_v1beta1_data_payloads_proto = src.File_google_cloud_datalabeling_v1beta1_data_payloads_proto |
| 98 |
File_google_cloud_datalabeling_v1beta1_dataset_proto = src.File_google_cloud_datalabeling_v1beta1_dataset_proto |
| 99 |
File_google_cloud_datalabeling_v1beta1_evaluation_job_proto = src.File_google_cloud_datalabeling_v1beta1_evaluation_job_proto |
| 100 |
File_google_cloud_datalabeling_v1beta1_evaluation_proto = src.File_google_cloud_datalabeling_v1beta1_evaluation_proto |
| 101 |
File_google_cloud_datalabeling_v1beta1_human_annotation_config_proto = src.File_google_cloud_datalabeling_v1beta1_human_annotation_config_proto |
| 102 |
File_google_cloud_datalabeling_v1beta1_instruction_proto = src.File_google_cloud_datalabeling_v1beta1_instruction_proto |
| 103 |
File_google_cloud_datalabeling_v1beta1_operations_proto = src.File_google_cloud_datalabeling_v1beta1_operations_proto |
| 104 |
LabelImageRequest_Feature_name = src.LabelImageRequest_Feature_name |
| 105 |
LabelImageRequest_Feature_value = src.LabelImageRequest_Feature_value |
| 106 |
LabelTextRequest_Feature_name = src.LabelTextRequest_Feature_name |
| 107 |
LabelTextRequest_Feature_value = src.LabelTextRequest_Feature_value |
| 108 |
LabelVideoRequest_Feature_name = src.LabelVideoRequest_Feature_name |
| 109 |
LabelVideoRequest_Feature_value = src.LabelVideoRequest_Feature_value |
| 110 |
StringAggregationType_name = src.StringAggregationType_name |
| 111 |
StringAggregationType_value = src.StringAggregationType_value |
| 112 |
) |
| 113 |
|
| 114 |
// AnnotatedDataset is a set holding annotations for data in a Dataset. Each |
| 115 |
// labeling task will generate an AnnotatedDataset under the Dataset that the |
| 116 |
// task is requested for. |
| 117 |
// |
| 118 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 119 |
type AnnotatedDataset = src.AnnotatedDataset |
| 120 |
|
| 121 |
// Metadata on AnnotatedDataset. |
| 122 |
// |
| 123 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 124 |
type AnnotatedDatasetMetadata = src.AnnotatedDatasetMetadata |
| 125 |
type AnnotatedDatasetMetadata_BoundingPolyConfig = src.AnnotatedDatasetMetadata_BoundingPolyConfig |
| 126 |
type AnnotatedDatasetMetadata_EventConfig = src.AnnotatedDatasetMetadata_EventConfig |
| 127 |
type AnnotatedDatasetMetadata_ImageClassificationConfig = src.AnnotatedDatasetMetadata_ImageClassificationConfig |
| 128 |
type AnnotatedDatasetMetadata_ObjectDetectionConfig = src.AnnotatedDatasetMetadata_ObjectDetectionConfig |
| 129 |
type AnnotatedDatasetMetadata_ObjectTrackingConfig = src.AnnotatedDatasetMetadata_ObjectTrackingConfig |
| 130 |
type AnnotatedDatasetMetadata_PolylineConfig = src.AnnotatedDatasetMetadata_PolylineConfig |
| 131 |
type AnnotatedDatasetMetadata_SegmentationConfig = src.AnnotatedDatasetMetadata_SegmentationConfig |
| 132 |
type AnnotatedDatasetMetadata_TextClassificationConfig = src.AnnotatedDatasetMetadata_TextClassificationConfig |
| 133 |
type AnnotatedDatasetMetadata_TextEntityExtractionConfig = src.AnnotatedDatasetMetadata_TextEntityExtractionConfig |
| 134 |
type AnnotatedDatasetMetadata_VideoClassificationConfig = src.AnnotatedDatasetMetadata_VideoClassificationConfig |
| 135 |
|
| 136 |
// Annotation for Example. Each example may have one or more annotations. For |
| 137 |
// example in image classification problem, each image might have one or more |
| 138 |
// labels. We call labels binded with this image an Annotation. |
| 139 |
// |
| 140 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 141 |
type Annotation = src.Annotation |
| 142 |
|
| 143 |
// Additional information associated with the annotation. |
| 144 |
// |
| 145 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 146 |
type AnnotationMetadata = src.AnnotationMetadata |
| 147 |
type AnnotationSentiment = src.AnnotationSentiment |
| 148 |
|
| 149 |
// Specifies where the annotation comes from (whether it was provided by a |
| 150 |
// human labeler or a different source). |
| 151 |
// |
| 152 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 153 |
type AnnotationSource = src.AnnotationSource |
| 154 |
|
| 155 |
// Container of information related to one possible annotation that can be |
| 156 |
// used in a labeling task. For example, an image classification task where |
| 157 |
// images are labeled as `dog` or `cat` must reference an AnnotationSpec for |
| 158 |
// `dog` and an AnnotationSpec for `cat`. |
| 159 |
// |
| 160 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 161 |
type AnnotationSpec = src.AnnotationSpec |
| 162 |
|
| 163 |
// An AnnotationSpecSet is a collection of label definitions. For example, in |
| 164 |
// image classification tasks, you define a set of possible labels for images |
| 165 |
// as an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation. |
| 166 |
// |
| 167 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 168 |
type AnnotationSpecSet = src.AnnotationSpecSet |
| 169 |
type AnnotationType = src.AnnotationType |
| 170 |
|
| 171 |
// Annotation value for an example. |
| 172 |
// |
| 173 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 174 |
type AnnotationValue = src.AnnotationValue |
| 175 |
type AnnotationValue_ImageBoundingPolyAnnotation = src.AnnotationValue_ImageBoundingPolyAnnotation |
| 176 |
type AnnotationValue_ImageClassificationAnnotation = src.AnnotationValue_ImageClassificationAnnotation |
| 177 |
type AnnotationValue_ImagePolylineAnnotation = src.AnnotationValue_ImagePolylineAnnotation |
| 178 |
type AnnotationValue_ImageSegmentationAnnotation = src.AnnotationValue_ImageSegmentationAnnotation |
| 179 |
type AnnotationValue_TextClassificationAnnotation = src.AnnotationValue_TextClassificationAnnotation |
| 180 |
type AnnotationValue_TextEntityExtractionAnnotation = src.AnnotationValue_TextEntityExtractionAnnotation |
| 181 |
type AnnotationValue_VideoClassificationAnnotation = src.AnnotationValue_VideoClassificationAnnotation |
| 182 |
type AnnotationValue_VideoEventAnnotation = src.AnnotationValue_VideoEventAnnotation |
| 183 |
type AnnotationValue_VideoObjectTrackingAnnotation = src.AnnotationValue_VideoObjectTrackingAnnotation |
| 184 |
|
| 185 |
// Records a failed evaluation job run. |
| 186 |
// |
| 187 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 188 |
type Attempt = src.Attempt |
| 189 |
|
| 190 |
// The BigQuery location for input data. If used in an |
| 191 |
// [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob], this is |
| 192 |
// where the service saves the prediction input and output sampled from the |
| 193 |
// model version. |
| 194 |
// |
| 195 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 196 |
type BigQuerySource = src.BigQuerySource |
| 197 |
|
| 198 |
// Options regarding evaluation between bounding boxes. |
| 199 |
// |
| 200 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 201 |
type BoundingBoxEvaluationOptions = src.BoundingBoxEvaluationOptions |
| 202 |
|
| 203 |
// A bounding polygon in the image. |
| 204 |
// |
| 205 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 206 |
type BoundingPoly = src.BoundingPoly |
| 207 |
|
| 208 |
// Config for image bounding poly (and bounding box) human labeling task. |
| 209 |
// |
| 210 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 211 |
type BoundingPolyConfig = src.BoundingPolyConfig |
| 212 |
|
| 213 |
// Metadata for classification annotations. |
| 214 |
// |
| 215 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 216 |
type ClassificationMetadata = src.ClassificationMetadata |
| 217 |
|
| 218 |
// Metrics calculated for a classification model. |
| 219 |
// |
| 220 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 221 |
type ClassificationMetrics = src.ClassificationMetrics |
| 222 |
|
| 223 |
// Confusion matrix of the model running the classification. Only applicable |
| 224 |
// when the metrics entry aggregates multiple labels. Not applicable when the |
| 225 |
// entry is for a single label. |
| 226 |
// |
| 227 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 228 |
type ConfusionMatrix = src.ConfusionMatrix |
| 229 |
type ConfusionMatrix_ConfusionMatrixEntry = src.ConfusionMatrix_ConfusionMatrixEntry |
| 230 |
|
| 231 |
// A row in the confusion matrix. Each entry in this row has the same ground |
| 232 |
// truth label. |
| 233 |
// |
| 234 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 235 |
type ConfusionMatrix_Row = src.ConfusionMatrix_Row |
| 236 |
|
| 237 |
// Request message for CreateAnnotationSpecSet. |
| 238 |
// |
| 239 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 240 |
type CreateAnnotationSpecSetRequest = src.CreateAnnotationSpecSetRequest |
| 241 |
|
| 242 |
// Request message for CreateDataset. |
| 243 |
// |
| 244 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 245 |
type CreateDatasetRequest = src.CreateDatasetRequest |
| 246 |
|
| 247 |
// Request message for CreateEvaluationJob. |
| 248 |
// |
| 249 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 250 |
type CreateEvaluationJobRequest = src.CreateEvaluationJobRequest |
| 251 |
|
| 252 |
// Metadata of a CreateInstruction operation. |
| 253 |
// |
| 254 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 255 |
type CreateInstructionMetadata = src.CreateInstructionMetadata |
| 256 |
|
| 257 |
// Request message for CreateInstruction. |
| 258 |
// |
| 259 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 260 |
type CreateInstructionRequest = src.CreateInstructionRequest |
| 261 |
|
| 262 |
// Deprecated: this instruction format is not supported any more. Instruction |
| 263 |
// from a CSV file. |
| 264 |
// |
| 265 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 266 |
type CsvInstruction = src.CsvInstruction |
| 267 |
|
| 268 |
// DataItem is a piece of data, without annotation. For example, an image. |
| 269 |
// |
| 270 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 271 |
type DataItem = src.DataItem |
| 272 |
type DataItem_ImagePayload = src.DataItem_ImagePayload |
| 273 |
type DataItem_TextPayload = src.DataItem_TextPayload |
| 274 |
type DataItem_VideoPayload = src.DataItem_VideoPayload |
| 275 |
|
| 276 |
// DataLabelingServiceClient is the client API for DataLabelingService |
| 277 |
// service. For semantics around ctx use and closing/ending streaming RPCs, |
| 278 |
// please refer to |
| 279 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 280 |
// |
| 281 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 282 |
type DataLabelingServiceClient = src.DataLabelingServiceClient |
| 283 |
|
| 284 |
// DataLabelingServiceServer is the server API for DataLabelingService |
| 285 |
// service. |
| 286 |
// |
| 287 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 288 |
type DataLabelingServiceServer = src.DataLabelingServiceServer |
| 289 |
type DataType = src.DataType |
| 290 |
|
| 291 |
// Dataset is the resource to hold your data. You can request multiple |
| 292 |
// labeling tasks for a dataset while each one will generate an |
| 293 |
// AnnotatedDataset. |
| 294 |
// |
| 295 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 296 |
type Dataset = src.Dataset |
| 297 |
|
| 298 |
// Request message for DeleteAnnotatedDataset. |
| 299 |
// |
| 300 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 301 |
type DeleteAnnotatedDatasetRequest = src.DeleteAnnotatedDatasetRequest |
| 302 |
|
| 303 |
// Request message for DeleteAnnotationSpecSet. |
| 304 |
// |
| 305 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 306 |
type DeleteAnnotationSpecSetRequest = src.DeleteAnnotationSpecSetRequest |
| 307 |
|
| 308 |
// Request message for DeleteDataset. |
| 309 |
// |
| 310 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 311 |
type DeleteDatasetRequest = src.DeleteDatasetRequest |
| 312 |
|
| 313 |
// Request message DeleteEvaluationJob. |
| 314 |
// |
| 315 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 316 |
type DeleteEvaluationJobRequest = src.DeleteEvaluationJobRequest |
| 317 |
|
| 318 |
// Request message for DeleteInstruction. |
| 319 |
// |
| 320 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 321 |
type DeleteInstructionRequest = src.DeleteInstructionRequest |
| 322 |
|
| 323 |
// Describes an evaluation between a machine learning model's predictions and |
| 324 |
// ground truth labels. Created when an |
| 325 |
// [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob] runs |
| 326 |
// successfully. |
| 327 |
// |
| 328 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 329 |
type Evaluation = src.Evaluation |
| 330 |
|
| 331 |
// Configuration details used for calculating evaluation metrics and creating |
| 332 |
// an [Evaluation][google.cloud.datalabeling.v1beta1.Evaluation]. |
| 333 |
// |
| 334 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 335 |
type EvaluationConfig = src.EvaluationConfig |
| 336 |
type EvaluationConfig_BoundingBoxEvaluationOptions = src.EvaluationConfig_BoundingBoxEvaluationOptions |
| 337 |
|
| 338 |
// Defines an evaluation job that runs periodically to generate |
| 339 |
// [Evaluations][google.cloud.datalabeling.v1beta1.Evaluation]. [Creating an |
| 340 |
// evaluation job](/ml-engine/docs/continuous-evaluation/create-job) is the |
| 341 |
// starting point for using continuous evaluation. |
| 342 |
// |
| 343 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 344 |
type EvaluationJob = src.EvaluationJob |
| 345 |
|
| 346 |
// Provides details for how an evaluation job sends email alerts based on the |
| 347 |
// results of a run. |
| 348 |
// |
| 349 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 350 |
type EvaluationJobAlertConfig = src.EvaluationJobAlertConfig |
| 351 |
|
| 352 |
// Configures specific details of how a continuous evaluation job works. |
| 353 |
// Provide this configuration when you create an EvaluationJob. |
| 354 |
// |
| 355 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 356 |
type EvaluationJobConfig = src.EvaluationJobConfig |
| 357 |
type EvaluationJobConfig_BoundingPolyConfig = src.EvaluationJobConfig_BoundingPolyConfig |
| 358 |
type EvaluationJobConfig_ImageClassificationConfig = src.EvaluationJobConfig_ImageClassificationConfig |
| 359 |
type EvaluationJobConfig_TextClassificationConfig = src.EvaluationJobConfig_TextClassificationConfig |
| 360 |
|
| 361 |
// State of the job. |
| 362 |
// |
| 363 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 364 |
type EvaluationJob_State = src.EvaluationJob_State |
| 365 |
type EvaluationMetrics = src.EvaluationMetrics |
| 366 |
type EvaluationMetrics_ClassificationMetrics = src.EvaluationMetrics_ClassificationMetrics |
| 367 |
type EvaluationMetrics_ObjectDetectionMetrics = src.EvaluationMetrics_ObjectDetectionMetrics |
| 368 |
|
| 369 |
// Config for video event human labeling task. |
| 370 |
// |
| 371 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 372 |
type EventConfig = src.EventConfig |
| 373 |
|
| 374 |
// An Example is a piece of data and its annotation. For example, an image |
| 375 |
// with label "house". |
| 376 |
// |
| 377 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 378 |
type Example = src.Example |
| 379 |
type Example_ImagePayload = src.Example_ImagePayload |
| 380 |
type Example_TextPayload = src.Example_TextPayload |
| 381 |
type Example_VideoPayload = src.Example_VideoPayload |
| 382 |
|
| 383 |
// Metadata of an ExportData operation. |
| 384 |
// |
| 385 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 386 |
type ExportDataOperationMetadata = src.ExportDataOperationMetadata |
| 387 |
|
| 388 |
// Response used for ExportDataset longrunning operation. |
| 389 |
// |
| 390 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 391 |
type ExportDataOperationResponse = src.ExportDataOperationResponse |
| 392 |
|
| 393 |
// Request message for ExportData API. |
| 394 |
// |
| 395 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 396 |
type ExportDataRequest = src.ExportDataRequest |
| 397 |
|
| 398 |
// Export destination of the data.Only gcs path is allowed in output_uri. |
| 399 |
// |
| 400 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 401 |
type GcsDestination = src.GcsDestination |
| 402 |
|
| 403 |
// Export folder destination of the data. |
| 404 |
// |
| 405 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 406 |
type GcsFolderDestination = src.GcsFolderDestination |
| 407 |
|
| 408 |
// Source of the Cloud Storage file to be imported. |
| 409 |
// |
| 410 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 411 |
type GcsSource = src.GcsSource |
| 412 |
|
| 413 |
// Request message for GetAnnotatedDataset. |
| 414 |
// |
| 415 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 416 |
type GetAnnotatedDatasetRequest = src.GetAnnotatedDatasetRequest |
| 417 |
|
| 418 |
// Request message for GetAnnotationSpecSet. |
| 419 |
// |
| 420 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 421 |
type GetAnnotationSpecSetRequest = src.GetAnnotationSpecSetRequest |
| 422 |
|
| 423 |
// Request message for GetDataItem. |
| 424 |
// |
| 425 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 426 |
type GetDataItemRequest = src.GetDataItemRequest |
| 427 |
|
| 428 |
// Request message for GetDataSet. |
| 429 |
// |
| 430 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 431 |
type GetDatasetRequest = src.GetDatasetRequest |
| 432 |
|
| 433 |
// Request message for GetEvaluationJob. |
| 434 |
// |
| 435 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 436 |
type GetEvaluationJobRequest = src.GetEvaluationJobRequest |
| 437 |
|
| 438 |
// Request message for GetEvaluation. |
| 439 |
// |
| 440 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 441 |
type GetEvaluationRequest = src.GetEvaluationRequest |
| 442 |
|
| 443 |
// Request message for GetExample |
| 444 |
// |
| 445 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 446 |
type GetExampleRequest = src.GetExampleRequest |
| 447 |
|
| 448 |
// Request message for GetInstruction. |
| 449 |
// |
| 450 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 451 |
type GetInstructionRequest = src.GetInstructionRequest |
| 452 |
|
| 453 |
// Configuration for how human labeling task should be done. |
| 454 |
// |
| 455 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 456 |
type HumanAnnotationConfig = src.HumanAnnotationConfig |
| 457 |
|
| 458 |
// Image bounding poly annotation. It represents a polygon including bounding |
| 459 |
// box in the image. |
| 460 |
// |
| 461 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 462 |
type ImageBoundingPolyAnnotation = src.ImageBoundingPolyAnnotation |
| 463 |
type ImageBoundingPolyAnnotation_BoundingPoly = src.ImageBoundingPolyAnnotation_BoundingPoly |
| 464 |
type ImageBoundingPolyAnnotation_NormalizedBoundingPoly = src.ImageBoundingPolyAnnotation_NormalizedBoundingPoly |
| 465 |
|
| 466 |
// Image classification annotation definition. |
| 467 |
// |
| 468 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 469 |
type ImageClassificationAnnotation = src.ImageClassificationAnnotation |
| 470 |
|
| 471 |
// Config for image classification human labeling task. |
| 472 |
// |
| 473 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 474 |
type ImageClassificationConfig = src.ImageClassificationConfig |
| 475 |
|
| 476 |
// Container of information about an image. |
| 477 |
// |
| 478 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 479 |
type ImagePayload = src.ImagePayload |
| 480 |
|
| 481 |
// A polyline for the image annotation. |
| 482 |
// |
| 483 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 484 |
type ImagePolylineAnnotation = src.ImagePolylineAnnotation |
| 485 |
type ImagePolylineAnnotation_NormalizedPolyline = src.ImagePolylineAnnotation_NormalizedPolyline |
| 486 |
type ImagePolylineAnnotation_Polyline = src.ImagePolylineAnnotation_Polyline |
| 487 |
|
| 488 |
// Image segmentation annotation. |
| 489 |
// |
| 490 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 491 |
type ImageSegmentationAnnotation = src.ImageSegmentationAnnotation |
| 492 |
|
| 493 |
// Metadata of an ImportData operation. |
| 494 |
// |
| 495 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 496 |
type ImportDataOperationMetadata = src.ImportDataOperationMetadata |
| 497 |
|
| 498 |
// Response used for ImportData longrunning operation. |
| 499 |
// |
| 500 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 501 |
type ImportDataOperationResponse = src.ImportDataOperationResponse |
| 502 |
|
| 503 |
// Request message for ImportData API. |
| 504 |
// |
| 505 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 506 |
type ImportDataRequest = src.ImportDataRequest |
| 507 |
|
| 508 |
// The configuration of input data, including data type, location, etc. |
| 509 |
// |
| 510 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 511 |
type InputConfig = src.InputConfig |
| 512 |
type InputConfig_BigquerySource = src.InputConfig_BigquerySource |
| 513 |
type InputConfig_GcsSource = src.InputConfig_GcsSource |
| 514 |
type InputConfig_TextMetadata = src.InputConfig_TextMetadata |
| 515 |
|
| 516 |
// Instruction of how to perform the labeling task for human operators. |
| 517 |
// Currently only PDF instruction is supported. |
| 518 |
// |
| 519 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 520 |
type Instruction = src.Instruction |
| 521 |
|
| 522 |
// Details of a LabelImageBoundingBox operation metadata. |
| 523 |
// |
| 524 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 525 |
type LabelImageBoundingBoxOperationMetadata = src.LabelImageBoundingBoxOperationMetadata |
| 526 |
|
| 527 |
// Details of LabelImageBoundingPoly operation metadata. |
| 528 |
// |
| 529 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 530 |
type LabelImageBoundingPolyOperationMetadata = src.LabelImageBoundingPolyOperationMetadata |
| 531 |
|
| 532 |
// Metadata of a LabelImageClassification operation. |
| 533 |
// |
| 534 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 535 |
type LabelImageClassificationOperationMetadata = src.LabelImageClassificationOperationMetadata |
| 536 |
|
| 537 |
// Details of a LabelImageOrientedBoundingBox operation metadata. |
| 538 |
// |
| 539 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 540 |
type LabelImageOrientedBoundingBoxOperationMetadata = src.LabelImageOrientedBoundingBoxOperationMetadata |
| 541 |
|
| 542 |
// Details of LabelImagePolyline operation metadata. |
| 543 |
// |
| 544 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 545 |
type LabelImagePolylineOperationMetadata = src.LabelImagePolylineOperationMetadata |
| 546 |
|
| 547 |
// Request message for starting an image labeling task. |
| 548 |
// |
| 549 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 550 |
type LabelImageRequest = src.LabelImageRequest |
| 551 |
type LabelImageRequest_BoundingPolyConfig = src.LabelImageRequest_BoundingPolyConfig |
| 552 |
|
| 553 |
// Image labeling task feature. |
| 554 |
// |
| 555 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 556 |
type LabelImageRequest_Feature = src.LabelImageRequest_Feature |
| 557 |
type LabelImageRequest_ImageClassificationConfig = src.LabelImageRequest_ImageClassificationConfig |
| 558 |
type LabelImageRequest_PolylineConfig = src.LabelImageRequest_PolylineConfig |
| 559 |
type LabelImageRequest_SegmentationConfig = src.LabelImageRequest_SegmentationConfig |
| 560 |
|
| 561 |
// Details of a LabelImageSegmentation operation metadata. |
| 562 |
// |
| 563 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 564 |
type LabelImageSegmentationOperationMetadata = src.LabelImageSegmentationOperationMetadata |
| 565 |
|
| 566 |
// Metadata of a labeling operation, such as LabelImage or LabelVideo. Next |
| 567 |
// tag: 20 |
| 568 |
// |
| 569 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 570 |
type LabelOperationMetadata = src.LabelOperationMetadata |
| 571 |
type LabelOperationMetadata_ImageBoundingBoxDetails = src.LabelOperationMetadata_ImageBoundingBoxDetails |
| 572 |
type LabelOperationMetadata_ImageBoundingPolyDetails = src.LabelOperationMetadata_ImageBoundingPolyDetails |
| 573 |
type LabelOperationMetadata_ImageClassificationDetails = src.LabelOperationMetadata_ImageClassificationDetails |
| 574 |
type LabelOperationMetadata_ImageOrientedBoundingBoxDetails = src.LabelOperationMetadata_ImageOrientedBoundingBoxDetails |
| 575 |
type LabelOperationMetadata_ImagePolylineDetails = src.LabelOperationMetadata_ImagePolylineDetails |
| 576 |
type LabelOperationMetadata_ImageSegmentationDetails = src.LabelOperationMetadata_ImageSegmentationDetails |
| 577 |
type LabelOperationMetadata_TextClassificationDetails = src.LabelOperationMetadata_TextClassificationDetails |
| 578 |
type LabelOperationMetadata_TextEntityExtractionDetails = src.LabelOperationMetadata_TextEntityExtractionDetails |
| 579 |
type LabelOperationMetadata_VideoClassificationDetails = src.LabelOperationMetadata_VideoClassificationDetails |
| 580 |
type LabelOperationMetadata_VideoEventDetails = src.LabelOperationMetadata_VideoEventDetails |
| 581 |
type LabelOperationMetadata_VideoObjectDetectionDetails = src.LabelOperationMetadata_VideoObjectDetectionDetails |
| 582 |
type LabelOperationMetadata_VideoObjectTrackingDetails = src.LabelOperationMetadata_VideoObjectTrackingDetails |
| 583 |
|
| 584 |
// Statistics about annotation specs. |
| 585 |
// |
| 586 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 587 |
type LabelStats = src.LabelStats |
| 588 |
|
| 589 |
// Details of a LabelTextClassification operation metadata. |
| 590 |
// |
| 591 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 592 |
type LabelTextClassificationOperationMetadata = src.LabelTextClassificationOperationMetadata |
| 593 |
|
| 594 |
// Details of a LabelTextEntityExtraction operation metadata. |
| 595 |
// |
| 596 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 597 |
type LabelTextEntityExtractionOperationMetadata = src.LabelTextEntityExtractionOperationMetadata |
| 598 |
|
| 599 |
// Request message for LabelText. |
| 600 |
// |
| 601 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 602 |
type LabelTextRequest = src.LabelTextRequest |
| 603 |
|
| 604 |
// Text labeling task feature. |
| 605 |
// |
| 606 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 607 |
type LabelTextRequest_Feature = src.LabelTextRequest_Feature |
| 608 |
type LabelTextRequest_TextClassificationConfig = src.LabelTextRequest_TextClassificationConfig |
| 609 |
type LabelTextRequest_TextEntityExtractionConfig = src.LabelTextRequest_TextEntityExtractionConfig |
| 610 |
|
| 611 |
// Details of a LabelVideoClassification operation metadata. |
| 612 |
// |
| 613 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 614 |
type LabelVideoClassificationOperationMetadata = src.LabelVideoClassificationOperationMetadata |
| 615 |
|
| 616 |
// Details of a LabelVideoEvent operation metadata. |
| 617 |
// |
| 618 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 619 |
type LabelVideoEventOperationMetadata = src.LabelVideoEventOperationMetadata |
| 620 |
|
| 621 |
// Details of a LabelVideoObjectDetection operation metadata. |
| 622 |
// |
| 623 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 624 |
type LabelVideoObjectDetectionOperationMetadata = src.LabelVideoObjectDetectionOperationMetadata |
| 625 |
|
| 626 |
// Details of a LabelVideoObjectTracking operation metadata. |
| 627 |
// |
| 628 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 629 |
type LabelVideoObjectTrackingOperationMetadata = src.LabelVideoObjectTrackingOperationMetadata |
| 630 |
|
| 631 |
// Request message for LabelVideo. |
| 632 |
// |
| 633 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 634 |
type LabelVideoRequest = src.LabelVideoRequest |
| 635 |
type LabelVideoRequest_EventConfig = src.LabelVideoRequest_EventConfig |
| 636 |
|
| 637 |
// Video labeling task feature. |
| 638 |
// |
| 639 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 640 |
type LabelVideoRequest_Feature = src.LabelVideoRequest_Feature |
| 641 |
type LabelVideoRequest_ObjectDetectionConfig = src.LabelVideoRequest_ObjectDetectionConfig |
| 642 |
type LabelVideoRequest_ObjectTrackingConfig = src.LabelVideoRequest_ObjectTrackingConfig |
| 643 |
type LabelVideoRequest_VideoClassificationConfig = src.LabelVideoRequest_VideoClassificationConfig |
| 644 |
|
| 645 |
// Request message for ListAnnotatedDatasets. |
| 646 |
// |
| 647 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 648 |
type ListAnnotatedDatasetsRequest = src.ListAnnotatedDatasetsRequest |
| 649 |
|
| 650 |
// Results of listing annotated datasets for a dataset. |
| 651 |
// |
| 652 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 653 |
type ListAnnotatedDatasetsResponse = src.ListAnnotatedDatasetsResponse |
| 654 |
|
| 655 |
// Request message for ListAnnotationSpecSets. |
| 656 |
// |
| 657 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 658 |
type ListAnnotationSpecSetsRequest = src.ListAnnotationSpecSetsRequest |
| 659 |
|
| 660 |
// Results of listing annotation spec set under a project. |
| 661 |
// |
| 662 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 663 |
type ListAnnotationSpecSetsResponse = src.ListAnnotationSpecSetsResponse |
| 664 |
|
| 665 |
// Request message for ListDataItems. |
| 666 |
// |
| 667 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 668 |
type ListDataItemsRequest = src.ListDataItemsRequest |
| 669 |
|
| 670 |
// Results of listing data items in a dataset. |
| 671 |
// |
| 672 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 673 |
type ListDataItemsResponse = src.ListDataItemsResponse |
| 674 |
|
| 675 |
// Request message for ListDataset. |
| 676 |
// |
| 677 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 678 |
type ListDatasetsRequest = src.ListDatasetsRequest |
| 679 |
|
| 680 |
// Results of listing datasets within a project. |
| 681 |
// |
| 682 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 683 |
type ListDatasetsResponse = src.ListDatasetsResponse |
| 684 |
|
| 685 |
// Request message for ListEvaluationJobs. |
| 686 |
// |
| 687 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 688 |
type ListEvaluationJobsRequest = src.ListEvaluationJobsRequest |
| 689 |
|
| 690 |
// Results for listing evaluation jobs. |
| 691 |
// |
| 692 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 693 |
type ListEvaluationJobsResponse = src.ListEvaluationJobsResponse |
| 694 |
|
| 695 |
// Request message for ListExamples. |
| 696 |
// |
| 697 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 698 |
type ListExamplesRequest = src.ListExamplesRequest |
| 699 |
|
| 700 |
// Results of listing Examples in and annotated dataset. |
| 701 |
// |
| 702 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 703 |
type ListExamplesResponse = src.ListExamplesResponse |
| 704 |
|
| 705 |
// Request message for ListInstructions. |
| 706 |
// |
| 707 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 708 |
type ListInstructionsRequest = src.ListInstructionsRequest |
| 709 |
|
| 710 |
// Results of listing instructions under a project. |
| 711 |
// |
| 712 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 713 |
type ListInstructionsResponse = src.ListInstructionsResponse |
| 714 |
|
| 715 |
// Normalized bounding polygon. |
| 716 |
// |
| 717 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 718 |
type NormalizedBoundingPoly = src.NormalizedBoundingPoly |
| 719 |
|
| 720 |
// Normalized polyline. |
| 721 |
// |
| 722 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 723 |
type NormalizedPolyline = src.NormalizedPolyline |
| 724 |
|
| 725 |
// A vertex represents a 2D point in the image. NOTE: the normalized vertex |
| 726 |
// coordinates are relative to the original image and range from 0 to 1. |
| 727 |
// |
| 728 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 729 |
type NormalizedVertex = src.NormalizedVertex |
| 730 |
|
| 731 |
// Config for video object detection human labeling task. Object detection |
| 732 |
// will be conducted on the images extracted from the video, and those objects |
| 733 |
// will be labeled with bounding boxes. User need to specify the number of |
| 734 |
// images to be extracted per second as the extraction frame rate. |
| 735 |
// |
| 736 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 737 |
type ObjectDetectionConfig = src.ObjectDetectionConfig |
| 738 |
|
| 739 |
// Metrics calculated for an image object detection (bounding box) model. |
| 740 |
// |
| 741 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 742 |
type ObjectDetectionMetrics = src.ObjectDetectionMetrics |
| 743 |
|
| 744 |
// Config for video object tracking human labeling task. |
| 745 |
// |
| 746 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 747 |
type ObjectTrackingConfig = src.ObjectTrackingConfig |
| 748 |
|
| 749 |
// Video frame level annotation for object detection and tracking. |
| 750 |
// |
| 751 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 752 |
type ObjectTrackingFrame = src.ObjectTrackingFrame |
| 753 |
type ObjectTrackingFrame_BoundingPoly = src.ObjectTrackingFrame_BoundingPoly |
| 754 |
type ObjectTrackingFrame_NormalizedBoundingPoly = src.ObjectTrackingFrame_NormalizedBoundingPoly |
| 755 |
|
| 756 |
// General information useful for labels coming from contributors. |
| 757 |
// |
| 758 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 759 |
type OperatorMetadata = src.OperatorMetadata |
| 760 |
|
| 761 |
// The configuration of output data. |
| 762 |
// |
| 763 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 764 |
type OutputConfig = src.OutputConfig |
| 765 |
type OutputConfig_GcsDestination = src.OutputConfig_GcsDestination |
| 766 |
type OutputConfig_GcsFolderDestination = src.OutputConfig_GcsFolderDestination |
| 767 |
|
| 768 |
// Request message for PauseEvaluationJob. |
| 769 |
// |
| 770 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 771 |
type PauseEvaluationJobRequest = src.PauseEvaluationJobRequest |
| 772 |
|
| 773 |
// Instruction from a PDF file. |
| 774 |
// |
| 775 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 776 |
type PdfInstruction = src.PdfInstruction |
| 777 |
|
| 778 |
// A line with multiple line segments. |
| 779 |
// |
| 780 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 781 |
type Polyline = src.Polyline |
| 782 |
|
| 783 |
// Config for image polyline human labeling task. |
| 784 |
// |
| 785 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 786 |
type PolylineConfig = src.PolylineConfig |
| 787 |
type PrCurve = src.PrCurve |
| 788 |
type PrCurve_ConfidenceMetricsEntry = src.PrCurve_ConfidenceMetricsEntry |
| 789 |
|
| 790 |
// Request message ResumeEvaluationJob. |
| 791 |
// |
| 792 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 793 |
type ResumeEvaluationJobRequest = src.ResumeEvaluationJobRequest |
| 794 |
|
| 795 |
// Request message for SearchEvaluation. |
| 796 |
// |
| 797 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 798 |
type SearchEvaluationsRequest = src.SearchEvaluationsRequest |
| 799 |
|
| 800 |
// Results of searching evaluations. |
| 801 |
// |
| 802 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 803 |
type SearchEvaluationsResponse = src.SearchEvaluationsResponse |
| 804 |
|
| 805 |
// Request message of SearchExampleComparisons. |
| 806 |
// |
| 807 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 808 |
type SearchExampleComparisonsRequest = src.SearchExampleComparisonsRequest |
| 809 |
|
| 810 |
// Results of searching example comparisons. |
| 811 |
// |
| 812 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 813 |
type SearchExampleComparisonsResponse = src.SearchExampleComparisonsResponse |
| 814 |
|
| 815 |
// Example comparisons comparing ground truth output and predictions for a |
| 816 |
// specific input. |
| 817 |
// |
| 818 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 819 |
type SearchExampleComparisonsResponse_ExampleComparison = src.SearchExampleComparisonsResponse_ExampleComparison |
| 820 |
|
| 821 |
// Config for image segmentation |
| 822 |
// |
| 823 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 824 |
type SegmentationConfig = src.SegmentationConfig |
| 825 |
|
| 826 |
// Config for setting up sentiments. |
| 827 |
// |
| 828 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 829 |
type SentimentConfig = src.SentimentConfig |
| 830 |
|
| 831 |
// Start and end position in a sequence (e.g. text segment). |
| 832 |
// |
| 833 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 834 |
type SequentialSegment = src.SequentialSegment |
| 835 |
type StringAggregationType = src.StringAggregationType |
| 836 |
|
| 837 |
// Text classification annotation. |
| 838 |
// |
| 839 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 840 |
type TextClassificationAnnotation = src.TextClassificationAnnotation |
| 841 |
|
| 842 |
// Config for text classification human labeling task. |
| 843 |
// |
| 844 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 845 |
type TextClassificationConfig = src.TextClassificationConfig |
| 846 |
|
| 847 |
// Text entity extraction annotation. |
| 848 |
// |
| 849 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 850 |
type TextEntityExtractionAnnotation = src.TextEntityExtractionAnnotation |
| 851 |
|
| 852 |
// Config for text entity extraction human labeling task. |
| 853 |
// |
| 854 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 855 |
type TextEntityExtractionConfig = src.TextEntityExtractionConfig |
| 856 |
|
| 857 |
// Metadata for the text. |
| 858 |
// |
| 859 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 860 |
type TextMetadata = src.TextMetadata |
| 861 |
|
| 862 |
// Container of information about a piece of text. |
| 863 |
// |
| 864 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 865 |
type TextPayload = src.TextPayload |
| 866 |
|
| 867 |
// A time period inside of an example that has a time dimension (e.g. video). |
| 868 |
// |
| 869 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 870 |
type TimeSegment = src.TimeSegment |
| 871 |
|
| 872 |
// UnimplementedDataLabelingServiceServer can be embedded to have forward |
| 873 |
// compatible implementations. |
| 874 |
// |
| 875 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 876 |
type UnimplementedDataLabelingServiceServer = src.UnimplementedDataLabelingServiceServer |
| 877 |
|
| 878 |
// Request message for UpdateEvaluationJob. |
| 879 |
// |
| 880 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 881 |
type UpdateEvaluationJobRequest = src.UpdateEvaluationJobRequest |
| 882 |
|
| 883 |
// A vertex represents a 2D point in the image. NOTE: the vertex coordinates |
| 884 |
// are in the same scale as the original image. |
| 885 |
// |
| 886 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 887 |
type Vertex = src.Vertex |
| 888 |
|
| 889 |
// Video classification annotation. |
| 890 |
// |
| 891 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 892 |
type VideoClassificationAnnotation = src.VideoClassificationAnnotation |
| 893 |
|
| 894 |
// Config for video classification human labeling task. Currently two types of |
| 895 |
// video classification are supported: 1. Assign labels on the entire video. 2. |
| 896 |
// Split the video into multiple video clips based on camera shot, and assign |
| 897 |
// labels on each video clip. |
| 898 |
// |
| 899 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 900 |
type VideoClassificationConfig = src.VideoClassificationConfig |
| 901 |
|
| 902 |
// Annotation spec set with the setting of allowing multi labels or not. |
| 903 |
// |
| 904 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 905 |
type VideoClassificationConfig_AnnotationSpecSetConfig = src.VideoClassificationConfig_AnnotationSpecSetConfig |
| 906 |
|
| 907 |
// Video event annotation. |
| 908 |
// |
| 909 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 910 |
type VideoEventAnnotation = src.VideoEventAnnotation |
| 911 |
|
| 912 |
// Video object tracking annotation. |
| 913 |
// |
| 914 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 915 |
type VideoObjectTrackingAnnotation = src.VideoObjectTrackingAnnotation |
| 916 |
|
| 917 |
// Container of information of a video. |
| 918 |
// |
| 919 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 920 |
type VideoPayload = src.VideoPayload |
| 921 |
|
| 922 |
// Container of information of a video thumbnail. |
| 923 |
// |
| 924 |
// Deprecated: Please use types in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 925 |
type VideoThumbnail = src.VideoThumbnail |
| 926 |
|
| 927 |
// Deprecated: Please use funcs in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 928 |
func NewDataLabelingServiceClient(cc grpc.ClientConnInterface) DataLabelingServiceClient { |
| 929 |
return src.NewDataLabelingServiceClient(cc) |
| 930 |
} |
| 931 |
|
| 932 |
// Deprecated: Please use funcs in: cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb |
| 933 |
func RegisterDataLabelingServiceServer(s *grpc.Server, srv DataLabelingServiceServer) { |
| 934 |
src.RegisterDataLabelingServiceServer(s, srv) |
| 935 |
} |