Documentation
Index ¶
- Variables
- func RegisterDataLabelingServiceServer(s *grpc.Server, srv DataLabelingServiceServer)
- type AnnotatedDataset
- func (*AnnotatedDataset) Descriptor() ([]byte, []int)
- func (x *AnnotatedDataset) GetAnnotationSource() AnnotationSource
- func (x *AnnotatedDataset) GetAnnotationType() AnnotationType
- func (x *AnnotatedDataset) GetBlockingResources() []string
- func (x *AnnotatedDataset) GetCompletedExampleCount() int64
- func (x *AnnotatedDataset) GetCreateTime() *timestamppb.Timestamp
- func (x *AnnotatedDataset) GetDescription() string
- func (x *AnnotatedDataset) GetDisplayName() string
- func (x *AnnotatedDataset) GetExampleCount() int64
- func (x *AnnotatedDataset) GetLabelStats() *LabelStats
- func (x *AnnotatedDataset) GetMetadata() *AnnotatedDatasetMetadata
- func (x *AnnotatedDataset) GetName() string
- func (*AnnotatedDataset) ProtoMessage()
- func (x *AnnotatedDataset) ProtoReflect() protoreflect.Message
- func (x *AnnotatedDataset) Reset()
- func (x *AnnotatedDataset) String() string
- type AnnotatedDatasetMetadata
- func (*AnnotatedDatasetMetadata) Descriptor() ([]byte, []int)
- func (m *AnnotatedDatasetMetadata) GetAnnotationRequestConfig() isAnnotatedDatasetMetadata_AnnotationRequestConfig
- func (x *AnnotatedDatasetMetadata) GetBoundingPolyConfig() *BoundingPolyConfig
- func (x *AnnotatedDatasetMetadata) GetEventConfig() *EventConfig
- func (x *AnnotatedDatasetMetadata) GetHumanAnnotationConfig() *HumanAnnotationConfig
- func (x *AnnotatedDatasetMetadata) GetImageClassificationConfig() *ImageClassificationConfig
- func (x *AnnotatedDatasetMetadata) GetObjectDetectionConfig() *ObjectDetectionConfig
- func (x *AnnotatedDatasetMetadata) GetObjectTrackingConfig() *ObjectTrackingConfig
- func (x *AnnotatedDatasetMetadata) GetPolylineConfig() *PolylineConfig
- func (x *AnnotatedDatasetMetadata) GetSegmentationConfig() *SegmentationConfig
- func (x *AnnotatedDatasetMetadata) GetTextClassificationConfig() *TextClassificationConfig
- func (x *AnnotatedDatasetMetadata) GetTextEntityExtractionConfig() *TextEntityExtractionConfig
- func (x *AnnotatedDatasetMetadata) GetVideoClassificationConfig() *VideoClassificationConfig
- func (*AnnotatedDatasetMetadata) ProtoMessage()
- func (x *AnnotatedDatasetMetadata) ProtoReflect() protoreflect.Message
- func (x *AnnotatedDatasetMetadata) Reset()
- func (x *AnnotatedDatasetMetadata) String() string
- type AnnotatedDatasetMetadata_BoundingPolyConfig
- type AnnotatedDatasetMetadata_EventConfig
- type AnnotatedDatasetMetadata_ImageClassificationConfig
- type AnnotatedDatasetMetadata_ObjectDetectionConfig
- type AnnotatedDatasetMetadata_ObjectTrackingConfig
- type AnnotatedDatasetMetadata_PolylineConfig
- type AnnotatedDatasetMetadata_SegmentationConfig
- type AnnotatedDatasetMetadata_TextClassificationConfig
- type AnnotatedDatasetMetadata_TextEntityExtractionConfig
- type AnnotatedDatasetMetadata_VideoClassificationConfig
- type Annotation
- func (*Annotation) Descriptor() ([]byte, []int)
- func (x *Annotation) GetAnnotationMetadata() *AnnotationMetadata
- func (x *Annotation) GetAnnotationSentiment() AnnotationSentiment
- func (x *Annotation) GetAnnotationSource() AnnotationSource
- func (x *Annotation) GetAnnotationValue() *AnnotationValue
- func (x *Annotation) GetName() string
- func (*Annotation) ProtoMessage()
- func (x *Annotation) ProtoReflect() protoreflect.Message
- func (x *Annotation) Reset()
- func (x *Annotation) String() string
- type AnnotationMetadata
- func (*AnnotationMetadata) Descriptor() ([]byte, []int)
- func (x *AnnotationMetadata) GetOperatorMetadata() *OperatorMetadata
- func (*AnnotationMetadata) ProtoMessage()
- func (x *AnnotationMetadata) ProtoReflect() protoreflect.Message
- func (x *AnnotationMetadata) Reset()
- func (x *AnnotationMetadata) String() string
- type AnnotationSentiment
- func (AnnotationSentiment) Descriptor() protoreflect.EnumDescriptor
- func (x AnnotationSentiment) Enum() *AnnotationSentiment
- func (AnnotationSentiment) EnumDescriptor() ([]byte, []int)
- func (x AnnotationSentiment) Number() protoreflect.EnumNumber
- func (x AnnotationSentiment) String() string
- func (AnnotationSentiment) Type() protoreflect.EnumType
- type AnnotationSource
- func (AnnotationSource) Descriptor() protoreflect.EnumDescriptor
- func (x AnnotationSource) Enum() *AnnotationSource
- func (AnnotationSource) EnumDescriptor() ([]byte, []int)
- func (x AnnotationSource) Number() protoreflect.EnumNumber
- func (x AnnotationSource) String() string
- func (AnnotationSource) Type() protoreflect.EnumType
- type AnnotationSpec
- func (*AnnotationSpec) Descriptor() ([]byte, []int)
- func (x *AnnotationSpec) GetDescription() string
- func (x *AnnotationSpec) GetDisplayName() string
- func (*AnnotationSpec) ProtoMessage()
- func (x *AnnotationSpec) ProtoReflect() protoreflect.Message
- func (x *AnnotationSpec) Reset()
- func (x *AnnotationSpec) String() string
- type AnnotationSpecSet
- func (*AnnotationSpecSet) Descriptor() ([]byte, []int)
- func (x *AnnotationSpecSet) GetAnnotationSpecs() []*AnnotationSpec
- func (x *AnnotationSpecSet) GetBlockingResources() []string
- func (x *AnnotationSpecSet) GetDescription() string
- func (x *AnnotationSpecSet) GetDisplayName() string
- func (x *AnnotationSpecSet) GetName() string
- func (*AnnotationSpecSet) ProtoMessage()
- func (x *AnnotationSpecSet) ProtoReflect() protoreflect.Message
- func (x *AnnotationSpecSet) Reset()
- func (x *AnnotationSpecSet) String() string
- type AnnotationType
- func (AnnotationType) Descriptor() protoreflect.EnumDescriptor
- func (x AnnotationType) Enum() *AnnotationType
- func (AnnotationType) EnumDescriptor() ([]byte, []int)
- func (x AnnotationType) Number() protoreflect.EnumNumber
- func (x AnnotationType) String() string
- func (AnnotationType) Type() protoreflect.EnumType
- type AnnotationValue
- func (*AnnotationValue) Descriptor() ([]byte, []int)
- func (x *AnnotationValue) GetImageBoundingPolyAnnotation() *ImageBoundingPolyAnnotation
- func (x *AnnotationValue) GetImageClassificationAnnotation() *ImageClassificationAnnotation
- func (x *AnnotationValue) GetImagePolylineAnnotation() *ImagePolylineAnnotation
- func (x *AnnotationValue) GetImageSegmentationAnnotation() *ImageSegmentationAnnotation
- func (x *AnnotationValue) GetTextClassificationAnnotation() *TextClassificationAnnotation
- func (x *AnnotationValue) GetTextEntityExtractionAnnotation() *TextEntityExtractionAnnotation
- func (m *AnnotationValue) GetValueType() isAnnotationValue_ValueType
- func (x *AnnotationValue) GetVideoClassificationAnnotation() *VideoClassificationAnnotation
- func (x *AnnotationValue) GetVideoEventAnnotation() *VideoEventAnnotation
- func (x *AnnotationValue) GetVideoObjectTrackingAnnotation() *VideoObjectTrackingAnnotation
- func (*AnnotationValue) ProtoMessage()
- func (x *AnnotationValue) ProtoReflect() protoreflect.Message
- func (x *AnnotationValue) Reset()
- func (x *AnnotationValue) String() string
- type AnnotationValue_ImageBoundingPolyAnnotation
- type AnnotationValue_ImageClassificationAnnotation
- type AnnotationValue_ImagePolylineAnnotation
- type AnnotationValue_ImageSegmentationAnnotation
- type AnnotationValue_TextClassificationAnnotation
- type AnnotationValue_TextEntityExtractionAnnotation
- type AnnotationValue_VideoClassificationAnnotation
- type AnnotationValue_VideoEventAnnotation
- type AnnotationValue_VideoObjectTrackingAnnotation
- type Attempt
- func (*Attempt) Descriptor() ([]byte, []int)
- func (x *Attempt) GetAttemptTime() *timestamppb.Timestamp
- func (x *Attempt) GetPartialFailures() []*status.Status
- func (*Attempt) ProtoMessage()
- func (x *Attempt) ProtoReflect() protoreflect.Message
- func (x *Attempt) Reset()
- func (x *Attempt) String() string
- type BigQuerySource
- type BoundingBoxEvaluationOptions
- func (*BoundingBoxEvaluationOptions) Descriptor() ([]byte, []int)
- func (x *BoundingBoxEvaluationOptions) GetIouThreshold() float32
- func (*BoundingBoxEvaluationOptions) ProtoMessage()
- func (x *BoundingBoxEvaluationOptions) ProtoReflect() protoreflect.Message
- func (x *BoundingBoxEvaluationOptions) Reset()
- func (x *BoundingBoxEvaluationOptions) String() string
- type BoundingPoly
- type BoundingPolyConfig
- func (*BoundingPolyConfig) Descriptor() ([]byte, []int)
- func (x *BoundingPolyConfig) GetAnnotationSpecSet() string
- func (x *BoundingPolyConfig) GetInstructionMessage() string
- func (*BoundingPolyConfig) ProtoMessage()
- func (x *BoundingPolyConfig) ProtoReflect() protoreflect.Message
- func (x *BoundingPolyConfig) Reset()
- func (x *BoundingPolyConfig) String() string
- type ClassificationMetadata
- func (*ClassificationMetadata) Descriptor() ([]byte, []int)
- func (x *ClassificationMetadata) GetIsMultiLabel() bool
- func (*ClassificationMetadata) ProtoMessage()
- func (x *ClassificationMetadata) ProtoReflect() protoreflect.Message
- func (x *ClassificationMetadata) Reset()
- func (x *ClassificationMetadata) String() string
- type ClassificationMetrics
- func (*ClassificationMetrics) Descriptor() ([]byte, []int)
- func (x *ClassificationMetrics) GetConfusionMatrix() *ConfusionMatrix
- func (x *ClassificationMetrics) GetPrCurve() *PrCurve
- func (*ClassificationMetrics) ProtoMessage()
- func (x *ClassificationMetrics) ProtoReflect() protoreflect.Message
- func (x *ClassificationMetrics) Reset()
- func (x *ClassificationMetrics) String() string
- type ConfusionMatrix
- type ConfusionMatrix_ConfusionMatrixEntry
- func (*ConfusionMatrix_ConfusionMatrixEntry) Descriptor() ([]byte, []int)
- func (x *ConfusionMatrix_ConfusionMatrixEntry) GetAnnotationSpec() *AnnotationSpec
- func (x *ConfusionMatrix_ConfusionMatrixEntry) GetItemCount() int32
- func (*ConfusionMatrix_ConfusionMatrixEntry) ProtoMessage()
- func (x *ConfusionMatrix_ConfusionMatrixEntry) ProtoReflect() protoreflect.Message
- func (x *ConfusionMatrix_ConfusionMatrixEntry) Reset()
- func (x *ConfusionMatrix_ConfusionMatrixEntry) String() string
- type ConfusionMatrix_Row
- func (*ConfusionMatrix_Row) Descriptor() ([]byte, []int)
- func (x *ConfusionMatrix_Row) GetAnnotationSpec() *AnnotationSpec
- func (x *ConfusionMatrix_Row) GetEntries() []*ConfusionMatrix_ConfusionMatrixEntry
- func (*ConfusionMatrix_Row) ProtoMessage()
- func (x *ConfusionMatrix_Row) ProtoReflect() protoreflect.Message
- func (x *ConfusionMatrix_Row) Reset()
- func (x *ConfusionMatrix_Row) String() string
- type CreateAnnotationSpecSetRequest
- func (*CreateAnnotationSpecSetRequest) Descriptor() ([]byte, []int)
- func (x *CreateAnnotationSpecSetRequest) GetAnnotationSpecSet() *AnnotationSpecSet
- func (x *CreateAnnotationSpecSetRequest) GetParent() string
- func (*CreateAnnotationSpecSetRequest) ProtoMessage()
- func (x *CreateAnnotationSpecSetRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAnnotationSpecSetRequest) Reset()
- func (x *CreateAnnotationSpecSetRequest) String() string
- type CreateDatasetRequest
- func (*CreateDatasetRequest) Descriptor() ([]byte, []int)
- func (x *CreateDatasetRequest) GetDataset() *Dataset
- func (x *CreateDatasetRequest) GetParent() string
- func (*CreateDatasetRequest) ProtoMessage()
- func (x *CreateDatasetRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDatasetRequest) Reset()
- func (x *CreateDatasetRequest) String() string
- type CreateEvaluationJobRequest
- func (*CreateEvaluationJobRequest) Descriptor() ([]byte, []int)
- func (x *CreateEvaluationJobRequest) GetJob() *EvaluationJob
- func (x *CreateEvaluationJobRequest) GetParent() string
- func (*CreateEvaluationJobRequest) ProtoMessage()
- func (x *CreateEvaluationJobRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEvaluationJobRequest) Reset()
- func (x *CreateEvaluationJobRequest) String() string
- type CreateInstructionMetadata
- func (*CreateInstructionMetadata) Descriptor() ([]byte, []int)
- func (x *CreateInstructionMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *CreateInstructionMetadata) GetInstruction() string
- func (x *CreateInstructionMetadata) GetPartialFailures() []*status.Status
- func (*CreateInstructionMetadata) ProtoMessage()
- func (x *CreateInstructionMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateInstructionMetadata) Reset()
- func (x *CreateInstructionMetadata) String() string
- type CreateInstructionRequest
- func (*CreateInstructionRequest) Descriptor() ([]byte, []int)
- func (x *CreateInstructionRequest) GetInstruction() *Instruction
- func (x *CreateInstructionRequest) GetParent() string
- func (*CreateInstructionRequest) ProtoMessage()
- func (x *CreateInstructionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInstructionRequest) Reset()
- func (x *CreateInstructionRequest) String() string
- type CsvInstruction
- type DataItem
- func (*DataItem) Descriptor() ([]byte, []int)
- func (x *DataItem) GetImagePayload() *ImagePayload
- func (x *DataItem) GetName() string
- func (m *DataItem) GetPayload() isDataItem_Payload
- func (x *DataItem) GetTextPayload() *TextPayload
- func (x *DataItem) GetVideoPayload() *VideoPayload
- func (*DataItem) ProtoMessage()
- func (x *DataItem) ProtoReflect() protoreflect.Message
- func (x *DataItem) Reset()
- func (x *DataItem) String() string
- type DataItem_ImagePayload
- type DataItem_TextPayload
- type DataItem_VideoPayload
- type DataLabelingServiceClient
- type DataLabelingServiceServer
- type DataType
- type Dataset
- func (*Dataset) Descriptor() ([]byte, []int)
- func (x *Dataset) GetBlockingResources() []string
- func (x *Dataset) GetCreateTime() *timestamppb.Timestamp
- func (x *Dataset) GetDataItemCount() int64
- func (x *Dataset) GetDescription() string
- func (x *Dataset) GetDisplayName() string
- func (x *Dataset) GetInputConfigs() []*InputConfig
- func (x *Dataset) GetName() string
- func (*Dataset) ProtoMessage()
- func (x *Dataset) ProtoReflect() protoreflect.Message
- func (x *Dataset) Reset()
- func (x *Dataset) String() string
- type DeleteAnnotatedDatasetRequest
- func (*DeleteAnnotatedDatasetRequest) Descriptor() ([]byte, []int)
- func (x *DeleteAnnotatedDatasetRequest) GetName() string
- func (*DeleteAnnotatedDatasetRequest) ProtoMessage()
- func (x *DeleteAnnotatedDatasetRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAnnotatedDatasetRequest) Reset()
- func (x *DeleteAnnotatedDatasetRequest) String() string
- type DeleteAnnotationSpecSetRequest
- func (*DeleteAnnotationSpecSetRequest) Descriptor() ([]byte, []int)
- func (x *DeleteAnnotationSpecSetRequest) GetName() string
- func (*DeleteAnnotationSpecSetRequest) ProtoMessage()
- func (x *DeleteAnnotationSpecSetRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAnnotationSpecSetRequest) Reset()
- func (x *DeleteAnnotationSpecSetRequest) String() string
- type DeleteDatasetRequest
- func (*DeleteDatasetRequest) Descriptor() ([]byte, []int)
- func (x *DeleteDatasetRequest) GetName() string
- func (*DeleteDatasetRequest) ProtoMessage()
- func (x *DeleteDatasetRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDatasetRequest) Reset()
- func (x *DeleteDatasetRequest) String() string
- type DeleteEvaluationJobRequest
- func (*DeleteEvaluationJobRequest) Descriptor() ([]byte, []int)
- func (x *DeleteEvaluationJobRequest) GetName() string
- func (*DeleteEvaluationJobRequest) ProtoMessage()
- func (x *DeleteEvaluationJobRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEvaluationJobRequest) Reset()
- func (x *DeleteEvaluationJobRequest) String() string
- type DeleteInstructionRequest
- func (*DeleteInstructionRequest) Descriptor() ([]byte, []int)
- func (x *DeleteInstructionRequest) GetName() string
- func (*DeleteInstructionRequest) ProtoMessage()
- func (x *DeleteInstructionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInstructionRequest) Reset()
- func (x *DeleteInstructionRequest) String() string
- type Evaluation
- func (*Evaluation) Descriptor() ([]byte, []int)
- func (x *Evaluation) GetAnnotationType() AnnotationType
- func (x *Evaluation) GetConfig() *EvaluationConfig
- func (x *Evaluation) GetCreateTime() *timestamppb.Timestamp
- func (x *Evaluation) GetEvaluatedItemCount() int64
- func (x *Evaluation) GetEvaluationJobRunTime() *timestamppb.Timestamp
- func (x *Evaluation) GetEvaluationMetrics() *EvaluationMetrics
- func (x *Evaluation) GetName() string
- func (*Evaluation) ProtoMessage()
- func (x *Evaluation) ProtoReflect() protoreflect.Message
- func (x *Evaluation) Reset()
- func (x *Evaluation) String() string
- type EvaluationConfig
- func (*EvaluationConfig) Descriptor() ([]byte, []int)
- func (x *EvaluationConfig) GetBoundingBoxEvaluationOptions() *BoundingBoxEvaluationOptions
- func (m *EvaluationConfig) GetVerticalOption() isEvaluationConfig_VerticalOption
- func (*EvaluationConfig) ProtoMessage()
- func (x *EvaluationConfig) ProtoReflect() protoreflect.Message
- func (x *EvaluationConfig) Reset()
- func (x *EvaluationConfig) String() string
- type EvaluationConfig_BoundingBoxEvaluationOptions
- type EvaluationJob
- func (*EvaluationJob) Descriptor() ([]byte, []int)
- func (x *EvaluationJob) GetAnnotationSpecSet() string
- func (x *EvaluationJob) GetAttempts() []*Attempt
- func (x *EvaluationJob) GetCreateTime() *timestamppb.Timestamp
- func (x *EvaluationJob) GetDescription() string
- func (x *EvaluationJob) GetEvaluationJobConfig() *EvaluationJobConfig
- func (x *EvaluationJob) GetLabelMissingGroundTruth() bool
- func (x *EvaluationJob) GetModelVersion() string
- func (x *EvaluationJob) GetName() string
- func (x *EvaluationJob) GetSchedule() string
- func (x *EvaluationJob) GetState() EvaluationJob_State
- func (*EvaluationJob) ProtoMessage()
- func (x *EvaluationJob) ProtoReflect() protoreflect.Message
- func (x *EvaluationJob) Reset()
- func (x *EvaluationJob) String() string
- type EvaluationJobAlertConfig
- func (*EvaluationJobAlertConfig) Descriptor() ([]byte, []int)
- func (x *EvaluationJobAlertConfig) GetEmail() string
- func (x *EvaluationJobAlertConfig) GetMinAcceptableMeanAveragePrecision() float64
- func (*EvaluationJobAlertConfig) ProtoMessage()
- func (x *EvaluationJobAlertConfig) ProtoReflect() protoreflect.Message
- func (x *EvaluationJobAlertConfig) Reset()
- func (x *EvaluationJobAlertConfig) String() string
- type EvaluationJobConfig
- func (*EvaluationJobConfig) Descriptor() ([]byte, []int)
- func (x *EvaluationJobConfig) GetBigqueryImportKeys() map[string]string
- func (x *EvaluationJobConfig) GetBoundingPolyConfig() *BoundingPolyConfig
- func (x *EvaluationJobConfig) GetEvaluationConfig() *EvaluationConfig
- func (x *EvaluationJobConfig) GetEvaluationJobAlertConfig() *EvaluationJobAlertConfig
- func (x *EvaluationJobConfig) GetExampleCount() int32
- func (x *EvaluationJobConfig) GetExampleSamplePercentage() float64
- func (x *EvaluationJobConfig) GetHumanAnnotationConfig() *HumanAnnotationConfig
- func (m *EvaluationJobConfig) GetHumanAnnotationRequestConfig() isEvaluationJobConfig_HumanAnnotationRequestConfig
- func (x *EvaluationJobConfig) GetImageClassificationConfig() *ImageClassificationConfig
- func (x *EvaluationJobConfig) GetInputConfig() *InputConfig
- func (x *EvaluationJobConfig) GetTextClassificationConfig() *TextClassificationConfig
- func (*EvaluationJobConfig) ProtoMessage()
- func (x *EvaluationJobConfig) ProtoReflect() protoreflect.Message
- func (x *EvaluationJobConfig) Reset()
- func (x *EvaluationJobConfig) String() string
- type EvaluationJobConfig_BoundingPolyConfig
- type EvaluationJobConfig_ImageClassificationConfig
- type EvaluationJobConfig_TextClassificationConfig
- type EvaluationJob_State
- func (EvaluationJob_State) Descriptor() protoreflect.EnumDescriptor
- func (x EvaluationJob_State) Enum() *EvaluationJob_State
- func (EvaluationJob_State) EnumDescriptor() ([]byte, []int)
- func (x EvaluationJob_State) Number() protoreflect.EnumNumber
- func (x EvaluationJob_State) String() string
- func (EvaluationJob_State) Type() protoreflect.EnumType
- type EvaluationMetrics
- func (*EvaluationMetrics) Descriptor() ([]byte, []int)
- func (x *EvaluationMetrics) GetClassificationMetrics() *ClassificationMetrics
- func (m *EvaluationMetrics) GetMetrics() isEvaluationMetrics_Metrics
- func (x *EvaluationMetrics) GetObjectDetectionMetrics() *ObjectDetectionMetrics
- func (*EvaluationMetrics) ProtoMessage()
- func (x *EvaluationMetrics) ProtoReflect() protoreflect.Message
- func (x *EvaluationMetrics) Reset()
- func (x *EvaluationMetrics) String() string
- type EvaluationMetrics_ClassificationMetrics
- type EvaluationMetrics_ObjectDetectionMetrics
- type EventConfig
- type Example
- func (*Example) Descriptor() ([]byte, []int)
- func (x *Example) GetAnnotations() []*Annotation
- func (x *Example) GetImagePayload() *ImagePayload
- func (x *Example) GetName() string
- func (m *Example) GetPayload() isExample_Payload
- func (x *Example) GetTextPayload() *TextPayload
- func (x *Example) GetVideoPayload() *VideoPayload
- func (*Example) ProtoMessage()
- func (x *Example) ProtoReflect() protoreflect.Message
- func (x *Example) Reset()
- func (x *Example) String() string
- type Example_ImagePayload
- type Example_TextPayload
- type Example_VideoPayload
- type ExportDataOperationMetadata
- func (*ExportDataOperationMetadata) Descriptor() ([]byte, []int)
- func (x *ExportDataOperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *ExportDataOperationMetadata) GetDataset() string
- func (x *ExportDataOperationMetadata) GetPartialFailures() []*status.Status
- func (*ExportDataOperationMetadata) ProtoMessage()
- func (x *ExportDataOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *ExportDataOperationMetadata) Reset()
- func (x *ExportDataOperationMetadata) String() string
- type ExportDataOperationResponse
- func (*ExportDataOperationResponse) Descriptor() ([]byte, []int)
- func (x *ExportDataOperationResponse) GetDataset() string
- func (x *ExportDataOperationResponse) GetExportCount() int32
- func (x *ExportDataOperationResponse) GetLabelStats() *LabelStats
- func (x *ExportDataOperationResponse) GetOutputConfig() *OutputConfig
- func (x *ExportDataOperationResponse) GetTotalCount() int32
- func (*ExportDataOperationResponse) ProtoMessage()
- func (x *ExportDataOperationResponse) ProtoReflect() protoreflect.Message
- func (x *ExportDataOperationResponse) Reset()
- func (x *ExportDataOperationResponse) String() string
- type ExportDataRequest
- func (*ExportDataRequest) Descriptor() ([]byte, []int)
- func (x *ExportDataRequest) GetAnnotatedDataset() string
- func (x *ExportDataRequest) GetFilter() string
- func (x *ExportDataRequest) GetName() string
- func (x *ExportDataRequest) GetOutputConfig() *OutputConfig
- func (x *ExportDataRequest) GetUserEmailAddress() string
- func (*ExportDataRequest) ProtoMessage()
- func (x *ExportDataRequest) ProtoReflect() protoreflect.Message
- func (x *ExportDataRequest) Reset()
- func (x *ExportDataRequest) String() string
- type GcsDestination
- func (*GcsDestination) Descriptor() ([]byte, []int)
- func (x *GcsDestination) GetMimeType() string
- func (x *GcsDestination) GetOutputUri() string
- func (*GcsDestination) ProtoMessage()
- func (x *GcsDestination) ProtoReflect() protoreflect.Message
- func (x *GcsDestination) Reset()
- func (x *GcsDestination) String() string
- type GcsFolderDestination
- func (*GcsFolderDestination) Descriptor() ([]byte, []int)
- func (x *GcsFolderDestination) GetOutputFolderUri() string
- func (*GcsFolderDestination) ProtoMessage()
- func (x *GcsFolderDestination) ProtoReflect() protoreflect.Message
- func (x *GcsFolderDestination) Reset()
- func (x *GcsFolderDestination) String() string
- type GcsSource
- type GetAnnotatedDatasetRequest
- func (*GetAnnotatedDatasetRequest) Descriptor() ([]byte, []int)
- func (x *GetAnnotatedDatasetRequest) GetName() string
- func (*GetAnnotatedDatasetRequest) ProtoMessage()
- func (x *GetAnnotatedDatasetRequest) ProtoReflect() protoreflect.Message
- func (x *GetAnnotatedDatasetRequest) Reset()
- func (x *GetAnnotatedDatasetRequest) String() string
- type GetAnnotationSpecSetRequest
- func (*GetAnnotationSpecSetRequest) Descriptor() ([]byte, []int)
- func (x *GetAnnotationSpecSetRequest) GetName() string
- func (*GetAnnotationSpecSetRequest) ProtoMessage()
- func (x *GetAnnotationSpecSetRequest) ProtoReflect() protoreflect.Message
- func (x *GetAnnotationSpecSetRequest) Reset()
- func (x *GetAnnotationSpecSetRequest) String() string
- type GetDataItemRequest
- type GetDatasetRequest
- type GetEvaluationJobRequest
- func (*GetEvaluationJobRequest) Descriptor() ([]byte, []int)
- func (x *GetEvaluationJobRequest) GetName() string
- func (*GetEvaluationJobRequest) ProtoMessage()
- func (x *GetEvaluationJobRequest) ProtoReflect() protoreflect.Message
- func (x *GetEvaluationJobRequest) Reset()
- func (x *GetEvaluationJobRequest) String() string
- type GetEvaluationRequest
- func (*GetEvaluationRequest) Descriptor() ([]byte, []int)
- func (x *GetEvaluationRequest) GetName() string
- func (*GetEvaluationRequest) ProtoMessage()
- func (x *GetEvaluationRequest) ProtoReflect() protoreflect.Message
- func (x *GetEvaluationRequest) Reset()
- func (x *GetEvaluationRequest) String() string
- type GetExampleRequest
- func (*GetExampleRequest) Descriptor() ([]byte, []int)
- func (x *GetExampleRequest) GetFilter() string
- func (x *GetExampleRequest) GetName() string
- func (*GetExampleRequest) ProtoMessage()
- func (x *GetExampleRequest) ProtoReflect() protoreflect.Message
- func (x *GetExampleRequest) Reset()
- func (x *GetExampleRequest) String() string
- type GetInstructionRequest
- func (*GetInstructionRequest) Descriptor() ([]byte, []int)
- func (x *GetInstructionRequest) GetName() string
- func (*GetInstructionRequest) ProtoMessage()
- func (x *GetInstructionRequest) ProtoReflect() protoreflect.Message
- func (x *GetInstructionRequest) Reset()
- func (x *GetInstructionRequest) String() string
- type HumanAnnotationConfig
- func (*HumanAnnotationConfig) Descriptor() ([]byte, []int)
- func (x *HumanAnnotationConfig) GetAnnotatedDatasetDescription() string
- func (x *HumanAnnotationConfig) GetAnnotatedDatasetDisplayName() string
- func (x *HumanAnnotationConfig) GetContributorEmails() []string
- func (x *HumanAnnotationConfig) GetInstruction() string
- func (x *HumanAnnotationConfig) GetLabelGroup() string
- func (x *HumanAnnotationConfig) GetLanguageCode() string
- func (x *HumanAnnotationConfig) GetQuestionDuration() *durationpb.Duration
- func (x *HumanAnnotationConfig) GetReplicaCount() int32
- func (x *HumanAnnotationConfig) GetUserEmailAddress() string
- func (*HumanAnnotationConfig) ProtoMessage()
- func (x *HumanAnnotationConfig) ProtoReflect() protoreflect.Message
- func (x *HumanAnnotationConfig) Reset()
- func (x *HumanAnnotationConfig) String() string
- type ImageBoundingPolyAnnotation
- func (*ImageBoundingPolyAnnotation) Descriptor() ([]byte, []int)
- func (x *ImageBoundingPolyAnnotation) GetAnnotationSpec() *AnnotationSpec
- func (m *ImageBoundingPolyAnnotation) GetBoundedArea() isImageBoundingPolyAnnotation_BoundedArea
- func (x *ImageBoundingPolyAnnotation) GetBoundingPoly() *BoundingPoly
- func (x *ImageBoundingPolyAnnotation) GetNormalizedBoundingPoly() *NormalizedBoundingPoly
- func (*ImageBoundingPolyAnnotation) ProtoMessage()
- func (x *ImageBoundingPolyAnnotation) ProtoReflect() protoreflect.Message
- func (x *ImageBoundingPolyAnnotation) Reset()
- func (x *ImageBoundingPolyAnnotation) String() string
- type ImageBoundingPolyAnnotation_BoundingPoly
- type ImageBoundingPolyAnnotation_NormalizedBoundingPoly
- type ImageClassificationAnnotation
- func (*ImageClassificationAnnotation) Descriptor() ([]byte, []int)
- func (x *ImageClassificationAnnotation) GetAnnotationSpec() *AnnotationSpec
- func (*ImageClassificationAnnotation) ProtoMessage()
- func (x *ImageClassificationAnnotation) ProtoReflect() protoreflect.Message
- func (x *ImageClassificationAnnotation) Reset()
- func (x *ImageClassificationAnnotation) String() string
- type ImageClassificationConfig
- func (*ImageClassificationConfig) Descriptor() ([]byte, []int)
- func (x *ImageClassificationConfig) GetAllowMultiLabel() bool
- func (x *ImageClassificationConfig) GetAnnotationSpecSet() string
- func (x *ImageClassificationConfig) GetAnswerAggregationType() StringAggregationType
- func (*ImageClassificationConfig) ProtoMessage()
- func (x *ImageClassificationConfig) ProtoReflect() protoreflect.Message
- func (x *ImageClassificationConfig) Reset()
- func (x *ImageClassificationConfig) String() string
- type ImagePayload
- func (*ImagePayload) Descriptor() ([]byte, []int)
- func (x *ImagePayload) GetImageThumbnail() []byte
- func (x *ImagePayload) GetImageUri() string
- func (x *ImagePayload) GetMimeType() string
- func (x *ImagePayload) GetSignedUri() string
- func (*ImagePayload) ProtoMessage()
- func (x *ImagePayload) ProtoReflect() protoreflect.Message
- func (x *ImagePayload) Reset()
- func (x *ImagePayload) String() string
- type ImagePolylineAnnotation
- func (*ImagePolylineAnnotation) Descriptor() ([]byte, []int)
- func (x *ImagePolylineAnnotation) GetAnnotationSpec() *AnnotationSpec
- func (x *ImagePolylineAnnotation) GetNormalizedPolyline() *NormalizedPolyline
- func (m *ImagePolylineAnnotation) GetPoly() isImagePolylineAnnotation_Poly
- func (x *ImagePolylineAnnotation) GetPolyline() *Polyline
- func (*ImagePolylineAnnotation) ProtoMessage()
- func (x *ImagePolylineAnnotation) ProtoReflect() protoreflect.Message
- func (x *ImagePolylineAnnotation) Reset()
- func (x *ImagePolylineAnnotation) String() string
- type ImagePolylineAnnotation_NormalizedPolyline
- type ImagePolylineAnnotation_Polyline
- type ImageSegmentationAnnotation
- func (*ImageSegmentationAnnotation) Descriptor() ([]byte, []int)
- func (x *ImageSegmentationAnnotation) GetAnnotationColors() map[string]*AnnotationSpec
- func (x *ImageSegmentationAnnotation) GetImageBytes() []byte
- func (x *ImageSegmentationAnnotation) GetMimeType() string
- func (*ImageSegmentationAnnotation) ProtoMessage()
- func (x *ImageSegmentationAnnotation) ProtoReflect() protoreflect.Message
- func (x *ImageSegmentationAnnotation) Reset()
- func (x *ImageSegmentationAnnotation) String() string
- type ImportDataOperationMetadata
- func (*ImportDataOperationMetadata) Descriptor() ([]byte, []int)
- func (x *ImportDataOperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *ImportDataOperationMetadata) GetDataset() string
- func (x *ImportDataOperationMetadata) GetPartialFailures() []*status.Status
- func (*ImportDataOperationMetadata) ProtoMessage()
- func (x *ImportDataOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *ImportDataOperationMetadata) Reset()
- func (x *ImportDataOperationMetadata) String() string
- type ImportDataOperationResponse
- func (*ImportDataOperationResponse) Descriptor() ([]byte, []int)
- func (x *ImportDataOperationResponse) GetDataset() string
- func (x *ImportDataOperationResponse) GetImportCount() int32
- func (x *ImportDataOperationResponse) GetTotalCount() int32
- func (*ImportDataOperationResponse) ProtoMessage()
- func (x *ImportDataOperationResponse) ProtoReflect() protoreflect.Message
- func (x *ImportDataOperationResponse) Reset()
- func (x *ImportDataOperationResponse) String() string
- type ImportDataRequest
- func (*ImportDataRequest) Descriptor() ([]byte, []int)
- func (x *ImportDataRequest) GetInputConfig() *InputConfig
- func (x *ImportDataRequest) GetName() string
- func (x *ImportDataRequest) GetUserEmailAddress() string
- func (*ImportDataRequest) ProtoMessage()
- func (x *ImportDataRequest) ProtoReflect() protoreflect.Message
- func (x *ImportDataRequest) Reset()
- func (x *ImportDataRequest) String() string
- type InputConfig
- func (*InputConfig) Descriptor() ([]byte, []int)
- func (x *InputConfig) GetAnnotationType() AnnotationType
- func (x *InputConfig) GetBigquerySource() *BigQuerySource
- func (x *InputConfig) GetClassificationMetadata() *ClassificationMetadata
- func (x *InputConfig) GetDataType() DataType
- func (m *InputConfig) GetDataTypeMetadata() isInputConfig_DataTypeMetadata
- func (x *InputConfig) GetGcsSource() *GcsSource
- func (m *InputConfig) GetSource() isInputConfig_Source
- func (x *InputConfig) GetTextMetadata() *TextMetadata
- func (*InputConfig) ProtoMessage()
- func (x *InputConfig) ProtoReflect() protoreflect.Message
- func (x *InputConfig) Reset()
- func (x *InputConfig) String() string
- type InputConfig_BigquerySource
- type InputConfig_GcsSource
- type InputConfig_TextMetadata
- type Instruction
- func (*Instruction) Descriptor() ([]byte, []int)
- func (x *Instruction) GetBlockingResources() []string
- func (x *Instruction) GetCreateTime() *timestamppb.Timestamp
- func (x *Instruction) GetCsvInstruction() *CsvInstruction
- func (x *Instruction) GetDataType() DataType
- func (x *Instruction) GetDescription() string
- func (x *Instruction) GetDisplayName() string
- func (x *Instruction) GetName() string
- func (x *Instruction) GetPdfInstruction() *PdfInstruction
- func (x *Instruction) GetUpdateTime() *timestamppb.Timestamp
- func (*Instruction) ProtoMessage()
- func (x *Instruction) ProtoReflect() protoreflect.Message
- func (x *Instruction) Reset()
- func (x *Instruction) String() string
- type LabelImageBoundingBoxOperationMetadata
- func (*LabelImageBoundingBoxOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelImageBoundingBoxOperationMetadata) GetBasicConfig() *HumanAnnotationConfig
- func (*LabelImageBoundingBoxOperationMetadata) ProtoMessage()
- func (x *LabelImageBoundingBoxOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelImageBoundingBoxOperationMetadata) Reset()
- func (x *LabelImageBoundingBoxOperationMetadata) String() string
- type LabelImageBoundingPolyOperationMetadata
- func (*LabelImageBoundingPolyOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelImageBoundingPolyOperationMetadata) GetBasicConfig() *HumanAnnotationConfig
- func (*LabelImageBoundingPolyOperationMetadata) ProtoMessage()
- func (x *LabelImageBoundingPolyOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelImageBoundingPolyOperationMetadata) Reset()
- func (x *LabelImageBoundingPolyOperationMetadata) String() string
- type LabelImageClassificationOperationMetadata
- func (*LabelImageClassificationOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelImageClassificationOperationMetadata) GetBasicConfig() *HumanAnnotationConfig
- func (*LabelImageClassificationOperationMetadata) ProtoMessage()
- func (x *LabelImageClassificationOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelImageClassificationOperationMetadata) Reset()
- func (x *LabelImageClassificationOperationMetadata) String() string
- type LabelImageOrientedBoundingBoxOperationMetadata
- func (*LabelImageOrientedBoundingBoxOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelImageOrientedBoundingBoxOperationMetadata) GetBasicConfig() *HumanAnnotationConfig
- func (*LabelImageOrientedBoundingBoxOperationMetadata) ProtoMessage()
- func (x *LabelImageOrientedBoundingBoxOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelImageOrientedBoundingBoxOperationMetadata) Reset()
- func (x *LabelImageOrientedBoundingBoxOperationMetadata) String() string
- type LabelImagePolylineOperationMetadata
- func (*LabelImagePolylineOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelImagePolylineOperationMetadata) GetBasicConfig() *HumanAnnotationConfig
- func (*LabelImagePolylineOperationMetadata) ProtoMessage()
- func (x *LabelImagePolylineOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelImagePolylineOperationMetadata) Reset()
- func (x *LabelImagePolylineOperationMetadata) String() string
- type LabelImageRequest
- func (*LabelImageRequest) Descriptor() ([]byte, []int)
- func (x *LabelImageRequest) GetBasicConfig() *HumanAnnotationConfig
- func (x *LabelImageRequest) GetBoundingPolyConfig() *BoundingPolyConfig
- func (x *LabelImageRequest) GetFeature() LabelImageRequest_Feature
- func (x *LabelImageRequest) GetImageClassificationConfig() *ImageClassificationConfig
- func (x *LabelImageRequest) GetParent() string
- func (x *LabelImageRequest) GetPolylineConfig() *PolylineConfig
- func (m *LabelImageRequest) GetRequestConfig() isLabelImageRequest_RequestConfig
- func (x *LabelImageRequest) GetSegmentationConfig() *SegmentationConfig
- func (*LabelImageRequest) ProtoMessage()
- func (x *LabelImageRequest) ProtoReflect() protoreflect.Message
- func (x *LabelImageRequest) Reset()
- func (x *LabelImageRequest) String() string
- type LabelImageRequest_BoundingPolyConfig
- type LabelImageRequest_Feature
- func (LabelImageRequest_Feature) Descriptor() protoreflect.EnumDescriptor
- func (x LabelImageRequest_Feature) Enum() *LabelImageRequest_Feature
- func (LabelImageRequest_Feature) EnumDescriptor() ([]byte, []int)
- func (x LabelImageRequest_Feature) Number() protoreflect.EnumNumber
- func (x LabelImageRequest_Feature) String() string
- func (LabelImageRequest_Feature) Type() protoreflect.EnumType
- type LabelImageRequest_ImageClassificationConfig
- type LabelImageRequest_PolylineConfig
- type LabelImageRequest_SegmentationConfig
- type LabelImageSegmentationOperationMetadata
- func (*LabelImageSegmentationOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelImageSegmentationOperationMetadata) GetBasicConfig() *HumanAnnotationConfig
- func (*LabelImageSegmentationOperationMetadata) ProtoMessage()
- func (x *LabelImageSegmentationOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelImageSegmentationOperationMetadata) Reset()
- func (x *LabelImageSegmentationOperationMetadata) String() string
- type LabelOperationMetadata
- func (*LabelOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelOperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (m *LabelOperationMetadata) GetDetails() isLabelOperationMetadata_Details
- func (x *LabelOperationMetadata) GetImageBoundingBoxDetails() *LabelImageBoundingBoxOperationMetadata
- func (x *LabelOperationMetadata) GetImageBoundingPolyDetails() *LabelImageBoundingPolyOperationMetadata
- func (x *LabelOperationMetadata) GetImageClassificationDetails() *LabelImageClassificationOperationMetadata
- func (x *LabelOperationMetadata) GetImageOrientedBoundingBoxDetails() *LabelImageOrientedBoundingBoxOperationMetadata
- func (x *LabelOperationMetadata) GetImagePolylineDetails() *LabelImagePolylineOperationMetadata
- func (x *LabelOperationMetadata) GetImageSegmentationDetails() *LabelImageSegmentationOperationMetadata
- func (x *LabelOperationMetadata) GetPartialFailures() []*status.Status
- func (x *LabelOperationMetadata) GetProgressPercent() int32
- func (x *LabelOperationMetadata) GetTextClassificationDetails() *LabelTextClassificationOperationMetadata
- func (x *LabelOperationMetadata) GetTextEntityExtractionDetails() *LabelTextEntityExtractionOperationMetadata
- func (x *LabelOperationMetadata) GetVideoClassificationDetails() *LabelVideoClassificationOperationMetadata
- func (x *LabelOperationMetadata) GetVideoEventDetails() *LabelVideoEventOperationMetadata
- func (x *LabelOperationMetadata) GetVideoObjectDetectionDetails() *LabelVideoObjectDetectionOperationMetadata
- func (x *LabelOperationMetadata) GetVideoObjectTrackingDetails() *LabelVideoObjectTrackingOperationMetadata
- func (*LabelOperationMetadata) ProtoMessage()
- func (x *LabelOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelOperationMetadata) Reset()
- func (x *LabelOperationMetadata) String() string
- type LabelOperationMetadata_ImageBoundingBoxDetails
- type LabelOperationMetadata_ImageBoundingPolyDetails
- type LabelOperationMetadata_ImageClassificationDetails
- type LabelOperationMetadata_ImageOrientedBoundingBoxDetails
- type LabelOperationMetadata_ImagePolylineDetails
- type LabelOperationMetadata_ImageSegmentationDetails
- type LabelOperationMetadata_TextClassificationDetails
- type LabelOperationMetadata_TextEntityExtractionDetails
- type LabelOperationMetadata_VideoClassificationDetails
- type LabelOperationMetadata_VideoEventDetails
- type LabelOperationMetadata_VideoObjectDetectionDetails
- type LabelOperationMetadata_VideoObjectTrackingDetails
- type LabelStats
- type LabelTextClassificationOperationMetadata
- func (*LabelTextClassificationOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelTextClassificationOperationMetadata) GetBasicConfig() *HumanAnnotationConfig
- func (*LabelTextClassificationOperationMetadata) ProtoMessage()
- func (x *LabelTextClassificationOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelTextClassificationOperationMetadata) Reset()
- func (x *LabelTextClassificationOperationMetadata) String() string
- type LabelTextEntityExtractionOperationMetadata
- func (*LabelTextEntityExtractionOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelTextEntityExtractionOperationMetadata) GetBasicConfig() *HumanAnnotationConfig
- func (*LabelTextEntityExtractionOperationMetadata) ProtoMessage()
- func (x *LabelTextEntityExtractionOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelTextEntityExtractionOperationMetadata) Reset()
- func (x *LabelTextEntityExtractionOperationMetadata) String() string
- type LabelTextRequest
- func (*LabelTextRequest) Descriptor() ([]byte, []int)
- func (x *LabelTextRequest) GetBasicConfig() *HumanAnnotationConfig
- func (x *LabelTextRequest) GetFeature() LabelTextRequest_Feature
- func (x *LabelTextRequest) GetParent() string
- func (m *LabelTextRequest) GetRequestConfig() isLabelTextRequest_RequestConfig
- func (x *LabelTextRequest) GetTextClassificationConfig() *TextClassificationConfig
- func (x *LabelTextRequest) GetTextEntityExtractionConfig() *TextEntityExtractionConfig
- func (*LabelTextRequest) ProtoMessage()
- func (x *LabelTextRequest) ProtoReflect() protoreflect.Message
- func (x *LabelTextRequest) Reset()
- func (x *LabelTextRequest) String() string
- type LabelTextRequest_Feature
- func (LabelTextRequest_Feature) Descriptor() protoreflect.EnumDescriptor
- func (x LabelTextRequest_Feature) Enum() *LabelTextRequest_Feature
- func (LabelTextRequest_Feature) EnumDescriptor() ([]byte, []int)
- func (x LabelTextRequest_Feature) Number() protoreflect.EnumNumber
- func (x LabelTextRequest_Feature) String() string
- func (LabelTextRequest_Feature) Type() protoreflect.EnumType
- type LabelTextRequest_TextClassificationConfig
- type LabelTextRequest_TextEntityExtractionConfig
- type LabelVideoClassificationOperationMetadata
- func (*LabelVideoClassificationOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelVideoClassificationOperationMetadata) GetBasicConfig() *HumanAnnotationConfig
- func (*LabelVideoClassificationOperationMetadata) ProtoMessage()
- func (x *LabelVideoClassificationOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelVideoClassificationOperationMetadata) Reset()
- func (x *LabelVideoClassificationOperationMetadata) String() string
- type LabelVideoEventOperationMetadata
- func (*LabelVideoEventOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelVideoEventOperationMetadata) GetBasicConfig() *HumanAnnotationConfig
- func (*LabelVideoEventOperationMetadata) ProtoMessage()
- func (x *LabelVideoEventOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelVideoEventOperationMetadata) Reset()
- func (x *LabelVideoEventOperationMetadata) String() string
- type LabelVideoObjectDetectionOperationMetadata
- func (*LabelVideoObjectDetectionOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelVideoObjectDetectionOperationMetadata) GetBasicConfig() *HumanAnnotationConfig
- func (*LabelVideoObjectDetectionOperationMetadata) ProtoMessage()
- func (x *LabelVideoObjectDetectionOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelVideoObjectDetectionOperationMetadata) Reset()
- func (x *LabelVideoObjectDetectionOperationMetadata) String() string
- type LabelVideoObjectTrackingOperationMetadata
- func (*LabelVideoObjectTrackingOperationMetadata) Descriptor() ([]byte, []int)
- func (x *LabelVideoObjectTrackingOperationMetadata) GetBasicConfig() *HumanAnnotationConfig
- func (*LabelVideoObjectTrackingOperationMetadata) ProtoMessage()
- func (x *LabelVideoObjectTrackingOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *LabelVideoObjectTrackingOperationMetadata) Reset()
- func (x *LabelVideoObjectTrackingOperationMetadata) String() string
- type LabelVideoRequest
- func (*LabelVideoRequest) Descriptor() ([]byte, []int)
- func (x *LabelVideoRequest) GetBasicConfig() *HumanAnnotationConfig
- func (x *LabelVideoRequest) GetEventConfig() *EventConfig
- func (x *LabelVideoRequest) GetFeature() LabelVideoRequest_Feature
- func (x *LabelVideoRequest) GetObjectDetectionConfig() *ObjectDetectionConfig
- func (x *LabelVideoRequest) GetObjectTrackingConfig() *ObjectTrackingConfig
- func (x *LabelVideoRequest) GetParent() string
- func (m *LabelVideoRequest) GetRequestConfig() isLabelVideoRequest_RequestConfig
- func (x *LabelVideoRequest) GetVideoClassificationConfig() *VideoClassificationConfig
- func (*LabelVideoRequest) ProtoMessage()
- func (x *LabelVideoRequest) ProtoReflect() protoreflect.Message
- func (x *LabelVideoRequest) Reset()
- func (x *LabelVideoRequest) String() string
- type LabelVideoRequest_EventConfig
- type LabelVideoRequest_Feature
- func (LabelVideoRequest_Feature) Descriptor() protoreflect.EnumDescriptor
- func (x LabelVideoRequest_Feature) Enum() *LabelVideoRequest_Feature
- func (LabelVideoRequest_Feature) EnumDescriptor() ([]byte, []int)
- func (x LabelVideoRequest_Feature) Number() protoreflect.EnumNumber
- func (x LabelVideoRequest_Feature) String() string
- func (LabelVideoRequest_Feature) Type() protoreflect.EnumType
- type LabelVideoRequest_ObjectDetectionConfig
- type LabelVideoRequest_ObjectTrackingConfig
- type LabelVideoRequest_VideoClassificationConfig
- type ListAnnotatedDatasetsRequest
- func (*ListAnnotatedDatasetsRequest) Descriptor() ([]byte, []int)
- func (x *ListAnnotatedDatasetsRequest) GetFilter() string
- func (x *ListAnnotatedDatasetsRequest) GetPageSize() int32
- func (x *ListAnnotatedDatasetsRequest) GetPageToken() string
- func (x *ListAnnotatedDatasetsRequest) GetParent() string
- func (*ListAnnotatedDatasetsRequest) ProtoMessage()
- func (x *ListAnnotatedDatasetsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAnnotatedDatasetsRequest) Reset()
- func (x *ListAnnotatedDatasetsRequest) String() string
- type ListAnnotatedDatasetsResponse
- func (*ListAnnotatedDatasetsResponse) Descriptor() ([]byte, []int)
- func (x *ListAnnotatedDatasetsResponse) GetAnnotatedDatasets() []*AnnotatedDataset
- func (x *ListAnnotatedDatasetsResponse) GetNextPageToken() string
- func (*ListAnnotatedDatasetsResponse) ProtoMessage()
- func (x *ListAnnotatedDatasetsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAnnotatedDatasetsResponse) Reset()
- func (x *ListAnnotatedDatasetsResponse) String() string
- type ListAnnotationSpecSetsRequest
- func (*ListAnnotationSpecSetsRequest) Descriptor() ([]byte, []int)
- func (x *ListAnnotationSpecSetsRequest) GetFilter() string
- func (x *ListAnnotationSpecSetsRequest) GetPageSize() int32
- func (x *ListAnnotationSpecSetsRequest) GetPageToken() string
- func (x *ListAnnotationSpecSetsRequest) GetParent() string
- func (*ListAnnotationSpecSetsRequest) ProtoMessage()
- func (x *ListAnnotationSpecSetsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAnnotationSpecSetsRequest) Reset()
- func (x *ListAnnotationSpecSetsRequest) String() string
- type ListAnnotationSpecSetsResponse
- func (*ListAnnotationSpecSetsResponse) Descriptor() ([]byte, []int)
- func (x *ListAnnotationSpecSetsResponse) GetAnnotationSpecSets() []*AnnotationSpecSet
- func (x *ListAnnotationSpecSetsResponse) GetNextPageToken() string
- func (*ListAnnotationSpecSetsResponse) ProtoMessage()
- func (x *ListAnnotationSpecSetsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAnnotationSpecSetsResponse) Reset()
- func (x *ListAnnotationSpecSetsResponse) String() string
- type ListDataItemsRequest
- func (*ListDataItemsRequest) Descriptor() ([]byte, []int)
- func (x *ListDataItemsRequest) GetFilter() string
- func (x *ListDataItemsRequest) GetPageSize() int32
- func (x *ListDataItemsRequest) GetPageToken() string
- func (x *ListDataItemsRequest) GetParent() string
- func (*ListDataItemsRequest) ProtoMessage()
- func (x *ListDataItemsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDataItemsRequest) Reset()
- func (x *ListDataItemsRequest) String() string
- type ListDataItemsResponse
- func (*ListDataItemsResponse) Descriptor() ([]byte, []int)
- func (x *ListDataItemsResponse) GetDataItems() []*DataItem
- func (x *ListDataItemsResponse) GetNextPageToken() string
- func (*ListDataItemsResponse) ProtoMessage()
- func (x *ListDataItemsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDataItemsResponse) Reset()
- func (x *ListDataItemsResponse) String() string
- type ListDatasetsRequest
- func (*ListDatasetsRequest) Descriptor() ([]byte, []int)
- func (x *ListDatasetsRequest) GetFilter() string
- func (x *ListDatasetsRequest) GetPageSize() int32
- func (x *ListDatasetsRequest) GetPageToken() string
- func (x *ListDatasetsRequest) GetParent() string
- func (*ListDatasetsRequest) ProtoMessage()
- func (x *ListDatasetsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDatasetsRequest) Reset()
- func (x *ListDatasetsRequest) String() string
- type ListDatasetsResponse
- func (*ListDatasetsResponse) Descriptor() ([]byte, []int)
- func (x *ListDatasetsResponse) GetDatasets() []*Dataset
- func (x *ListDatasetsResponse) GetNextPageToken() string
- func (*ListDatasetsResponse) ProtoMessage()
- func (x *ListDatasetsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDatasetsResponse) Reset()
- func (x *ListDatasetsResponse) String() string
- type ListEvaluationJobsRequest
- func (*ListEvaluationJobsRequest) Descriptor() ([]byte, []int)
- func (x *ListEvaluationJobsRequest) GetFilter() string
- func (x *ListEvaluationJobsRequest) GetPageSize() int32
- func (x *ListEvaluationJobsRequest) GetPageToken() string
- func (x *ListEvaluationJobsRequest) GetParent() string
- func (*ListEvaluationJobsRequest) ProtoMessage()
- func (x *ListEvaluationJobsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEvaluationJobsRequest) Reset()
- func (x *ListEvaluationJobsRequest) String() string
- type ListEvaluationJobsResponse
- func (*ListEvaluationJobsResponse) Descriptor() ([]byte, []int)
- func (x *ListEvaluationJobsResponse) GetEvaluationJobs() []*EvaluationJob
- func (x *ListEvaluationJobsResponse) GetNextPageToken() string
- func (*ListEvaluationJobsResponse) ProtoMessage()
- func (x *ListEvaluationJobsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEvaluationJobsResponse) Reset()
- func (x *ListEvaluationJobsResponse) String() string
- type ListExamplesRequest
- func (*ListExamplesRequest) Descriptor() ([]byte, []int)
- func (x *ListExamplesRequest) GetFilter() string
- func (x *ListExamplesRequest) GetPageSize() int32
- func (x *ListExamplesRequest) GetPageToken() string
- func (x *ListExamplesRequest) GetParent() string
- func (*ListExamplesRequest) ProtoMessage()
- func (x *ListExamplesRequest) ProtoReflect() protoreflect.Message
- func (x *ListExamplesRequest) Reset()
- func (x *ListExamplesRequest) String() string
- type ListExamplesResponse
- func (*ListExamplesResponse) Descriptor() ([]byte, []int)
- func (x *ListExamplesResponse) GetExamples() []*Example
- func (x *ListExamplesResponse) GetNextPageToken() string
- func (*ListExamplesResponse) ProtoMessage()
- func (x *ListExamplesResponse) ProtoReflect() protoreflect.Message
- func (x *ListExamplesResponse) Reset()
- func (x *ListExamplesResponse) String() string
- type ListInstructionsRequest
- func (*ListInstructionsRequest) Descriptor() ([]byte, []int)
- func (x *ListInstructionsRequest) GetFilter() string
- func (x *ListInstructionsRequest) GetPageSize() int32
- func (x *ListInstructionsRequest) GetPageToken() string
- func (x *ListInstructionsRequest) GetParent() string
- func (*ListInstructionsRequest) ProtoMessage()
- func (x *ListInstructionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListInstructionsRequest) Reset()
- func (x *ListInstructionsRequest) String() string
- type ListInstructionsResponse
- func (*ListInstructionsResponse) Descriptor() ([]byte, []int)
- func (x *ListInstructionsResponse) GetInstructions() []*Instruction
- func (x *ListInstructionsResponse) GetNextPageToken() string
- func (*ListInstructionsResponse) ProtoMessage()
- func (x *ListInstructionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListInstructionsResponse) Reset()
- func (x *ListInstructionsResponse) String() string
- type NormalizedBoundingPoly
- func (*NormalizedBoundingPoly) Descriptor() ([]byte, []int)
- func (x *NormalizedBoundingPoly) GetNormalizedVertices() []*NormalizedVertex
- func (*NormalizedBoundingPoly) ProtoMessage()
- func (x *NormalizedBoundingPoly) ProtoReflect() protoreflect.Message
- func (x *NormalizedBoundingPoly) Reset()
- func (x *NormalizedBoundingPoly) String() string
- type NormalizedPolyline
- func (*NormalizedPolyline) Descriptor() ([]byte, []int)
- func (x *NormalizedPolyline) GetNormalizedVertices() []*NormalizedVertex
- func (*NormalizedPolyline) ProtoMessage()
- func (x *NormalizedPolyline) ProtoReflect() protoreflect.Message
- func (x *NormalizedPolyline) Reset()
- func (x *NormalizedPolyline) String() string
- type NormalizedVertex
- func (*NormalizedVertex) Descriptor() ([]byte, []int)
- func (x *NormalizedVertex) GetX() float32
- func (x *NormalizedVertex) GetY() float32
- func (*NormalizedVertex) ProtoMessage()
- func (x *NormalizedVertex) ProtoReflect() protoreflect.Message
- func (x *NormalizedVertex) Reset()
- func (x *NormalizedVertex) String() string
- type ObjectDetectionConfig
- func (*ObjectDetectionConfig) Descriptor() ([]byte, []int)
- func (x *ObjectDetectionConfig) GetAnnotationSpecSet() string
- func (x *ObjectDetectionConfig) GetExtractionFrameRate() float64
- func (*ObjectDetectionConfig) ProtoMessage()
- func (x *ObjectDetectionConfig) ProtoReflect() protoreflect.Message
- func (x *ObjectDetectionConfig) Reset()
- func (x *ObjectDetectionConfig) String() string
- type ObjectDetectionMetrics
- func (*ObjectDetectionMetrics) Descriptor() ([]byte, []int)
- func (x *ObjectDetectionMetrics) GetPrCurve() *PrCurve
- func (*ObjectDetectionMetrics) ProtoMessage()
- func (x *ObjectDetectionMetrics) ProtoReflect() protoreflect.Message
- func (x *ObjectDetectionMetrics) Reset()
- func (x *ObjectDetectionMetrics) String() string
- type ObjectTrackingConfig
- func (*ObjectTrackingConfig) Descriptor() ([]byte, []int)
- func (x *ObjectTrackingConfig) GetAnnotationSpecSet() string
- func (*ObjectTrackingConfig) ProtoMessage()
- func (x *ObjectTrackingConfig) ProtoReflect() protoreflect.Message
- func (x *ObjectTrackingConfig) Reset()
- func (x *ObjectTrackingConfig) String() string
- type ObjectTrackingFrame
- func (*ObjectTrackingFrame) Descriptor() ([]byte, []int)
- func (m *ObjectTrackingFrame) GetBoundedArea() isObjectTrackingFrame_BoundedArea
- func (x *ObjectTrackingFrame) GetBoundingPoly() *BoundingPoly
- func (x *ObjectTrackingFrame) GetNormalizedBoundingPoly() *NormalizedBoundingPoly
- func (x *ObjectTrackingFrame) GetTimeOffset() *durationpb.Duration
- func (*ObjectTrackingFrame) ProtoMessage()
- func (x *ObjectTrackingFrame) ProtoReflect() protoreflect.Message
- func (x *ObjectTrackingFrame) Reset()
- func (x *ObjectTrackingFrame) String() string
- type ObjectTrackingFrame_BoundingPoly
- type ObjectTrackingFrame_NormalizedBoundingPoly
- type OperatorMetadata
- func (*OperatorMetadata) Descriptor() ([]byte, []int)
- func (x *OperatorMetadata) GetComments() []string
- func (x *OperatorMetadata) GetLabelVotes() int32
- func (x *OperatorMetadata) GetScore() float32
- func (x *OperatorMetadata) GetTotalVotes() int32
- func (*OperatorMetadata) ProtoMessage()
- func (x *OperatorMetadata) ProtoReflect() protoreflect.Message
- func (x *OperatorMetadata) Reset()
- func (x *OperatorMetadata) String() string
- type OutputConfig
- func (*OutputConfig) Descriptor() ([]byte, []int)
- func (m *OutputConfig) GetDestination() isOutputConfig_Destination
- func (x *OutputConfig) GetGcsDestination() *GcsDestination
- func (x *OutputConfig) GetGcsFolderDestination() *GcsFolderDestination
- func (*OutputConfig) ProtoMessage()
- func (x *OutputConfig) ProtoReflect() protoreflect.Message
- func (x *OutputConfig) Reset()
- func (x *OutputConfig) String() string
- type OutputConfig_GcsDestination
- type OutputConfig_GcsFolderDestination
- type PauseEvaluationJobRequest
- func (*PauseEvaluationJobRequest) Descriptor() ([]byte, []int)
- func (x *PauseEvaluationJobRequest) GetName() string
- func (*PauseEvaluationJobRequest) ProtoMessage()
- func (x *PauseEvaluationJobRequest) ProtoReflect() protoreflect.Message
- func (x *PauseEvaluationJobRequest) Reset()
- func (x *PauseEvaluationJobRequest) String() string
- type PdfInstruction
- type Polyline
- type PolylineConfig
- func (*PolylineConfig) Descriptor() ([]byte, []int)
- func (x *PolylineConfig) GetAnnotationSpecSet() string
- func (x *PolylineConfig) GetInstructionMessage() string
- func (*PolylineConfig) ProtoMessage()
- func (x *PolylineConfig) ProtoReflect() protoreflect.Message
- func (x *PolylineConfig) Reset()
- func (x *PolylineConfig) String() string
- type PrCurve
- func (*PrCurve) Descriptor() ([]byte, []int)
- func (x *PrCurve) GetAnnotationSpec() *AnnotationSpec
- func (x *PrCurve) GetAreaUnderCurve() float32
- func (x *PrCurve) GetConfidenceMetricsEntries() []*PrCurve_ConfidenceMetricsEntry
- func (x *PrCurve) GetMeanAveragePrecision() float32
- func (*PrCurve) ProtoMessage()
- func (x *PrCurve) ProtoReflect() protoreflect.Message
- func (x *PrCurve) Reset()
- func (x *PrCurve) String() string
- type PrCurve_ConfidenceMetricsEntry
- func (*PrCurve_ConfidenceMetricsEntry) Descriptor() ([]byte, []int)
- func (x *PrCurve_ConfidenceMetricsEntry) GetConfidenceThreshold() float32
- func (x *PrCurve_ConfidenceMetricsEntry) GetF1Score() float32
- func (x *PrCurve_ConfidenceMetricsEntry) GetF1ScoreAt1() float32
- func (x *PrCurve_ConfidenceMetricsEntry) GetF1ScoreAt5() float32
- func (x *PrCurve_ConfidenceMetricsEntry) GetPrecision() float32
- func (x *PrCurve_ConfidenceMetricsEntry) GetPrecisionAt1() float32
- func (x *PrCurve_ConfidenceMetricsEntry) GetPrecisionAt5() float32
- func (x *PrCurve_ConfidenceMetricsEntry) GetRecall() float32
- func (x *PrCurve_ConfidenceMetricsEntry) GetRecallAt1() float32
- func (x *PrCurve_ConfidenceMetricsEntry) GetRecallAt5() float32
- func (*PrCurve_ConfidenceMetricsEntry) ProtoMessage()
- func (x *PrCurve_ConfidenceMetricsEntry) ProtoReflect() protoreflect.Message
- func (x *PrCurve_ConfidenceMetricsEntry) Reset()
- func (x *PrCurve_ConfidenceMetricsEntry) String() string
- type ResumeEvaluationJobRequest
- func (*ResumeEvaluationJobRequest) Descriptor() ([]byte, []int)
- func (x *ResumeEvaluationJobRequest) GetName() string
- func (*ResumeEvaluationJobRequest) ProtoMessage()
- func (x *ResumeEvaluationJobRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeEvaluationJobRequest) Reset()
- func (x *ResumeEvaluationJobRequest) String() string
- type SearchEvaluationsRequest
- func (*SearchEvaluationsRequest) Descriptor() ([]byte, []int)
- func (x *SearchEvaluationsRequest) GetFilter() string
- func (x *SearchEvaluationsRequest) GetPageSize() int32
- func (x *SearchEvaluationsRequest) GetPageToken() string
- func (x *SearchEvaluationsRequest) GetParent() string
- func (*SearchEvaluationsRequest) ProtoMessage()
- func (x *SearchEvaluationsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchEvaluationsRequest) Reset()
- func (x *SearchEvaluationsRequest) String() string
- type SearchEvaluationsResponse
- func (*SearchEvaluationsResponse) Descriptor() ([]byte, []int)
- func (x *SearchEvaluationsResponse) GetEvaluations() []*Evaluation
- func (x *SearchEvaluationsResponse) GetNextPageToken() string
- func (*SearchEvaluationsResponse) ProtoMessage()
- func (x *SearchEvaluationsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchEvaluationsResponse) Reset()
- func (x *SearchEvaluationsResponse) String() string
- type SearchExampleComparisonsRequest
- func (*SearchExampleComparisonsRequest) Descriptor() ([]byte, []int)
- func (x *SearchExampleComparisonsRequest) GetPageSize() int32
- func (x *SearchExampleComparisonsRequest) GetPageToken() string
- func (x *SearchExampleComparisonsRequest) GetParent() string
- func (*SearchExampleComparisonsRequest) ProtoMessage()
- func (x *SearchExampleComparisonsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchExampleComparisonsRequest) Reset()
- func (x *SearchExampleComparisonsRequest) String() string
- type SearchExampleComparisonsResponse
- func (*SearchExampleComparisonsResponse) Descriptor() ([]byte, []int)
- func (x *SearchExampleComparisonsResponse) GetExampleComparisons() []*SearchExampleComparisonsResponse_ExampleComparison
- func (x *SearchExampleComparisonsResponse) GetNextPageToken() string
- func (*SearchExampleComparisonsResponse) ProtoMessage()
- func (x *SearchExampleComparisonsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchExampleComparisonsResponse) Reset()
- func (x *SearchExampleComparisonsResponse) String() string
- type SearchExampleComparisonsResponse_ExampleComparison
- func (*SearchExampleComparisonsResponse_ExampleComparison) Descriptor() ([]byte, []int)
- func (x *SearchExampleComparisonsResponse_ExampleComparison) GetGroundTruthExample() *Example
- func (x *SearchExampleComparisonsResponse_ExampleComparison) GetModelCreatedExamples() []*Example
- func (*SearchExampleComparisonsResponse_ExampleComparison) ProtoMessage()
- func (x *SearchExampleComparisonsResponse_ExampleComparison) ProtoReflect() protoreflect.Message
- func (x *SearchExampleComparisonsResponse_ExampleComparison) Reset()
- func (x *SearchExampleComparisonsResponse_ExampleComparison) String() string
- type SegmentationConfig
- func (*SegmentationConfig) Descriptor() ([]byte, []int)
- func (x *SegmentationConfig) GetAnnotationSpecSet() string
- func (x *SegmentationConfig) GetInstructionMessage() string
- func (*SegmentationConfig) ProtoMessage()
- func (x *SegmentationConfig) ProtoReflect() protoreflect.Message
- func (x *SegmentationConfig) Reset()
- func (x *SegmentationConfig) String() string
- type SentimentConfig
- type SequentialSegment
- func (*SequentialSegment) Descriptor() ([]byte, []int)
- func (x *SequentialSegment) GetEnd() int32
- func (x *SequentialSegment) GetStart() int32
- func (*SequentialSegment) ProtoMessage()
- func (x *SequentialSegment) ProtoReflect() protoreflect.Message
- func (x *SequentialSegment) Reset()
- func (x *SequentialSegment) String() string
- type StringAggregationType
- func (StringAggregationType) Descriptor() protoreflect.EnumDescriptor
- func (x StringAggregationType) Enum() *StringAggregationType
- func (StringAggregationType) EnumDescriptor() ([]byte, []int)
- func (x StringAggregationType) Number() protoreflect.EnumNumber
- func (x StringAggregationType) String() string
- func (StringAggregationType) Type() protoreflect.EnumType
- type TextClassificationAnnotation
- func (*TextClassificationAnnotation) Descriptor() ([]byte, []int)
- func (x *TextClassificationAnnotation) GetAnnotationSpec() *AnnotationSpec
- func (*TextClassificationAnnotation) ProtoMessage()
- func (x *TextClassificationAnnotation) ProtoReflect() protoreflect.Message
- func (x *TextClassificationAnnotation) Reset()
- func (x *TextClassificationAnnotation) String() string
- type TextClassificationConfig
- func (*TextClassificationConfig) Descriptor() ([]byte, []int)
- func (x *TextClassificationConfig) GetAllowMultiLabel() bool
- func (x *TextClassificationConfig) GetAnnotationSpecSet() string
- func (x *TextClassificationConfig) GetSentimentConfig() *SentimentConfig
- func (*TextClassificationConfig) ProtoMessage()
- func (x *TextClassificationConfig) ProtoReflect() protoreflect.Message
- func (x *TextClassificationConfig) Reset()
- func (x *TextClassificationConfig) String() string
- type TextEntityExtractionAnnotation
- func (*TextEntityExtractionAnnotation) Descriptor() ([]byte, []int)
- func (x *TextEntityExtractionAnnotation) GetAnnotationSpec() *AnnotationSpec
- func (x *TextEntityExtractionAnnotation) GetSequentialSegment() *SequentialSegment
- func (*TextEntityExtractionAnnotation) ProtoMessage()
- func (x *TextEntityExtractionAnnotation) ProtoReflect() protoreflect.Message
- func (x *TextEntityExtractionAnnotation) Reset()
- func (x *TextEntityExtractionAnnotation) String() string
- type TextEntityExtractionConfig
- func (*TextEntityExtractionConfig) Descriptor() ([]byte, []int)
- func (x *TextEntityExtractionConfig) GetAnnotationSpecSet() string
- func (*TextEntityExtractionConfig) ProtoMessage()
- func (x *TextEntityExtractionConfig) ProtoReflect() protoreflect.Message
- func (x *TextEntityExtractionConfig) Reset()
- func (x *TextEntityExtractionConfig) String() string
- type TextMetadata
- type TextPayload
- type TimeSegment
- func (*TimeSegment) Descriptor() ([]byte, []int)
- func (x *TimeSegment) GetEndTimeOffset() *durationpb.Duration
- func (x *TimeSegment) GetStartTimeOffset() *durationpb.Duration
- func (*TimeSegment) ProtoMessage()
- func (x *TimeSegment) ProtoReflect() protoreflect.Message
- func (x *TimeSegment) Reset()
- func (x *TimeSegment) String() string
- type UnimplementedDataLabelingServiceServer
- func (*UnimplementedDataLabelingServiceServer) CreateAnnotationSpecSet(context.Context, *CreateAnnotationSpecSetRequest) (*AnnotationSpecSet, error)
- func (*UnimplementedDataLabelingServiceServer) CreateDataset(context.Context, *CreateDatasetRequest) (*Dataset, error)
- func (*UnimplementedDataLabelingServiceServer) CreateEvaluationJob(context.Context, *CreateEvaluationJobRequest) (*EvaluationJob, error)
- func (*UnimplementedDataLabelingServiceServer) CreateInstruction(context.Context, *CreateInstructionRequest) (*longrunning.Operation, error)
- func (*UnimplementedDataLabelingServiceServer) DeleteAnnotatedDataset(context.Context, *DeleteAnnotatedDatasetRequest) (*emptypb.Empty, error)
- func (*UnimplementedDataLabelingServiceServer) DeleteAnnotationSpecSet(context.Context, *DeleteAnnotationSpecSetRequest) (*emptypb.Empty, error)
- func (*UnimplementedDataLabelingServiceServer) DeleteDataset(context.Context, *DeleteDatasetRequest) (*emptypb.Empty, error)
- func (*UnimplementedDataLabelingServiceServer) DeleteEvaluationJob(context.Context, *DeleteEvaluationJobRequest) (*emptypb.Empty, error)
- func (*UnimplementedDataLabelingServiceServer) DeleteInstruction(context.Context, *DeleteInstructionRequest) (*emptypb.Empty, error)
- func (*UnimplementedDataLabelingServiceServer) ExportData(context.Context, *ExportDataRequest) (*longrunning.Operation, error)
- func (*UnimplementedDataLabelingServiceServer) GetAnnotatedDataset(context.Context, *GetAnnotatedDatasetRequest) (*AnnotatedDataset, error)
- func (*UnimplementedDataLabelingServiceServer) GetAnnotationSpecSet(context.Context, *GetAnnotationSpecSetRequest) (*AnnotationSpecSet, error)
- func (*UnimplementedDataLabelingServiceServer) GetDataItem(context.Context, *GetDataItemRequest) (*DataItem, error)
- func (*UnimplementedDataLabelingServiceServer) GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error)
- func (*UnimplementedDataLabelingServiceServer) GetEvaluation(context.Context, *GetEvaluationRequest) (*Evaluation, error)
- func (*UnimplementedDataLabelingServiceServer) GetEvaluationJob(context.Context, *GetEvaluationJobRequest) (*EvaluationJob, error)
- func (*UnimplementedDataLabelingServiceServer) GetExample(context.Context, *GetExampleRequest) (*Example, error)
- func (*UnimplementedDataLabelingServiceServer) GetInstruction(context.Context, *GetInstructionRequest) (*Instruction, error)
- func (*UnimplementedDataLabelingServiceServer) ImportData(context.Context, *ImportDataRequest) (*longrunning.Operation, error)
- func (*UnimplementedDataLabelingServiceServer) LabelImage(context.Context, *LabelImageRequest) (*longrunning.Operation, error)
- func (*UnimplementedDataLabelingServiceServer) LabelText(context.Context, *LabelTextRequest) (*longrunning.Operation, error)
- func (*UnimplementedDataLabelingServiceServer) LabelVideo(context.Context, *LabelVideoRequest) (*longrunning.Operation, error)
- func (*UnimplementedDataLabelingServiceServer) ListAnnotatedDatasets(context.Context, *ListAnnotatedDatasetsRequest) (*ListAnnotatedDatasetsResponse, error)
- func (*UnimplementedDataLabelingServiceServer) ListAnnotationSpecSets(context.Context, *ListAnnotationSpecSetsRequest) (*ListAnnotationSpecSetsResponse, error)
- func (*UnimplementedDataLabelingServiceServer) ListDataItems(context.Context, *ListDataItemsRequest) (*ListDataItemsResponse, error)
- func (*UnimplementedDataLabelingServiceServer) ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error)
- func (*UnimplementedDataLabelingServiceServer) ListEvaluationJobs(context.Context, *ListEvaluationJobsRequest) (*ListEvaluationJobsResponse, error)
- func (*UnimplementedDataLabelingServiceServer) ListExamples(context.Context, *ListExamplesRequest) (*ListExamplesResponse, error)
- func (*UnimplementedDataLabelingServiceServer) ListInstructions(context.Context, *ListInstructionsRequest) (*ListInstructionsResponse, error)
- func (*UnimplementedDataLabelingServiceServer) PauseEvaluationJob(context.Context, *PauseEvaluationJobRequest) (*emptypb.Empty, error)
- func (*UnimplementedDataLabelingServiceServer) ResumeEvaluationJob(context.Context, *ResumeEvaluationJobRequest) (*emptypb.Empty, error)
- func (*UnimplementedDataLabelingServiceServer) SearchEvaluations(context.Context, *SearchEvaluationsRequest) (*SearchEvaluationsResponse, error)
- func (*UnimplementedDataLabelingServiceServer) SearchExampleComparisons(context.Context, *SearchExampleComparisonsRequest) (*SearchExampleComparisonsResponse, error)
- func (*UnimplementedDataLabelingServiceServer) UpdateEvaluationJob(context.Context, *UpdateEvaluationJobRequest) (*EvaluationJob, error)
- type UpdateEvaluationJobRequest
- func (*UpdateEvaluationJobRequest) Descriptor() ([]byte, []int)
- func (x *UpdateEvaluationJobRequest) GetEvaluationJob() *EvaluationJob
- func (x *UpdateEvaluationJobRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateEvaluationJobRequest) ProtoMessage()
- func (x *UpdateEvaluationJobRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEvaluationJobRequest) Reset()
- func (x *UpdateEvaluationJobRequest) String() string
- type Vertex
- type VideoClassificationAnnotation
- func (*VideoClassificationAnnotation) Descriptor() ([]byte, []int)
- func (x *VideoClassificationAnnotation) GetAnnotationSpec() *AnnotationSpec
- func (x *VideoClassificationAnnotation) GetTimeSegment() *TimeSegment
- func (*VideoClassificationAnnotation) ProtoMessage()
- func (x *VideoClassificationAnnotation) ProtoReflect() protoreflect.Message
- func (x *VideoClassificationAnnotation) Reset()
- func (x *VideoClassificationAnnotation) String() string
- type VideoClassificationConfig
- func (*VideoClassificationConfig) Descriptor() ([]byte, []int)
- func (x *VideoClassificationConfig) GetAnnotationSpecSetConfigs() []*VideoClassificationConfig_AnnotationSpecSetConfig
- func (x *VideoClassificationConfig) GetApplyShotDetection() bool
- func (*VideoClassificationConfig) ProtoMessage()
- func (x *VideoClassificationConfig) ProtoReflect() protoreflect.Message
- func (x *VideoClassificationConfig) Reset()
- func (x *VideoClassificationConfig) String() string
- type VideoClassificationConfig_AnnotationSpecSetConfig
- func (*VideoClassificationConfig_AnnotationSpecSetConfig) Descriptor() ([]byte, []int)
- func (x *VideoClassificationConfig_AnnotationSpecSetConfig) GetAllowMultiLabel() bool
- func (x *VideoClassificationConfig_AnnotationSpecSetConfig) GetAnnotationSpecSet() string
- func (*VideoClassificationConfig_AnnotationSpecSetConfig) ProtoMessage()
- func (x *VideoClassificationConfig_AnnotationSpecSetConfig) ProtoReflect() protoreflect.Message
- func (x *VideoClassificationConfig_AnnotationSpecSetConfig) Reset()
- func (x *VideoClassificationConfig_AnnotationSpecSetConfig) String() string
- type VideoEventAnnotation
- func (*VideoEventAnnotation) Descriptor() ([]byte, []int)
- func (x *VideoEventAnnotation) GetAnnotationSpec() *AnnotationSpec
- func (x *VideoEventAnnotation) GetTimeSegment() *TimeSegment
- func (*VideoEventAnnotation) ProtoMessage()
- func (x *VideoEventAnnotation) ProtoReflect() protoreflect.Message
- func (x *VideoEventAnnotation) Reset()
- func (x *VideoEventAnnotation) String() string
- type VideoObjectTrackingAnnotation
- func (*VideoObjectTrackingAnnotation) Descriptor() ([]byte, []int)
- func (x *VideoObjectTrackingAnnotation) GetAnnotationSpec() *AnnotationSpec
- func (x *VideoObjectTrackingAnnotation) GetObjectTrackingFrames() []*ObjectTrackingFrame
- func (x *VideoObjectTrackingAnnotation) GetTimeSegment() *TimeSegment
- func (*VideoObjectTrackingAnnotation) ProtoMessage()
- func (x *VideoObjectTrackingAnnotation) ProtoReflect() protoreflect.Message
- func (x *VideoObjectTrackingAnnotation) Reset()
- func (x *VideoObjectTrackingAnnotation) String() string
- type VideoPayload
- func (*VideoPayload) Descriptor() ([]byte, []int)
- func (x *VideoPayload) GetFrameRate() float32
- func (x *VideoPayload) GetMimeType() string
- func (x *VideoPayload) GetSignedUri() string
- func (x *VideoPayload) GetVideoThumbnails() []*VideoThumbnail
- func (x *VideoPayload) GetVideoUri() string
- func (*VideoPayload) ProtoMessage()
- func (x *VideoPayload) ProtoReflect() protoreflect.Message
- func (x *VideoPayload) Reset()
- func (x *VideoPayload) String() string
- type VideoThumbnail
- func (*VideoThumbnail) Descriptor() ([]byte, []int)
- func (x *VideoThumbnail) GetThumbnail() []byte
- func (x *VideoThumbnail) GetTimeOffset() *durationpb.Duration
- func (*VideoThumbnail) ProtoMessage()
- func (x *VideoThumbnail) ProtoReflect() protoreflect.Message
- func (x *VideoThumbnail) Reset()
- func (x *VideoThumbnail) String() string
Constants ¶
Variables ¶
var ( AnnotationSource_name = map[int32]string{ 0: "ANNOTATION_SOURCE_UNSPECIFIED", 3: "OPERATOR", } AnnotationSource_value = map[string]int32{ "ANNOTATION_SOURCE_UNSPECIFIED": 0, "OPERATOR": 3, } )
Enum value maps for AnnotationSource.
var ( AnnotationSentiment_name = map[int32]string{ 0: "ANNOTATION_SENTIMENT_UNSPECIFIED", 1: "NEGATIVE", 2: "POSITIVE", } AnnotationSentiment_value = map[string]int32{ "ANNOTATION_SENTIMENT_UNSPECIFIED": 0, "NEGATIVE": 1, "POSITIVE": 2, } )
Enum value maps for AnnotationSentiment.
var ( AnnotationType_name = map[int32]string{ 0: "ANNOTATION_TYPE_UNSPECIFIED", 1: "IMAGE_CLASSIFICATION_ANNOTATION", 2: "IMAGE_BOUNDING_BOX_ANNOTATION", 13: "IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION", 10: "IMAGE_BOUNDING_POLY_ANNOTATION", 11: "IMAGE_POLYLINE_ANNOTATION", 12: "IMAGE_SEGMENTATION_ANNOTATION", 3: "VIDEO_SHOTS_CLASSIFICATION_ANNOTATION", 4: "VIDEO_OBJECT_TRACKING_ANNOTATION", 5: "VIDEO_OBJECT_DETECTION_ANNOTATION", 6: "VIDEO_EVENT_ANNOTATION", 8: "TEXT_CLASSIFICATION_ANNOTATION", 9: "TEXT_ENTITY_EXTRACTION_ANNOTATION", 14: "GENERAL_CLASSIFICATION_ANNOTATION", } AnnotationType_value = map[string]int32{ "ANNOTATION_TYPE_UNSPECIFIED": 0, "IMAGE_CLASSIFICATION_ANNOTATION": 1, "IMAGE_BOUNDING_BOX_ANNOTATION": 2, "IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION": 13, "IMAGE_BOUNDING_POLY_ANNOTATION": 10, "IMAGE_POLYLINE_ANNOTATION": 11, "IMAGE_SEGMENTATION_ANNOTATION": 12, "VIDEO_SHOTS_CLASSIFICATION_ANNOTATION": 3, "VIDEO_OBJECT_TRACKING_ANNOTATION": 4, "VIDEO_OBJECT_DETECTION_ANNOTATION": 5, "VIDEO_EVENT_ANNOTATION": 6, "TEXT_CLASSIFICATION_ANNOTATION": 8, "TEXT_ENTITY_EXTRACTION_ANNOTATION": 9, "GENERAL_CLASSIFICATION_ANNOTATION": 14, } )
Enum value maps for AnnotationType.
var ( LabelImageRequest_Feature_name = map[int32]string{ 0: "FEATURE_UNSPECIFIED", 1: "CLASSIFICATION", 2: "BOUNDING_BOX", 6: "ORIENTED_BOUNDING_BOX", 3: "BOUNDING_POLY", 4: "POLYLINE", 5: "SEGMENTATION", } LabelImageRequest_Feature_value = map[string]int32{ "FEATURE_UNSPECIFIED": 0, "CLASSIFICATION": 1, "BOUNDING_BOX": 2, "ORIENTED_BOUNDING_BOX": 6, "BOUNDING_POLY": 3, "POLYLINE": 4, "SEGMENTATION": 5, } )
Enum value maps for LabelImageRequest_Feature.
var ( LabelVideoRequest_Feature_name = map[int32]string{ 0: "FEATURE_UNSPECIFIED", 1: "CLASSIFICATION", 2: "OBJECT_DETECTION", 3: "OBJECT_TRACKING", 4: "EVENT", } LabelVideoRequest_Feature_value = map[string]int32{ "FEATURE_UNSPECIFIED": 0, "CLASSIFICATION": 1, "OBJECT_DETECTION": 2, "OBJECT_TRACKING": 3, "EVENT": 4, } )
Enum value maps for LabelVideoRequest_Feature.
var ( LabelTextRequest_Feature_name = map[int32]string{ 0: "FEATURE_UNSPECIFIED", 1: "TEXT_CLASSIFICATION", 2: "TEXT_ENTITY_EXTRACTION", } LabelTextRequest_Feature_value = map[string]int32{ "FEATURE_UNSPECIFIED": 0, "TEXT_CLASSIFICATION": 1, "TEXT_ENTITY_EXTRACTION": 2, } )
Enum value maps for LabelTextRequest_Feature.
var ( DataType_name = map[int32]string{ 0: "DATA_TYPE_UNSPECIFIED", 1: "IMAGE", 2: "VIDEO", 4: "TEXT", 6: "GENERAL_DATA", } DataType_value = map[string]int32{ "DATA_TYPE_UNSPECIFIED": 0, "IMAGE": 1, "VIDEO": 2, "TEXT": 4, "GENERAL_DATA": 6, } )
Enum value maps for DataType.
var ( EvaluationJob_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "SCHEDULED", 2: "RUNNING", 3: "PAUSED", 4: "STOPPED", } EvaluationJob_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "SCHEDULED": 1, "RUNNING": 2, "PAUSED": 3, "STOPPED": 4, } )
Enum value maps for EvaluationJob_State.
var ( StringAggregationType_name = map[int32]string{ 0: "STRING_AGGREGATION_TYPE_UNSPECIFIED", 1: "MAJORITY_VOTE", 2: "UNANIMOUS_VOTE", 3: "NO_AGGREGATION", } StringAggregationType_value = map[string]int32{ "STRING_AGGREGATION_TYPE_UNSPECIFIED": 0, "MAJORITY_VOTE": 1, "UNANIMOUS_VOTE": 2, "NO_AGGREGATION": 3, } )
Enum value maps for StringAggregationType.
var File_google_cloud_datalabeling_v1beta1_annotation_proto protoreflect.FileDescriptor
var File_google_cloud_datalabeling_v1beta1_annotation_spec_set_proto protoreflect.FileDescriptor
var File_google_cloud_datalabeling_v1beta1_data_labeling_service_proto protoreflect.FileDescriptor
var File_google_cloud_datalabeling_v1beta1_data_payloads_proto protoreflect.FileDescriptor
var File_google_cloud_datalabeling_v1beta1_dataset_proto protoreflect.FileDescriptor
var File_google_cloud_datalabeling_v1beta1_evaluation_job_proto protoreflect.FileDescriptor
var File_google_cloud_datalabeling_v1beta1_evaluation_proto protoreflect.FileDescriptor
var File_google_cloud_datalabeling_v1beta1_human_annotation_config_proto protoreflect.FileDescriptor
var File_google_cloud_datalabeling_v1beta1_instruction_proto protoreflect.FileDescriptor
var File_google_cloud_datalabeling_v1beta1_operations_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDataLabelingServiceServer ¶
func RegisterDataLabelingServiceServer(s *grpc.Server, srv DataLabelingServiceServer)
Types ¶
type AnnotatedDataset ¶
type AnnotatedDataset struct { // Output only. AnnotatedDataset resource name in format of: // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ // {annotated_dataset_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The display name of the AnnotatedDataset. It is specified in // HumanAnnotationConfig when user starts a labeling task. Maximum of 64 // characters. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. The description of the AnnotatedDataset. It is specified in // HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 // characters. Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` // Output only. Source of the annotation. AnnotationSource AnnotationSource `` /* 166-byte string literal not displayed */ // Output only. Type of the annotation. It is specified when starting labeling // task. AnnotationType AnnotationType `` /* 158-byte string literal not displayed */ // Output only. Number of examples in the annotated dataset. ExampleCount int64 `protobuf:"varint,4,opt,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"` // Output only. Number of examples that have annotation in the annotated // dataset. CompletedExampleCount int64 `` /* 127-byte string literal not displayed */ // Output only. Per label statistics. LabelStats *LabelStats `protobuf:"bytes,6,opt,name=label_stats,json=labelStats,proto3" json:"label_stats,omitempty"` // Output only. Time the AnnotatedDataset was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Additional information about AnnotatedDataset. Metadata *AnnotatedDatasetMetadata `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata,omitempty"` // Output only. The names of any related resources that are blocking changes // to the annotated dataset. BlockingResources []string `protobuf:"bytes,11,rep,name=blocking_resources,json=blockingResources,proto3" json:"blocking_resources,omitempty"` // contains filtered or unexported fields }
AnnotatedDataset is a set holding annotations for data in a Dataset. Each labeling task will generate an AnnotatedDataset under the Dataset that the task is requested for.
func (*AnnotatedDataset) Descriptor ¶
func (*AnnotatedDataset) Descriptor() ([]byte, []int)
Deprecated: Use AnnotatedDataset.ProtoReflect.Descriptor instead.
func (*AnnotatedDataset) GetAnnotationSource ¶
func (x *AnnotatedDataset) GetAnnotationSource() AnnotationSource
func (*AnnotatedDataset) GetAnnotationType ¶
func (x *AnnotatedDataset) GetAnnotationType() AnnotationType
func (*AnnotatedDataset) GetBlockingResources ¶
func (x *AnnotatedDataset) GetBlockingResources() []string
func (*AnnotatedDataset) GetCompletedExampleCount ¶
func (x *AnnotatedDataset) GetCompletedExampleCount() int64
func (*AnnotatedDataset) GetCreateTime ¶
func (x *AnnotatedDataset) GetCreateTime() *timestamppb.Timestamp
func (*AnnotatedDataset) GetDescription ¶
func (x *AnnotatedDataset) GetDescription() string
func (*AnnotatedDataset) GetDisplayName ¶
func (x *AnnotatedDataset) GetDisplayName() string
func (*AnnotatedDataset) GetExampleCount ¶
func (x *AnnotatedDataset) GetExampleCount() int64
func (*AnnotatedDataset) GetLabelStats ¶
func (x *AnnotatedDataset) GetLabelStats() *LabelStats
func (*AnnotatedDataset) GetMetadata ¶
func (x *AnnotatedDataset) GetMetadata() *AnnotatedDatasetMetadata
func (*AnnotatedDataset) GetName ¶
func (x *AnnotatedDataset) GetName() string
func (*AnnotatedDataset) ProtoMessage ¶
func (*AnnotatedDataset) ProtoMessage()
func (*AnnotatedDataset) ProtoReflect ¶
func (x *AnnotatedDataset) ProtoReflect() protoreflect.Message
func (*AnnotatedDataset) Reset ¶
func (x *AnnotatedDataset) Reset()
func (*AnnotatedDataset) String ¶
func (x *AnnotatedDataset) String() string
type AnnotatedDatasetMetadata ¶
type AnnotatedDatasetMetadata struct { // Specific request configuration used when requesting the labeling task. // // Types that are assignable to AnnotationRequestConfig: // *AnnotatedDatasetMetadata_ImageClassificationConfig // *AnnotatedDatasetMetadata_BoundingPolyConfig // *AnnotatedDatasetMetadata_PolylineConfig // *AnnotatedDatasetMetadata_SegmentationConfig // *AnnotatedDatasetMetadata_VideoClassificationConfig // *AnnotatedDatasetMetadata_ObjectDetectionConfig // *AnnotatedDatasetMetadata_ObjectTrackingConfig // *AnnotatedDatasetMetadata_EventConfig // *AnnotatedDatasetMetadata_TextClassificationConfig // *AnnotatedDatasetMetadata_TextEntityExtractionConfig AnnotationRequestConfig isAnnotatedDatasetMetadata_AnnotationRequestConfig `protobuf_oneof:"annotation_request_config"` // HumanAnnotationConfig used when requesting the human labeling task for this // AnnotatedDataset. HumanAnnotationConfig *HumanAnnotationConfig `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Metadata on AnnotatedDataset.
func (*AnnotatedDatasetMetadata) Descriptor ¶
func (*AnnotatedDatasetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AnnotatedDatasetMetadata.ProtoReflect.Descriptor instead.
func (*AnnotatedDatasetMetadata) GetAnnotationRequestConfig ¶
func (m *AnnotatedDatasetMetadata) GetAnnotationRequestConfig() isAnnotatedDatasetMetadata_AnnotationRequestConfig
func (*AnnotatedDatasetMetadata) GetBoundingPolyConfig ¶
func (x *AnnotatedDatasetMetadata) GetBoundingPolyConfig() *BoundingPolyConfig
func (*AnnotatedDatasetMetadata) GetEventConfig ¶
func (x *AnnotatedDatasetMetadata) GetEventConfig() *EventConfig
func (*AnnotatedDatasetMetadata) GetHumanAnnotationConfig ¶
func (x *AnnotatedDatasetMetadata) GetHumanAnnotationConfig() *HumanAnnotationConfig
func (*AnnotatedDatasetMetadata) GetImageClassificationConfig ¶
func (x *AnnotatedDatasetMetadata) GetImageClassificationConfig() *ImageClassificationConfig
func (*AnnotatedDatasetMetadata) GetObjectDetectionConfig ¶
func (x *AnnotatedDatasetMetadata) GetObjectDetectionConfig() *ObjectDetectionConfig
func (*AnnotatedDatasetMetadata) GetObjectTrackingConfig ¶
func (x *AnnotatedDatasetMetadata) GetObjectTrackingConfig() *ObjectTrackingConfig
func (*AnnotatedDatasetMetadata) GetPolylineConfig ¶
func (x *AnnotatedDatasetMetadata) GetPolylineConfig() *PolylineConfig
func (*AnnotatedDatasetMetadata) GetSegmentationConfig ¶
func (x *AnnotatedDatasetMetadata) GetSegmentationConfig() *SegmentationConfig
func (*AnnotatedDatasetMetadata) GetTextClassificationConfig ¶
func (x *AnnotatedDatasetMetadata) GetTextClassificationConfig() *TextClassificationConfig
func (*AnnotatedDatasetMetadata) GetTextEntityExtractionConfig ¶
func (x *AnnotatedDatasetMetadata) GetTextEntityExtractionConfig() *TextEntityExtractionConfig
func (*AnnotatedDatasetMetadata) GetVideoClassificationConfig ¶
func (x *AnnotatedDatasetMetadata) GetVideoClassificationConfig() *VideoClassificationConfig
func (*AnnotatedDatasetMetadata) ProtoMessage ¶
func (*AnnotatedDatasetMetadata) ProtoMessage()
func (*AnnotatedDatasetMetadata) ProtoReflect ¶
func (x *AnnotatedDatasetMetadata) ProtoReflect() protoreflect.Message
func (*AnnotatedDatasetMetadata) Reset ¶
func (x *AnnotatedDatasetMetadata) Reset()
func (*AnnotatedDatasetMetadata) String ¶
func (x *AnnotatedDatasetMetadata) String() string
type AnnotatedDatasetMetadata_BoundingPolyConfig ¶
type AnnotatedDatasetMetadata_BoundingPolyConfig struct { // Configuration for image bounding box and bounding poly task. BoundingPolyConfig *BoundingPolyConfig `protobuf:"bytes,3,opt,name=bounding_poly_config,json=boundingPolyConfig,proto3,oneof"` }
type AnnotatedDatasetMetadata_EventConfig ¶
type AnnotatedDatasetMetadata_EventConfig struct { // Configuration for video event labeling task. EventConfig *EventConfig `protobuf:"bytes,9,opt,name=event_config,json=eventConfig,proto3,oneof"` }
type AnnotatedDatasetMetadata_ImageClassificationConfig ¶
type AnnotatedDatasetMetadata_ImageClassificationConfig struct { // Configuration for image classification task. ImageClassificationConfig *ImageClassificationConfig `protobuf:"bytes,2,opt,name=image_classification_config,json=imageClassificationConfig,proto3,oneof"` }
type AnnotatedDatasetMetadata_ObjectDetectionConfig ¶
type AnnotatedDatasetMetadata_ObjectDetectionConfig struct { // Configuration for video object detection task. ObjectDetectionConfig *ObjectDetectionConfig `protobuf:"bytes,7,opt,name=object_detection_config,json=objectDetectionConfig,proto3,oneof"` }
type AnnotatedDatasetMetadata_ObjectTrackingConfig ¶
type AnnotatedDatasetMetadata_ObjectTrackingConfig struct { // Configuration for video object tracking task. ObjectTrackingConfig *ObjectTrackingConfig `protobuf:"bytes,8,opt,name=object_tracking_config,json=objectTrackingConfig,proto3,oneof"` }
type AnnotatedDatasetMetadata_PolylineConfig ¶
type AnnotatedDatasetMetadata_PolylineConfig struct { // Configuration for image polyline task. PolylineConfig *PolylineConfig `protobuf:"bytes,4,opt,name=polyline_config,json=polylineConfig,proto3,oneof"` }
type AnnotatedDatasetMetadata_SegmentationConfig ¶
type AnnotatedDatasetMetadata_SegmentationConfig struct { // Configuration for image segmentation task. SegmentationConfig *SegmentationConfig `protobuf:"bytes,5,opt,name=segmentation_config,json=segmentationConfig,proto3,oneof"` }
type AnnotatedDatasetMetadata_TextClassificationConfig ¶
type AnnotatedDatasetMetadata_TextClassificationConfig struct { // Configuration for text classification task. TextClassificationConfig *TextClassificationConfig `protobuf:"bytes,10,opt,name=text_classification_config,json=textClassificationConfig,proto3,oneof"` }
type AnnotatedDatasetMetadata_TextEntityExtractionConfig ¶
type AnnotatedDatasetMetadata_TextEntityExtractionConfig struct { // Configuration for text entity extraction task. TextEntityExtractionConfig *TextEntityExtractionConfig `protobuf:"bytes,11,opt,name=text_entity_extraction_config,json=textEntityExtractionConfig,proto3,oneof"` }
type AnnotatedDatasetMetadata_VideoClassificationConfig ¶
type AnnotatedDatasetMetadata_VideoClassificationConfig struct { // Configuration for video classification task. VideoClassificationConfig *VideoClassificationConfig `protobuf:"bytes,6,opt,name=video_classification_config,json=videoClassificationConfig,proto3,oneof"` }
type Annotation ¶
type Annotation struct { // Output only. Unique name of this annotation, format is: // // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The source of the annotation. AnnotationSource AnnotationSource `` /* 166-byte string literal not displayed */ // Output only. This is the actual annotation value, e.g classification, // bounding box values are stored here. AnnotationValue *AnnotationValue `protobuf:"bytes,3,opt,name=annotation_value,json=annotationValue,proto3" json:"annotation_value,omitempty"` // Output only. Annotation metadata, including information like votes // for labels. AnnotationMetadata *AnnotationMetadata `protobuf:"bytes,4,opt,name=annotation_metadata,json=annotationMetadata,proto3" json:"annotation_metadata,omitempty"` // Output only. Sentiment for this annotation. AnnotationSentiment AnnotationSentiment `` /* 178-byte string literal not displayed */ // contains filtered or unexported fields }
Annotation for Example. Each example may have one or more annotations. For example in image classification problem, each image might have one or more labels. We call labels binded with this image an Annotation.
func (*Annotation) Descriptor ¶
func (*Annotation) Descriptor() ([]byte, []int)
Deprecated: Use Annotation.ProtoReflect.Descriptor instead.
func (*Annotation) GetAnnotationMetadata ¶
func (x *Annotation) GetAnnotationMetadata() *AnnotationMetadata
func (*Annotation) GetAnnotationSentiment ¶
func (x *Annotation) GetAnnotationSentiment() AnnotationSentiment
func (*Annotation) GetAnnotationSource ¶
func (x *Annotation) GetAnnotationSource() AnnotationSource
func (*Annotation) GetAnnotationValue ¶
func (x *Annotation) GetAnnotationValue() *AnnotationValue
func (*Annotation) GetName ¶
func (x *Annotation) GetName() string
func (*Annotation) ProtoMessage ¶
func (*Annotation) ProtoMessage()
func (*Annotation) ProtoReflect ¶
func (x *Annotation) ProtoReflect() protoreflect.Message
func (*Annotation) Reset ¶
func (x *Annotation) Reset()
func (*Annotation) String ¶
func (x *Annotation) String() string
type AnnotationMetadata ¶
type AnnotationMetadata struct { // Metadata related to human labeling. OperatorMetadata *OperatorMetadata `protobuf:"bytes,2,opt,name=operator_metadata,json=operatorMetadata,proto3" json:"operator_metadata,omitempty"` // contains filtered or unexported fields }
Additional information associated with the annotation.
func (*AnnotationMetadata) Descriptor ¶
func (*AnnotationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationMetadata.ProtoReflect.Descriptor instead.
func (*AnnotationMetadata) GetOperatorMetadata ¶
func (x *AnnotationMetadata) GetOperatorMetadata() *OperatorMetadata
func (*AnnotationMetadata) ProtoMessage ¶
func (*AnnotationMetadata) ProtoMessage()
func (*AnnotationMetadata) ProtoReflect ¶
func (x *AnnotationMetadata) ProtoReflect() protoreflect.Message
func (*AnnotationMetadata) Reset ¶
func (x *AnnotationMetadata) Reset()
func (*AnnotationMetadata) String ¶
func (x *AnnotationMetadata) String() string
type AnnotationSentiment ¶
type AnnotationSentiment int32
const ( AnnotationSentiment_ANNOTATION_SENTIMENT_UNSPECIFIED AnnotationSentiment = 0 // This annotation describes negatively about the data. AnnotationSentiment_NEGATIVE AnnotationSentiment = 1 // This label describes positively about the data. AnnotationSentiment_POSITIVE AnnotationSentiment = 2 )
func (AnnotationSentiment) Descriptor ¶
func (AnnotationSentiment) Descriptor() protoreflect.EnumDescriptor
func (AnnotationSentiment) Enum ¶
func (x AnnotationSentiment) Enum() *AnnotationSentiment
func (AnnotationSentiment) EnumDescriptor ¶
func (AnnotationSentiment) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnnotationSentiment.Descriptor instead.
func (AnnotationSentiment) Number ¶
func (x AnnotationSentiment) Number() protoreflect.EnumNumber
func (AnnotationSentiment) String ¶
func (x AnnotationSentiment) String() string
func (AnnotationSentiment) Type ¶
func (AnnotationSentiment) Type() protoreflect.EnumType
type AnnotationSource ¶
type AnnotationSource int32
Specifies where the annotation comes from (whether it was provided by a human labeler or a different source).
const ( AnnotationSource_ANNOTATION_SOURCE_UNSPECIFIED AnnotationSource = 0 // Answer is provided by a human contributor. AnnotationSource_OPERATOR AnnotationSource = 3 )
func (AnnotationSource) Descriptor ¶
func (AnnotationSource) Descriptor() protoreflect.EnumDescriptor
func (AnnotationSource) Enum ¶
func (x AnnotationSource) Enum() *AnnotationSource
func (AnnotationSource) EnumDescriptor ¶
func (AnnotationSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnnotationSource.Descriptor instead.
func (AnnotationSource) Number ¶
func (x AnnotationSource) Number() protoreflect.EnumNumber
func (AnnotationSource) String ¶
func (x AnnotationSource) String() string
func (AnnotationSource) Type ¶
func (AnnotationSource) Type() protoreflect.EnumType
type AnnotationSpec ¶
type AnnotationSpec struct { // Required. The display name of the AnnotationSpec. Maximum of 64 characters. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Optional. User-provided description of the annotation specification. // The description can be up to 10,000 characters long. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`.
func (*AnnotationSpec) Descriptor ¶
func (*AnnotationSpec) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationSpec.ProtoReflect.Descriptor instead.
func (*AnnotationSpec) GetDescription ¶
func (x *AnnotationSpec) GetDescription() string
func (*AnnotationSpec) GetDisplayName ¶
func (x *AnnotationSpec) GetDisplayName() string
func (*AnnotationSpec) ProtoMessage ¶
func (*AnnotationSpec) ProtoMessage()
func (*AnnotationSpec) ProtoReflect ¶
func (x *AnnotationSpec) ProtoReflect() protoreflect.Message
func (*AnnotationSpec) Reset ¶
func (x *AnnotationSpec) Reset()
func (*AnnotationSpec) String ¶
func (x *AnnotationSpec) String() string
type AnnotationSpecSet ¶
type AnnotationSpecSet struct { // Output only. The AnnotationSpecSet resource name in the following format: // // "projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The display name for AnnotationSpecSet that you define when you // create it. Maximum of 64 characters. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Optional. User-provided description of the annotation specification set. // The description can be up to 10,000 characters long. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Required. The array of AnnotationSpecs that you define when you create the // AnnotationSpecSet. These are the possible labels for the labeling task. AnnotationSpecs []*AnnotationSpec `protobuf:"bytes,4,rep,name=annotation_specs,json=annotationSpecs,proto3" json:"annotation_specs,omitempty"` // Output only. The names of any related resources that are blocking changes // to the annotation spec set. BlockingResources []string `protobuf:"bytes,5,rep,name=blocking_resources,json=blockingResources,proto3" json:"blocking_resources,omitempty"` // contains filtered or unexported fields }
An AnnotationSpecSet is a collection of label definitions. For example, in image classification tasks, you define a set of possible labels for images as an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation.
func (*AnnotationSpecSet) Descriptor ¶
func (*AnnotationSpecSet) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationSpecSet.ProtoReflect.Descriptor instead.
func (*AnnotationSpecSet) GetAnnotationSpecs ¶
func (x *AnnotationSpecSet) GetAnnotationSpecs() []*AnnotationSpec
func (*AnnotationSpecSet) GetBlockingResources ¶
func (x *AnnotationSpecSet) GetBlockingResources() []string
func (*AnnotationSpecSet) GetDescription ¶
func (x *AnnotationSpecSet) GetDescription() string
func (*AnnotationSpecSet) GetDisplayName ¶
func (x *AnnotationSpecSet) GetDisplayName() string
func (*AnnotationSpecSet) GetName ¶
func (x *AnnotationSpecSet) GetName() string
func (*AnnotationSpecSet) ProtoMessage ¶
func (*AnnotationSpecSet) ProtoMessage()
func (*AnnotationSpecSet) ProtoReflect ¶
func (x *AnnotationSpecSet) ProtoReflect() protoreflect.Message
func (*AnnotationSpecSet) Reset ¶
func (x *AnnotationSpecSet) Reset()
func (*AnnotationSpecSet) String ¶
func (x *AnnotationSpecSet) String() string
type AnnotationType ¶
type AnnotationType int32
const ( AnnotationType_ANNOTATION_TYPE_UNSPECIFIED AnnotationType = 0 // Classification annotations in an image. Allowed for continuous evaluation. AnnotationType_IMAGE_CLASSIFICATION_ANNOTATION AnnotationType = 1 // Bounding box annotations in an image. A form of image object detection. // Allowed for continuous evaluation. AnnotationType_IMAGE_BOUNDING_BOX_ANNOTATION AnnotationType = 2 // Oriented bounding box. The box does not have to be parallel to horizontal // line. AnnotationType_IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION AnnotationType = 13 // Bounding poly annotations in an image. AnnotationType_IMAGE_BOUNDING_POLY_ANNOTATION AnnotationType = 10 // Polyline annotations in an image. AnnotationType_IMAGE_POLYLINE_ANNOTATION AnnotationType = 11 // Segmentation annotations in an image. AnnotationType_IMAGE_SEGMENTATION_ANNOTATION AnnotationType = 12 // Classification annotations in video shots. AnnotationType_VIDEO_SHOTS_CLASSIFICATION_ANNOTATION AnnotationType = 3 // Video object tracking annotation. AnnotationType_VIDEO_OBJECT_TRACKING_ANNOTATION AnnotationType = 4 // Video object detection annotation. AnnotationType_VIDEO_OBJECT_DETECTION_ANNOTATION AnnotationType = 5 // Video event annotation. AnnotationType_VIDEO_EVENT_ANNOTATION AnnotationType = 6 // Classification for text. Allowed for continuous evaluation. AnnotationType_TEXT_CLASSIFICATION_ANNOTATION AnnotationType = 8 // Entity extraction for text. AnnotationType_TEXT_ENTITY_EXTRACTION_ANNOTATION AnnotationType = 9 // General classification. Allowed for continuous evaluation. AnnotationType_GENERAL_CLASSIFICATION_ANNOTATION AnnotationType = 14 )
func (AnnotationType) Descriptor ¶
func (AnnotationType) Descriptor() protoreflect.EnumDescriptor
func (AnnotationType) Enum ¶
func (x AnnotationType) Enum() *AnnotationType
func (AnnotationType) EnumDescriptor ¶
func (AnnotationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnnotationType.Descriptor instead.
func (AnnotationType) Number ¶
func (x AnnotationType) Number() protoreflect.EnumNumber
func (AnnotationType) String ¶
func (x AnnotationType) String() string
func (AnnotationType) Type ¶
func (AnnotationType) Type() protoreflect.EnumType
type AnnotationValue ¶
type AnnotationValue struct { // Types that are assignable to ValueType: // *AnnotationValue_ImageClassificationAnnotation // *AnnotationValue_ImageBoundingPolyAnnotation // *AnnotationValue_ImagePolylineAnnotation // *AnnotationValue_ImageSegmentationAnnotation // *AnnotationValue_TextClassificationAnnotation // *AnnotationValue_TextEntityExtractionAnnotation // *AnnotationValue_VideoClassificationAnnotation // *AnnotationValue_VideoObjectTrackingAnnotation // *AnnotationValue_VideoEventAnnotation ValueType isAnnotationValue_ValueType `protobuf_oneof:"value_type"` // contains filtered or unexported fields }
Annotation value for an example.
func (*AnnotationValue) Descriptor ¶
func (*AnnotationValue) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationValue.ProtoReflect.Descriptor instead.
func (*AnnotationValue) GetImageBoundingPolyAnnotation ¶
func (x *AnnotationValue) GetImageBoundingPolyAnnotation() *ImageBoundingPolyAnnotation
func (*AnnotationValue) GetImageClassificationAnnotation ¶
func (x *AnnotationValue) GetImageClassificationAnnotation() *ImageClassificationAnnotation
func (*AnnotationValue) GetImagePolylineAnnotation ¶
func (x *AnnotationValue) GetImagePolylineAnnotation() *ImagePolylineAnnotation
func (*AnnotationValue) GetImageSegmentationAnnotation ¶
func (x *AnnotationValue) GetImageSegmentationAnnotation() *ImageSegmentationAnnotation
func (*AnnotationValue) GetTextClassificationAnnotation ¶
func (x *AnnotationValue) GetTextClassificationAnnotation() *TextClassificationAnnotation
func (*AnnotationValue) GetTextEntityExtractionAnnotation ¶
func (x *AnnotationValue) GetTextEntityExtractionAnnotation() *TextEntityExtractionAnnotation
func (*AnnotationValue) GetValueType ¶
func (m *AnnotationValue) GetValueType() isAnnotationValue_ValueType
func (*AnnotationValue) GetVideoClassificationAnnotation ¶
func (x *AnnotationValue) GetVideoClassificationAnnotation() *VideoClassificationAnnotation
func (*AnnotationValue) GetVideoEventAnnotation ¶
func (x *AnnotationValue) GetVideoEventAnnotation() *VideoEventAnnotation
func (*AnnotationValue) GetVideoObjectTrackingAnnotation ¶
func (x *AnnotationValue) GetVideoObjectTrackingAnnotation() *VideoObjectTrackingAnnotation
func (*AnnotationValue) ProtoMessage ¶
func (*AnnotationValue) ProtoMessage()
func (*AnnotationValue) ProtoReflect ¶
func (x *AnnotationValue) ProtoReflect() protoreflect.Message
func (*AnnotationValue) Reset ¶
func (x *AnnotationValue) Reset()
func (*AnnotationValue) String ¶
func (x *AnnotationValue) String() string
type AnnotationValue_ImageBoundingPolyAnnotation ¶
type AnnotationValue_ImageBoundingPolyAnnotation struct { // Annotation value for image bounding box, oriented bounding box // and polygon cases. ImageBoundingPolyAnnotation *ImageBoundingPolyAnnotation `protobuf:"bytes,2,opt,name=image_bounding_poly_annotation,json=imageBoundingPolyAnnotation,proto3,oneof"` }
type AnnotationValue_ImageClassificationAnnotation ¶
type AnnotationValue_ImageClassificationAnnotation struct { // Annotation value for image classification case. ImageClassificationAnnotation *ImageClassificationAnnotation `protobuf:"bytes,1,opt,name=image_classification_annotation,json=imageClassificationAnnotation,proto3,oneof"` }
type AnnotationValue_ImagePolylineAnnotation ¶
type AnnotationValue_ImagePolylineAnnotation struct { // Annotation value for image polyline cases. // Polyline here is different from BoundingPoly. It is formed by // line segments connected to each other but not closed form(Bounding Poly). // The line segments can cross each other. ImagePolylineAnnotation *ImagePolylineAnnotation `protobuf:"bytes,8,opt,name=image_polyline_annotation,json=imagePolylineAnnotation,proto3,oneof"` }
type AnnotationValue_ImageSegmentationAnnotation ¶
type AnnotationValue_ImageSegmentationAnnotation struct { // Annotation value for image segmentation. ImageSegmentationAnnotation *ImageSegmentationAnnotation `protobuf:"bytes,9,opt,name=image_segmentation_annotation,json=imageSegmentationAnnotation,proto3,oneof"` }
type AnnotationValue_TextClassificationAnnotation ¶
type AnnotationValue_TextClassificationAnnotation struct { // Annotation value for text classification case. TextClassificationAnnotation *TextClassificationAnnotation `protobuf:"bytes,3,opt,name=text_classification_annotation,json=textClassificationAnnotation,proto3,oneof"` }
type AnnotationValue_TextEntityExtractionAnnotation ¶
type AnnotationValue_TextEntityExtractionAnnotation struct { // Annotation value for text entity extraction case. TextEntityExtractionAnnotation *TextEntityExtractionAnnotation `protobuf:"bytes,10,opt,name=text_entity_extraction_annotation,json=textEntityExtractionAnnotation,proto3,oneof"` }
type AnnotationValue_VideoClassificationAnnotation ¶
type AnnotationValue_VideoClassificationAnnotation struct { // Annotation value for video classification case. VideoClassificationAnnotation *VideoClassificationAnnotation `protobuf:"bytes,4,opt,name=video_classification_annotation,json=videoClassificationAnnotation,proto3,oneof"` }
type AnnotationValue_VideoEventAnnotation ¶
type AnnotationValue_VideoEventAnnotation struct { // Annotation value for video event case. VideoEventAnnotation *VideoEventAnnotation `protobuf:"bytes,6,opt,name=video_event_annotation,json=videoEventAnnotation,proto3,oneof"` }
type AnnotationValue_VideoObjectTrackingAnnotation ¶
type AnnotationValue_VideoObjectTrackingAnnotation struct { // Annotation value for video object detection and tracking case. VideoObjectTrackingAnnotation *VideoObjectTrackingAnnotation `protobuf:"bytes,5,opt,name=video_object_tracking_annotation,json=videoObjectTrackingAnnotation,proto3,oneof"` }
type Attempt ¶
type Attempt struct { AttemptTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=attempt_time,json=attemptTime,proto3" json:"attempt_time,omitempty"` // Details of errors that occurred. PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` // contains filtered or unexported fields }
Records a failed evaluation job run.
func (*Attempt) Descriptor ¶
Deprecated: Use Attempt.ProtoReflect.Descriptor instead.
func (*Attempt) GetAttemptTime ¶
func (x *Attempt) GetAttemptTime() *timestamppb.Timestamp
func (*Attempt) GetPartialFailures ¶
func (*Attempt) ProtoMessage ¶
func (*Attempt) ProtoMessage()
func (*Attempt) ProtoReflect ¶
func (x *Attempt) ProtoReflect() protoreflect.Message
type BigQuerySource ¶
type BigQuerySource struct { // Required. BigQuery URI to a table, up to 2,000 characters long. If you // specify the URI of a table that does not exist, Data Labeling Service // creates a table at the URI with the correct schema when you create your // [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob]. If you specify the URI of a table that already exists, // it must have the // [correct // schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). // // Provide the table URI in the following format: // // "bq://<var>{your_project_id}</var>/<var>{your_dataset_name}</var>/<var>{your_table_name}</var>" // // [Learn // more](/ml-engine/docs/continuous-evaluation/create-job#table-schema). InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` // contains filtered or unexported fields }
The BigQuery location for input data. If used in an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob], this is where the service saves the prediction input and output sampled from the model version.
func (*BigQuerySource) Descriptor ¶
func (*BigQuerySource) Descriptor() ([]byte, []int)
Deprecated: Use BigQuerySource.ProtoReflect.Descriptor instead.
func (*BigQuerySource) GetInputUri ¶
func (x *BigQuerySource) GetInputUri() string
func (*BigQuerySource) ProtoMessage ¶
func (*BigQuerySource) ProtoMessage()
func (*BigQuerySource) ProtoReflect ¶
func (x *BigQuerySource) ProtoReflect() protoreflect.Message
func (*BigQuerySource) Reset ¶
func (x *BigQuerySource) Reset()
func (*BigQuerySource) String ¶
func (x *BigQuerySource) String() string
type BoundingBoxEvaluationOptions ¶
type BoundingBoxEvaluationOptions struct { // Minimum // [intersection-over-union // // (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) // required for 2 bounding boxes to be considered a match. This must be a // number between 0 and 1. IouThreshold float32 `protobuf:"fixed32,1,opt,name=iou_threshold,json=iouThreshold,proto3" json:"iou_threshold,omitempty"` // contains filtered or unexported fields }
Options regarding evaluation between bounding boxes.
func (*BoundingBoxEvaluationOptions) Descriptor ¶
func (*BoundingBoxEvaluationOptions) Descriptor() ([]byte, []int)
Deprecated: Use BoundingBoxEvaluationOptions.ProtoReflect.Descriptor instead.
func (*BoundingBoxEvaluationOptions) GetIouThreshold ¶
func (x *BoundingBoxEvaluationOptions) GetIouThreshold() float32
func (*BoundingBoxEvaluationOptions) ProtoMessage ¶
func (*BoundingBoxEvaluationOptions) ProtoMessage()
func (*BoundingBoxEvaluationOptions) ProtoReflect ¶
func (x *BoundingBoxEvaluationOptions) ProtoReflect() protoreflect.Message
func (*BoundingBoxEvaluationOptions) Reset ¶
func (x *BoundingBoxEvaluationOptions) Reset()
func (*BoundingBoxEvaluationOptions) String ¶
func (x *BoundingBoxEvaluationOptions) String() string
type BoundingPoly ¶
type BoundingPoly struct { // The bounding polygon vertices. Vertices []*Vertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"` // contains filtered or unexported fields }
A bounding polygon in the image.
func (*BoundingPoly) Descriptor ¶
func (*BoundingPoly) Descriptor() ([]byte, []int)
Deprecated: Use BoundingPoly.ProtoReflect.Descriptor instead.
func (*BoundingPoly) GetVertices ¶
func (x *BoundingPoly) GetVertices() []*Vertex
func (*BoundingPoly) ProtoMessage ¶
func (*BoundingPoly) ProtoMessage()
func (*BoundingPoly) ProtoReflect ¶
func (x *BoundingPoly) ProtoReflect() protoreflect.Message
func (*BoundingPoly) Reset ¶
func (x *BoundingPoly) Reset()
func (*BoundingPoly) String ¶
func (x *BoundingPoly) String() string
type BoundingPolyConfig ¶
type BoundingPolyConfig struct { // Required. Annotation spec set resource name. AnnotationSpecSet string `protobuf:"bytes,1,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` // Optional. Instruction message showed on contributors UI. InstructionMessage string `protobuf:"bytes,2,opt,name=instruction_message,json=instructionMessage,proto3" json:"instruction_message,omitempty"` // contains filtered or unexported fields }
Config for image bounding poly (and bounding box) human labeling task.
func (*BoundingPolyConfig) Descriptor ¶
func (*BoundingPolyConfig) Descriptor() ([]byte, []int)
Deprecated: Use BoundingPolyConfig.ProtoReflect.Descriptor instead.
func (*BoundingPolyConfig) GetAnnotationSpecSet ¶
func (x *BoundingPolyConfig) GetAnnotationSpecSet() string
func (*BoundingPolyConfig) GetInstructionMessage ¶
func (x *BoundingPolyConfig) GetInstructionMessage() string
func (*BoundingPolyConfig) ProtoMessage ¶
func (*BoundingPolyConfig) ProtoMessage()
func (*BoundingPolyConfig) ProtoReflect ¶
func (x *BoundingPolyConfig) ProtoReflect() protoreflect.Message
func (*BoundingPolyConfig) Reset ¶
func (x *BoundingPolyConfig) Reset()
func (*BoundingPolyConfig) String ¶
func (x *BoundingPolyConfig) String() string
type ClassificationMetadata ¶
type ClassificationMetadata struct { // Whether the classification task is multi-label or not. IsMultiLabel bool `protobuf:"varint,1,opt,name=is_multi_label,json=isMultiLabel,proto3" json:"is_multi_label,omitempty"` // contains filtered or unexported fields }
Metadata for classification annotations.
func (*ClassificationMetadata) Descriptor ¶
func (*ClassificationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ClassificationMetadata.ProtoReflect.Descriptor instead.
func (*ClassificationMetadata) GetIsMultiLabel ¶
func (x *ClassificationMetadata) GetIsMultiLabel() bool
func (*ClassificationMetadata) ProtoMessage ¶
func (*ClassificationMetadata) ProtoMessage()
func (*ClassificationMetadata) ProtoReflect ¶
func (x *ClassificationMetadata) ProtoReflect() protoreflect.Message
func (*ClassificationMetadata) Reset ¶
func (x *ClassificationMetadata) Reset()
func (*ClassificationMetadata) String ¶
func (x *ClassificationMetadata) String() string
type ClassificationMetrics ¶
type ClassificationMetrics struct { // Precision-recall curve based on ground truth labels, predicted labels, and // scores for the predicted labels. PrCurve *PrCurve `protobuf:"bytes,1,opt,name=pr_curve,json=prCurve,proto3" json:"pr_curve,omitempty"` // Confusion matrix of predicted labels vs. ground truth labels. ConfusionMatrix *ConfusionMatrix `protobuf:"bytes,2,opt,name=confusion_matrix,json=confusionMatrix,proto3" json:"confusion_matrix,omitempty"` // contains filtered or unexported fields }
Metrics calculated for a classification model.
func (*ClassificationMetrics) Descriptor ¶
func (*ClassificationMetrics) Descriptor() ([]byte, []int)
Deprecated: Use ClassificationMetrics.ProtoReflect.Descriptor instead.
func (*ClassificationMetrics) GetConfusionMatrix ¶
func (x *ClassificationMetrics) GetConfusionMatrix() *ConfusionMatrix
func (*ClassificationMetrics) GetPrCurve ¶
func (x *ClassificationMetrics) GetPrCurve() *PrCurve
func (*ClassificationMetrics) ProtoMessage ¶
func (*ClassificationMetrics) ProtoMessage()
func (*ClassificationMetrics) ProtoReflect ¶
func (x *ClassificationMetrics) ProtoReflect() protoreflect.Message
func (*ClassificationMetrics) Reset ¶
func (x *ClassificationMetrics) Reset()
func (*ClassificationMetrics) String ¶
func (x *ClassificationMetrics) String() string
type ConfusionMatrix ¶
type ConfusionMatrix struct { Row []*ConfusionMatrix_Row `protobuf:"bytes,1,rep,name=row,proto3" json:"row,omitempty"` // contains filtered or unexported fields }
Confusion matrix of the model running the classification. Only applicable when the metrics entry aggregates multiple labels. Not applicable when the entry is for a single label.
func (*ConfusionMatrix) Descriptor ¶
func (*ConfusionMatrix) Descriptor() ([]byte, []int)
Deprecated: Use ConfusionMatrix.ProtoReflect.Descriptor instead.
func (*ConfusionMatrix) GetRow ¶
func (x *ConfusionMatrix) GetRow() []*ConfusionMatrix_Row
func (*ConfusionMatrix) ProtoMessage ¶
func (*ConfusionMatrix) ProtoMessage()
func (*ConfusionMatrix) ProtoReflect ¶
func (x *ConfusionMatrix) ProtoReflect() protoreflect.Message
func (*ConfusionMatrix) Reset ¶
func (x *ConfusionMatrix) Reset()
func (*ConfusionMatrix) String ¶
func (x *ConfusionMatrix) String() string
type ConfusionMatrix_ConfusionMatrixEntry ¶
type ConfusionMatrix_ConfusionMatrixEntry struct { // The annotation spec of a predicted label. AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` // Number of items predicted to have this label. (The ground truth label for // these items is the `Row.annotationSpec` of this entry's parent.) ItemCount int32 `protobuf:"varint,2,opt,name=item_count,json=itemCount,proto3" json:"item_count,omitempty"` // contains filtered or unexported fields }
func (*ConfusionMatrix_ConfusionMatrixEntry) Descriptor ¶
func (*ConfusionMatrix_ConfusionMatrixEntry) Descriptor() ([]byte, []int)
Deprecated: Use ConfusionMatrix_ConfusionMatrixEntry.ProtoReflect.Descriptor instead.
func (*ConfusionMatrix_ConfusionMatrixEntry) GetAnnotationSpec ¶
func (x *ConfusionMatrix_ConfusionMatrixEntry) GetAnnotationSpec() *AnnotationSpec
func (*ConfusionMatrix_ConfusionMatrixEntry) GetItemCount ¶
func (x *ConfusionMatrix_ConfusionMatrixEntry) GetItemCount() int32
func (*ConfusionMatrix_ConfusionMatrixEntry) ProtoMessage ¶
func (*ConfusionMatrix_ConfusionMatrixEntry) ProtoMessage()
func (*ConfusionMatrix_ConfusionMatrixEntry) ProtoReflect ¶
func (x *ConfusionMatrix_ConfusionMatrixEntry) ProtoReflect() protoreflect.Message
func (*ConfusionMatrix_ConfusionMatrixEntry) Reset ¶
func (x *ConfusionMatrix_ConfusionMatrixEntry) Reset()
func (*ConfusionMatrix_ConfusionMatrixEntry) String ¶
func (x *ConfusionMatrix_ConfusionMatrixEntry) String() string
type ConfusionMatrix_Row ¶
type ConfusionMatrix_Row struct { // The annotation spec of the ground truth label for this row. AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` // A list of the confusion matrix entries. One entry for each possible // predicted label. Entries []*ConfusionMatrix_ConfusionMatrixEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
A row in the confusion matrix. Each entry in this row has the same ground truth label.
func (*ConfusionMatrix_Row) Descriptor ¶
func (*ConfusionMatrix_Row) Descriptor() ([]byte, []int)
Deprecated: Use ConfusionMatrix_Row.ProtoReflect.Descriptor instead.
func (*ConfusionMatrix_Row) GetAnnotationSpec ¶
func (x *ConfusionMatrix_Row) GetAnnotationSpec() *AnnotationSpec
func (*ConfusionMatrix_Row) GetEntries ¶
func (x *ConfusionMatrix_Row) GetEntries() []*ConfusionMatrix_ConfusionMatrixEntry
func (*ConfusionMatrix_Row) ProtoMessage ¶
func (*ConfusionMatrix_Row) ProtoMessage()
func (*ConfusionMatrix_Row) ProtoReflect ¶
func (x *ConfusionMatrix_Row) ProtoReflect() protoreflect.Message
func (*ConfusionMatrix_Row) Reset ¶
func (x *ConfusionMatrix_Row) Reset()
func (*ConfusionMatrix_Row) String ¶
func (x *ConfusionMatrix_Row) String() string
type CreateAnnotationSpecSetRequest ¶
type CreateAnnotationSpecSetRequest struct { // Required. AnnotationSpecSet resource parent, format: // projects/{project_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Annotation spec set to create. Annotation specs must be included. // Only one annotation spec will be accepted for annotation specs with same // display_name. AnnotationSpecSet *AnnotationSpecSet `protobuf:"bytes,2,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` // contains filtered or unexported fields }
Request message for CreateAnnotationSpecSet.
func (*CreateAnnotationSpecSetRequest) Descriptor ¶
func (*CreateAnnotationSpecSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnnotationSpecSetRequest.ProtoReflect.Descriptor instead.
func (*CreateAnnotationSpecSetRequest) GetAnnotationSpecSet ¶
func (x *CreateAnnotationSpecSetRequest) GetAnnotationSpecSet() *AnnotationSpecSet
func (*CreateAnnotationSpecSetRequest) GetParent ¶
func (x *CreateAnnotationSpecSetRequest) GetParent() string
func (*CreateAnnotationSpecSetRequest) ProtoMessage ¶
func (*CreateAnnotationSpecSetRequest) ProtoMessage()
func (*CreateAnnotationSpecSetRequest) ProtoReflect ¶
func (x *CreateAnnotationSpecSetRequest) ProtoReflect() protoreflect.Message
func (*CreateAnnotationSpecSetRequest) Reset ¶
func (x *CreateAnnotationSpecSetRequest) Reset()
func (*CreateAnnotationSpecSetRequest) String ¶
func (x *CreateAnnotationSpecSetRequest) String() string
type CreateDatasetRequest ¶
type CreateDatasetRequest struct { // Required. Dataset resource parent, format: // projects/{project_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The dataset to be created. Dataset *Dataset `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"` // contains filtered or unexported fields }
Request message for CreateDataset.
func (*CreateDatasetRequest) Descriptor ¶
func (*CreateDatasetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDatasetRequest.ProtoReflect.Descriptor instead.
func (*CreateDatasetRequest) GetDataset ¶
func (x *CreateDatasetRequest) GetDataset() *Dataset
func (*CreateDatasetRequest) GetParent ¶
func (x *CreateDatasetRequest) GetParent() string
func (*CreateDatasetRequest) ProtoMessage ¶
func (*CreateDatasetRequest) ProtoMessage()
func (*CreateDatasetRequest) ProtoReflect ¶
func (x *CreateDatasetRequest) ProtoReflect() protoreflect.Message
func (*CreateDatasetRequest) Reset ¶
func (x *CreateDatasetRequest) Reset()
func (*CreateDatasetRequest) String ¶
func (x *CreateDatasetRequest) String() string
type CreateEvaluationJobRequest ¶
type CreateEvaluationJobRequest struct { // Required. Evaluation job resource parent. Format: // "projects/<var>{project_id}</var>" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The evaluation job to create. Job *EvaluationJob `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"` // contains filtered or unexported fields }
Request message for CreateEvaluationJob.
func (*CreateEvaluationJobRequest) Descriptor ¶
func (*CreateEvaluationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEvaluationJobRequest.ProtoReflect.Descriptor instead.
func (*CreateEvaluationJobRequest) GetJob ¶
func (x *CreateEvaluationJobRequest) GetJob() *EvaluationJob
func (*CreateEvaluationJobRequest) GetParent ¶
func (x *CreateEvaluationJobRequest) GetParent() string
func (*CreateEvaluationJobRequest) ProtoMessage ¶
func (*CreateEvaluationJobRequest) ProtoMessage()
func (*CreateEvaluationJobRequest) ProtoReflect ¶
func (x *CreateEvaluationJobRequest) ProtoReflect() protoreflect.Message
func (*CreateEvaluationJobRequest) Reset ¶
func (x *CreateEvaluationJobRequest) Reset()
func (*CreateEvaluationJobRequest) String ¶
func (x *CreateEvaluationJobRequest) String() string
type CreateInstructionMetadata ¶
type CreateInstructionMetadata struct { // The name of the created Instruction. // projects/{project_id}/instructions/{instruction_id} Instruction string `protobuf:"bytes,1,opt,name=instruction,proto3" json:"instruction,omitempty"` // Partial failures encountered. // E.g. single files that couldn't be read. // Status details field will contain standard GCP error details. PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` // Timestamp when create instruction request was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
Metadata of a CreateInstruction operation.
func (*CreateInstructionMetadata) Descriptor ¶
func (*CreateInstructionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstructionMetadata.ProtoReflect.Descriptor instead.
func (*CreateInstructionMetadata) GetCreateTime ¶
func (x *CreateInstructionMetadata) GetCreateTime() *timestamppb.Timestamp
func (*CreateInstructionMetadata) GetInstruction ¶
func (x *CreateInstructionMetadata) GetInstruction() string
func (*CreateInstructionMetadata) GetPartialFailures ¶
func (x *CreateInstructionMetadata) GetPartialFailures() []*status.Status
func (*CreateInstructionMetadata) ProtoMessage ¶
func (*CreateInstructionMetadata) ProtoMessage()
func (*CreateInstructionMetadata) ProtoReflect ¶
func (x *CreateInstructionMetadata) ProtoReflect() protoreflect.Message
func (*CreateInstructionMetadata) Reset ¶
func (x *CreateInstructionMetadata) Reset()
func (*CreateInstructionMetadata) String ¶
func (x *CreateInstructionMetadata) String() string
type CreateInstructionRequest ¶
type CreateInstructionRequest struct { // Required. Instruction resource parent, format: // projects/{project_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Instruction of how to perform the labeling task. Instruction *Instruction `protobuf:"bytes,2,opt,name=instruction,proto3" json:"instruction,omitempty"` // contains filtered or unexported fields }
Request message for CreateInstruction.
func (*CreateInstructionRequest) Descriptor ¶
func (*CreateInstructionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstructionRequest.ProtoReflect.Descriptor instead.
func (*CreateInstructionRequest) GetInstruction ¶
func (x *CreateInstructionRequest) GetInstruction() *Instruction
func (*CreateInstructionRequest) GetParent ¶
func (x *CreateInstructionRequest) GetParent() string
func (*CreateInstructionRequest) ProtoMessage ¶
func (*CreateInstructionRequest) ProtoMessage()
func (*CreateInstructionRequest) ProtoReflect ¶
func (x *CreateInstructionRequest) ProtoReflect() protoreflect.Message
func (*CreateInstructionRequest) Reset ¶
func (x *CreateInstructionRequest) Reset()
func (*CreateInstructionRequest) String ¶
func (x *CreateInstructionRequest) String() string
type CsvInstruction ¶
type CsvInstruction struct { // CSV file for the instruction. Only gcs path is allowed. GcsFileUri string `protobuf:"bytes,1,opt,name=gcs_file_uri,json=gcsFileUri,proto3" json:"gcs_file_uri,omitempty"` // contains filtered or unexported fields }
Deprecated: this instruction format is not supported any more. Instruction from a CSV file.
func (*CsvInstruction) Descriptor ¶
func (*CsvInstruction) Descriptor() ([]byte, []int)
Deprecated: Use CsvInstruction.ProtoReflect.Descriptor instead.
func (*CsvInstruction) GetGcsFileUri ¶
func (x *CsvInstruction) GetGcsFileUri() string
func (*CsvInstruction) ProtoMessage ¶
func (*CsvInstruction) ProtoMessage()
func (*CsvInstruction) ProtoReflect ¶
func (x *CsvInstruction) ProtoReflect() protoreflect.Message
func (*CsvInstruction) Reset ¶
func (x *CsvInstruction) Reset()
func (*CsvInstruction) String ¶
func (x *CsvInstruction) String() string
type DataItem ¶
type DataItem struct { // Output only. // // Types that are assignable to Payload: // *DataItem_ImagePayload // *DataItem_TextPayload // *DataItem_VideoPayload Payload isDataItem_Payload `protobuf_oneof:"payload"` // Output only. Name of the data item, in format of: // projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
DataItem is a piece of data, without annotation. For example, an image.
func (*DataItem) Descriptor ¶
Deprecated: Use DataItem.ProtoReflect.Descriptor instead.
func (*DataItem) GetImagePayload ¶
func (x *DataItem) GetImagePayload() *ImagePayload
func (*DataItem) GetPayload ¶
func (m *DataItem) GetPayload() isDataItem_Payload
func (*DataItem) GetTextPayload ¶
func (x *DataItem) GetTextPayload() *TextPayload
func (*DataItem) GetVideoPayload ¶
func (x *DataItem) GetVideoPayload() *VideoPayload
func (*DataItem) ProtoMessage ¶
func (*DataItem) ProtoMessage()
func (*DataItem) ProtoReflect ¶
func (x *DataItem) ProtoReflect() protoreflect.Message
type DataItem_ImagePayload ¶
type DataItem_ImagePayload struct { // The image payload, a container of the image bytes/uri. ImagePayload *ImagePayload `protobuf:"bytes,2,opt,name=image_payload,json=imagePayload,proto3,oneof"` }
type DataItem_TextPayload ¶
type DataItem_TextPayload struct { // The text payload, a container of text content. TextPayload *TextPayload `protobuf:"bytes,3,opt,name=text_payload,json=textPayload,proto3,oneof"` }
type DataItem_VideoPayload ¶
type DataItem_VideoPayload struct { // The video payload, a container of the video uri. VideoPayload *VideoPayload `protobuf:"bytes,4,opt,name=video_payload,json=videoPayload,proto3,oneof"` }
type DataLabelingServiceClient ¶
type DataLabelingServiceClient interface { // Creates dataset. If success return a Dataset resource. CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) // Gets dataset by resource name. GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) // Lists datasets under a project. Pagination is supported. ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) // Deletes a dataset by resource name. DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 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. ImportData(ctx context.Context, in *ImportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Exports data and annotations from dataset. ExportData(ctx context.Context, in *ExportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Gets a data item in a dataset by resource name. This API can be // called after data are imported into dataset. GetDataItem(ctx context.Context, in *GetDataItemRequest, opts ...grpc.CallOption) (*DataItem, error) // Lists data items in a dataset. This API can be called after data // are imported into dataset. Pagination is supported. ListDataItems(ctx context.Context, in *ListDataItemsRequest, opts ...grpc.CallOption) (*ListDataItemsResponse, error) // Gets an annotated dataset by resource name. GetAnnotatedDataset(ctx context.Context, in *GetAnnotatedDatasetRequest, opts ...grpc.CallOption) (*AnnotatedDataset, error) // Lists annotated datasets for a dataset. Pagination is supported. ListAnnotatedDatasets(ctx context.Context, in *ListAnnotatedDatasetsRequest, opts ...grpc.CallOption) (*ListAnnotatedDatasetsResponse, error) // Deletes an annotated dataset by resource name. DeleteAnnotatedDataset(ctx context.Context, in *DeleteAnnotatedDatasetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Starts a labeling task for image. The type of image labeling task is // configured by feature in the request. LabelImage(ctx context.Context, in *LabelImageRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Starts a labeling task for video. The type of video labeling task is // configured by feature in the request. LabelVideo(ctx context.Context, in *LabelVideoRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Starts a labeling task for text. The type of text labeling task is // configured by feature in the request. LabelText(ctx context.Context, in *LabelTextRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Gets an example by resource name, including both data and annotation. GetExample(ctx context.Context, in *GetExampleRequest, opts ...grpc.CallOption) (*Example, error) // Lists examples in an annotated dataset. Pagination is supported. ListExamples(ctx context.Context, in *ListExamplesRequest, opts ...grpc.CallOption) (*ListExamplesResponse, error) // Creates an annotation spec set by providing a set of labels. CreateAnnotationSpecSet(ctx context.Context, in *CreateAnnotationSpecSetRequest, opts ...grpc.CallOption) (*AnnotationSpecSet, error) // Gets an annotation spec set by resource name. GetAnnotationSpecSet(ctx context.Context, in *GetAnnotationSpecSetRequest, opts ...grpc.CallOption) (*AnnotationSpecSet, error) // Lists annotation spec sets for a project. Pagination is supported. ListAnnotationSpecSets(ctx context.Context, in *ListAnnotationSpecSetsRequest, opts ...grpc.CallOption) (*ListAnnotationSpecSetsResponse, error) // Deletes an annotation spec set by resource name. DeleteAnnotationSpecSet(ctx context.Context, in *DeleteAnnotationSpecSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Creates an instruction for how data should be labeled. CreateInstruction(ctx context.Context, in *CreateInstructionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Gets an instruction by resource name. GetInstruction(ctx context.Context, in *GetInstructionRequest, opts ...grpc.CallOption) (*Instruction, error) // Lists instructions for a project. Pagination is supported. ListInstructions(ctx context.Context, in *ListInstructionsRequest, opts ...grpc.CallOption) (*ListInstructionsResponse, error) // Deletes an instruction object by resource name. DeleteInstruction(ctx context.Context, in *DeleteInstructionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Gets an evaluation by resource name (to search, use // [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]). GetEvaluation(ctx context.Context, in *GetEvaluationRequest, opts ...grpc.CallOption) (*Evaluation, error) // Searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project. SearchEvaluations(ctx context.Context, in *SearchEvaluationsRequest, opts ...grpc.CallOption) (*SearchEvaluationsResponse, error) // Searches example comparisons from an evaluation. The return format is a // list of example comparisons that show ground truth and prediction(s) for // a single input. Search by providing an evaluation ID. SearchExampleComparisons(ctx context.Context, in *SearchExampleComparisonsRequest, opts ...grpc.CallOption) (*SearchExampleComparisonsResponse, error) // Creates an evaluation job. CreateEvaluationJob(ctx context.Context, in *CreateEvaluationJobRequest, opts ...grpc.CallOption) (*EvaluationJob, error) // Updates an evaluation job. You can only update certain fields of the job's // [EvaluationJobConfig][google.cloud.datalabeling.v1beta1.EvaluationJobConfig]: `humanAnnotationConfig.instruction`, // `exampleCount`, and `exampleSamplePercentage`. // // If you want to change any other aspect of the evaluation job, you must // delete the job and create a new one. UpdateEvaluationJob(ctx context.Context, in *UpdateEvaluationJobRequest, opts ...grpc.CallOption) (*EvaluationJob, error) // Gets an evaluation job by resource name. GetEvaluationJob(ctx context.Context, in *GetEvaluationJobRequest, opts ...grpc.CallOption) (*EvaluationJob, error) // Pauses an evaluation job. Pausing an evaluation job that is already in a // `PAUSED` state is a no-op. PauseEvaluationJob(ctx context.Context, in *PauseEvaluationJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Resumes a paused evaluation job. A deleted evaluation job can't be resumed. // Resuming a running or scheduled evaluation job is a no-op. ResumeEvaluationJob(ctx context.Context, in *ResumeEvaluationJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Stops and deletes an evaluation job. DeleteEvaluationJob(ctx context.Context, in *DeleteEvaluationJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Lists all evaluation jobs within a project with possible filters. // Pagination is supported. ListEvaluationJobs(ctx context.Context, in *ListEvaluationJobsRequest, opts ...grpc.CallOption) (*ListEvaluationJobsResponse, error) }
DataLabelingServiceClient is the client API for DataLabelingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDataLabelingServiceClient ¶
func NewDataLabelingServiceClient(cc grpc.ClientConnInterface) DataLabelingServiceClient
type DataLabelingServiceServer ¶
type DataLabelingServiceServer interface { // Creates dataset. If success return a Dataset resource. CreateDataset(context.Context, *CreateDatasetRequest) (*Dataset, error) // Gets dataset by resource name. GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error) // Lists datasets under a project. Pagination is supported. ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) // Deletes a dataset by resource name. DeleteDataset(context.Context, *DeleteDatasetRequest) (*emptypb.Empty, error) // 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. ImportData(context.Context, *ImportDataRequest) (*longrunning.Operation, error) // Exports data and annotations from dataset. ExportData(context.Context, *ExportDataRequest) (*longrunning.Operation, error) // Gets a data item in a dataset by resource name. This API can be // called after data are imported into dataset. GetDataItem(context.Context, *GetDataItemRequest) (*DataItem, error) // Lists data items in a dataset. This API can be called after data // are imported into dataset. Pagination is supported. ListDataItems(context.Context, *ListDataItemsRequest) (*ListDataItemsResponse, error) // Gets an annotated dataset by resource name. GetAnnotatedDataset(context.Context, *GetAnnotatedDatasetRequest) (*AnnotatedDataset, error) // Lists annotated datasets for a dataset. Pagination is supported. ListAnnotatedDatasets(context.Context, *ListAnnotatedDatasetsRequest) (*ListAnnotatedDatasetsResponse, error) // Deletes an annotated dataset by resource name. DeleteAnnotatedDataset(context.Context, *DeleteAnnotatedDatasetRequest) (*emptypb.Empty, error) // Starts a labeling task for image. The type of image labeling task is // configured by feature in the request. LabelImage(context.Context, *LabelImageRequest) (*longrunning.Operation, error) // Starts a labeling task for video. The type of video labeling task is // configured by feature in the request. LabelVideo(context.Context, *LabelVideoRequest) (*longrunning.Operation, error) // Starts a labeling task for text. The type of text labeling task is // configured by feature in the request. LabelText(context.Context, *LabelTextRequest) (*longrunning.Operation, error) // Gets an example by resource name, including both data and annotation. GetExample(context.Context, *GetExampleRequest) (*Example, error) // Lists examples in an annotated dataset. Pagination is supported. ListExamples(context.Context, *ListExamplesRequest) (*ListExamplesResponse, error) // Creates an annotation spec set by providing a set of labels. CreateAnnotationSpecSet(context.Context, *CreateAnnotationSpecSetRequest) (*AnnotationSpecSet, error) // Gets an annotation spec set by resource name. GetAnnotationSpecSet(context.Context, *GetAnnotationSpecSetRequest) (*AnnotationSpecSet, error) // Lists annotation spec sets for a project. Pagination is supported. ListAnnotationSpecSets(context.Context, *ListAnnotationSpecSetsRequest) (*ListAnnotationSpecSetsResponse, error) // Deletes an annotation spec set by resource name. DeleteAnnotationSpecSet(context.Context, *DeleteAnnotationSpecSetRequest) (*emptypb.Empty, error) // Creates an instruction for how data should be labeled. CreateInstruction(context.Context, *CreateInstructionRequest) (*longrunning.Operation, error) // Gets an instruction by resource name. GetInstruction(context.Context, *GetInstructionRequest) (*Instruction, error) // Lists instructions for a project. Pagination is supported. ListInstructions(context.Context, *ListInstructionsRequest) (*ListInstructionsResponse, error) // Deletes an instruction object by resource name. DeleteInstruction(context.Context, *DeleteInstructionRequest) (*emptypb.Empty, error) // Gets an evaluation by resource name (to search, use // [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]). GetEvaluation(context.Context, *GetEvaluationRequest) (*Evaluation, error) // Searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project. SearchEvaluations(context.Context, *SearchEvaluationsRequest) (*SearchEvaluationsResponse, error) // Searches example comparisons from an evaluation. The return format is a // list of example comparisons that show ground truth and prediction(s) for // a single input. Search by providing an evaluation ID. SearchExampleComparisons(context.Context, *SearchExampleComparisonsRequest) (*SearchExampleComparisonsResponse, error) // Creates an evaluation job. CreateEvaluationJob(context.Context, *CreateEvaluationJobRequest) (*EvaluationJob, error) // Updates an evaluation job. You can only update certain fields of the job's // [EvaluationJobConfig][google.cloud.datalabeling.v1beta1.EvaluationJobConfig]: `humanAnnotationConfig.instruction`, // `exampleCount`, and `exampleSamplePercentage`. // // If you want to change any other aspect of the evaluation job, you must<