datalabeling

package
v0.0.0-...-e165f0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AnnotationSentiment_name = map[int32]string{
	0: "ANNOTATION_SENTIMENT_UNSPECIFIED",
	1: "NEGATIVE",
	2: "POSITIVE",
}
View Source
var AnnotationSentiment_value = map[string]int32{
	"ANNOTATION_SENTIMENT_UNSPECIFIED": 0,
	"NEGATIVE":                         1,
	"POSITIVE":                         2,
}
View Source
var AnnotationSource_name = map[int32]string{
	0: "ANNOTATION_SOURCE_UNSPECIFIED",
	3: "OPERATOR",
}
View Source
var AnnotationSource_value = map[string]int32{
	"ANNOTATION_SOURCE_UNSPECIFIED": 0,
	"OPERATOR":                      3,
}
View Source
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",
}
View Source
var 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,
}
View Source
var DataType_name = map[int32]string{
	0: "DATA_TYPE_UNSPECIFIED",
	1: "IMAGE",
	2: "VIDEO",
	4: "TEXT",
	6: "GENERAL_DATA",
}
View Source
var DataType_value = map[string]int32{
	"DATA_TYPE_UNSPECIFIED": 0,
	"IMAGE":                 1,
	"VIDEO":                 2,
	"TEXT":                  4,
	"GENERAL_DATA":          6,
}
View Source
var EvaluationJob_State_name = map[int32]string{
	0: "STATE_UNSPECIFIED",
	1: "SCHEDULED",
	2: "RUNNING",
	3: "PAUSED",
	4: "STOPPED",
}
View Source
var EvaluationJob_State_value = map[string]int32{
	"STATE_UNSPECIFIED": 0,
	"SCHEDULED":         1,
	"RUNNING":           2,
	"PAUSED":            3,
	"STOPPED":           4,
}
View Source
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",
}
View Source
var 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,
}
View Source
var LabelTextRequest_Feature_name = map[int32]string{
	0: "FEATURE_UNSPECIFIED",
	1: "TEXT_CLASSIFICATION",
	2: "TEXT_ENTITY_EXTRACTION",
}
View Source
var LabelTextRequest_Feature_value = map[string]int32{
	"FEATURE_UNSPECIFIED":    0,
	"TEXT_CLASSIFICATION":    1,
	"TEXT_ENTITY_EXTRACTION": 2,
}
View Source
var LabelVideoRequest_Feature_name = map[int32]string{
	0: "FEATURE_UNSPECIFIED",
	1: "CLASSIFICATION",
	2: "OBJECT_DETECTION",
	3: "OBJECT_TRACKING",
	4: "EVENT",
}
View Source
var LabelVideoRequest_Feature_value = map[string]int32{
	"FEATURE_UNSPECIFIED": 0,
	"CLASSIFICATION":      1,
	"OBJECT_DETECTION":    2,
	"OBJECT_TRACKING":     3,
	"EVENT":               4,
}
View Source
var StringAggregationType_name = map[int32]string{
	0: "STRING_AGGREGATION_TYPE_UNSPECIFIED",
	1: "MAJORITY_VOTE",
	2: "UNANIMOUS_VOTE",
	3: "NO_AGGREGATION",
}
View Source
var StringAggregationType_value = map[string]int32{
	"STRING_AGGREGATION_TYPE_UNSPECIFIED": 0,
	"MAJORITY_VOTE":                       1,
	"UNANIMOUS_VOTE":                      2,
	"NO_AGGREGATION":                      3,
}

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 *timestamp.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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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)

func (*AnnotatedDataset) GetAnnotationSource

func (m *AnnotatedDataset) GetAnnotationSource() AnnotationSource

func (*AnnotatedDataset) GetAnnotationType

func (m *AnnotatedDataset) GetAnnotationType() AnnotationType

func (*AnnotatedDataset) GetBlockingResources

func (m *AnnotatedDataset) GetBlockingResources() []string

func (*AnnotatedDataset) GetCompletedExampleCount

func (m *AnnotatedDataset) GetCompletedExampleCount() int64

func (*AnnotatedDataset) GetCreateTime

func (m *AnnotatedDataset) GetCreateTime() *timestamp.Timestamp

func (*AnnotatedDataset) GetDescription

func (m *AnnotatedDataset) GetDescription() string

func (*AnnotatedDataset) GetDisplayName

func (m *AnnotatedDataset) GetDisplayName() string

func (*AnnotatedDataset) GetExampleCount

func (m *AnnotatedDataset) GetExampleCount() int64

func (*AnnotatedDataset) GetLabelStats

func (m *AnnotatedDataset) GetLabelStats() *LabelStats

func (*AnnotatedDataset) GetMetadata

func (m *AnnotatedDataset) GetMetadata() *AnnotatedDatasetMetadata

func (*AnnotatedDataset) GetName

func (m *AnnotatedDataset) GetName() string

func (*AnnotatedDataset) ProtoMessage

func (*AnnotatedDataset) ProtoMessage()

func (*AnnotatedDataset) Reset

func (m *AnnotatedDataset) Reset()

func (*AnnotatedDataset) String

func (m *AnnotatedDataset) String() string

func (*AnnotatedDataset) XXX_DiscardUnknown

func (m *AnnotatedDataset) XXX_DiscardUnknown()

func (*AnnotatedDataset) XXX_Marshal

func (m *AnnotatedDataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnnotatedDataset) XXX_Merge

func (m *AnnotatedDataset) XXX_Merge(src proto.Message)

func (*AnnotatedDataset) XXX_Size

func (m *AnnotatedDataset) XXX_Size() int

func (*AnnotatedDataset) XXX_Unmarshal

func (m *AnnotatedDataset) XXX_Unmarshal(b []byte) error

type AnnotatedDatasetMetadata

type AnnotatedDatasetMetadata struct {
	// Specific request configuration used when requesting the labeling task.
	//
	// Types that are valid to be assigned 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 */
	XXX_NoUnkeyedLiteral  struct{}               `json:"-"`
	XXX_unrecognized      []byte                 `json:"-"`
	XXX_sizecache         int32                  `json:"-"`
}

Metadata on AnnotatedDataset.

func (*AnnotatedDatasetMetadata) Descriptor

func (*AnnotatedDatasetMetadata) Descriptor() ([]byte, []int)

func (*AnnotatedDatasetMetadata) GetAnnotationRequestConfig

func (m *AnnotatedDatasetMetadata) GetAnnotationRequestConfig() isAnnotatedDatasetMetadata_AnnotationRequestConfig

func (*AnnotatedDatasetMetadata) GetBoundingPolyConfig

func (m *AnnotatedDatasetMetadata) GetBoundingPolyConfig() *BoundingPolyConfig

func (*AnnotatedDatasetMetadata) GetEventConfig

func (m *AnnotatedDatasetMetadata) GetEventConfig() *EventConfig

func (*AnnotatedDatasetMetadata) GetHumanAnnotationConfig

func (m *AnnotatedDatasetMetadata) GetHumanAnnotationConfig() *HumanAnnotationConfig

func (*AnnotatedDatasetMetadata) GetImageClassificationConfig

func (m *AnnotatedDatasetMetadata) GetImageClassificationConfig() *ImageClassificationConfig

func (*AnnotatedDatasetMetadata) GetObjectDetectionConfig

func (m *AnnotatedDatasetMetadata) GetObjectDetectionConfig() *ObjectDetectionConfig

func (*AnnotatedDatasetMetadata) GetObjectTrackingConfig

func (m *AnnotatedDatasetMetadata) GetObjectTrackingConfig() *ObjectTrackingConfig

func (*AnnotatedDatasetMetadata) GetPolylineConfig

func (m *AnnotatedDatasetMetadata) GetPolylineConfig() *PolylineConfig

func (*AnnotatedDatasetMetadata) GetSegmentationConfig

func (m *AnnotatedDatasetMetadata) GetSegmentationConfig() *SegmentationConfig

func (*AnnotatedDatasetMetadata) GetTextClassificationConfig

func (m *AnnotatedDatasetMetadata) GetTextClassificationConfig() *TextClassificationConfig

func (*AnnotatedDatasetMetadata) GetTextEntityExtractionConfig

func (m *AnnotatedDatasetMetadata) GetTextEntityExtractionConfig() *TextEntityExtractionConfig

func (*AnnotatedDatasetMetadata) GetVideoClassificationConfig

func (m *AnnotatedDatasetMetadata) GetVideoClassificationConfig() *VideoClassificationConfig

func (*AnnotatedDatasetMetadata) ProtoMessage

func (*AnnotatedDatasetMetadata) ProtoMessage()

func (*AnnotatedDatasetMetadata) Reset

func (m *AnnotatedDatasetMetadata) Reset()

func (*AnnotatedDatasetMetadata) String

func (m *AnnotatedDatasetMetadata) String() string

func (*AnnotatedDatasetMetadata) XXX_DiscardUnknown

func (m *AnnotatedDatasetMetadata) XXX_DiscardUnknown()

func (*AnnotatedDatasetMetadata) XXX_Marshal

func (m *AnnotatedDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnnotatedDatasetMetadata) XXX_Merge

func (m *AnnotatedDatasetMetadata) XXX_Merge(src proto.Message)

func (*AnnotatedDatasetMetadata) XXX_OneofWrappers

func (*AnnotatedDatasetMetadata) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AnnotatedDatasetMetadata) XXX_Size

func (m *AnnotatedDatasetMetadata) XXX_Size() int

func (*AnnotatedDatasetMetadata) XXX_Unmarshal

func (m *AnnotatedDatasetMetadata) XXX_Unmarshal(b []byte) error

type AnnotatedDatasetMetadata_BoundingPolyConfig

type AnnotatedDatasetMetadata_BoundingPolyConfig struct {
	BoundingPolyConfig *BoundingPolyConfig `protobuf:"bytes,3,opt,name=bounding_poly_config,json=boundingPolyConfig,proto3,oneof"`
}

type AnnotatedDatasetMetadata_EventConfig

type AnnotatedDatasetMetadata_EventConfig struct {
	EventConfig *EventConfig `protobuf:"bytes,9,opt,name=event_config,json=eventConfig,proto3,oneof"`
}

type AnnotatedDatasetMetadata_ImageClassificationConfig

type AnnotatedDatasetMetadata_ImageClassificationConfig struct {
	ImageClassificationConfig *ImageClassificationConfig `protobuf:"bytes,2,opt,name=image_classification_config,json=imageClassificationConfig,proto3,oneof"`
}

type AnnotatedDatasetMetadata_ObjectDetectionConfig

type AnnotatedDatasetMetadata_ObjectDetectionConfig struct {
	ObjectDetectionConfig *ObjectDetectionConfig `protobuf:"bytes,7,opt,name=object_detection_config,json=objectDetectionConfig,proto3,oneof"`
}

type AnnotatedDatasetMetadata_ObjectTrackingConfig

type AnnotatedDatasetMetadata_ObjectTrackingConfig struct {
	ObjectTrackingConfig *ObjectTrackingConfig `protobuf:"bytes,8,opt,name=object_tracking_config,json=objectTrackingConfig,proto3,oneof"`
}

type AnnotatedDatasetMetadata_PolylineConfig

type AnnotatedDatasetMetadata_PolylineConfig struct {
	PolylineConfig *PolylineConfig `protobuf:"bytes,4,opt,name=polyline_config,json=polylineConfig,proto3,oneof"`
}

type AnnotatedDatasetMetadata_SegmentationConfig

type AnnotatedDatasetMetadata_SegmentationConfig struct {
	SegmentationConfig *SegmentationConfig `protobuf:"bytes,5,opt,name=segmentation_config,json=segmentationConfig,proto3,oneof"`
}

type AnnotatedDatasetMetadata_TextClassificationConfig

type AnnotatedDatasetMetadata_TextClassificationConfig struct {
	TextClassificationConfig *TextClassificationConfig `protobuf:"bytes,10,opt,name=text_classification_config,json=textClassificationConfig,proto3,oneof"`
}

type AnnotatedDatasetMetadata_TextEntityExtractionConfig

type AnnotatedDatasetMetadata_TextEntityExtractionConfig struct {
	TextEntityExtractionConfig *TextEntityExtractionConfig `protobuf:"bytes,11,opt,name=text_entity_extraction_config,json=textEntityExtractionConfig,proto3,oneof"`
}

type AnnotatedDatasetMetadata_VideoClassificationConfig

type AnnotatedDatasetMetadata_VideoClassificationConfig struct {
	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 */
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

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)

func (*Annotation) GetAnnotationMetadata

func (m *Annotation) GetAnnotationMetadata() *AnnotationMetadata

func (*Annotation) GetAnnotationSentiment

func (m *Annotation) GetAnnotationSentiment() AnnotationSentiment

func (*Annotation) GetAnnotationSource

func (m *Annotation) GetAnnotationSource() AnnotationSource

func (*Annotation) GetAnnotationValue

func (m *Annotation) GetAnnotationValue() *AnnotationValue

func (*Annotation) GetName

func (m *Annotation) GetName() string

func (*Annotation) ProtoMessage

func (*Annotation) ProtoMessage()

func (*Annotation) Reset

func (m *Annotation) Reset()

func (*Annotation) String

func (m *Annotation) String() string

func (*Annotation) XXX_DiscardUnknown

func (m *Annotation) XXX_DiscardUnknown()

func (*Annotation) XXX_Marshal

func (m *Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Annotation) XXX_Merge

func (m *Annotation) XXX_Merge(src proto.Message)

func (*Annotation) XXX_Size

func (m *Annotation) XXX_Size() int

func (*Annotation) XXX_Unmarshal

func (m *Annotation) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Additional information associated with the annotation.

func (*AnnotationMetadata) Descriptor

func (*AnnotationMetadata) Descriptor() ([]byte, []int)

func (*AnnotationMetadata) GetOperatorMetadata

func (m *AnnotationMetadata) GetOperatorMetadata() *OperatorMetadata

func (*AnnotationMetadata) ProtoMessage

func (*AnnotationMetadata) ProtoMessage()

func (*AnnotationMetadata) Reset

func (m *AnnotationMetadata) Reset()

func (*AnnotationMetadata) String

func (m *AnnotationMetadata) String() string

func (*AnnotationMetadata) XXX_DiscardUnknown

func (m *AnnotationMetadata) XXX_DiscardUnknown()

func (*AnnotationMetadata) XXX_Marshal

func (m *AnnotationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnnotationMetadata) XXX_Merge

func (m *AnnotationMetadata) XXX_Merge(src proto.Message)

func (*AnnotationMetadata) XXX_Size

func (m *AnnotationMetadata) XXX_Size() int

func (*AnnotationMetadata) XXX_Unmarshal

func (m *AnnotationMetadata) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

func (AnnotationSentiment) EnumDescriptor() ([]byte, []int)

func (AnnotationSentiment) String

func (x AnnotationSentiment) String() string

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) EnumDescriptor

func (AnnotationSource) EnumDescriptor() ([]byte, []int)

func (AnnotationSource) String

func (x AnnotationSource) String() string

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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)

func (*AnnotationSpec) GetDescription

func (m *AnnotationSpec) GetDescription() string

func (*AnnotationSpec) GetDisplayName

func (m *AnnotationSpec) GetDisplayName() string

func (*AnnotationSpec) ProtoMessage

func (*AnnotationSpec) ProtoMessage()

func (*AnnotationSpec) Reset

func (m *AnnotationSpec) Reset()

func (*AnnotationSpec) String

func (m *AnnotationSpec) String() string

func (*AnnotationSpec) XXX_DiscardUnknown

func (m *AnnotationSpec) XXX_DiscardUnknown()

func (*AnnotationSpec) XXX_Marshal

func (m *AnnotationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnnotationSpec) XXX_Merge

func (m *AnnotationSpec) XXX_Merge(src proto.Message)

func (*AnnotationSpec) XXX_Size

func (m *AnnotationSpec) XXX_Size() int

func (*AnnotationSpec) XXX_Unmarshal

func (m *AnnotationSpec) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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)

func (*AnnotationSpecSet) GetAnnotationSpecs

func (m *AnnotationSpecSet) GetAnnotationSpecs() []*AnnotationSpec

func (*AnnotationSpecSet) GetBlockingResources

func (m *AnnotationSpecSet) GetBlockingResources() []string

func (*AnnotationSpecSet) GetDescription

func (m *AnnotationSpecSet) GetDescription() string

func (*AnnotationSpecSet) GetDisplayName

func (m *AnnotationSpecSet) GetDisplayName() string

func (*AnnotationSpecSet) GetName

func (m *AnnotationSpecSet) GetName() string

func (*AnnotationSpecSet) ProtoMessage

func (*AnnotationSpecSet) ProtoMessage()

func (*AnnotationSpecSet) Reset

func (m *AnnotationSpecSet) Reset()

func (*AnnotationSpecSet) String

func (m *AnnotationSpecSet) String() string

func (*AnnotationSpecSet) XXX_DiscardUnknown

func (m *AnnotationSpecSet) XXX_DiscardUnknown()

func (*AnnotationSpecSet) XXX_Marshal

func (m *AnnotationSpecSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnnotationSpecSet) XXX_Merge

func (m *AnnotationSpecSet) XXX_Merge(src proto.Message)

func (*AnnotationSpecSet) XXX_Size

func (m *AnnotationSpecSet) XXX_Size() int

func (*AnnotationSpecSet) XXX_Unmarshal

func (m *AnnotationSpecSet) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

func (AnnotationType) EnumDescriptor() ([]byte, []int)

func (AnnotationType) String

func (x AnnotationType) String() string

type AnnotationValue

type AnnotationValue struct {
	// Types that are valid to be assigned 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"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Annotation value for an example.

func (*AnnotationValue) Descriptor

func (*AnnotationValue) Descriptor() ([]byte, []int)

func (*AnnotationValue) GetImageBoundingPolyAnnotation

func (m *AnnotationValue) GetImageBoundingPolyAnnotation() *ImageBoundingPolyAnnotation

func (*AnnotationValue) GetImageClassificationAnnotation

func (m *AnnotationValue) GetImageClassificationAnnotation() *ImageClassificationAnnotation

func (*AnnotationValue) GetImagePolylineAnnotation

func (m *AnnotationValue) GetImagePolylineAnnotation() *ImagePolylineAnnotation

func (*AnnotationValue) GetImageSegmentationAnnotation

func (m *AnnotationValue) GetImageSegmentationAnnotation() *ImageSegmentationAnnotation

func (*AnnotationValue) GetTextClassificationAnnotation

func (m *AnnotationValue) GetTextClassificationAnnotation() *TextClassificationAnnotation

func (*AnnotationValue) GetTextEntityExtractionAnnotation

func (m *AnnotationValue) GetTextEntityExtractionAnnotation() *TextEntityExtractionAnnotation

func (*AnnotationValue) GetValueType

func (m *AnnotationValue) GetValueType() isAnnotationValue_ValueType

func (*AnnotationValue) GetVideoClassificationAnnotation

func (m *AnnotationValue) GetVideoClassificationAnnotation() *VideoClassificationAnnotation

func (*AnnotationValue) GetVideoEventAnnotation

func (m *AnnotationValue) GetVideoEventAnnotation() *VideoEventAnnotation

func (*AnnotationValue) GetVideoObjectTrackingAnnotation

func (m *AnnotationValue) GetVideoObjectTrackingAnnotation() *VideoObjectTrackingAnnotation

func (*AnnotationValue) ProtoMessage

func (*AnnotationValue) ProtoMessage()

func (*AnnotationValue) Reset

func (m *AnnotationValue) Reset()

func (*AnnotationValue) String

func (m *AnnotationValue) String() string

func (*AnnotationValue) XXX_DiscardUnknown

func (m *AnnotationValue) XXX_DiscardUnknown()

func (*AnnotationValue) XXX_Marshal

func (m *AnnotationValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnnotationValue) XXX_Merge

func (m *AnnotationValue) XXX_Merge(src proto.Message)

func (*AnnotationValue) XXX_OneofWrappers

func (*AnnotationValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AnnotationValue) XXX_Size

func (m *AnnotationValue) XXX_Size() int

func (*AnnotationValue) XXX_Unmarshal

func (m *AnnotationValue) XXX_Unmarshal(b []byte) error

type AnnotationValue_ImageBoundingPolyAnnotation

type AnnotationValue_ImageBoundingPolyAnnotation struct {
	ImageBoundingPolyAnnotation *ImageBoundingPolyAnnotation `protobuf:"bytes,2,opt,name=image_bounding_poly_annotation,json=imageBoundingPolyAnnotation,proto3,oneof"`
}

type AnnotationValue_ImageClassificationAnnotation

type AnnotationValue_ImageClassificationAnnotation struct {
	ImageClassificationAnnotation *ImageClassificationAnnotation `protobuf:"bytes,1,opt,name=image_classification_annotation,json=imageClassificationAnnotation,proto3,oneof"`
}

type AnnotationValue_ImagePolylineAnnotation

type AnnotationValue_ImagePolylineAnnotation struct {
	ImagePolylineAnnotation *ImagePolylineAnnotation `protobuf:"bytes,8,opt,name=image_polyline_annotation,json=imagePolylineAnnotation,proto3,oneof"`
}

type AnnotationValue_ImageSegmentationAnnotation

type AnnotationValue_ImageSegmentationAnnotation struct {
	ImageSegmentationAnnotation *ImageSegmentationAnnotation `protobuf:"bytes,9,opt,name=image_segmentation_annotation,json=imageSegmentationAnnotation,proto3,oneof"`
}

type AnnotationValue_TextClassificationAnnotation

type AnnotationValue_TextClassificationAnnotation struct {
	TextClassificationAnnotation *TextClassificationAnnotation `protobuf:"bytes,3,opt,name=text_classification_annotation,json=textClassificationAnnotation,proto3,oneof"`
}

type AnnotationValue_TextEntityExtractionAnnotation

type AnnotationValue_TextEntityExtractionAnnotation struct {
	TextEntityExtractionAnnotation *TextEntityExtractionAnnotation `protobuf:"bytes,10,opt,name=text_entity_extraction_annotation,json=textEntityExtractionAnnotation,proto3,oneof"`
}

type AnnotationValue_VideoClassificationAnnotation

type AnnotationValue_VideoClassificationAnnotation struct {
	VideoClassificationAnnotation *VideoClassificationAnnotation `protobuf:"bytes,4,opt,name=video_classification_annotation,json=videoClassificationAnnotation,proto3,oneof"`
}

type AnnotationValue_VideoEventAnnotation

type AnnotationValue_VideoEventAnnotation struct {
	VideoEventAnnotation *VideoEventAnnotation `protobuf:"bytes,6,opt,name=video_event_annotation,json=videoEventAnnotation,proto3,oneof"`
}

type AnnotationValue_VideoObjectTrackingAnnotation

type AnnotationValue_VideoObjectTrackingAnnotation struct {
	VideoObjectTrackingAnnotation *VideoObjectTrackingAnnotation `protobuf:"bytes,5,opt,name=video_object_tracking_annotation,json=videoObjectTrackingAnnotation,proto3,oneof"`
}

type Attempt

type Attempt struct {
	AttemptTime *timestamp.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"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Records a failed evaluation job run.

func (*Attempt) Descriptor

func (*Attempt) Descriptor() ([]byte, []int)

func (*Attempt) GetAttemptTime

func (m *Attempt) GetAttemptTime() *timestamp.Timestamp

func (*Attempt) GetPartialFailures

func (m *Attempt) GetPartialFailures() []*status.Status

func (*Attempt) ProtoMessage

func (*Attempt) ProtoMessage()

func (*Attempt) Reset

func (m *Attempt) Reset()

func (*Attempt) String

func (m *Attempt) String() string

func (*Attempt) XXX_DiscardUnknown

func (m *Attempt) XXX_DiscardUnknown()

func (*Attempt) XXX_Marshal

func (m *Attempt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Attempt) XXX_Merge

func (m *Attempt) XXX_Merge(src proto.Message)

func (*Attempt) XXX_Size

func (m *Attempt) XXX_Size() int

func (*Attempt) XXX_Unmarshal

func (m *Attempt) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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)

func (*BigQuerySource) GetInputUri

func (m *BigQuerySource) GetInputUri() string

func (*BigQuerySource) ProtoMessage

func (*BigQuerySource) ProtoMessage()

func (*BigQuerySource) Reset

func (m *BigQuerySource) Reset()

func (*BigQuerySource) String

func (m *BigQuerySource) String() string

func (*BigQuerySource) XXX_DiscardUnknown

func (m *BigQuerySource) XXX_DiscardUnknown()

func (*BigQuerySource) XXX_Marshal

func (m *BigQuerySource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BigQuerySource) XXX_Merge

func (m *BigQuerySource) XXX_Merge(src proto.Message)

func (*BigQuerySource) XXX_Size

func (m *BigQuerySource) XXX_Size() int

func (*BigQuerySource) XXX_Unmarshal

func (m *BigQuerySource) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Options regarding evaluation between bounding boxes.

func (*BoundingBoxEvaluationOptions) Descriptor

func (*BoundingBoxEvaluationOptions) Descriptor() ([]byte, []int)

func (*BoundingBoxEvaluationOptions) GetIouThreshold

func (m *BoundingBoxEvaluationOptions) GetIouThreshold() float32

func (*BoundingBoxEvaluationOptions) ProtoMessage

func (*BoundingBoxEvaluationOptions) ProtoMessage()

func (*BoundingBoxEvaluationOptions) Reset

func (m *BoundingBoxEvaluationOptions) Reset()

func (*BoundingBoxEvaluationOptions) String

func (*BoundingBoxEvaluationOptions) XXX_DiscardUnknown

func (m *BoundingBoxEvaluationOptions) XXX_DiscardUnknown()

func (*BoundingBoxEvaluationOptions) XXX_Marshal

func (m *BoundingBoxEvaluationOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BoundingBoxEvaluationOptions) XXX_Merge

func (m *BoundingBoxEvaluationOptions) XXX_Merge(src proto.Message)

func (*BoundingBoxEvaluationOptions) XXX_Size

func (m *BoundingBoxEvaluationOptions) XXX_Size() int

func (*BoundingBoxEvaluationOptions) XXX_Unmarshal

func (m *BoundingBoxEvaluationOptions) XXX_Unmarshal(b []byte) error

type BoundingPoly

type BoundingPoly struct {
	// The bounding polygon vertices.
	Vertices             []*Vertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

A bounding polygon in the image.

func (*BoundingPoly) Descriptor

func (*BoundingPoly) Descriptor() ([]byte, []int)

func (*BoundingPoly) GetVertices

func (m *BoundingPoly) GetVertices() []*Vertex

func (*BoundingPoly) ProtoMessage

func (*BoundingPoly) ProtoMessage()

func (*BoundingPoly) Reset

func (m *BoundingPoly) Reset()

func (*BoundingPoly) String

func (m *BoundingPoly) String() string

func (*BoundingPoly) XXX_DiscardUnknown

func (m *BoundingPoly) XXX_DiscardUnknown()

func (*BoundingPoly) XXX_Marshal

func (m *BoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BoundingPoly) XXX_Merge

func (m *BoundingPoly) XXX_Merge(src proto.Message)

func (*BoundingPoly) XXX_Size

func (m *BoundingPoly) XXX_Size() int

func (*BoundingPoly) XXX_Unmarshal

func (m *BoundingPoly) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for image bounding poly (and bounding box) human labeling task.

func (*BoundingPolyConfig) Descriptor

func (*BoundingPolyConfig) Descriptor() ([]byte, []int)

func (*BoundingPolyConfig) GetAnnotationSpecSet

func (m *BoundingPolyConfig) GetAnnotationSpecSet() string

func (*BoundingPolyConfig) GetInstructionMessage

func (m *BoundingPolyConfig) GetInstructionMessage() string

func (*BoundingPolyConfig) ProtoMessage

func (*BoundingPolyConfig) ProtoMessage()

func (*BoundingPolyConfig) Reset

func (m *BoundingPolyConfig) Reset()

func (*BoundingPolyConfig) String

func (m *BoundingPolyConfig) String() string

func (*BoundingPolyConfig) XXX_DiscardUnknown

func (m *BoundingPolyConfig) XXX_DiscardUnknown()

func (*BoundingPolyConfig) XXX_Marshal

func (m *BoundingPolyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BoundingPolyConfig) XXX_Merge

func (m *BoundingPolyConfig) XXX_Merge(src proto.Message)

func (*BoundingPolyConfig) XXX_Size

func (m *BoundingPolyConfig) XXX_Size() int

func (*BoundingPolyConfig) XXX_Unmarshal

func (m *BoundingPolyConfig) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Metadata for classification annotations.

func (*ClassificationMetadata) Descriptor

func (*ClassificationMetadata) Descriptor() ([]byte, []int)

func (*ClassificationMetadata) GetIsMultiLabel

func (m *ClassificationMetadata) GetIsMultiLabel() bool

func (*ClassificationMetadata) ProtoMessage

func (*ClassificationMetadata) ProtoMessage()

func (*ClassificationMetadata) Reset

func (m *ClassificationMetadata) Reset()

func (*ClassificationMetadata) String

func (m *ClassificationMetadata) String() string

func (*ClassificationMetadata) XXX_DiscardUnknown

func (m *ClassificationMetadata) XXX_DiscardUnknown()

func (*ClassificationMetadata) XXX_Marshal

func (m *ClassificationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClassificationMetadata) XXX_Merge

func (m *ClassificationMetadata) XXX_Merge(src proto.Message)

func (*ClassificationMetadata) XXX_Size

func (m *ClassificationMetadata) XXX_Size() int

func (*ClassificationMetadata) XXX_Unmarshal

func (m *ClassificationMetadata) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Metrics calculated for a classification model.

func (*ClassificationMetrics) Descriptor

func (*ClassificationMetrics) Descriptor() ([]byte, []int)

func (*ClassificationMetrics) GetConfusionMatrix

func (m *ClassificationMetrics) GetConfusionMatrix() *ConfusionMatrix

func (*ClassificationMetrics) GetPrCurve

func (m *ClassificationMetrics) GetPrCurve() *PrCurve

func (*ClassificationMetrics) ProtoMessage

func (*ClassificationMetrics) ProtoMessage()

func (*ClassificationMetrics) Reset

func (m *ClassificationMetrics) Reset()

func (*ClassificationMetrics) String

func (m *ClassificationMetrics) String() string

func (*ClassificationMetrics) XXX_DiscardUnknown

func (m *ClassificationMetrics) XXX_DiscardUnknown()

func (*ClassificationMetrics) XXX_Marshal

func (m *ClassificationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClassificationMetrics) XXX_Merge

func (m *ClassificationMetrics) XXX_Merge(src proto.Message)

func (*ClassificationMetrics) XXX_Size

func (m *ClassificationMetrics) XXX_Size() int

func (*ClassificationMetrics) XXX_Unmarshal

func (m *ClassificationMetrics) XXX_Unmarshal(b []byte) error

type ConfusionMatrix

type ConfusionMatrix struct {
	Row                  []*ConfusionMatrix_Row `protobuf:"bytes,1,rep,name=row,proto3" json:"row,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

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)

func (*ConfusionMatrix) GetRow

func (m *ConfusionMatrix) GetRow() []*ConfusionMatrix_Row

func (*ConfusionMatrix) ProtoMessage

func (*ConfusionMatrix) ProtoMessage()

func (*ConfusionMatrix) Reset

func (m *ConfusionMatrix) Reset()

func (*ConfusionMatrix) String

func (m *ConfusionMatrix) String() string

func (*ConfusionMatrix) XXX_DiscardUnknown

func (m *ConfusionMatrix) XXX_DiscardUnknown()

func (*ConfusionMatrix) XXX_Marshal

func (m *ConfusionMatrix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfusionMatrix) XXX_Merge

func (m *ConfusionMatrix) XXX_Merge(src proto.Message)

func (*ConfusionMatrix) XXX_Size

func (m *ConfusionMatrix) XXX_Size() int

func (*ConfusionMatrix) XXX_Unmarshal

func (m *ConfusionMatrix) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfusionMatrix_ConfusionMatrixEntry) Descriptor

func (*ConfusionMatrix_ConfusionMatrixEntry) Descriptor() ([]byte, []int)

func (*ConfusionMatrix_ConfusionMatrixEntry) GetAnnotationSpec

func (m *ConfusionMatrix_ConfusionMatrixEntry) GetAnnotationSpec() *AnnotationSpec

func (*ConfusionMatrix_ConfusionMatrixEntry) GetItemCount

func (m *ConfusionMatrix_ConfusionMatrixEntry) GetItemCount() int32

func (*ConfusionMatrix_ConfusionMatrixEntry) ProtoMessage

func (*ConfusionMatrix_ConfusionMatrixEntry) ProtoMessage()

func (*ConfusionMatrix_ConfusionMatrixEntry) Reset

func (*ConfusionMatrix_ConfusionMatrixEntry) String

func (*ConfusionMatrix_ConfusionMatrixEntry) XXX_DiscardUnknown

func (m *ConfusionMatrix_ConfusionMatrixEntry) XXX_DiscardUnknown()

func (*ConfusionMatrix_ConfusionMatrixEntry) XXX_Marshal

func (m *ConfusionMatrix_ConfusionMatrixEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfusionMatrix_ConfusionMatrixEntry) XXX_Merge

func (*ConfusionMatrix_ConfusionMatrixEntry) XXX_Size

func (*ConfusionMatrix_ConfusionMatrixEntry) XXX_Unmarshal

func (m *ConfusionMatrix_ConfusionMatrixEntry) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                                `json:"-"`
	XXX_unrecognized     []byte                                  `json:"-"`
	XXX_sizecache        int32                                   `json:"-"`
}

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)

func (*ConfusionMatrix_Row) GetAnnotationSpec

func (m *ConfusionMatrix_Row) GetAnnotationSpec() *AnnotationSpec

func (*ConfusionMatrix_Row) GetEntries

func (*ConfusionMatrix_Row) ProtoMessage

func (*ConfusionMatrix_Row) ProtoMessage()

func (*ConfusionMatrix_Row) Reset

func (m *ConfusionMatrix_Row) Reset()

func (*ConfusionMatrix_Row) String

func (m *ConfusionMatrix_Row) String() string

func (*ConfusionMatrix_Row) XXX_DiscardUnknown

func (m *ConfusionMatrix_Row) XXX_DiscardUnknown()

func (*ConfusionMatrix_Row) XXX_Marshal

func (m *ConfusionMatrix_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfusionMatrix_Row) XXX_Merge

func (m *ConfusionMatrix_Row) XXX_Merge(src proto.Message)

func (*ConfusionMatrix_Row) XXX_Size

func (m *ConfusionMatrix_Row) XXX_Size() int

func (*ConfusionMatrix_Row) XXX_Unmarshal

func (m *ConfusionMatrix_Row) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Request message for CreateAnnotationSpecSet.

func (*CreateAnnotationSpecSetRequest) Descriptor

func (*CreateAnnotationSpecSetRequest) Descriptor() ([]byte, []int)

func (*CreateAnnotationSpecSetRequest) GetAnnotationSpecSet

func (m *CreateAnnotationSpecSetRequest) GetAnnotationSpecSet() *AnnotationSpecSet

func (*CreateAnnotationSpecSetRequest) GetParent

func (m *CreateAnnotationSpecSetRequest) GetParent() string

func (*CreateAnnotationSpecSetRequest) ProtoMessage

func (*CreateAnnotationSpecSetRequest) ProtoMessage()

func (*CreateAnnotationSpecSetRequest) Reset

func (m *CreateAnnotationSpecSetRequest) Reset()

func (*CreateAnnotationSpecSetRequest) String

func (*CreateAnnotationSpecSetRequest) XXX_DiscardUnknown

func (m *CreateAnnotationSpecSetRequest) XXX_DiscardUnknown()

func (*CreateAnnotationSpecSetRequest) XXX_Marshal

func (m *CreateAnnotationSpecSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateAnnotationSpecSetRequest) XXX_Merge

func (m *CreateAnnotationSpecSetRequest) XXX_Merge(src proto.Message)

func (*CreateAnnotationSpecSetRequest) XXX_Size

func (m *CreateAnnotationSpecSetRequest) XXX_Size() int

func (*CreateAnnotationSpecSetRequest) XXX_Unmarshal

func (m *CreateAnnotationSpecSetRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for CreateDataset.

func (*CreateDatasetRequest) Descriptor

func (*CreateDatasetRequest) Descriptor() ([]byte, []int)

func (*CreateDatasetRequest) GetDataset

func (m *CreateDatasetRequest) GetDataset() *Dataset

func (*CreateDatasetRequest) GetParent

func (m *CreateDatasetRequest) GetParent() string

func (*CreateDatasetRequest) ProtoMessage

func (*CreateDatasetRequest) ProtoMessage()

func (*CreateDatasetRequest) Reset

func (m *CreateDatasetRequest) Reset()

func (*CreateDatasetRequest) String

func (m *CreateDatasetRequest) String() string

func (*CreateDatasetRequest) XXX_DiscardUnknown

func (m *CreateDatasetRequest) XXX_DiscardUnknown()

func (*CreateDatasetRequest) XXX_Marshal

func (m *CreateDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDatasetRequest) XXX_Merge

func (m *CreateDatasetRequest) XXX_Merge(src proto.Message)

func (*CreateDatasetRequest) XXX_Size

func (m *CreateDatasetRequest) XXX_Size() int

func (*CreateDatasetRequest) XXX_Unmarshal

func (m *CreateDatasetRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Request message for CreateEvaluationJob.

func (*CreateEvaluationJobRequest) Descriptor

func (*CreateEvaluationJobRequest) Descriptor() ([]byte, []int)

func (*CreateEvaluationJobRequest) GetJob

func (*CreateEvaluationJobRequest) GetParent

func (m *CreateEvaluationJobRequest) GetParent() string

func (*CreateEvaluationJobRequest) ProtoMessage

func (*CreateEvaluationJobRequest) ProtoMessage()

func (*CreateEvaluationJobRequest) Reset

func (m *CreateEvaluationJobRequest) Reset()

func (*CreateEvaluationJobRequest) String

func (m *CreateEvaluationJobRequest) String() string

func (*CreateEvaluationJobRequest) XXX_DiscardUnknown

func (m *CreateEvaluationJobRequest) XXX_DiscardUnknown()

func (*CreateEvaluationJobRequest) XXX_Marshal

func (m *CreateEvaluationJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateEvaluationJobRequest) XXX_Merge

func (m *CreateEvaluationJobRequest) XXX_Merge(src proto.Message)

func (*CreateEvaluationJobRequest) XXX_Size

func (m *CreateEvaluationJobRequest) XXX_Size() int

func (*CreateEvaluationJobRequest) XXX_Unmarshal

func (m *CreateEvaluationJobRequest) XXX_Unmarshal(b []byte) error

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           *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Metadata of a CreateInstruction operation.

func (*CreateInstructionMetadata) Descriptor

func (*CreateInstructionMetadata) Descriptor() ([]byte, []int)

func (*CreateInstructionMetadata) GetCreateTime

func (m *CreateInstructionMetadata) GetCreateTime() *timestamp.Timestamp

func (*CreateInstructionMetadata) GetInstruction

func (m *CreateInstructionMetadata) GetInstruction() string

func (*CreateInstructionMetadata) GetPartialFailures

func (m *CreateInstructionMetadata) GetPartialFailures() []*status.Status

func (*CreateInstructionMetadata) ProtoMessage

func (*CreateInstructionMetadata) ProtoMessage()

func (*CreateInstructionMetadata) Reset

func (m *CreateInstructionMetadata) Reset()

func (*CreateInstructionMetadata) String

func (m *CreateInstructionMetadata) String() string

func (*CreateInstructionMetadata) XXX_DiscardUnknown

func (m *CreateInstructionMetadata) XXX_DiscardUnknown()

func (*CreateInstructionMetadata) XXX_Marshal

func (m *CreateInstructionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateInstructionMetadata) XXX_Merge

func (m *CreateInstructionMetadata) XXX_Merge(src proto.Message)

func (*CreateInstructionMetadata) XXX_Size

func (m *CreateInstructionMetadata) XXX_Size() int

func (*CreateInstructionMetadata) XXX_Unmarshal

func (m *CreateInstructionMetadata) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Request message for CreateInstruction.

func (*CreateInstructionRequest) Descriptor

func (*CreateInstructionRequest) Descriptor() ([]byte, []int)

func (*CreateInstructionRequest) GetInstruction

func (m *CreateInstructionRequest) GetInstruction() *Instruction

func (*CreateInstructionRequest) GetParent

func (m *CreateInstructionRequest) GetParent() string

func (*CreateInstructionRequest) ProtoMessage

func (*CreateInstructionRequest) ProtoMessage()

func (*CreateInstructionRequest) Reset

func (m *CreateInstructionRequest) Reset()

func (*CreateInstructionRequest) String

func (m *CreateInstructionRequest) String() string

func (*CreateInstructionRequest) XXX_DiscardUnknown

func (m *CreateInstructionRequest) XXX_DiscardUnknown()

func (*CreateInstructionRequest) XXX_Marshal

func (m *CreateInstructionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateInstructionRequest) XXX_Merge

func (m *CreateInstructionRequest) XXX_Merge(src proto.Message)

func (*CreateInstructionRequest) XXX_Size

func (m *CreateInstructionRequest) XXX_Size() int

func (*CreateInstructionRequest) XXX_Unmarshal

func (m *CreateInstructionRequest) XXX_Unmarshal(b []byte) error

type CsvInstruction deprecated

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Deprecated: this instruction format is not supported any more. Instruction from a CSV file.

func (*CsvInstruction) Descriptor

func (*CsvInstruction) Descriptor() ([]byte, []int)

func (*CsvInstruction) GetGcsFileUri

func (m *CsvInstruction) GetGcsFileUri() string

func (*CsvInstruction) ProtoMessage

func (*CsvInstruction) ProtoMessage()

func (*CsvInstruction) Reset

func (m *CsvInstruction) Reset()

func (*CsvInstruction) String

func (m *CsvInstruction) String() string

func (*CsvInstruction) XXX_DiscardUnknown

func (m *CsvInstruction) XXX_DiscardUnknown()

func (*CsvInstruction) XXX_Marshal

func (m *CsvInstruction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CsvInstruction) XXX_Merge

func (m *CsvInstruction) XXX_Merge(src proto.Message)

func (*CsvInstruction) XXX_Size

func (m *CsvInstruction) XXX_Size() int

func (*CsvInstruction) XXX_Unmarshal

func (m *CsvInstruction) XXX_Unmarshal(b []byte) error

type DataItem

type DataItem struct {
	// Output only.
	//
	// Types that are valid to be assigned 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DataItem is a piece of data, without annotation. For example, an image.

func (*DataItem) Descriptor

func (*DataItem) Descriptor() ([]byte, []int)

func (*DataItem) GetImagePayload

func (m *DataItem) GetImagePayload() *ImagePayload

func (*DataItem) GetName

func (m *DataItem) GetName() string

func (*DataItem) GetPayload

func (m *DataItem) GetPayload() isDataItem_Payload

func (*DataItem) GetTextPayload

func (m *DataItem) GetTextPayload() *TextPayload

func (*DataItem) GetVideoPayload

func (m *DataItem) GetVideoPayload() *VideoPayload

func (*DataItem) ProtoMessage

func (*DataItem) ProtoMessage()

func (*DataItem) Reset

func (m *DataItem) Reset()

func (*DataItem) String

func (m *DataItem) String() string

func (*DataItem) XXX_DiscardUnknown

func (m *DataItem) XXX_DiscardUnknown()

func (*DataItem) XXX_Marshal

func (m *DataItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataItem) XXX_Merge

func (m *DataItem) XXX_Merge(src proto.Message)

func (*DataItem) XXX_OneofWrappers

func (*DataItem) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*DataItem) XXX_Size

func (m *DataItem) XXX_Size() int

func (*DataItem) XXX_Unmarshal

func (m *DataItem) XXX_Unmarshal(b []byte) error

type DataItem_ImagePayload

type DataItem_ImagePayload struct {
	ImagePayload *ImagePayload `protobuf:"bytes,2,opt,name=image_payload,json=imagePayload,proto3,oneof"`
}

type DataItem_TextPayload

type DataItem_TextPayload struct {
	TextPayload *TextPayload `protobuf:"bytes,3,opt,name=text_payload,json=textPayload,proto3,oneof"`
}

type DataItem_VideoPayload

type DataItem_VideoPayload struct {
	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) (*empty.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) (*empty.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) (*empty.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) (*empty.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) (*empty.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) (*empty.Empty, error)
	// Stops and deletes an evaluation job.
	DeleteEvaluationJob(ctx context.Context, in *DeleteEvaluationJobRequest, opts ...grpc.CallOption) (*empty.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.

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) (*empty.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) (*empty.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) (*empty.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) (*empty.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
	// delete the job and create a new one.
	UpdateEvaluationJob(context.Context, *UpdateEvaluationJobRequest) (*EvaluationJob, error)
	// Gets an evaluation job by resource name.
	GetEvaluationJob(context.Context, *GetEvaluationJobRequest) (*EvaluationJob, error)
	// Pauses an evaluation job. Pausing an evaluation job that is already in a
	// `PAUSED` state is a no-op.
	PauseEvaluationJob(context.Context, *PauseEvaluationJobRequest) (*empty.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(context.Context, *ResumeEvaluationJobRequest) (*empty.Empty, error)
	// Stops and deletes an evaluation job.
	DeleteEvaluationJob(context.Context, *DeleteEvaluationJobRequest) (*empty.Empty, error)
	// Lists all evaluation jobs within a project with possible filters.
	// Pagination is supported.
	ListEvaluationJobs(context.Context, *ListEvaluationJobsRequest) (*ListEvaluationJobsResponse, error)
}

DataLabelingServiceServer is the server API for DataLabelingService service.

type DataType

type DataType int32
const (
	DataType_DATA_TYPE_UNSPECIFIED DataType = 0
	// Allowed for continuous evaluation.
	DataType_IMAGE DataType = 1
	DataType_VIDEO DataType = 2
	// Allowed for continuous evaluation.
	DataType_TEXT DataType = 4
	// Allowed for continuous evaluation.
	DataType_GENERAL_DATA DataType = 6
)

func (DataType) EnumDescriptor

func (DataType) EnumDescriptor() ([]byte, []int)

func (DataType) String

func (x DataType) String() string

type Dataset

type Dataset struct {
	// Output only. Dataset resource name, format is:
	// projects/{project_id}/datasets/{dataset_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name of the dataset. 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 10000 characters long.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Time the dataset is created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. This is populated with the original input configs
	// where ImportData is called. It is available only after the clients
	// import data to this dataset.
	InputConfigs []*InputConfig `protobuf:"bytes,5,rep,name=input_configs,json=inputConfigs,proto3" json:"input_configs,omitempty"`
	// Output only. The names of any related resources that are blocking changes
	// to the dataset.
	BlockingResources []string `protobuf:"bytes,6,rep,name=blocking_resources,json=blockingResources,proto3" json:"blocking_resources,omitempty"`
	// Output only. The number of data items in the dataset.
	DataItemCount        int64    `protobuf:"varint,7,opt,name=data_item_count,json=dataItemCount,proto3" json:"data_item_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset.

func (*Dataset) Descriptor

func (*Dataset) Descriptor() ([]byte, []int)

func (*Dataset) GetBlockingResources

func (m *Dataset) GetBlockingResources() []string

func (*Dataset) GetCreateTime

func (m *Dataset) GetCreateTime() *timestamp.Timestamp

func (*Dataset) GetDataItemCount

func (m *Dataset) GetDataItemCount() int64

func (*Dataset) GetDescription

func (m *Dataset) GetDescription() string

func (*Dataset) GetDisplayName

func (m *Dataset) GetDisplayName() string

func (*Dataset) GetInputConfigs

func (m *Dataset) GetInputConfigs() []*InputConfig

func (*Dataset) GetName

func (m *Dataset) GetName() string

func (*Dataset) ProtoMessage

func (*Dataset) ProtoMessage()

func (*Dataset) Reset

func (m *Dataset) Reset()

func (*Dataset) String

func (m *Dataset) String() string

func (*Dataset) XXX_DiscardUnknown

func (m *Dataset) XXX_DiscardUnknown()

func (*Dataset) XXX_Marshal

func (m *Dataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dataset) XXX_Merge

func (m *Dataset) XXX_Merge(src proto.Message)

func (*Dataset) XXX_Size

func (m *Dataset) XXX_Size() int

func (*Dataset) XXX_Unmarshal

func (m *Dataset) XXX_Unmarshal(b []byte) error

type DeleteAnnotatedDatasetRequest

type DeleteAnnotatedDatasetRequest struct {
	// Required. Name of the annotated dataset to delete, format:
	// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
	// {annotated_dataset_id}
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for DeleteAnnotatedDataset.

func (*DeleteAnnotatedDatasetRequest) Descriptor

func (*DeleteAnnotatedDatasetRequest) Descriptor() ([]byte, []int)

func (*DeleteAnnotatedDatasetRequest) GetName

func (*DeleteAnnotatedDatasetRequest) ProtoMessage

func (*DeleteAnnotatedDatasetRequest) ProtoMessage()

func (*DeleteAnnotatedDatasetRequest) Reset

func (m *DeleteAnnotatedDatasetRequest) Reset()

func (*DeleteAnnotatedDatasetRequest) String

func (*DeleteAnnotatedDatasetRequest) XXX_DiscardUnknown

func (m *DeleteAnnotatedDatasetRequest) XXX_DiscardUnknown()

func (*DeleteAnnotatedDatasetRequest) XXX_Marshal

func (m *DeleteAnnotatedDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAnnotatedDatasetRequest) XXX_Merge

func (m *DeleteAnnotatedDatasetRequest) XXX_Merge(src proto.Message)

func (*DeleteAnnotatedDatasetRequest) XXX_Size

func (m *DeleteAnnotatedDatasetRequest) XXX_Size() int

func (*DeleteAnnotatedDatasetRequest) XXX_Unmarshal

func (m *DeleteAnnotatedDatasetRequest) XXX_Unmarshal(b []byte) error

type DeleteAnnotationSpecSetRequest

type DeleteAnnotationSpecSetRequest struct {
	// Required. AnnotationSpec resource name, format:
	// `projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}`.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for DeleteAnnotationSpecSet.

func (*DeleteAnnotationSpecSetRequest) Descriptor

func (*DeleteAnnotationSpecSetRequest) Descriptor() ([]byte, []int)

func (*DeleteAnnotationSpecSetRequest) GetName

func (*DeleteAnnotationSpecSetRequest) ProtoMessage

func (*DeleteAnnotationSpecSetRequest) ProtoMessage()

func (*DeleteAnnotationSpecSetRequest) Reset

func (m *DeleteAnnotationSpecSetRequest) Reset()

func (*DeleteAnnotationSpecSetRequest) String

func (*DeleteAnnotationSpecSetRequest) XXX_DiscardUnknown

func (m *DeleteAnnotationSpecSetRequest) XXX_DiscardUnknown()

func (*DeleteAnnotationSpecSetRequest) XXX_Marshal

func (m *DeleteAnnotationSpecSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAnnotationSpecSetRequest) XXX_Merge

func (m *DeleteAnnotationSpecSetRequest) XXX_Merge(src proto.Message)

func (*DeleteAnnotationSpecSetRequest) XXX_Size

func (m *DeleteAnnotationSpecSetRequest) XXX_Size() int

func (*DeleteAnnotationSpecSetRequest) XXX_Unmarshal

func (m *DeleteAnnotationSpecSetRequest) XXX_Unmarshal(b []byte) error

type DeleteDatasetRequest

type DeleteDatasetRequest struct {
	// Required. Dataset resource name, format:
	// projects/{project_id}/datasets/{dataset_id}
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for DeleteDataset.

func (*DeleteDatasetRequest) Descriptor

func (*DeleteDatasetRequest) Descriptor() ([]byte, []int)

func (*DeleteDatasetRequest) GetName

func (m *DeleteDatasetRequest) GetName() string

func (*DeleteDatasetRequest) ProtoMessage

func (*DeleteDatasetRequest) ProtoMessage()

func (*DeleteDatasetRequest) Reset

func (m *DeleteDatasetRequest) Reset()

func (*DeleteDatasetRequest) String

func (m *DeleteDatasetRequest) String() string

func (*DeleteDatasetRequest) XXX_DiscardUnknown

func (m *DeleteDatasetRequest) XXX_DiscardUnknown()

func (*DeleteDatasetRequest) XXX_Marshal

func (m *DeleteDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDatasetRequest) XXX_Merge

func (m *DeleteDatasetRequest) XXX_Merge(src proto.Message)

func (*DeleteDatasetRequest) XXX_Size

func (m *DeleteDatasetRequest) XXX_Size() int

func (*DeleteDatasetRequest) XXX_Unmarshal

func (m *DeleteDatasetRequest) XXX_Unmarshal(b []byte) error

type DeleteEvaluationJobRequest

type DeleteEvaluationJobRequest struct {
	// Required. Name of the evaluation job that is going to be deleted. Format:
	//
	// "projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message DeleteEvaluationJob.

func (*DeleteEvaluationJobRequest) Descriptor

func (*DeleteEvaluationJobRequest) Descriptor() ([]byte, []int)

func (*DeleteEvaluationJobRequest) GetName

func (m *DeleteEvaluationJobRequest) GetName() string

func (*DeleteEvaluationJobRequest) ProtoMessage

func (*DeleteEvaluationJobRequest) ProtoMessage()

func (*DeleteEvaluationJobRequest) Reset

func (m *DeleteEvaluationJobRequest) Reset()

func (*DeleteEvaluationJobRequest) String

func (m *DeleteEvaluationJobRequest) String() string

func (*DeleteEvaluationJobRequest) XXX_DiscardUnknown

func (m *DeleteEvaluationJobRequest) XXX_DiscardUnknown()

func (*DeleteEvaluationJobRequest) XXX_Marshal

func (m *DeleteEvaluationJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteEvaluationJobRequest) XXX_Merge

func (m *DeleteEvaluationJobRequest) XXX_Merge(src proto.Message)

func (*DeleteEvaluationJobRequest) XXX_Size

func (m *DeleteEvaluationJobRequest) XXX_Size() int

func (*DeleteEvaluationJobRequest) XXX_Unmarshal

func (m *DeleteEvaluationJobRequest) XXX_Unmarshal(b []byte) error

type DeleteInstructionRequest

type DeleteInstructionRequest struct {
	// Required. Instruction resource name, format:
	// projects/{project_id}/instructions/{instruction_id}
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for DeleteInstruction.

func (*DeleteInstructionRequest) Descriptor

func (*DeleteInstructionRequest) Descriptor() ([]byte, []int)

func (*DeleteInstructionRequest) GetName

func (m *DeleteInstructionRequest) GetName() string

func (*DeleteInstructionRequest) ProtoMessage

func (*DeleteInstructionRequest) ProtoMessage()

func (*DeleteInstructionRequest) Reset

func (m *DeleteInstructionRequest) Reset()

func (*DeleteInstructionRequest) String

func (m *DeleteInstructionRequest) String() string

func (*DeleteInstructionRequest) XXX_DiscardUnknown

func (m *DeleteInstructionRequest) XXX_DiscardUnknown()

func (*DeleteInstructionRequest) XXX_Marshal

func (m *DeleteInstructionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteInstructionRequest) XXX_Merge

func (m *DeleteInstructionRequest) XXX_Merge(src proto.Message)

func (*DeleteInstructionRequest) XXX_Size

func (m *DeleteInstructionRequest) XXX_Size() int

func (*DeleteInstructionRequest) XXX_Unmarshal

func (m *DeleteInstructionRequest) XXX_Unmarshal(b []byte) error

type Evaluation

type Evaluation struct {
	// Output only. Resource name of an evaluation. The name has the following
	// format:
	//
	// "projects/<var>{project_id}</var>/datasets/<var>{dataset_id}</var>/evaluations/<var>{evaluation_id</var>}'
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Options used in the evaluation job that created this
	// evaluation.
	Config *EvaluationConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// Output only. Timestamp for when the evaluation job that created this
	// evaluation ran.
	EvaluationJobRunTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=evaluation_job_run_time,json=evaluationJobRunTime,proto3" json:"evaluation_job_run_time,omitempty"`
	// Output only. Timestamp for when this evaluation was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Metrics comparing predictions to ground truth labels.
	EvaluationMetrics *EvaluationMetrics `protobuf:"bytes,5,opt,name=evaluation_metrics,json=evaluationMetrics,proto3" json:"evaluation_metrics,omitempty"`
	// Output only. Type of task that the model version being evaluated performs,
	// as defined in the
	//
	// [evaluationJobConfig.inputConfig.annotationType][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config]
	// field of the evaluation job that created this evaluation.
	AnnotationType AnnotationType `` /* 158-byte string literal not displayed */
	// Output only. The number of items in the ground truth dataset that were used
	// for this evaluation. Only populated when the evaulation is for certain
	// AnnotationTypes.
	EvaluatedItemCount   int64    `protobuf:"varint,7,opt,name=evaluated_item_count,json=evaluatedItemCount,proto3" json:"evaluated_item_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Describes an evaluation between a machine learning model's predictions and ground truth labels. Created when an EvaluationJob[google.cloud.datalabeling.v1beta1.EvaluationJob] runs successfully.

func (*Evaluation) Descriptor

func (*Evaluation) Descriptor() ([]byte, []int)

func (*Evaluation) GetAnnotationType

func (m *Evaluation) GetAnnotationType() AnnotationType

func (*Evaluation) GetConfig

func (m *Evaluation) GetConfig() *EvaluationConfig

func (*Evaluation) GetCreateTime

func (m *Evaluation) GetCreateTime() *timestamp.Timestamp

func (*Evaluation) GetEvaluatedItemCount

func (m *Evaluation) GetEvaluatedItemCount() int64

func (*Evaluation) GetEvaluationJobRunTime

func (m *Evaluation) GetEvaluationJobRunTime() *timestamp.Timestamp

func (*Evaluation) GetEvaluationMetrics

func (m *Evaluation) GetEvaluationMetrics() *EvaluationMetrics

func (*Evaluation) GetName

func (m *Evaluation) GetName() string

func (*Evaluation) ProtoMessage

func (*Evaluation) ProtoMessage()

func (*Evaluation) Reset

func (m *Evaluation) Reset()

func (*Evaluation) String

func (m *Evaluation) String() string

func (*Evaluation) XXX_DiscardUnknown

func (m *Evaluation) XXX_DiscardUnknown()

func (*Evaluation) XXX_Marshal

func (m *Evaluation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Evaluation) XXX_Merge

func (m *Evaluation) XXX_Merge(src proto.Message)

func (*Evaluation) XXX_Size

func (m *Evaluation) XXX_Size() int

func (*Evaluation) XXX_Unmarshal

func (m *Evaluation) XXX_Unmarshal(b []byte) error

type EvaluationConfig

type EvaluationConfig struct {
	// Vertical specific options for general metrics.
	//
	// Types that are valid to be assigned to VerticalOption:
	//	*EvaluationConfig_BoundingBoxEvaluationOptions
	VerticalOption       isEvaluationConfig_VerticalOption `protobuf_oneof:"vertical_option"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

Configuration details used for calculating evaluation metrics and creating an Evaluation[google.cloud.datalabeling.v1beta1.Evaluation].

func (*EvaluationConfig) Descriptor

func (*EvaluationConfig) Descriptor() ([]byte, []int)

func (*EvaluationConfig) GetBoundingBoxEvaluationOptions

func (m *EvaluationConfig) GetBoundingBoxEvaluationOptions() *BoundingBoxEvaluationOptions

func (*EvaluationConfig) GetVerticalOption

func (m *EvaluationConfig) GetVerticalOption() isEvaluationConfig_VerticalOption

func (*EvaluationConfig) ProtoMessage

func (*EvaluationConfig) ProtoMessage()

func (*EvaluationConfig) Reset

func (m *EvaluationConfig) Reset()

func (*EvaluationConfig) String

func (m *EvaluationConfig) String() string

func (*EvaluationConfig) XXX_DiscardUnknown

func (m *EvaluationConfig) XXX_DiscardUnknown()

func (*EvaluationConfig) XXX_Marshal

func (m *EvaluationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvaluationConfig) XXX_Merge

func (m *EvaluationConfig) XXX_Merge(src proto.Message)

func (*EvaluationConfig) XXX_OneofWrappers

func (*EvaluationConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*EvaluationConfig) XXX_Size

func (m *EvaluationConfig) XXX_Size() int

func (*EvaluationConfig) XXX_Unmarshal

func (m *EvaluationConfig) XXX_Unmarshal(b []byte) error

type EvaluationConfig_BoundingBoxEvaluationOptions

type EvaluationConfig_BoundingBoxEvaluationOptions struct {
	BoundingBoxEvaluationOptions *BoundingBoxEvaluationOptions `protobuf:"bytes,1,opt,name=bounding_box_evaluation_options,json=boundingBoxEvaluationOptions,proto3,oneof"`
}

type EvaluationJob

type EvaluationJob struct {
	// Output only. After you create a job, Data Labeling Service assigns a name
	// to the job with the following format:
	//
	// "projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Description of the job. The description can be up to 25,000
	// characters long.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Describes the current state of the job.
	State EvaluationJob_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.datalabeling.v1beta1.EvaluationJob_State" json:"state,omitempty"`
	// Required. Describes the interval at which the job runs. This interval must
	// be at least 1 day, and it is rounded to the nearest day. For example, if
	// you specify a 50-hour interval, the job runs every 2 days.
	//
	// You can provide the schedule in
	// [crontab format](/scheduler/docs/configuring/cron-job-schedules) or in an
	// [English-like
	// format](/appengine/docs/standard/python/config/cronref#schedule_format).
	//
	// Regardless of what you specify, the job will run at 10:00 AM UTC. Only the
	// interval from this schedule is used, not the specific time of day.
	Schedule string `protobuf:"bytes,4,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// Required. The [AI Platform Prediction model
	// version](/ml-engine/docs/prediction-overview) to be evaluated. Prediction
	// input and output is sampled from this model version. When creating an
	// evaluation job, specify the model version in the following format:
	//
	// "projects/<var>{project_id}</var>/models/<var>{model_name}</var>/versions/<var>{version_name}</var>"
	//
	// There can only be one evaluation job per model version.
	ModelVersion string `protobuf:"bytes,5,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"`
	// Required. Configuration details for the evaluation job.
	EvaluationJobConfig *EvaluationJobConfig `protobuf:"bytes,6,opt,name=evaluation_job_config,json=evaluationJobConfig,proto3" json:"evaluation_job_config,omitempty"`
	// Required. Name of the [AnnotationSpecSet][google.cloud.datalabeling.v1beta1.AnnotationSpecSet] describing all the
	// labels that your machine learning model outputs. You must create this
	// resource before you create an evaluation job and provide its name in the
	// following format:
	//
	// "projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"
	AnnotationSpecSet string `protobuf:"bytes,7,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"`
	// Required. Whether you want Data Labeling Service to provide ground truth
	// labels for prediction input. If you want the service to assign human
	// labelers to annotate your data, set this to `true`. If you want to provide
	// your own ground truth labels in the evaluation job's BigQuery table, set
	// this to `false`.
	LabelMissingGroundTruth bool `` /* 135-byte string literal not displayed */
	// Output only. Every time the evaluation job runs and an error occurs, the
	// failed attempt is appended to this array.
	Attempts []*Attempt `protobuf:"bytes,9,rep,name=attempts,proto3" json:"attempts,omitempty"`
	// Output only. Timestamp of when this evaluation job was created.
	CreateTime           *timestamp.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Defines an evaluation job that runs periodically to generate [Evaluations][google.cloud.datalabeling.v1beta1.Evaluation]. [Creating an evaluation job](/ml-engine/docs/continuous-evaluation/create-job) is the starting point for using continuous evaluation.

func (*EvaluationJob) Descriptor

func (*EvaluationJob) Descriptor() ([]byte, []int)

func (*EvaluationJob) GetAnnotationSpecSet

func (m *EvaluationJob) GetAnnotationSpecSet() string

func (*EvaluationJob) GetAttempts

func (m *EvaluationJob) GetAttempts() []*Attempt

func (*EvaluationJob) GetCreateTime

func (m *EvaluationJob) GetCreateTime() *timestamp.Timestamp

func (*EvaluationJob) GetDescription

func (m *EvaluationJob) GetDescription() string

func (*EvaluationJob) GetEvaluationJobConfig

func (m *EvaluationJob) GetEvaluationJobConfig() *EvaluationJobConfig

func (*EvaluationJob) GetLabelMissingGroundTruth

func (m *EvaluationJob) GetLabelMissingGroundTruth() bool

func (*EvaluationJob) GetModelVersion

func (m *EvaluationJob) GetModelVersion() string

func (*EvaluationJob) GetName

func (m *EvaluationJob) GetName() string

func (*EvaluationJob) GetSchedule

func (m *EvaluationJob) GetSchedule() string

func (*EvaluationJob) GetState

func (m *EvaluationJob) GetState() EvaluationJob_State

func (*EvaluationJob) ProtoMessage

func (*EvaluationJob) ProtoMessage()

func (*EvaluationJob) Reset

func (m *EvaluationJob) Reset()

func (*EvaluationJob) String

func (m *EvaluationJob) String() string

func (*EvaluationJob) XXX_DiscardUnknown

func (m *EvaluationJob) XXX_DiscardUnknown()

func (*EvaluationJob) XXX_Marshal

func (m *EvaluationJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvaluationJob) XXX_Merge

func (m *EvaluationJob) XXX_Merge(src proto.Message)

func (*EvaluationJob) XXX_Size

func (m *EvaluationJob) XXX_Size() int

func (*EvaluationJob) XXX_Unmarshal

func (m *EvaluationJob) XXX_Unmarshal(b []byte) error

type EvaluationJobAlertConfig

type EvaluationJobAlertConfig struct {
	// Required. An email address to send alerts to.
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// Required. A number between 0 and 1 that describes a minimum mean average
	// precision threshold. When the evaluation job runs, if it calculates that
	// your model version's predictions from the recent interval have
	// [meanAveragePrecision][google.cloud.datalabeling.v1beta1.PrCurve.mean_average_precision] below this
	// threshold, then it sends an alert to your specified email.
	MinAcceptableMeanAveragePrecision float64  `` /* 168-byte string literal not displayed */
	XXX_NoUnkeyedLiteral              struct{} `json:"-"`
	XXX_unrecognized                  []byte   `json:"-"`
	XXX_sizecache                     int32    `json:"-"`
}

Provides details for how an evaluation job sends email alerts based on the results of a run.

func (*EvaluationJobAlertConfig) Descriptor

func (*EvaluationJobAlertConfig) Descriptor() ([]byte, []int)

func (*EvaluationJobAlertConfig) GetEmail

func (m *EvaluationJobAlertConfig) GetEmail() string

func (*EvaluationJobAlertConfig) GetMinAcceptableMeanAveragePrecision

func (m *EvaluationJobAlertConfig) GetMinAcceptableMeanAveragePrecision() float64

func (*EvaluationJobAlertConfig) ProtoMessage

func (*EvaluationJobAlertConfig) ProtoMessage()

func (*EvaluationJobAlertConfig) Reset

func (m *EvaluationJobAlertConfig) Reset()

func (*EvaluationJobAlertConfig) String

func (m *EvaluationJobAlertConfig) String() string

func (*EvaluationJobAlertConfig) XXX_DiscardUnknown

func (m *EvaluationJobAlertConfig) XXX_DiscardUnknown()

func (*EvaluationJobAlertConfig) XXX_Marshal

func (m *EvaluationJobAlertConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvaluationJobAlertConfig) XXX_Merge

func (m *EvaluationJobAlertConfig) XXX_Merge(src proto.Message)

func (*EvaluationJobAlertConfig) XXX_Size

func (m *EvaluationJobAlertConfig) XXX_Size() int

func (*EvaluationJobAlertConfig) XXX_Unmarshal

func (m *EvaluationJobAlertConfig) XXX_Unmarshal(b []byte) error

type EvaluationJobConfig

type EvaluationJobConfig struct {
	// Required. Details for how you want human reviewers to provide ground truth
	// labels.
	//
	// Types that are valid to be assigned to HumanAnnotationRequestConfig:
	//	*EvaluationJobConfig_ImageClassificationConfig
	//	*EvaluationJobConfig_BoundingPolyConfig
	//	*EvaluationJobConfig_TextClassificationConfig
	HumanAnnotationRequestConfig isEvaluationJobConfig_HumanAnnotationRequestConfig `protobuf_oneof:"human_annotation_request_config"`
	// Rquired. Details for the sampled prediction input. Within this
	// configuration, there are requirements for several fields:
	//
	// * `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`.
	// * `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`,
	//   `TEXT_CLASSIFICATION_ANNOTATION`, `GENERAL_CLASSIFICATION_ANNOTATION`,
	//   or `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection).
	// * If your machine learning model performs classification, you must specify
	//   `classificationMetadata.isMultiLabel`.
	// * You must specify `bigquerySource` (not `gcsSource`).
	InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
	// Required. Details for calculating evaluation metrics and creating
	// [Evaulations][google.cloud.datalabeling.v1beta1.Evaluation]. If your model version performs image object
	// detection, you must specify the `boundingBoxEvaluationOptions` field within
	// this configuration. Otherwise, provide an empty object for this
	// configuration.
	EvaluationConfig *EvaluationConfig `protobuf:"bytes,2,opt,name=evaluation_config,json=evaluationConfig,proto3" json:"evaluation_config,omitempty"`
	// Optional. Details for human annotation of your data. If you set
	// [labelMissingGroundTruth][google.cloud.datalabeling.v1beta1.EvaluationJob.label_missing_ground_truth] to
	// `true` for this evaluation job, then you must specify this field. If you
	// plan to provide your own ground truth labels, then omit this field.
	//
	// Note that you must create an [Instruction][google.cloud.datalabeling.v1beta1.Instruction] resource before you can
	// specify this field. Provide the name of the instruction resource in the
	// `instruction` field within this configuration.
	HumanAnnotationConfig *HumanAnnotationConfig `` /* 126-byte string literal not displayed */
	// Required. Prediction keys that tell Data Labeling Service where to find the
	// data for evaluation in your BigQuery table. When the service samples
	// prediction input and output from your model version and saves it to
	// BigQuery, the data gets stored as JSON strings in the BigQuery table. These
	// keys tell Data Labeling Service how to parse the JSON.
	//
	// You can provide the following entries in this field:
	//
	// * `data_json_key`: the data key for prediction input. You must provide
	//   either this key or `reference_json_key`.
	// * `reference_json_key`: the data reference key for prediction input. You
	//   must provide either this key or `data_json_key`.
	// * `label_json_key`: the label key for prediction output. Required.
	// * `label_score_json_key`: the score key for prediction output. Required.
	// * `bounding_box_json_key`: the bounding box key for prediction output.
	//   Required if your model version perform image object detection.
	//
	// Learn [how to configure prediction
	// keys](/ml-engine/docs/continuous-evaluation/create-job#prediction-keys).
	BigqueryImportKeys map[string]string `` /* 205-byte string literal not displayed */
	// Required. The maximum number of predictions to sample and save to BigQuery
	// during each [evaluation interval][google.cloud.datalabeling.v1beta1.EvaluationJob.schedule]. This limit
	// overrides `example_sample_percentage`: even if the service has not sampled
	// enough predictions to fulfill `example_sample_perecentage` during an
	// interval, it stops sampling predictions when it meets this limit.
	ExampleCount int32 `protobuf:"varint,10,opt,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"`
	// Required. Fraction of predictions to sample and save to BigQuery during
	// each [evaluation interval][google.cloud.datalabeling.v1beta1.EvaluationJob.schedule]. For example, 0.1 means
	// 10% of predictions served by your model version get saved to BigQuery.
	ExampleSamplePercentage float64 `` /* 135-byte string literal not displayed */
	// Optional. Configuration details for evaluation job alerts. Specify this
	// field if you want to receive email alerts if the evaluation job finds that
	// your predictions have low mean average precision during a run.
	EvaluationJobAlertConfig *EvaluationJobAlertConfig `` /* 138-byte string literal not displayed */
	XXX_NoUnkeyedLiteral     struct{}                  `json:"-"`
	XXX_unrecognized         []byte                    `json:"-"`
	XXX_sizecache            int32                     `json:"-"`
}

Configures specific details of how a continuous evaluation job works. Provide this configuration when you create an EvaluationJob.

func (*EvaluationJobConfig) Descriptor

func (*EvaluationJobConfig) Descriptor() ([]byte, []int)

func (*EvaluationJobConfig) GetBigqueryImportKeys

func (m *EvaluationJobConfig) GetBigqueryImportKeys() map[string]string

func (*EvaluationJobConfig) GetBoundingPolyConfig

func (m *EvaluationJobConfig) GetBoundingPolyConfig() *BoundingPolyConfig

func (*EvaluationJobConfig) GetEvaluationConfig

func (m *EvaluationJobConfig) GetEvaluationConfig() *EvaluationConfig

func (*EvaluationJobConfig) GetEvaluationJobAlertConfig

func (m *EvaluationJobConfig) GetEvaluationJobAlertConfig() *EvaluationJobAlertConfig

func (*EvaluationJobConfig) GetExampleCount

func (m *EvaluationJobConfig) GetExampleCount() int32

func (*EvaluationJobConfig) GetExampleSamplePercentage

func (m *EvaluationJobConfig) GetExampleSamplePercentage() float64

func (*EvaluationJobConfig) GetHumanAnnotationConfig

func (m *EvaluationJobConfig) GetHumanAnnotationConfig() *HumanAnnotationConfig

func (*EvaluationJobConfig) GetHumanAnnotationRequestConfig

func (m *EvaluationJobConfig) GetHumanAnnotationRequestConfig() isEvaluationJobConfig_HumanAnnotationRequestConfig

func (*EvaluationJobConfig) GetImageClassificationConfig

func (m *EvaluationJobConfig) GetImageClassificationConfig() *ImageClassificationConfig

func (*EvaluationJobConfig) GetInputConfig

func (m *EvaluationJobConfig) GetInputConfig() *InputConfig

func (*EvaluationJobConfig) GetTextClassificationConfig

func (m *EvaluationJobConfig) GetTextClassificationConfig() *TextClassificationConfig

func (*EvaluationJobConfig) ProtoMessage

func (*EvaluationJobConfig) ProtoMessage()

func (*EvaluationJobConfig) Reset

func (m *EvaluationJobConfig) Reset()

func (*EvaluationJobConfig) String

func (m *EvaluationJobConfig) String() string

func (*EvaluationJobConfig) XXX_DiscardUnknown

func (m *EvaluationJobConfig) XXX_DiscardUnknown()

func (*EvaluationJobConfig) XXX_Marshal

func (m *EvaluationJobConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvaluationJobConfig) XXX_Merge

func (m *EvaluationJobConfig) XXX_Merge(src proto.Message)

func (*EvaluationJobConfig) XXX_OneofWrappers

func (*EvaluationJobConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*EvaluationJobConfig) XXX_Size

func (m *EvaluationJobConfig) XXX_Size() int

func (*EvaluationJobConfig) XXX_Unmarshal

func (m *EvaluationJobConfig) XXX_Unmarshal(b []byte) error

type EvaluationJobConfig_BoundingPolyConfig

type EvaluationJobConfig_BoundingPolyConfig struct {
	BoundingPolyConfig *BoundingPolyConfig `protobuf:"bytes,5,opt,name=bounding_poly_config,json=boundingPolyConfig,proto3,oneof"`
}

type EvaluationJobConfig_ImageClassificationConfig

type EvaluationJobConfig_ImageClassificationConfig struct {
	ImageClassificationConfig *ImageClassificationConfig `protobuf:"bytes,4,opt,name=image_classification_config,json=imageClassificationConfig,proto3,oneof"`
}

type EvaluationJobConfig_TextClassificationConfig

type EvaluationJobConfig_TextClassificationConfig struct {
	TextClassificationConfig *TextClassificationConfig `protobuf:"bytes,8,opt,name=text_classification_config,json=textClassificationConfig,proto3,oneof"`
}

type EvaluationJob_State

type EvaluationJob_State int32

State of the job.

const (
	EvaluationJob_STATE_UNSPECIFIED EvaluationJob_State = 0
	// The job is scheduled to run at the [configured interval][google.cloud.datalabeling.v1beta1.EvaluationJob.schedule]. You
	// can [pause][google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJob] or
	// [delete][google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJob] the job.
	//
	// When the job is in this state, it samples prediction input and output
	// from your model version into your BigQuery table as predictions occur.
	EvaluationJob_SCHEDULED EvaluationJob_State = 1
	// The job is currently running. When the job runs, Data Labeling Service
	// does several things:
	//
	// 1. If you have configured your job to use Data Labeling Service for
	//    ground truth labeling, the service creates a
	//    [Dataset][google.cloud.datalabeling.v1beta1.Dataset] and a labeling task for all data sampled
	//    since the last time the job ran. Human labelers provide ground truth
	//    labels for your data. Human labeling may take hours, or even days,
	//    depending on how much data has been sampled. The job remains in the
	//    `RUNNING` state during this time, and it can even be running multiple
	//    times in parallel if it gets triggered again (for example 24 hours
	//    later) before the earlier run has completed. When human labelers have
	//    finished labeling the data, the next step occurs.
	//    <br><br>
	//    If you have configured your job to provide your own ground truth
	//    labels, Data Labeling Service still creates a [Dataset][google.cloud.datalabeling.v1beta1.Dataset] for newly
	//    sampled data, but it expects that you have already added ground truth
	//    labels to the BigQuery table by this time. The next step occurs
	//    immediately.
	//
	// 2. Data Labeling Service creates an [Evaluation][google.cloud.datalabeling.v1beta1.Evaluation] by comparing your
	//    model version's predictions with the ground truth labels.
	//
	// If the job remains in this state for a long time, it continues to sample
	// prediction data into your BigQuery table and will run again at the next
	// interval, even if it causes the job to run multiple times in parallel.
	EvaluationJob_RUNNING EvaluationJob_State = 2
	// The job is not sampling prediction input and output into your BigQuery
	// table and it will not run according to its schedule. You can
	// [resume][google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJob] the job.
	EvaluationJob_PAUSED EvaluationJob_State = 3
	// The job has this state right before it is deleted.
	EvaluationJob_STOPPED EvaluationJob_State = 4
)

func (EvaluationJob_State) EnumDescriptor

func (EvaluationJob_State) EnumDescriptor() ([]byte, []int)

func (EvaluationJob_State) String

func (x EvaluationJob_State) String() string

type EvaluationMetrics

type EvaluationMetrics struct {
	// Common metrics covering most general cases.
	//
	// Types that are valid to be assigned to Metrics:
	//	*EvaluationMetrics_ClassificationMetrics
	//	*EvaluationMetrics_ObjectDetectionMetrics
	Metrics              isEvaluationMetrics_Metrics `protobuf_oneof:"metrics"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*EvaluationMetrics) Descriptor

func (*EvaluationMetrics) Descriptor() ([]byte, []int)

func (*EvaluationMetrics) GetClassificationMetrics

func (m *EvaluationMetrics) GetClassificationMetrics() *ClassificationMetrics

func (*EvaluationMetrics) GetMetrics

func (m *EvaluationMetrics) GetMetrics() isEvaluationMetrics_Metrics

func (*EvaluationMetrics) GetObjectDetectionMetrics

func (m *EvaluationMetrics) GetObjectDetectionMetrics() *ObjectDetectionMetrics

func (*EvaluationMetrics) ProtoMessage

func (*EvaluationMetrics) ProtoMessage()

func (*EvaluationMetrics) Reset

func (m *EvaluationMetrics) Reset()

func (*EvaluationMetrics) String

func (m *EvaluationMetrics) String() string

func (*EvaluationMetrics) XXX_DiscardUnknown

func (m *EvaluationMetrics) XXX_DiscardUnknown()

func (*EvaluationMetrics) XXX_Marshal

func (m *EvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvaluationMetrics) XXX_Merge

func (m *EvaluationMetrics) XXX_Merge(src proto.Message)

func (*EvaluationMetrics) XXX_OneofWrappers

func (*EvaluationMetrics) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*EvaluationMetrics) XXX_Size

func (m *EvaluationMetrics) XXX_Size() int

func (*EvaluationMetrics) XXX_Unmarshal

func (m *EvaluationMetrics) XXX_Unmarshal(b []byte) error

type EvaluationMetrics_ClassificationMetrics

type EvaluationMetrics_ClassificationMetrics struct {
	ClassificationMetrics *ClassificationMetrics `protobuf:"bytes,1,opt,name=classification_metrics,json=classificationMetrics,proto3,oneof"`
}

type EvaluationMetrics_ObjectDetectionMetrics

type EvaluationMetrics_ObjectDetectionMetrics struct {
	ObjectDetectionMetrics *ObjectDetectionMetrics `protobuf:"bytes,2,opt,name=object_detection_metrics,json=objectDetectionMetrics,proto3,oneof"`
}

type EventConfig

type EventConfig struct {
	// Required. The list of annotation spec set resource name. Similar to video
	// classification, we support selecting event from multiple AnnotationSpecSet
	// at the same time.
	AnnotationSpecSets   []string `protobuf:"bytes,1,rep,name=annotation_spec_sets,json=annotationSpecSets,proto3" json:"annotation_spec_sets,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for video event human labeling task.

func (*EventConfig) Descriptor

func (*EventConfig) Descriptor() ([]byte, []int)

func (*EventConfig) GetAnnotationSpecSets

func (m *EventConfig) GetAnnotationSpecSets() []string

func (*EventConfig) ProtoMessage

func (*EventConfig) ProtoMessage()

func (*EventConfig) Reset

func (m *EventConfig) Reset()

func (*EventConfig) String

func (m *EventConfig) String() string

func (*EventConfig) XXX_DiscardUnknown

func (m *EventConfig) XXX_DiscardUnknown()

func (*EventConfig) XXX_Marshal

func (m *EventConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventConfig) XXX_Merge

func (m *EventConfig) XXX_Merge(src proto.Message)

func (*EventConfig) XXX_Size

func (m *EventConfig) XXX_Size() int

func (*EventConfig) XXX_Unmarshal

func (m *EventConfig) XXX_Unmarshal(b []byte) error

type Example

type Example struct {
	// Output only. The data part of Example.
	//
	// Types that are valid to be assigned to Payload:
	//	*Example_ImagePayload
	//	*Example_TextPayload
	//	*Example_VideoPayload
	Payload isExample_Payload `protobuf_oneof:"payload"`
	// Output only. Name of the example, in format of:
	// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
	// {annotated_dataset_id}/examples/{example_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Annotations for the piece of data in Example.
	// One piece of data can have multiple annotations.
	Annotations          []*Annotation `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

An Example is a piece of data and its annotation. For example, an image with label "house".

func (*Example) Descriptor

func (*Example) Descriptor() ([]byte, []int)

func (*Example) GetAnnotations

func (m *Example) GetAnnotations() []*Annotation

func (*Example) GetImagePayload

func (m *Example) GetImagePayload() *ImagePayload

func (*Example) GetName

func (m *Example) GetName() string

func (*Example) GetPayload

func (m *Example) GetPayload() isExample_Payload

func (*Example) GetTextPayload

func (m *Example) GetTextPayload() *TextPayload

func (*Example) GetVideoPayload

func (m *Example) GetVideoPayload() *VideoPayload

func (*Example) ProtoMessage

func (*Example) ProtoMessage()

func (*Example) Reset

func (m *Example) Reset()

func (*Example) String

func (m *Example) String() string

func (*Example) XXX_DiscardUnknown

func (m *Example) XXX_DiscardUnknown()

func (*Example) XXX_Marshal

func (m *Example) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Example) XXX_Merge

func (m *Example) XXX_Merge(src proto.Message)

func (*Example) XXX_OneofWrappers

func (*Example) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Example) XXX_Size

func (m *Example) XXX_Size() int

func (*Example) XXX_Unmarshal

func (m *Example) XXX_Unmarshal(b []byte) error

type Example_ImagePayload

type Example_ImagePayload struct {
	ImagePayload *ImagePayload `protobuf:"bytes,2,opt,name=image_payload,json=imagePayload,proto3,oneof"`
}

type Example_TextPayload

type Example_TextPayload struct {
	TextPayload *TextPayload `protobuf:"bytes,6,opt,name=text_payload,json=textPayload,proto3,oneof"`
}

type Example_VideoPayload

type Example_VideoPayload struct {
	VideoPayload *VideoPayload `protobuf:"bytes,7,opt,name=video_payload,json=videoPayload,proto3,oneof"`
}

type ExportDataOperationMetadata

type ExportDataOperationMetadata struct {
	// Output only. The name of dataset to be exported.
	// "projects/*/datasets/*"
	Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// Output only. 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"`
	// Output only. Timestamp when export dataset request was created.
	CreateTime           *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Metadata of an ExportData operation.

func (*ExportDataOperationMetadata) Descriptor

func (*ExportDataOperationMetadata) Descriptor() ([]byte, []int)

func (*ExportDataOperationMetadata) GetCreateTime

func (m *ExportDataOperationMetadata) GetCreateTime() *timestamp.Timestamp

func (*ExportDataOperationMetadata) GetDataset

func (m *ExportDataOperationMetadata) GetDataset() string

func (*ExportDataOperationMetadata) GetPartialFailures

func (m *ExportDataOperationMetadata) GetPartialFailures() []*status.Status

func (*ExportDataOperationMetadata) ProtoMessage

func (*ExportDataOperationMetadata) ProtoMessage()

func (*ExportDataOperationMetadata) Reset

func (m *ExportDataOperationMetadata) Reset()

func (*ExportDataOperationMetadata) String

func (m *ExportDataOperationMetadata) String() string

func (*ExportDataOperationMetadata) XXX_DiscardUnknown

func (m *ExportDataOperationMetadata) XXX_DiscardUnknown()

func (*ExportDataOperationMetadata) XXX_Marshal

func (m *ExportDataOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportDataOperationMetadata) XXX_Merge

func (m *ExportDataOperationMetadata) XXX_Merge(src proto.Message)

func (*ExportDataOperationMetadata) XXX_Size

func (m *ExportDataOperationMetadata) XXX_Size() int

func (*ExportDataOperationMetadata) XXX_Unmarshal

func (m *ExportDataOperationMetadata) XXX_Unmarshal(b []byte) error

type ExportDataOperationResponse

type ExportDataOperationResponse struct {
	// Ouptut only. The name of dataset.
	// "projects/*/datasets/*"
	Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// Output only. Total number of examples requested to export
	TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	// Output only. Number of examples exported successfully.
	ExportCount int32 `protobuf:"varint,3,opt,name=export_count,json=exportCount,proto3" json:"export_count,omitempty"`
	// Output only. Statistic infos of labels in the exported dataset.
	LabelStats *LabelStats `protobuf:"bytes,4,opt,name=label_stats,json=labelStats,proto3" json:"label_stats,omitempty"`
	// Output only. output_config in the ExportData request.
	OutputConfig         *OutputConfig `protobuf:"bytes,5,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Response used for ExportDataset longrunning operation.

func (*ExportDataOperationResponse) Descriptor

func (*ExportDataOperationResponse) Descriptor() ([]byte, []int)

func (*ExportDataOperationResponse) GetDataset

func (m *ExportDataOperationResponse) GetDataset() string

func (*ExportDataOperationResponse) GetExportCount

func (m *ExportDataOperationResponse) GetExportCount() int32

func (*ExportDataOperationResponse) GetLabelStats

func (m *ExportDataOperationResponse) GetLabelStats() *LabelStats

func (*ExportDataOperationResponse) GetOutputConfig

func (m *ExportDataOperationResponse) GetOutputConfig() *OutputConfig

func (*ExportDataOperationResponse) GetTotalCount

func (m *ExportDataOperationResponse) GetTotalCount() int32

func (*ExportDataOperationResponse) ProtoMessage

func (*ExportDataOperationResponse) ProtoMessage()

func (*ExportDataOperationResponse) Reset

func (m *ExportDataOperationResponse) Reset()

func (*ExportDataOperationResponse) String

func (m *ExportDataOperationResponse) String() string

func (*ExportDataOperationResponse) XXX_DiscardUnknown

func (m *ExportDataOperationResponse) XXX_DiscardUnknown()

func (*ExportDataOperationResponse) XXX_Marshal

func (m *ExportDataOperationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportDataOperationResponse) XXX_Merge

func (m *ExportDataOperationResponse) XXX_Merge(src proto.Message)

func (*ExportDataOperationResponse) XXX_Size

func (m *ExportDataOperationResponse) XXX_Size() int

func (*ExportDataOperationResponse) XXX_Unmarshal

func (m *ExportDataOperationResponse) XXX_Unmarshal(b []byte) error

type ExportDataRequest

type ExportDataRequest struct {
	// Required. Dataset resource name, format:
	// projects/{project_id}/datasets/{dataset_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Annotated dataset resource name. DataItem in
	// Dataset and their annotations in specified annotated dataset will be
	// exported. It's in format of
	// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
	// {annotated_dataset_id}
	AnnotatedDataset string `protobuf:"bytes,2,opt,name=annotated_dataset,json=annotatedDataset,proto3" json:"annotated_dataset,omitempty"`
	// Optional. Filter is not supported at this moment.
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// Required. Specify the output destination.
	OutputConfig *OutputConfig `protobuf:"bytes,4,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
	// Email of the user who started the export task and should be notified by
	// email. If empty no notification will be sent.
	UserEmailAddress     string   `protobuf:"bytes,5,opt,name=user_email_address,json=userEmailAddress,proto3" json:"user_email_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ExportData API.

func (*ExportDataRequest) Descriptor

func (*ExportDataRequest) Descriptor() ([]byte, []int)

func (*ExportDataRequest) GetAnnotatedDataset

func (m *ExportDataRequest) GetAnnotatedDataset() string

func (*ExportDataRequest) GetFilter

func (m *ExportDataRequest) GetFilter() string

func (*ExportDataRequest) GetName

func (m *ExportDataRequest) GetName() string

func (*ExportDataRequest) GetOutputConfig

func (m *ExportDataRequest) GetOutputConfig() *OutputConfig

func (*ExportDataRequest) GetUserEmailAddress

func (m *ExportDataRequest) GetUserEmailAddress() string

func (*ExportDataRequest) ProtoMessage

func (*ExportDataRequest) ProtoMessage()

func (*ExportDataRequest) Reset

func (m *ExportDataRequest) Reset()

func (*ExportDataRequest) String

func (m *ExportDataRequest) String() string

func (*ExportDataRequest) XXX_DiscardUnknown

func (m *ExportDataRequest) XXX_DiscardUnknown()

func (*ExportDataRequest) XXX_Marshal

func (m *ExportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportDataRequest) XXX_Merge

func (m *ExportDataRequest) XXX_Merge(src proto.Message)

func (*ExportDataRequest) XXX_Size

func (m *ExportDataRequest) XXX_Size() int

func (*ExportDataRequest) XXX_Unmarshal

func (m *ExportDataRequest) XXX_Unmarshal(b []byte) error

type GcsDestination

type GcsDestination struct {
	// Required. The output uri of destination file.
	OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"`
	// Required. The format of the gcs destination. Only "text/csv" and
	// "application/json"
	// are supported.
	MimeType             string   `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Export destination of the data.Only gcs path is allowed in output_uri.

func (*GcsDestination) Descriptor

func (*GcsDestination) Descriptor() ([]byte, []int)

func (*GcsDestination) GetMimeType

func (m *GcsDestination) GetMimeType() string

func (*GcsDestination) GetOutputUri

func (m *GcsDestination) GetOutputUri() string

func (*GcsDestination) ProtoMessage

func (*GcsDestination) ProtoMessage()

func (*GcsDestination) Reset

func (m *GcsDestination) Reset()

func (*GcsDestination) String

func (m *GcsDestination) String() string

func (*GcsDestination) XXX_DiscardUnknown

func (m *GcsDestination) XXX_DiscardUnknown()

func (*GcsDestination) XXX_Marshal

func (m *GcsDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GcsDestination) XXX_Merge

func (m *GcsDestination) XXX_Merge(src proto.Message)

func (*GcsDestination) XXX_Size

func (m *GcsDestination) XXX_Size() int

func (*GcsDestination) XXX_Unmarshal

func (m *GcsDestination) XXX_Unmarshal(b []byte) error

type GcsFolderDestination

type GcsFolderDestination struct {
	// Required. Cloud Storage directory to export data to.
	OutputFolderUri      string   `protobuf:"bytes,1,opt,name=output_folder_uri,json=outputFolderUri,proto3" json:"output_folder_uri,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Export folder destination of the data.

func (*GcsFolderDestination) Descriptor

func (*GcsFolderDestination) Descriptor() ([]byte, []int)

func (*GcsFolderDestination) GetOutputFolderUri

func (m *GcsFolderDestination) GetOutputFolderUri() string

func (*GcsFolderDestination) ProtoMessage

func (*GcsFolderDestination) ProtoMessage()

func (*GcsFolderDestination) Reset

func (m *GcsFolderDestination) Reset()

func (*GcsFolderDestination) String

func (m *GcsFolderDestination) String() string

func (*GcsFolderDestination) XXX_DiscardUnknown

func (m *GcsFolderDestination) XXX_DiscardUnknown()

func (*GcsFolderDestination) XXX_Marshal

func (m *GcsFolderDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GcsFolderDestination) XXX_Merge

func (m *GcsFolderDestination) XXX_Merge(src proto.Message)

func (*GcsFolderDestination) XXX_Size

func (m *GcsFolderDestination) XXX_Size() int

func (*GcsFolderDestination) XXX_Unmarshal

func (m *GcsFolderDestination) XXX_Unmarshal(b []byte) error

type GcsSource

type GcsSource struct {
	// Required. The input URI of source file. This must be a Cloud Storage path
	// (`gs://...`).
	InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"`
	// Required. The format of the source file. Only "text/csv" is supported.
	MimeType             string   `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Source of the Cloud Storage file to be imported.

func (*GcsSource) Descriptor

func (*GcsSource) Descriptor() ([]byte, []int)

func (*GcsSource) GetInputUri

func (m *GcsSource) GetInputUri() string

func (*GcsSource) GetMimeType

func (m *GcsSource) GetMimeType() string

func (*GcsSource) ProtoMessage

func (*GcsSource) ProtoMessage()

func (*GcsSource) Reset

func (m *GcsSource) Reset()

func (*GcsSource) String

func (m *GcsSource) String() string

func (*GcsSource) XXX_DiscardUnknown

func (m *GcsSource) XXX_DiscardUnknown()

func (*GcsSource) XXX_Marshal

func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GcsSource) XXX_Merge

func (m *GcsSource) XXX_Merge(src proto.Message)

func (*GcsSource) XXX_Size

func (m *GcsSource) XXX_Size() int

func (*GcsSource) XXX_Unmarshal

func (m *GcsSource) XXX_Unmarshal(b []byte) error

type GetAnnotatedDatasetRequest

type GetAnnotatedDatasetRequest struct {
	// Required. Name of the annotated dataset to get, format:
	// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
	// {annotated_dataset_id}
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for GetAnnotatedDataset.

func (*GetAnnotatedDatasetRequest) Descriptor

func (*GetAnnotatedDatasetRequest) Descriptor() ([]byte, []int)

func (*GetAnnotatedDatasetRequest) GetName

func (m *GetAnnotatedDatasetRequest) GetName() string

func (*GetAnnotatedDatasetRequest) ProtoMessage

func (*GetAnnotatedDatasetRequest) ProtoMessage()

func (*GetAnnotatedDatasetRequest) Reset

func (m *GetAnnotatedDatasetRequest) Reset()

func (*GetAnnotatedDatasetRequest) String

func (m *GetAnnotatedDatasetRequest) String() string

func (*GetAnnotatedDatasetRequest) XXX_DiscardUnknown

func (m *GetAnnotatedDatasetRequest) XXX_DiscardUnknown()

func (*GetAnnotatedDatasetRequest) XXX_Marshal

func (m *GetAnnotatedDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAnnotatedDatasetRequest) XXX_Merge

func (m *GetAnnotatedDatasetRequest) XXX_Merge(src proto.Message)

func (*GetAnnotatedDatasetRequest) XXX_Size

func (m *GetAnnotatedDatasetRequest) XXX_Size() int

func (*GetAnnotatedDatasetRequest) XXX_Unmarshal

func (m *GetAnnotatedDatasetRequest) XXX_Unmarshal(b []byte) error

type GetAnnotationSpecSetRequest

type GetAnnotationSpecSetRequest struct {
	// Required. AnnotationSpecSet resource name, format:
	// projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for GetAnnotationSpecSet.

func (*GetAnnotationSpecSetRequest) Descriptor

func (*GetAnnotationSpecSetRequest) Descriptor() ([]byte, []int)

func (*GetAnnotationSpecSetRequest) GetName

func (m *GetAnnotationSpecSetRequest) GetName() string

func (*GetAnnotationSpecSetRequest) ProtoMessage

func (*GetAnnotationSpecSetRequest) ProtoMessage()

func (*GetAnnotationSpecSetRequest) Reset

func (m *GetAnnotationSpecSetRequest) Reset()

func (*GetAnnotationSpecSetRequest) String

func (m *GetAnnotationSpecSetRequest) String() string

func (*GetAnnotationSpecSetRequest) XXX_DiscardUnknown

func (m *GetAnnotationSpecSetRequest) XXX_DiscardUnknown()

func (*GetAnnotationSpecSetRequest) XXX_Marshal

func (m *GetAnnotationSpecSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAnnotationSpecSetRequest) XXX_Merge

func (m *GetAnnotationSpecSetRequest) XXX_Merge(src proto.Message)

func (*GetAnnotationSpecSetRequest) XXX_Size

func (m *GetAnnotationSpecSetRequest) XXX_Size() int

func (*GetAnnotationSpecSetRequest) XXX_Unmarshal

func (m *GetAnnotationSpecSetRequest) XXX_Unmarshal(b []byte) error

type GetDataItemRequest

type GetDataItemRequest struct {
	// Required. The name of the data item to get, format:
	// projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for GetDataItem.

func (*GetDataItemRequest) Descriptor

func (*GetDataItemRequest) Descriptor() ([]byte, []int)

func (*GetDataItemRequest) GetName

func (m *GetDataItemRequest) GetName() string

func (*GetDataItemRequest) ProtoMessage

func (*GetDataItemRequest) ProtoMessage()

func (*GetDataItemRequest) Reset

func (m *GetDataItemRequest) Reset()

func (*GetDataItemRequest) String

func (m *GetDataItemRequest) String() string

func (*GetDataItemRequest) XXX_DiscardUnknown

func (m *GetDataItemRequest) XXX_DiscardUnknown()

func (*GetDataItemRequest) XXX_Marshal

func (m *GetDataItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDataItemRequest) XXX_Merge

func (m *GetDataItemRequest) XXX_Merge(src proto.Message)

func (*GetDataItemRequest) XXX_Size

func (m *GetDataItemRequest) XXX_Size() int

func (*GetDataItemRequest) XXX_Unmarshal

func (m *GetDataItemRequest) XXX_Unmarshal(b []byte) error

type GetDatasetRequest

type GetDatasetRequest struct {
	// Required. Dataset resource name, format:
	// projects/{project_id}/datasets/{dataset_id}
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for GetDataSet.

func (*GetDatasetRequest) Descriptor

func (*GetDatasetRequest) Descriptor() ([]byte, []int)

func (*GetDatasetRequest) GetName

func (m *GetDatasetRequest) GetName() string

func (*GetDatasetRequest) ProtoMessage

func (*GetDatasetRequest) ProtoMessage()

func (*GetDatasetRequest) Reset

func (m *GetDatasetRequest) Reset()

func (*GetDatasetRequest) String

func (m *GetDatasetRequest) String() string

func (*GetDatasetRequest) XXX_DiscardUnknown

func (m *GetDatasetRequest) XXX_DiscardUnknown()

func (*GetDatasetRequest) XXX_Marshal

func (m *GetDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDatasetRequest) XXX_Merge

func (m *GetDatasetRequest) XXX_Merge(src proto.Message)

func (*GetDatasetRequest) XXX_Size

func (m *GetDatasetRequest) XXX_Size() int

func (*GetDatasetRequest) XXX_Unmarshal

func (m *GetDatasetRequest) XXX_Unmarshal(b []byte) error

type GetEvaluationJobRequest

type GetEvaluationJobRequest struct {
	// Required. Name of the evaluation job. Format:
	//
	// "projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for GetEvaluationJob.

func (*GetEvaluationJobRequest) Descriptor

func (*GetEvaluationJobRequest) Descriptor() ([]byte, []int)

func (*GetEvaluationJobRequest) GetName

func (m *GetEvaluationJobRequest) GetName() string

func (*GetEvaluationJobRequest) ProtoMessage

func (*GetEvaluationJobRequest) ProtoMessage()

func (*GetEvaluationJobRequest) Reset

func (m *GetEvaluationJobRequest) Reset()

func (*GetEvaluationJobRequest) String

func (m *GetEvaluationJobRequest) String() string

func (*GetEvaluationJobRequest) XXX_DiscardUnknown

func (m *GetEvaluationJobRequest) XXX_DiscardUnknown()

func (*GetEvaluationJobRequest) XXX_Marshal

func (m *GetEvaluationJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetEvaluationJobRequest) XXX_Merge

func (m *GetEvaluationJobRequest) XXX_Merge(src proto.Message)

func (*GetEvaluationJobRequest) XXX_Size

func (m *GetEvaluationJobRequest) XXX_Size() int

func (*GetEvaluationJobRequest) XXX_Unmarshal

func (m *GetEvaluationJobRequest) XXX_Unmarshal(b []byte) error

type GetEvaluationRequest

type GetEvaluationRequest struct {
	// Required. Name of the evaluation. Format:
	//
	// "projects/<var>{project_id}</var>/datasets/<var>{dataset_id}</var>/evaluations/<var>{evaluation_id}</var>'
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for GetEvaluation.

func (*GetEvaluationRequest) Descriptor

func (*GetEvaluationRequest) Descriptor() ([]byte, []int)

func (*GetEvaluationRequest) GetName

func (m *GetEvaluationRequest) GetName() string

func (*GetEvaluationRequest) ProtoMessage

func (*GetEvaluationRequest) ProtoMessage()

func (*GetEvaluationRequest) Reset

func (m *GetEvaluationRequest) Reset()

func (*GetEvaluationRequest) String

func (m *GetEvaluationRequest) String() string

func (*GetEvaluationRequest) XXX_DiscardUnknown

func (m *GetEvaluationRequest) XXX_DiscardUnknown()

func (*GetEvaluationRequest) XXX_Marshal

func (m *GetEvaluationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetEvaluationRequest) XXX_Merge

func (m *GetEvaluationRequest) XXX_Merge(src proto.Message)

func (*GetEvaluationRequest) XXX_Size

func (m *GetEvaluationRequest) XXX_Size() int

func (*GetEvaluationRequest) XXX_Unmarshal

func (m *GetEvaluationRequest) XXX_Unmarshal(b []byte) error

type GetExampleRequest

type GetExampleRequest struct {
	// Required. Name of example, format:
	// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
	// {annotated_dataset_id}/examples/{example_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An expression for filtering Examples. Filter by
	// annotation_spec.display_name is supported. Format
	// "annotation_spec.display_name = {display_name}"
	Filter               string   `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for GetExample

func (*GetExampleRequest) Descriptor

func (*GetExampleRequest) Descriptor() ([]byte, []int)

func (*GetExampleRequest) GetFilter

func (m *GetExampleRequest) GetFilter() string

func (*GetExampleRequest) GetName

func (m *GetExampleRequest) GetName() string

func (*GetExampleRequest) ProtoMessage

func (*GetExampleRequest) ProtoMessage()

func (*GetExampleRequest) Reset

func (m *GetExampleRequest) Reset()

func (*GetExampleRequest) String

func (m *GetExampleRequest) String() string

func (*GetExampleRequest) XXX_DiscardUnknown

func (m *GetExampleRequest) XXX_DiscardUnknown()

func (*GetExampleRequest) XXX_Marshal

func (m *GetExampleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetExampleRequest) XXX_Merge

func (m *GetExampleRequest) XXX_Merge(src proto.Message)

func (*GetExampleRequest) XXX_Size

func (m *GetExampleRequest) XXX_Size() int

func (*GetExampleRequest) XXX_Unmarshal

func (m *GetExampleRequest) XXX_Unmarshal(b []byte) error

type GetInstructionRequest

type GetInstructionRequest struct {
	// Required. Instruction resource name, format:
	// projects/{project_id}/instructions/{instruction_id}
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for GetInstruction.

func (*GetInstructionRequest) Descriptor

func (*GetInstructionRequest) Descriptor() ([]byte, []int)

func (*GetInstructionRequest) GetName

func (m *GetInstructionRequest) GetName() string

func (*GetInstructionRequest) ProtoMessage

func (*GetInstructionRequest) ProtoMessage()

func (*GetInstructionRequest) Reset

func (m *GetInstructionRequest) Reset()

func (*GetInstructionRequest) String

func (m *GetInstructionRequest) String() string

func (*GetInstructionRequest) XXX_DiscardUnknown

func (m *GetInstructionRequest) XXX_DiscardUnknown()

func (*GetInstructionRequest) XXX_Marshal

func (m *GetInstructionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetInstructionRequest) XXX_Merge

func (m *GetInstructionRequest) XXX_Merge(src proto.Message)

func (*GetInstructionRequest) XXX_Size

func (m *GetInstructionRequest) XXX_Size() int

func (*GetInstructionRequest) XXX_Unmarshal

func (m *GetInstructionRequest) XXX_Unmarshal(b []byte) error

type HumanAnnotationConfig

type HumanAnnotationConfig struct {
	// Required. Instruction resource name.
	Instruction string `protobuf:"bytes,1,opt,name=instruction,proto3" json:"instruction,omitempty"`
	// Required. A human-readable name for AnnotatedDataset defined by
	// users. Maximum of 64 characters
	// .
	AnnotatedDatasetDisplayName string `` /* 146-byte string literal not displayed */
	// Optional. A human-readable description for AnnotatedDataset.
	// The description can be up to 10000 characters long.
	AnnotatedDatasetDescription string `` /* 144-byte string literal not displayed */
	// Optional. A human-readable label used to logically group labeling tasks.
	// This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.
	LabelGroup string `protobuf:"bytes,4,opt,name=label_group,json=labelGroup,proto3" json:"label_group,omitempty"`
	// Optional. The Language of this question, as a
	// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).
	// Default value is en-US.
	// Only need to set this when task is language related. For example, French
	// text classification.
	LanguageCode string `protobuf:"bytes,5,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// Optional. Replication of questions. Each question will be sent to up to
	// this number of contributors to label. Aggregated answers will be returned.
	// Default is set to 1.
	// For image related labeling, valid values are 1, 3, 5.
	ReplicaCount int32 `protobuf:"varint,6,opt,name=replica_count,json=replicaCount,proto3" json:"replica_count,omitempty"`
	// Optional. Maximum duration for contributors to answer a question. Maximum
	// is 3600 seconds. Default is 3600 seconds.
	QuestionDuration *duration.Duration `protobuf:"bytes,7,opt,name=question_duration,json=questionDuration,proto3" json:"question_duration,omitempty"`
	// Optional. If you want your own labeling contributors to manage and work on
	// this labeling request, you can set these contributors here. We will give
	// them access to the question types in crowdcompute. Note that these
	// emails must be registered in crowdcompute worker UI:
	// https://crowd-compute.appspot.com/
	ContributorEmails []string `protobuf:"bytes,9,rep,name=contributor_emails,json=contributorEmails,proto3" json:"contributor_emails,omitempty"`
	// Email of the user who started the labeling task and should be notified by
	// email. If empty no notification will be sent.
	UserEmailAddress     string   `protobuf:"bytes,10,opt,name=user_email_address,json=userEmailAddress,proto3" json:"user_email_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Configuration for how human labeling task should be done.

func (*HumanAnnotationConfig) Descriptor

func (*HumanAnnotationConfig) Descriptor() ([]byte, []int)

func (*HumanAnnotationConfig) GetAnnotatedDatasetDescription

func (m *HumanAnnotationConfig) GetAnnotatedDatasetDescription() string

func (*HumanAnnotationConfig) GetAnnotatedDatasetDisplayName

func (m *HumanAnnotationConfig) GetAnnotatedDatasetDisplayName() string

func (*HumanAnnotationConfig) GetContributorEmails

func (m *HumanAnnotationConfig) GetContributorEmails() []string

func (*HumanAnnotationConfig) GetInstruction

func (m *HumanAnnotationConfig) GetInstruction() string

func (*HumanAnnotationConfig) GetLabelGroup

func (m *HumanAnnotationConfig) GetLabelGroup() string

func (*HumanAnnotationConfig) GetLanguageCode

func (m *HumanAnnotationConfig) GetLanguageCode() string

func (*HumanAnnotationConfig) GetQuestionDuration

func (m *HumanAnnotationConfig) GetQuestionDuration() *duration.Duration

func (*HumanAnnotationConfig) GetReplicaCount

func (m *HumanAnnotationConfig) GetReplicaCount() int32

func (*HumanAnnotationConfig) GetUserEmailAddress

func (m *HumanAnnotationConfig) GetUserEmailAddress() string

func (*HumanAnnotationConfig) ProtoMessage

func (*HumanAnnotationConfig) ProtoMessage()

func (*HumanAnnotationConfig) Reset

func (m *HumanAnnotationConfig) Reset()

func (*HumanAnnotationConfig) String

func (m *HumanAnnotationConfig) String() string

func (*HumanAnnotationConfig) XXX_DiscardUnknown

func (m *HumanAnnotationConfig) XXX_DiscardUnknown()

func (*HumanAnnotationConfig) XXX_Marshal

func (m *HumanAnnotationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HumanAnnotationConfig) XXX_Merge

func (m *HumanAnnotationConfig) XXX_Merge(src proto.Message)

func (*HumanAnnotationConfig) XXX_Size

func (m *HumanAnnotationConfig) XXX_Size() int

func (*HumanAnnotationConfig) XXX_Unmarshal

func (m *HumanAnnotationConfig) XXX_Unmarshal(b []byte) error

type ImageBoundingPolyAnnotation

type ImageBoundingPolyAnnotation struct {
	// The region of the polygon. If it is a bounding box, it is guaranteed to be
	// four points.
	//
	// Types that are valid to be assigned to BoundedArea:
	//	*ImageBoundingPolyAnnotation_BoundingPoly
	//	*ImageBoundingPolyAnnotation_NormalizedBoundingPoly
	BoundedArea isImageBoundingPolyAnnotation_BoundedArea `protobuf_oneof:"bounded_area"`
	// Label of object in this bounding polygon.
	AnnotationSpec       *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Image bounding poly annotation. It represents a polygon including bounding box in the image.

func (*ImageBoundingPolyAnnotation) Descriptor

func (*ImageBoundingPolyAnnotation) Descriptor() ([]byte, []int)

func (*ImageBoundingPolyAnnotation) GetAnnotationSpec

func (m *ImageBoundingPolyAnnotation) GetAnnotationSpec() *AnnotationSpec

func (*ImageBoundingPolyAnnotation) GetBoundedArea

func (m *ImageBoundingPolyAnnotation) GetBoundedArea() isImageBoundingPolyAnnotation_BoundedArea

func (*ImageBoundingPolyAnnotation) GetBoundingPoly

func (m *ImageBoundingPolyAnnotation) GetBoundingPoly() *BoundingPoly

func (*ImageBoundingPolyAnnotation) GetNormalizedBoundingPoly

func (m *ImageBoundingPolyAnnotation) GetNormalizedBoundingPoly() *NormalizedBoundingPoly

func (*ImageBoundingPolyAnnotation) ProtoMessage

func (*ImageBoundingPolyAnnotation) ProtoMessage()

func (*ImageBoundingPolyAnnotation) Reset

func (m *ImageBoundingPolyAnnotation) Reset()

func (*ImageBoundingPolyAnnotation) String

func (m *ImageBoundingPolyAnnotation) String() string

func (*ImageBoundingPolyAnnotation) XXX_DiscardUnknown

func (m *ImageBoundingPolyAnnotation) XXX_DiscardUnknown()

func (*ImageBoundingPolyAnnotation) XXX_Marshal

func (m *ImageBoundingPolyAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageBoundingPolyAnnotation) XXX_Merge

func (m *ImageBoundingPolyAnnotation) XXX_Merge(src proto.Message)

func (*ImageBoundingPolyAnnotation) XXX_OneofWrappers

func (*ImageBoundingPolyAnnotation) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ImageBoundingPolyAnnotation) XXX_Size

func (m *ImageBoundingPolyAnnotation) XXX_Size() int

func (*ImageBoundingPolyAnnotation) XXX_Unmarshal

func (m *ImageBoundingPolyAnnotation) XXX_Unmarshal(b []byte) error

type ImageBoundingPolyAnnotation_BoundingPoly

type ImageBoundingPolyAnnotation_BoundingPoly struct {
	BoundingPoly *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_poly,json=boundingPoly,proto3,oneof"`
}

type ImageBoundingPolyAnnotation_NormalizedBoundingPoly

type ImageBoundingPolyAnnotation_NormalizedBoundingPoly struct {
	NormalizedBoundingPoly *NormalizedBoundingPoly `protobuf:"bytes,3,opt,name=normalized_bounding_poly,json=normalizedBoundingPoly,proto3,oneof"`
}

type ImageClassificationAnnotation

type ImageClassificationAnnotation struct {
	// Label of image.
	AnnotationSpec       *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Image classification annotation definition.

func (*ImageClassificationAnnotation) Descriptor

func (*ImageClassificationAnnotation) Descriptor() ([]byte, []int)

func (*ImageClassificationAnnotation) GetAnnotationSpec

func (m *ImageClassificationAnnotation) GetAnnotationSpec() *AnnotationSpec

func (*ImageClassificationAnnotation) ProtoMessage

func (*ImageClassificationAnnotation) ProtoMessage()

func (*ImageClassificationAnnotation) Reset

func (m *ImageClassificationAnnotation) Reset()

func (*ImageClassificationAnnotation) String

func (*ImageClassificationAnnotation) XXX_DiscardUnknown

func (m *ImageClassificationAnnotation) XXX_DiscardUnknown()

func (*ImageClassificationAnnotation) XXX_Marshal

func (m *ImageClassificationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageClassificationAnnotation) XXX_Merge

func (m *ImageClassificationAnnotation) XXX_Merge(src proto.Message)

func (*ImageClassificationAnnotation) XXX_Size

func (m *ImageClassificationAnnotation) XXX_Size() int

func (*ImageClassificationAnnotation) XXX_Unmarshal

func (m *ImageClassificationAnnotation) XXX_Unmarshal(b []byte) error

type ImageClassificationConfig

type ImageClassificationConfig 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. If allow_multi_label is true, contributors are able to choose
	// multiple labels for one image.
	AllowMultiLabel bool `protobuf:"varint,2,opt,name=allow_multi_label,json=allowMultiLabel,proto3" json:"allow_multi_label,omitempty"`
	// Optional. The type of how to aggregate answers.
	AnswerAggregationType StringAggregationType `` /* 188-byte string literal not displayed */
	XXX_NoUnkeyedLiteral  struct{}              `json:"-"`
	XXX_unrecognized      []byte                `json:"-"`
	XXX_sizecache         int32                 `json:"-"`
}

Config for image classification human labeling task.

func (*ImageClassificationConfig) Descriptor

func (*ImageClassificationConfig) Descriptor() ([]byte, []int)

func (*ImageClassificationConfig) GetAllowMultiLabel

func (m *ImageClassificationConfig) GetAllowMultiLabel() bool

func (*ImageClassificationConfig) GetAnnotationSpecSet

func (m *ImageClassificationConfig) GetAnnotationSpecSet() string

func (*ImageClassificationConfig) GetAnswerAggregationType

func (m *ImageClassificationConfig) GetAnswerAggregationType() StringAggregationType

func (*ImageClassificationConfig) ProtoMessage

func (*ImageClassificationConfig) ProtoMessage()

func (*ImageClassificationConfig) Reset

func (m *ImageClassificationConfig) Reset()

func (*ImageClassificationConfig) String

func (m *ImageClassificationConfig) String() string

func (*ImageClassificationConfig) XXX_DiscardUnknown

func (m *ImageClassificationConfig) XXX_DiscardUnknown()

func (*ImageClassificationConfig) XXX_Marshal

func (m *ImageClassificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageClassificationConfig) XXX_Merge

func (m *ImageClassificationConfig) XXX_Merge(src proto.Message)

func (*ImageClassificationConfig) XXX_Size

func (m *ImageClassificationConfig) XXX_Size() int

func (*ImageClassificationConfig) XXX_Unmarshal

func (m *ImageClassificationConfig) XXX_Unmarshal(b []byte) error

type ImagePayload

type ImagePayload struct {
	// Image format.
	MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// A byte string of a thumbnail image.
	ImageThumbnail []byte `protobuf:"bytes,2,opt,name=image_thumbnail,json=imageThumbnail,proto3" json:"image_thumbnail,omitempty"`
	// Image uri from the user bucket.
	ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
	// Signed uri of the image file in the service bucket.
	SignedUri            string   `protobuf:"bytes,4,opt,name=signed_uri,json=signedUri,proto3" json:"signed_uri,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Container of information about an image.

func (*ImagePayload) Descriptor

func (*ImagePayload) Descriptor() ([]byte, []int)

func (*ImagePayload) GetImageThumbnail

func (m *ImagePayload) GetImageThumbnail() []byte

func (*ImagePayload) GetImageUri

func (m *ImagePayload) GetImageUri() string

func (*ImagePayload) GetMimeType

func (m *ImagePayload) GetMimeType() string

func (*ImagePayload) GetSignedUri

func (m *ImagePayload) GetSignedUri() string

func (*ImagePayload) ProtoMessage

func (*ImagePayload) ProtoMessage()

func (*ImagePayload) Reset

func (m *ImagePayload) Reset()

func (*ImagePayload) String

func (m *ImagePayload) String() string

func (*ImagePayload) XXX_DiscardUnknown

func (m *ImagePayload) XXX_DiscardUnknown()

func (*ImagePayload) XXX_Marshal

func (m *ImagePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImagePayload) XXX_Merge

func (m *ImagePayload) XXX_Merge(src proto.Message)

func (*ImagePayload) XXX_Size

func (m *ImagePayload) XXX_Size() int

func (*ImagePayload) XXX_Unmarshal

func (m *ImagePayload) XXX_Unmarshal(b []byte) error

type ImagePolylineAnnotation

type ImagePolylineAnnotation struct {
	// Types that are valid to be assigned to Poly:
	//	*ImagePolylineAnnotation_Polyline
	//	*ImagePolylineAnnotation_NormalizedPolyline
	Poly isImagePolylineAnnotation_Poly `protobuf_oneof:"poly"`
	// Label of this polyline.
	AnnotationSpec       *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

A polyline for the image annotation.

func (*ImagePolylineAnnotation) Descriptor

func (*ImagePolylineAnnotation) Descriptor() ([]byte, []int)

func (*ImagePolylineAnnotation) GetAnnotationSpec

func (m *ImagePolylineAnnotation) GetAnnotationSpec() *AnnotationSpec

func (*ImagePolylineAnnotation) GetNormalizedPolyline

func (m *ImagePolylineAnnotation) GetNormalizedPolyline() *NormalizedPolyline

func (*ImagePolylineAnnotation) GetPoly

func (m *ImagePolylineAnnotation) GetPoly() isImagePolylineAnnotation_Poly

func (*ImagePolylineAnnotation) GetPolyline

func (m *ImagePolylineAnnotation) GetPolyline() *Polyline

func (*ImagePolylineAnnotation) ProtoMessage

func (*ImagePolylineAnnotation) ProtoMessage()

func (*ImagePolylineAnnotation) Reset

func (m *ImagePolylineAnnotation) Reset()

func (*ImagePolylineAnnotation) String

func (m *ImagePolylineAnnotation) String() string

func (*ImagePolylineAnnotation) XXX_DiscardUnknown

func (m *ImagePolylineAnnotation) XXX_DiscardUnknown()

func (*ImagePolylineAnnotation) XXX_Marshal

func (m *ImagePolylineAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImagePolylineAnnotation) XXX_Merge

func (m *ImagePolylineAnnotation) XXX_Merge(src proto.Message)

func (*ImagePolylineAnnotation) XXX_OneofWrappers

func (*ImagePolylineAnnotation) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ImagePolylineAnnotation) XXX_Size

func (m *ImagePolylineAnnotation) XXX_Size() int

func (*ImagePolylineAnnotation) XXX_Unmarshal

func (m *ImagePolylineAnnotation) XXX_Unmarshal(b []byte) error

type ImagePolylineAnnotation_NormalizedPolyline

type ImagePolylineAnnotation_NormalizedPolyline struct {
	NormalizedPolyline *NormalizedPolyline `protobuf:"bytes,3,opt,name=normalized_polyline,json=normalizedPolyline,proto3,oneof"`
}

type ImagePolylineAnnotation_Polyline

type ImagePolylineAnnotation_Polyline struct {
	Polyline *Polyline `protobuf:"bytes,2,opt,name=polyline,proto3,oneof"`
}

type ImageSegmentationAnnotation

type ImageSegmentationAnnotation struct {
	// The mapping between rgb color and annotation spec. The key is the rgb
	// color represented in format of rgb(0, 0, 0). The value is the
	// AnnotationSpec.
	AnnotationColors map[string]*AnnotationSpec `` /* 197-byte string literal not displayed */
	// Image format.
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// A byte string of a full image's color map.
	ImageBytes           []byte   `protobuf:"bytes,3,opt,name=image_bytes,json=imageBytes,proto3" json:"image_bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Image segmentation annotation.

func (*ImageSegmentationAnnotation) Descriptor

func (*ImageSegmentationAnnotation) Descriptor() ([]byte, []int)

func (*ImageSegmentationAnnotation) GetAnnotationColors

func (m *ImageSegmentationAnnotation) GetAnnotationColors() map[string]*AnnotationSpec

func (*ImageSegmentationAnnotation) GetImageBytes

func (m *ImageSegmentationAnnotation) GetImageBytes() []byte

func (*ImageSegmentationAnnotation) GetMimeType

func (m *ImageSegmentationAnnotation) GetMimeType() string

func (*ImageSegmentationAnnotation) ProtoMessage

func (*ImageSegmentationAnnotation) ProtoMessage()

func (*ImageSegmentationAnnotation) Reset

func (m *ImageSegmentationAnnotation) Reset()

func (*ImageSegmentationAnnotation) String

func (m *ImageSegmentationAnnotation) String() string

func (*ImageSegmentationAnnotation) XXX_DiscardUnknown

func (m *ImageSegmentationAnnotation) XXX_DiscardUnknown()

func (*ImageSegmentationAnnotation) XXX_Marshal

func (m *ImageSegmentationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageSegmentationAnnotation) XXX_Merge

func (m *ImageSegmentationAnnotation) XXX_Merge(src proto.Message)

func (*ImageSegmentationAnnotation) XXX_Size

func (m *ImageSegmentationAnnotation) XXX_Size() int

func (*ImageSegmentationAnnotation) XXX_Unmarshal

func (m *ImageSegmentationAnnotation) XXX_Unmarshal(b []byte) error

type ImportDataOperationMetadata

type ImportDataOperationMetadata struct {
	// Output only. The name of imported dataset.
	// "projects/*/datasets/*"
	Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// Output only. 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"`
	// Output only. Timestamp when import dataset request was created.
	CreateTime           *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Metadata of an ImportData operation.

func (*ImportDataOperationMetadata) Descriptor

func (*ImportDataOperationMetadata) Descriptor() ([]byte, []int)

func (*ImportDataOperationMetadata) GetCreateTime

func (m *ImportDataOperationMetadata) GetCreateTime() *timestamp.Timestamp

func (*ImportDataOperationMetadata) GetDataset

func (m *ImportDataOperationMetadata) GetDataset() string

func (*ImportDataOperationMetadata) GetPartialFailures

func (m *ImportDataOperationMetadata) GetPartialFailures() []*status.Status

func (*ImportDataOperationMetadata) ProtoMessage

func (*ImportDataOperationMetadata) ProtoMessage()

func (*ImportDataOperationMetadata) Reset

func (m *ImportDataOperationMetadata) Reset()

func (*ImportDataOperationMetadata) String

func (m *ImportDataOperationMetadata) String() string

func (*ImportDataOperationMetadata) XXX_DiscardUnknown

func (m *ImportDataOperationMetadata) XXX_DiscardUnknown()

func (*ImportDataOperationMetadata) XXX_Marshal

func (m *ImportDataOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportDataOperationMetadata) XXX_Merge

func (m *ImportDataOperationMetadata) XXX_Merge(src proto.Message)

func (*ImportDataOperationMetadata) XXX_Size

func (m *ImportDataOperationMetadata) XXX_Size() int

func (*ImportDataOperationMetadata) XXX_Unmarshal

func (m *ImportDataOperationMetadata) XXX_Unmarshal(b []byte) error

type ImportDataOperationResponse

type ImportDataOperationResponse struct {
	// Ouptut only. The name of imported dataset.
	Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// Output only. Total number of examples requested to import
	TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	// Output only. Number of examples imported successfully.
	ImportCount          int32    `protobuf:"varint,3,opt,name=import_count,json=importCount,proto3" json:"import_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response used for ImportData longrunning operation.

func (*ImportDataOperationResponse) Descriptor

func (*ImportDataOperationResponse) Descriptor() ([]byte, []int)

func (*ImportDataOperationResponse) GetDataset

func (m *ImportDataOperationResponse) GetDataset() string

func (*ImportDataOperationResponse) GetImportCount

func (m *ImportDataOperationResponse) GetImportCount() int32

func (*ImportDataOperationResponse) GetTotalCount

func (m *ImportDataOperationResponse) GetTotalCount() int32

func (*ImportDataOperationResponse) ProtoMessage

func (*ImportDataOperationResponse) ProtoMessage()

func (*ImportDataOperationResponse) Reset

func (m *ImportDataOperationResponse) Reset()

func (*ImportDataOperationResponse) String

func (m *ImportDataOperationResponse) String() string

func (*ImportDataOperationResponse) XXX_DiscardUnknown

func (m *ImportDataOperationResponse) XXX_DiscardUnknown()

func (*ImportDataOperationResponse) XXX_Marshal

func (m *ImportDataOperationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportDataOperationResponse) XXX_Merge

func (m *ImportDataOperationResponse) XXX_Merge(src proto.Message)

func (*ImportDataOperationResponse) XXX_Size

func (m *ImportDataOperationResponse) XXX_Size() int

func (*ImportDataOperationResponse) XXX_Unmarshal

func (m *ImportDataOperationResponse) XXX_Unmarshal(b []byte) error

type ImportDataRequest

type ImportDataRequest struct {
	// Required. Dataset resource name, format:
	// projects/{project_id}/datasets/{dataset_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Specify the input source of the data.
	InputConfig *InputConfig `protobuf:"bytes,2,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
	// Email of the user who started the import task and should be notified by
	// email. If empty no notification will be sent.
	UserEmailAddress     string   `protobuf:"bytes,3,opt,name=user_email_address,json=userEmailAddress,proto3" json:"user_email_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ImportData API.

func (*ImportDataRequest) Descriptor

func (*ImportDataRequest) Descriptor() ([]byte, []int)

func (*ImportDataRequest) GetInputConfig

func (m *ImportDataRequest) GetInputConfig() *InputConfig

func (*ImportDataRequest) GetName

func (m *ImportDataRequest) GetName() string

func (*ImportDataRequest) GetUserEmailAddress

func (m *ImportDataRequest) GetUserEmailAddress() string

func (*ImportDataRequest) ProtoMessage

func (*ImportDataRequest) ProtoMessage()

func (*ImportDataRequest) Reset

func (m *ImportDataRequest) Reset()

func (*ImportDataRequest) String

func (m *ImportDataRequest) String() string

func (*ImportDataRequest) XXX_DiscardUnknown

func (m *ImportDataRequest) XXX_DiscardUnknown()

func (*ImportDataRequest) XXX_Marshal

func (m *ImportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportDataRequest) XXX_Merge

func (m *ImportDataRequest) XXX_Merge(src proto.Message)

func (*ImportDataRequest) XXX_Size

func (m *ImportDataRequest) XXX_Size() int

func (*ImportDataRequest) XXX_Unmarshal

func (m *ImportDataRequest) XXX_Unmarshal(b []byte) error

type InputConfig

type InputConfig struct {
	// Optional. The metadata associated with each data type.
	//
	// Types that are valid to be assigned to DataTypeMetadata:
	//	*InputConfig_TextMetadata
	DataTypeMetadata isInputConfig_DataTypeMetadata `protobuf_oneof:"data_type_metadata"`
	// Required. Where the data is from.
	//
	// Types that are valid to be assigned to Source:
	//	*InputConfig_GcsSource
	//	*InputConfig_BigquerySource
	Source isInputConfig_Source `protobuf_oneof:"source"`
	// Required. Data type must be specifed when user tries to import data.
	DataType DataType `` /* 134-byte string literal not displayed */
	// Optional. The type of annotation to be performed on this data. You must
	// specify this field if you are using this InputConfig in an
	// [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob].
	AnnotationType AnnotationType `` /* 158-byte string literal not displayed */
	// Optional. Metadata about annotations for the input. You must specify this
	// field if you are using this InputConfig in an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob] for a
	// model version that performs classification.
	ClassificationMetadata *ClassificationMetadata `` /* 127-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{}                `json:"-"`
	XXX_unrecognized       []byte                  `json:"-"`
	XXX_sizecache          int32                   `json:"-"`
}

The configuration of input data, including data type, location, etc.

func (*InputConfig) Descriptor

func (*InputConfig) Descriptor() ([]byte, []int)

func (*InputConfig) GetAnnotationType

func (m *InputConfig) GetAnnotationType() AnnotationType

func (*InputConfig) GetBigquerySource

func (m *InputConfig) GetBigquerySource() *BigQuerySource

func (*InputConfig) GetClassificationMetadata

func (m *InputConfig) GetClassificationMetadata() *ClassificationMetadata

func (*InputConfig) GetDataType

func (m *InputConfig) GetDataType() DataType

func (*InputConfig) GetDataTypeMetadata

func (m *InputConfig) GetDataTypeMetadata() isInputConfig_DataTypeMetadata

func (*InputConfig) GetGcsSource

func (m *InputConfig) GetGcsSource() *GcsSource

func (*InputConfig) GetSource

func (m *InputConfig) GetSource() isInputConfig_Source

func (*InputConfig) GetTextMetadata

func (m *InputConfig) GetTextMetadata() *TextMetadata

func (*InputConfig) ProtoMessage

func (*InputConfig) ProtoMessage()

func (*InputConfig) Reset

func (m *InputConfig) Reset()

func (*InputConfig) String

func (m *InputConfig) String() string

func (*InputConfig) XXX_DiscardUnknown

func (m *InputConfig) XXX_DiscardUnknown()

func (*InputConfig) XXX_Marshal

func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InputConfig) XXX_Merge

func (m *InputConfig) XXX_Merge(src proto.Message)

func (*InputConfig) XXX_OneofWrappers

func (*InputConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*InputConfig) XXX_Size

func (m *InputConfig) XXX_Size() int

func (*InputConfig) XXX_Unmarshal

func (m *InputConfig) XXX_Unmarshal(b []byte) error

type InputConfig_BigquerySource

type InputConfig_BigquerySource struct {
	BigquerySource *BigQuerySource `protobuf:"bytes,5,opt,name=bigquery_source,json=bigquerySource,proto3,oneof"`
}

type InputConfig_GcsSource

type InputConfig_GcsSource struct {
	GcsSource *GcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}

type InputConfig_TextMetadata

type InputConfig_TextMetadata struct {
	TextMetadata *TextMetadata `protobuf:"bytes,6,opt,name=text_metadata,json=textMetadata,proto3,oneof"`
}

type Instruction

type Instruction struct {
	// Output only. Instruction resource name, format:
	// projects/{project_id}/instructions/{instruction_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name of the instruction. 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 instruction.
	// The description can be up to 10000 characters long.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Creation time of instruction.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Last update time of instruction.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Required. The data type of this instruction.
	DataType DataType `` /* 134-byte string literal not displayed */
	// Deprecated: this instruction format is not supported any more.
	// Instruction from a CSV file, such as for classification task.
	// The CSV file should have exact two columns, in the following format:
	//
	// * The first column is labeled data, such as an image reference, text.
	// * The second column is comma separated labels associated with data.
	CsvInstruction *CsvInstruction `protobuf:"bytes,7,opt,name=csv_instruction,json=csvInstruction,proto3" json:"csv_instruction,omitempty"` // Deprecated: Do not use.
	// Instruction from a PDF document. The PDF should be in a Cloud Storage
	// bucket.
	PdfInstruction *PdfInstruction `protobuf:"bytes,9,opt,name=pdf_instruction,json=pdfInstruction,proto3" json:"pdf_instruction,omitempty"`
	// Output only. The names of any related resources that are blocking changes
	// to the instruction.
	BlockingResources    []string `protobuf:"bytes,10,rep,name=blocking_resources,json=blockingResources,proto3" json:"blocking_resources,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Instruction of how to perform the labeling task for human operators. Currently only PDF instruction is supported.

func (*Instruction) Descriptor

func (*Instruction) Descriptor() ([]byte, []int)

func (*Instruction) GetBlockingResources

func (m *Instruction) GetBlockingResources() []string

func (*Instruction) GetCreateTime

func (m *Instruction) GetCreateTime() *timestamp.Timestamp

func (*Instruction) GetCsvInstruction deprecated

func (m *Instruction) GetCsvInstruction() *CsvInstruction

Deprecated: Do not use.

func (*Instruction) GetDataType

func (m *Instruction) GetDataType() DataType

func (*Instruction) GetDescription

func (m *Instruction) GetDescription() string

func (*Instruction) GetDisplayName

func (m *Instruction) GetDisplayName() string

func (*Instruction) GetName

func (m *Instruction) GetName() string

func (*Instruction) GetPdfInstruction

func (m *Instruction) GetPdfInstruction() *PdfInstruction

func (*Instruction) GetUpdateTime

func (m *Instruction) GetUpdateTime() *timestamp.Timestamp

func (*Instruction) ProtoMessage

func (*Instruction) ProtoMessage()

func (*Instruction) Reset

func (m *Instruction) Reset()

func (*Instruction) String

func (m *Instruction) String() string

func (*Instruction) XXX_DiscardUnknown

func (m *Instruction) XXX_DiscardUnknown()

func (*Instruction) XXX_Marshal

func (m *Instruction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Instruction) XXX_Merge

func (m *Instruction) XXX_Merge(src proto.Message)

func (*Instruction) XXX_Size

func (m *Instruction) XXX_Size() int

func (*Instruction) XXX_Unmarshal

func (m *Instruction) XXX_Unmarshal(b []byte) error

type LabelImageBoundingBoxOperationMetadata

type LabelImageBoundingBoxOperationMetadata struct {
	// Basic human annotation config used in labeling request.
	BasicConfig          *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Details of a LabelImageBoundingBox operation metadata.

func (*LabelImageBoundingBoxOperationMetadata) Descriptor

func (*LabelImageBoundingBoxOperationMetadata) Descriptor() ([]byte, []int)

func (*LabelImageBoundingBoxOperationMetadata) GetBasicConfig

func (*LabelImageBoundingBoxOperationMetadata) ProtoMessage

func (*LabelImageBoundingBoxOperationMetadata) Reset

func (*LabelImageBoundingBoxOperationMetadata) String

func (*LabelImageBoundingBoxOperationMetadata) XXX_DiscardUnknown

func (m *LabelImageBoundingBoxOperationMetadata) XXX_DiscardUnknown()

func (*LabelImageBoundingBoxOperationMetadata) XXX_Marshal

func (m *LabelImageBoundingBoxOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelImageBoundingBoxOperationMetadata) XXX_Merge

func (*LabelImageBoundingBoxOperationMetadata) XXX_Size

func (*LabelImageBoundingBoxOperationMetadata) XXX_Unmarshal

func (m *LabelImageBoundingBoxOperationMetadata) XXX_Unmarshal(b []byte) error

type LabelImageBoundingPolyOperationMetadata

type LabelImageBoundingPolyOperationMetadata struct {
	// Basic human annotation config used in labeling request.
	BasicConfig          *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Details of LabelImageBoundingPoly operation metadata.

func (*LabelImageBoundingPolyOperationMetadata) Descriptor

func (*LabelImageBoundingPolyOperationMetadata) Descriptor() ([]byte, []int)

func (*LabelImageBoundingPolyOperationMetadata) GetBasicConfig

func (*LabelImageBoundingPolyOperationMetadata) ProtoMessage

func (*LabelImageBoundingPolyOperationMetadata) Reset

func (*LabelImageBoundingPolyOperationMetadata) String

func (*LabelImageBoundingPolyOperationMetadata) XXX_DiscardUnknown

func (m *LabelImageBoundingPolyOperationMetadata) XXX_DiscardUnknown()

func (*LabelImageBoundingPolyOperationMetadata) XXX_Marshal

func (m *LabelImageBoundingPolyOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelImageBoundingPolyOperationMetadata) XXX_Merge

func (*LabelImageBoundingPolyOperationMetadata) XXX_Size

func (*LabelImageBoundingPolyOperationMetadata) XXX_Unmarshal

func (m *LabelImageBoundingPolyOperationMetadata) XXX_Unmarshal(b []byte) error

type LabelImageClassificationOperationMetadata

type LabelImageClassificationOperationMetadata struct {
	// Basic human annotation config used in labeling request.
	BasicConfig          *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Metadata of a LabelImageClassification operation.

func (*LabelImageClassificationOperationMetadata) Descriptor

func (*LabelImageClassificationOperationMetadata) Descriptor() ([]byte, []int)

func (*LabelImageClassificationOperationMetadata) GetBasicConfig

func (*LabelImageClassificationOperationMetadata) ProtoMessage

func (*LabelImageClassificationOperationMetadata) Reset

func (*LabelImageClassificationOperationMetadata) String

func (*LabelImageClassificationOperationMetadata) XXX_DiscardUnknown

func (m *LabelImageClassificationOperationMetadata) XXX_DiscardUnknown()

func (*LabelImageClassificationOperationMetadata) XXX_Marshal

func (m *LabelImageClassificationOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelImageClassificationOperationMetadata) XXX_Merge

func (*LabelImageClassificationOperationMetadata) XXX_Size

func (*LabelImageClassificationOperationMetadata) XXX_Unmarshal

type LabelImageOrientedBoundingBoxOperationMetadata

type LabelImageOrientedBoundingBoxOperationMetadata struct {
	// Basic human annotation config.
	BasicConfig          *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Details of a LabelImageOrientedBoundingBox operation metadata.

func (*LabelImageOrientedBoundingBoxOperationMetadata) Descriptor

func (*LabelImageOrientedBoundingBoxOperationMetadata) GetBasicConfig

func (*LabelImageOrientedBoundingBoxOperationMetadata) ProtoMessage

func (*LabelImageOrientedBoundingBoxOperationMetadata) Reset

func (*LabelImageOrientedBoundingBoxOperationMetadata) String

func (*LabelImageOrientedBoundingBoxOperationMetadata) XXX_DiscardUnknown

func (m *LabelImageOrientedBoundingBoxOperationMetadata) XXX_DiscardUnknown()

func (*LabelImageOrientedBoundingBoxOperationMetadata) XXX_Marshal

func (m *LabelImageOrientedBoundingBoxOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelImageOrientedBoundingBoxOperationMetadata) XXX_Merge

func (*LabelImageOrientedBoundingBoxOperationMetadata) XXX_Size

func (*LabelImageOrientedBoundingBoxOperationMetadata) XXX_Unmarshal

type LabelImagePolylineOperationMetadata

type LabelImagePolylineOperationMetadata struct {
	// Basic human annotation config used in labeling request.
	BasicConfig          *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Details of LabelImagePolyline operation metadata.

func (*LabelImagePolylineOperationMetadata) Descriptor

func (*LabelImagePolylineOperationMetadata) Descriptor() ([]byte, []int)

func (*LabelImagePolylineOperationMetadata) GetBasicConfig

func (*LabelImagePolylineOperationMetadata) ProtoMessage

func (*LabelImagePolylineOperationMetadata) ProtoMessage()

func (*LabelImagePolylineOperationMetadata) Reset

func (*LabelImagePolylineOperationMetadata) String

func (*LabelImagePolylineOperationMetadata) XXX_DiscardUnknown

func (m *LabelImagePolylineOperationMetadata) XXX_DiscardUnknown()

func (*LabelImagePolylineOperationMetadata) XXX_Marshal

func (m *LabelImagePolylineOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelImagePolylineOperationMetadata) XXX_Merge

func (*LabelImagePolylineOperationMetadata) XXX_Size

func (*LabelImagePolylineOperationMetadata) XXX_Unmarshal

func (m *LabelImagePolylineOperationMetadata) XXX_Unmarshal(b []byte) error

type LabelImageRequest

type LabelImageRequest struct {
	// Required. Config for labeling tasks. The type of request config must
	// match the selected feature.
	//
	// Types that are valid to be assigned to RequestConfig:
	//	*LabelImageRequest_ImageClassificationConfig
	//	*LabelImageRequest_BoundingPolyConfig
	//	*LabelImageRequest_PolylineConfig
	//	*LabelImageRequest_SegmentationConfig
	RequestConfig isLabelImageRequest_RequestConfig `protobuf_oneof:"request_config"`
	// Required. Name of the dataset to request labeling task, format:
	// projects/{project_id}/datasets/{dataset_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Basic human annotation config.
	BasicConfig *HumanAnnotationConfig `protobuf:"bytes,2,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	// Required. The type of image labeling task.
	Feature              LabelImageRequest_Feature `` /* 133-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

Request message for starting an image labeling task.

func (*LabelImageRequest) Descriptor

func (*LabelImageRequest) Descriptor() ([]byte, []int)

func (*LabelImageRequest) GetBasicConfig

func (m *LabelImageRequest) GetBasicConfig() *HumanAnnotationConfig

func (*LabelImageRequest) GetBoundingPolyConfig

func (m *LabelImageRequest) GetBoundingPolyConfig() *BoundingPolyConfig

func (*LabelImageRequest) GetFeature

func (*LabelImageRequest) GetImageClassificationConfig

func (m *LabelImageRequest) GetImageClassificationConfig() *ImageClassificationConfig

func (*LabelImageRequest) GetParent

func (m *LabelImageRequest) GetParent() string

func (*LabelImageRequest) GetPolylineConfig

func (m *LabelImageRequest) GetPolylineConfig() *PolylineConfig

func (*LabelImageRequest) GetRequestConfig

func (m *LabelImageRequest) GetRequestConfig() isLabelImageRequest_RequestConfig

func (*LabelImageRequest) GetSegmentationConfig

func (m *LabelImageRequest) GetSegmentationConfig() *SegmentationConfig

func (*LabelImageRequest) ProtoMessage

func (*LabelImageRequest) ProtoMessage()

func (*LabelImageRequest) Reset

func (m *LabelImageRequest) Reset()

func (*LabelImageRequest) String

func (m *LabelImageRequest) String() string

func (*LabelImageRequest) XXX_DiscardUnknown

func (m *LabelImageRequest) XXX_DiscardUnknown()

func (*LabelImageRequest) XXX_Marshal

func (m *LabelImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelImageRequest) XXX_Merge

func (m *LabelImageRequest) XXX_Merge(src proto.Message)

func (*LabelImageRequest) XXX_OneofWrappers

func (*LabelImageRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*LabelImageRequest) XXX_Size

func (m *LabelImageRequest) XXX_Size() int

func (*LabelImageRequest) XXX_Unmarshal

func (m *LabelImageRequest) XXX_Unmarshal(b []byte) error

type LabelImageRequest_BoundingPolyConfig

type LabelImageRequest_BoundingPolyConfig struct {
	BoundingPolyConfig *BoundingPolyConfig `protobuf:"bytes,5,opt,name=bounding_poly_config,json=boundingPolyConfig,proto3,oneof"`
}

type LabelImageRequest_Feature

type LabelImageRequest_Feature int32

Image labeling task feature.

const (
	LabelImageRequest_FEATURE_UNSPECIFIED LabelImageRequest_Feature = 0
	// Label whole image with one or more of labels.
	LabelImageRequest_CLASSIFICATION LabelImageRequest_Feature = 1
	// Label image with bounding boxes for labels.
	LabelImageRequest_BOUNDING_BOX LabelImageRequest_Feature = 2
	// Label oriented bounding box. The box does not have to be parallel to
	// horizontal line.
	LabelImageRequest_ORIENTED_BOUNDING_BOX LabelImageRequest_Feature = 6
	// Label images with bounding poly. A bounding poly is a plane figure that
	// is bounded by a finite chain of straight line segments closing in a loop.
	LabelImageRequest_BOUNDING_POLY LabelImageRequest_Feature = 3
	// Label images with polyline. Polyline is formed by connected line segments
	// which are not in closed form.
	LabelImageRequest_POLYLINE LabelImageRequest_Feature = 4
	// Label images with segmentation. Segmentation is different from bounding
	// poly since it is more fine-grained, pixel level annotation.
	LabelImageRequest_SEGMENTATION LabelImageRequest_Feature = 5
)

func (LabelImageRequest_Feature) EnumDescriptor

func (LabelImageRequest_Feature) EnumDescriptor() ([]byte, []int)

func (LabelImageRequest_Feature) String

func (x LabelImageRequest_Feature) String() string

type LabelImageRequest_ImageClassificationConfig

type LabelImageRequest_ImageClassificationConfig struct {
	ImageClassificationConfig *ImageClassificationConfig `protobuf:"bytes,4,opt,name=image_classification_config,json=imageClassificationConfig,proto3,oneof"`
}

type LabelImageRequest_PolylineConfig

type LabelImageRequest_PolylineConfig struct {
	PolylineConfig *PolylineConfig `protobuf:"bytes,6,opt,name=polyline_config,json=polylineConfig,proto3,oneof"`
}

type LabelImageRequest_SegmentationConfig

type LabelImageRequest_SegmentationConfig struct {
	SegmentationConfig *SegmentationConfig `protobuf:"bytes,7,opt,name=segmentation_config,json=segmentationConfig,proto3,oneof"`
}

type LabelImageSegmentationOperationMetadata

type LabelImageSegmentationOperationMetadata struct {
	// Basic human annotation config.
	BasicConfig          *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Details of a LabelImageSegmentation operation metadata.

func (*LabelImageSegmentationOperationMetadata) Descriptor

func (*LabelImageSegmentationOperationMetadata) Descriptor() ([]byte, []int)

func (*LabelImageSegmentationOperationMetadata) GetBasicConfig

func (*LabelImageSegmentationOperationMetadata) ProtoMessage

func (*LabelImageSegmentationOperationMetadata) Reset

func (*LabelImageSegmentationOperationMetadata) String

func (*LabelImageSegmentationOperationMetadata) XXX_DiscardUnknown

func (m *LabelImageSegmentationOperationMetadata) XXX_DiscardUnknown()

func (*LabelImageSegmentationOperationMetadata) XXX_Marshal

func (m *LabelImageSegmentationOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelImageSegmentationOperationMetadata) XXX_Merge

func (*LabelImageSegmentationOperationMetadata) XXX_Size

func (*LabelImageSegmentationOperationMetadata) XXX_Unmarshal

func (m *LabelImageSegmentationOperationMetadata) XXX_Unmarshal(b []byte) error

type LabelOperationMetadata

type LabelOperationMetadata struct {
	// Ouptut only. Details of specific label operation.
	//
	// Types that are valid to be assigned to Details:
	//	*LabelOperationMetadata_ImageClassificationDetails
	//	*LabelOperationMetadata_ImageBoundingBoxDetails
	//	*LabelOperationMetadata_ImageBoundingPolyDetails
	//	*LabelOperationMetadata_ImageOrientedBoundingBoxDetails
	//	*LabelOperationMetadata_ImagePolylineDetails
	//	*LabelOperationMetadata_ImageSegmentationDetails
	//	*LabelOperationMetadata_VideoClassificationDetails
	//	*LabelOperationMetadata_VideoObjectDetectionDetails
	//	*LabelOperationMetadata_VideoObjectTrackingDetails
	//	*LabelOperationMetadata_VideoEventDetails
	//	*LabelOperationMetadata_TextClassificationDetails
	//	*LabelOperationMetadata_TextEntityExtractionDetails
	Details isLabelOperationMetadata_Details `protobuf_oneof:"details"`
	// Output only. Progress of label operation. Range: [0, 100].
	ProgressPercent int32 `protobuf:"varint,1,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
	// Output only. 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"`
	// Output only. Timestamp when labeling request was created.
	CreateTime           *timestamp.Timestamp `protobuf:"bytes,16,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 20

func (*LabelOperationMetadata) Descriptor

func (*LabelOperationMetadata) Descriptor() ([]byte, []int)

func (*LabelOperationMetadata) GetCreateTime

func (m *LabelOperationMetadata) GetCreateTime() *timestamp.Timestamp

func (*LabelOperationMetadata) GetDetails

func (m *LabelOperationMetadata) GetDetails() isLabelOperationMetadata_Details

func (*LabelOperationMetadata) GetImageBoundingBoxDetails

func (m *LabelOperationMetadata) GetImageBoundingBoxDetails() *LabelImageBoundingBoxOperationMetadata

func (*LabelOperationMetadata) GetImageBoundingPolyDetails

func (m *LabelOperationMetadata) GetImageBoundingPolyDetails() *LabelImageBoundingPolyOperationMetadata

func (*LabelOperationMetadata) GetImageClassificationDetails

func (m *LabelOperationMetadata) GetImageClassificationDetails() *LabelImageClassificationOperationMetadata

func (*LabelOperationMetadata) GetImageOrientedBoundingBoxDetails

func (m *LabelOperationMetadata) GetImageOrientedBoundingBoxDetails() *LabelImageOrientedBoundingBoxOperationMetadata

func (*LabelOperationMetadata) GetImagePolylineDetails

func (m *LabelOperationMetadata) GetImagePolylineDetails() *LabelImagePolylineOperationMetadata

func (*LabelOperationMetadata) GetImageSegmentationDetails

func (m *LabelOperationMetadata) GetImageSegmentationDetails() *LabelImageSegmentationOperationMetadata

func (*LabelOperationMetadata) GetPartialFailures

func (m *LabelOperationMetadata) GetPartialFailures() []*status.Status

func (*LabelOperationMetadata) GetProgressPercent

func (m *LabelOperationMetadata) GetProgressPercent() int32

func (*LabelOperationMetadata) GetTextClassificationDetails

func (m *LabelOperationMetadata) GetTextClassificationDetails() *LabelTextClassificationOperationMetadata

func (*LabelOperationMetadata) GetTextEntityExtractionDetails

func (m *LabelOperationMetadata) GetTextEntityExtractionDetails() *LabelTextEntityExtractionOperationMetadata

func (*LabelOperationMetadata) GetVideoClassificationDetails

func (m *LabelOperationMetadata) GetVideoClassificationDetails() *LabelVideoClassificationOperationMetadata

func (*LabelOperationMetadata) GetVideoEventDetails

func (m *LabelOperationMetadata) GetVideoEventDetails() *LabelVideoEventOperationMetadata

func (*LabelOperationMetadata) GetVideoObjectDetectionDetails

func (m *LabelOperationMetadata) GetVideoObjectDetectionDetails() *LabelVideoObjectDetectionOperationMetadata

func (*LabelOperationMetadata) GetVideoObjectTrackingDetails

func (m *LabelOperationMetadata) GetVideoObjectTrackingDetails() *LabelVideoObjectTrackingOperationMetadata

func (*LabelOperationMetadata) ProtoMessage

func (*LabelOperationMetadata) ProtoMessage()

func (*LabelOperationMetadata) Reset

func (m *LabelOperationMetadata) Reset()

func (*LabelOperationMetadata) String

func (m *LabelOperationMetadata) String() string

func (*LabelOperationMetadata) XXX_DiscardUnknown

func (m *LabelOperationMetadata) XXX_DiscardUnknown()

func (*LabelOperationMetadata) XXX_Marshal

func (m *LabelOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelOperationMetadata) XXX_Merge

func (m *LabelOperationMetadata) XXX_Merge(src proto.Message)

func (*LabelOperationMetadata) XXX_OneofWrappers

func (*LabelOperationMetadata) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*LabelOperationMetadata) XXX_Size

func (m *LabelOperationMetadata) XXX_Size() int

func (*LabelOperationMetadata) XXX_Unmarshal

func (m *LabelOperationMetadata) XXX_Unmarshal(b []byte) error

type LabelOperationMetadata_ImageBoundingBoxDetails

type LabelOperationMetadata_ImageBoundingBoxDetails struct {
	ImageBoundingBoxDetails *LabelImageBoundingBoxOperationMetadata `protobuf:"bytes,4,opt,name=image_bounding_box_details,json=imageBoundingBoxDetails,proto3,oneof"`
}

type LabelOperationMetadata_ImageBoundingPolyDetails

type LabelOperationMetadata_ImageBoundingPolyDetails struct {
	ImageBoundingPolyDetails *LabelImageBoundingPolyOperationMetadata `protobuf:"bytes,11,opt,name=image_bounding_poly_details,json=imageBoundingPolyDetails,proto3,oneof"`
}

type LabelOperationMetadata_ImageClassificationDetails

type LabelOperationMetadata_ImageClassificationDetails struct {
	ImageClassificationDetails *LabelImageClassificationOperationMetadata `protobuf:"bytes,3,opt,name=image_classification_details,json=imageClassificationDetails,proto3,oneof"`
}

type LabelOperationMetadata_ImageOrientedBoundingBoxDetails

type LabelOperationMetadata_ImageOrientedBoundingBoxDetails struct {
	ImageOrientedBoundingBoxDetails *LabelImageOrientedBoundingBoxOperationMetadata `protobuf:"bytes,14,opt,name=image_oriented_bounding_box_details,json=imageOrientedBoundingBoxDetails,proto3,oneof"`
}

type LabelOperationMetadata_ImagePolylineDetails

type LabelOperationMetadata_ImagePolylineDetails struct {
	ImagePolylineDetails *LabelImagePolylineOperationMetadata `protobuf:"bytes,12,opt,name=image_polyline_details,json=imagePolylineDetails,proto3,oneof"`
}

type LabelOperationMetadata_ImageSegmentationDetails

type LabelOperationMetadata_ImageSegmentationDetails struct {
	ImageSegmentationDetails *LabelImageSegmentationOperationMetadata `protobuf:"bytes,15,opt,name=image_segmentation_details,json=imageSegmentationDetails,proto3,oneof"`
}

type LabelOperationMetadata_TextClassificationDetails

type LabelOperationMetadata_TextClassificationDetails struct {
	TextClassificationDetails *LabelTextClassificationOperationMetadata `protobuf:"bytes,9,opt,name=text_classification_details,json=textClassificationDetails,proto3,oneof"`
}

type LabelOperationMetadata_TextEntityExtractionDetails

type LabelOperationMetadata_TextEntityExtractionDetails struct {
	TextEntityExtractionDetails *LabelTextEntityExtractionOperationMetadata `protobuf:"bytes,13,opt,name=text_entity_extraction_details,json=textEntityExtractionDetails,proto3,oneof"`
}

type LabelOperationMetadata_VideoClassificationDetails

type LabelOperationMetadata_VideoClassificationDetails struct {
	VideoClassificationDetails *LabelVideoClassificationOperationMetadata `protobuf:"bytes,5,opt,name=video_classification_details,json=videoClassificationDetails,proto3,oneof"`
}

type LabelOperationMetadata_VideoEventDetails

type LabelOperationMetadata_VideoEventDetails struct {
	VideoEventDetails *LabelVideoEventOperationMetadata `protobuf:"bytes,8,opt,name=video_event_details,json=videoEventDetails,proto3,oneof"`
}

type LabelOperationMetadata_VideoObjectDetectionDetails

type LabelOperationMetadata_VideoObjectDetectionDetails struct {
	VideoObjectDetectionDetails *LabelVideoObjectDetectionOperationMetadata `protobuf:"bytes,6,opt,name=video_object_detection_details,json=videoObjectDetectionDetails,proto3,oneof"`
}

type LabelOperationMetadata_VideoObjectTrackingDetails

type LabelOperationMetadata_VideoObjectTrackingDetails struct {
	VideoObjectTrackingDetails *LabelVideoObjectTrackingOperationMetadata `protobuf:"bytes,7,opt,name=video_object_tracking_details,json=videoObjectTrackingDetails,proto3,oneof"`
}

type LabelStats

type LabelStats struct {
	// Map of each annotation spec's example count. Key is the annotation spec
	// name and value is the number of examples for that annotation spec.
	// If the annotated dataset does not have annotation spec, the map will return
	// a pair where the key is empty string and value is the total number of
	// annotations.
	ExampleCount         map[string]int64 `` /* 186-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Statistics about annotation specs.

func (*LabelStats) Descriptor

func (*LabelStats) Descriptor() ([]byte, []int)

func (*LabelStats) GetExampleCount

func (m *LabelStats) GetExampleCount() map[string]int64

func (*LabelStats) ProtoMessage

func (*LabelStats) ProtoMessage()

func (*LabelStats) Reset

func (m *LabelStats) Reset()

func (*LabelStats) String

func (m *LabelStats) String() string

func (*LabelStats) XXX_DiscardUnknown

func (m *LabelStats) XXX_DiscardUnknown()

func (*LabelStats) XXX_Marshal

func (m *LabelStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelStats) XXX_Merge

func (m *LabelStats) XXX_Merge(src proto.Message)

func (*LabelStats) XXX_Size

func (m *LabelStats) XXX_Size() int

func (*LabelStats) XXX_Unmarshal

func (m *LabelStats) XXX_Unmarshal(b []byte) error

type LabelTextClassificationOperationMetadata

type LabelTextClassificationOperationMetadata struct {
	// Basic human annotation config used in labeling request.
	BasicConfig          *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Details of a LabelTextClassification operation metadata.

func (*LabelTextClassificationOperationMetadata) Descriptor

func (*LabelTextClassificationOperationMetadata) Descriptor() ([]byte, []int)

func (*LabelTextClassificationOperationMetadata) GetBasicConfig

func (*LabelTextClassificationOperationMetadata) ProtoMessage

func (*LabelTextClassificationOperationMetadata) Reset

func (*LabelTextClassificationOperationMetadata) String

func (*LabelTextClassificationOperationMetadata) XXX_DiscardUnknown

func (m *LabelTextClassificationOperationMetadata) XXX_DiscardUnknown()

func (*LabelTextClassificationOperationMetadata) XXX_Marshal

func (m *LabelTextClassificationOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelTextClassificationOperationMetadata) XXX_Merge

func (*LabelTextClassificationOperationMetadata) XXX_Size

func (*LabelTextClassificationOperationMetadata) XXX_Unmarshal

func (m *LabelTextClassificationOperationMetadata) XXX_Unmarshal(b []byte) error

type LabelTextEntityExtractionOperationMetadata

type LabelTextEntityExtractionOperationMetadata struct {
	// Basic human annotation config used in labeling request.
	BasicConfig          *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Details of a LabelTextEntityExtraction operation metadata.

func (*LabelTextEntityExtractionOperationMetadata) Descriptor

func (*LabelTextEntityExtractionOperationMetadata) GetBasicConfig

func (*LabelTextEntityExtractionOperationMetadata) ProtoMessage

func (*LabelTextEntityExtractionOperationMetadata) Reset

func (*LabelTextEntityExtractionOperationMetadata) String

func (*LabelTextEntityExtractionOperationMetadata) XXX_DiscardUnknown

func (m *LabelTextEntityExtractionOperationMetadata) XXX_DiscardUnknown()

func (*LabelTextEntityExtractionOperationMetadata) XXX_Marshal

func (m *LabelTextEntityExtractionOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelTextEntityExtractionOperationMetadata) XXX_Merge

func (*LabelTextEntityExtractionOperationMetadata) XXX_Size

func (*LabelTextEntityExtractionOperationMetadata) XXX_Unmarshal

type LabelTextRequest

type LabelTextRequest struct {
	// Required. Config for labeling tasks. The type of request config must
	// match the selected feature.
	//
	// Types that are valid to be assigned to RequestConfig:
	//	*LabelTextRequest_TextClassificationConfig
	//	*LabelTextRequest_TextEntityExtractionConfig
	RequestConfig isLabelTextRequest_RequestConfig `protobuf_oneof:"request_config"`
	// Required. Name of the data set to request labeling task, format:
	// projects/{project_id}/datasets/{dataset_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Basic human annotation config.
	BasicConfig *HumanAnnotationConfig `protobuf:"bytes,2,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	// Required. The type of text labeling task.
	Feature              LabelTextRequest_Feature `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Request message for LabelText.

func (*LabelTextRequest) Descriptor

func (*LabelTextRequest) Descriptor() ([]byte, []int)

func (*LabelTextRequest) GetBasicConfig

func (m *LabelTextRequest) GetBasicConfig() *HumanAnnotationConfig

func (*LabelTextRequest) GetFeature

func (*LabelTextRequest) GetParent

func (m *LabelTextRequest) GetParent() string

func (*LabelTextRequest) GetRequestConfig

func (m *LabelTextRequest) GetRequestConfig() isLabelTextRequest_RequestConfig

func (*LabelTextRequest) GetTextClassificationConfig

func (m *LabelTextRequest) GetTextClassificationConfig() *TextClassificationConfig

func (*LabelTextRequest) GetTextEntityExtractionConfig

func (m *LabelTextRequest) GetTextEntityExtractionConfig() *TextEntityExtractionConfig

func (*LabelTextRequest) ProtoMessage

func (*LabelTextRequest) ProtoMessage()

func (*LabelTextRequest) Reset

func (m *LabelTextRequest) Reset()

func (*LabelTextRequest) String

func (m *LabelTextRequest) String() string

func (*LabelTextRequest) XXX_DiscardUnknown

func (m *LabelTextRequest) XXX_DiscardUnknown()

func (*LabelTextRequest) XXX_Marshal

func (m *LabelTextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelTextRequest) XXX_Merge

func (m *LabelTextRequest) XXX_Merge(src proto.Message)

func (*LabelTextRequest) XXX_OneofWrappers

func (*LabelTextRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*LabelTextRequest) XXX_Size

func (m *LabelTextRequest) XXX_Size() int

func (*LabelTextRequest) XXX_Unmarshal

func (m *LabelTextRequest) XXX_Unmarshal(b []byte) error

type LabelTextRequest_Feature

type LabelTextRequest_Feature int32

Text labeling task feature.

const (
	LabelTextRequest_FEATURE_UNSPECIFIED LabelTextRequest_Feature = 0
	// Label text content to one of more labels.
	LabelTextRequest_TEXT_CLASSIFICATION LabelTextRequest_Feature = 1
	// Label entities and their span in text.
	LabelTextRequest_TEXT_ENTITY_EXTRACTION LabelTextRequest_Feature = 2
)

func (LabelTextRequest_Feature) EnumDescriptor

func (LabelTextRequest_Feature) EnumDescriptor() ([]byte, []int)

func (LabelTextRequest_Feature) String

func (x LabelTextRequest_Feature) String() string

type LabelTextRequest_TextClassificationConfig

type LabelTextRequest_TextClassificationConfig struct {
	TextClassificationConfig *TextClassificationConfig `protobuf:"bytes,4,opt,name=text_classification_config,json=textClassificationConfig,proto3,oneof"`
}

type LabelTextRequest_TextEntityExtractionConfig

type LabelTextRequest_TextEntityExtractionConfig struct {
	TextEntityExtractionConfig *TextEntityExtractionConfig `protobuf:"bytes,5,opt,name=text_entity_extraction_config,json=textEntityExtractionConfig,proto3,oneof"`
}

type LabelVideoClassificationOperationMetadata

type LabelVideoClassificationOperationMetadata struct {
	// Basic human annotation config used in labeling request.
	BasicConfig          *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Details of a LabelVideoClassification operation metadata.

func (*LabelVideoClassificationOperationMetadata) Descriptor

func (*LabelVideoClassificationOperationMetadata) Descriptor() ([]byte, []int)

func (*LabelVideoClassificationOperationMetadata) GetBasicConfig

func (*LabelVideoClassificationOperationMetadata) ProtoMessage

func (*LabelVideoClassificationOperationMetadata) Reset

func (*LabelVideoClassificationOperationMetadata) String

func (*LabelVideoClassificationOperationMetadata) XXX_DiscardUnknown

func (m *LabelVideoClassificationOperationMetadata) XXX_DiscardUnknown()

func (*LabelVideoClassificationOperationMetadata) XXX_Marshal

func (m *LabelVideoClassificationOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelVideoClassificationOperationMetadata) XXX_Merge

func (*LabelVideoClassificationOperationMetadata) XXX_Size

func (*LabelVideoClassificationOperationMetadata) XXX_Unmarshal

type LabelVideoEventOperationMetadata

type LabelVideoEventOperationMetadata struct {
	// Basic human annotation config used in labeling request.
	BasicConfig          *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Details of a LabelVideoEvent operation metadata.

func (*LabelVideoEventOperationMetadata) Descriptor

func (*LabelVideoEventOperationMetadata) Descriptor() ([]byte, []int)

func (*LabelVideoEventOperationMetadata) GetBasicConfig

func (*LabelVideoEventOperationMetadata) ProtoMessage

func (*LabelVideoEventOperationMetadata) ProtoMessage()

func (*LabelVideoEventOperationMetadata) Reset

func (*LabelVideoEventOperationMetadata) String

func (*LabelVideoEventOperationMetadata) XXX_DiscardUnknown

func (m *LabelVideoEventOperationMetadata) XXX_DiscardUnknown()

func (*LabelVideoEventOperationMetadata) XXX_Marshal

func (m *LabelVideoEventOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelVideoEventOperationMetadata) XXX_Merge

func (*LabelVideoEventOperationMetadata) XXX_Size

func (m *LabelVideoEventOperationMetadata) XXX_Size() int

func (*LabelVideoEventOperationMetadata) XXX_Unmarshal

func (m *LabelVideoEventOperationMetadata) XXX_Unmarshal(b []byte) error

type LabelVideoObjectDetectionOperationMetadata

type LabelVideoObjectDetectionOperationMetadata struct {
	// Basic human annotation config used in labeling request.
	BasicConfig          *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Details of a LabelVideoObjectDetection operation metadata.

func (*LabelVideoObjectDetectionOperationMetadata) Descriptor

func (*LabelVideoObjectDetectionOperationMetadata) GetBasicConfig

func (*LabelVideoObjectDetectionOperationMetadata) ProtoMessage

func (*LabelVideoObjectDetectionOperationMetadata) Reset

func (*LabelVideoObjectDetectionOperationMetadata) String

func (*LabelVideoObjectDetectionOperationMetadata) XXX_DiscardUnknown

func (m *LabelVideoObjectDetectionOperationMetadata) XXX_DiscardUnknown()

func (*LabelVideoObjectDetectionOperationMetadata) XXX_Marshal

func (m *LabelVideoObjectDetectionOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelVideoObjectDetectionOperationMetadata) XXX_Merge

func (*LabelVideoObjectDetectionOperationMetadata) XXX_Size

func (*LabelVideoObjectDetectionOperationMetadata) XXX_Unmarshal

type LabelVideoObjectTrackingOperationMetadata

type LabelVideoObjectTrackingOperationMetadata struct {
	// Basic human annotation config used in labeling request.
	BasicConfig          *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Details of a LabelVideoObjectTracking operation metadata.

func (*LabelVideoObjectTrackingOperationMetadata) Descriptor

func (*LabelVideoObjectTrackingOperationMetadata) Descriptor() ([]byte, []int)

func (*LabelVideoObjectTrackingOperationMetadata) GetBasicConfig

func (*LabelVideoObjectTrackingOperationMetadata) ProtoMessage

func (*LabelVideoObjectTrackingOperationMetadata) Reset

func (*LabelVideoObjectTrackingOperationMetadata) String

func (*LabelVideoObjectTrackingOperationMetadata) XXX_DiscardUnknown

func (m *LabelVideoObjectTrackingOperationMetadata) XXX_DiscardUnknown()

func (*LabelVideoObjectTrackingOperationMetadata) XXX_Marshal

func (m *LabelVideoObjectTrackingOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelVideoObjectTrackingOperationMetadata) XXX_Merge

func (*LabelVideoObjectTrackingOperationMetadata) XXX_Size

func (*LabelVideoObjectTrackingOperationMetadata) XXX_Unmarshal

type LabelVideoRequest

type LabelVideoRequest struct {
	// Required. Config for labeling tasks. The type of request config must
	// match the selected feature.
	//
	// Types that are valid to be assigned to RequestConfig:
	//	*LabelVideoRequest_VideoClassificationConfig
	//	*LabelVideoRequest_ObjectDetectionConfig
	//	*LabelVideoRequest_ObjectTrackingConfig
	//	*LabelVideoRequest_EventConfig
	RequestConfig isLabelVideoRequest_RequestConfig `protobuf_oneof:"request_config"`
	// Required. Name of the dataset to request labeling task, format:
	// projects/{project_id}/datasets/{dataset_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Basic human annotation config.
	BasicConfig *HumanAnnotationConfig `protobuf:"bytes,2,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	// Required. The type of video labeling task.
	Feature              LabelVideoRequest_Feature `` /* 133-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

Request message for LabelVideo.

func (*LabelVideoRequest) Descriptor

func (*LabelVideoRequest) Descriptor() ([]byte, []int)

func (*LabelVideoRequest) GetBasicConfig

func (m *LabelVideoRequest) GetBasicConfig() *HumanAnnotationConfig

func (*LabelVideoRequest) GetEventConfig

func (m *LabelVideoRequest) GetEventConfig() *EventConfig

func (*LabelVideoRequest) GetFeature

func (*LabelVideoRequest) GetObjectDetectionConfig

func (m *LabelVideoRequest) GetObjectDetectionConfig() *ObjectDetectionConfig

func (*LabelVideoRequest) GetObjectTrackingConfig

func (m *LabelVideoRequest) GetObjectTrackingConfig() *ObjectTrackingConfig

func (*LabelVideoRequest) GetParent

func (m *LabelVideoRequest) GetParent() string

func (*LabelVideoRequest) GetRequestConfig

func (m *LabelVideoRequest) GetRequestConfig() isLabelVideoRequest_RequestConfig

func (*LabelVideoRequest) GetVideoClassificationConfig

func (m *LabelVideoRequest) GetVideoClassificationConfig() *VideoClassificationConfig

func (*LabelVideoRequest) ProtoMessage

func (*LabelVideoRequest) ProtoMessage()

func (*LabelVideoRequest) Reset

func (m *LabelVideoRequest) Reset()

func (*LabelVideoRequest) String

func (m *LabelVideoRequest) String() string

func (*LabelVideoRequest) XXX_DiscardUnknown

func (m *LabelVideoRequest) XXX_DiscardUnknown()

func (*LabelVideoRequest) XXX_Marshal

func (m *LabelVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelVideoRequest) XXX_Merge

func (m *LabelVideoRequest) XXX_Merge(src proto.Message)

func (*LabelVideoRequest) XXX_OneofWrappers

func (*LabelVideoRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*LabelVideoRequest) XXX_Size

func (m *LabelVideoRequest) XXX_Size() int

func (*LabelVideoRequest) XXX_Unmarshal

func (m *LabelVideoRequest) XXX_Unmarshal(b []byte) error

type LabelVideoRequest_EventConfig

type LabelVideoRequest_EventConfig struct {
	EventConfig *EventConfig `protobuf:"bytes,7,opt,name=event_config,json=eventConfig,proto3,oneof"`
}

type LabelVideoRequest_Feature

type LabelVideoRequest_Feature int32

Video labeling task feature.

const (
	LabelVideoRequest_FEATURE_UNSPECIFIED LabelVideoRequest_Feature = 0
	// Label whole video or video segment with one or more labels.
	LabelVideoRequest_CLASSIFICATION LabelVideoRequest_Feature = 1
	// Label objects with bounding box on image frames extracted from the video.
	LabelVideoRequest_OBJECT_DETECTION LabelVideoRequest_Feature = 2
	// Label and track objects in video.
	LabelVideoRequest_OBJECT_TRACKING LabelVideoRequest_Feature = 3
	// Label the range of video for the specified events.
	LabelVideoRequest_EVENT LabelVideoRequest_Feature = 4
)

func (LabelVideoRequest_Feature) EnumDescriptor

func (LabelVideoRequest_Feature) EnumDescriptor() ([]byte, []int)

func (LabelVideoRequest_Feature) String

func (x LabelVideoRequest_Feature) String() string

type LabelVideoRequest_ObjectDetectionConfig

type LabelVideoRequest_ObjectDetectionConfig struct {
	ObjectDetectionConfig *ObjectDetectionConfig `protobuf:"bytes,5,opt,name=object_detection_config,json=objectDetectionConfig,proto3,oneof"`
}

type LabelVideoRequest_ObjectTrackingConfig

type LabelVideoRequest_ObjectTrackingConfig struct {
	ObjectTrackingConfig *ObjectTrackingConfig `protobuf:"bytes,6,opt,name=object_tracking_config,json=objectTrackingConfig,proto3,oneof"`
}

type LabelVideoRequest_VideoClassificationConfig

type LabelVideoRequest_VideoClassificationConfig struct {
	VideoClassificationConfig *VideoClassificationConfig `protobuf:"bytes,4,opt,name=video_classification_config,json=videoClassificationConfig,proto3,oneof"`
}

type ListAnnotatedDatasetsRequest

type ListAnnotatedDatasetsRequest struct {
	// Required. Name of the dataset to list annotated datasets, format:
	// projects/{project_id}/datasets/{dataset_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Filter is not supported at this moment.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Requested page size. Server may return fewer results than
	// requested. Default value is 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results for the server to return.
	// Typically obtained by
	// [ListAnnotatedDatasetsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse.next_page_token] of the previous
	// [DataLabelingService.ListAnnotatedDatasets] call.
	// Return first page if empty.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ListAnnotatedDatasets.

func (*ListAnnotatedDatasetsRequest) Descriptor

func (*ListAnnotatedDatasetsRequest) Descriptor() ([]byte, []int)

func (*ListAnnotatedDatasetsRequest) GetFilter

func (m *ListAnnotatedDatasetsRequest) GetFilter() string

func (*ListAnnotatedDatasetsRequest) GetPageSize

func (m *ListAnnotatedDatasetsRequest) GetPageSize() int32

func (*ListAnnotatedDatasetsRequest) GetPageToken

func (m *ListAnnotatedDatasetsRequest) GetPageToken() string

func (*ListAnnotatedDatasetsRequest) GetParent

func (m *ListAnnotatedDatasetsRequest) GetParent() string

func (*ListAnnotatedDatasetsRequest) ProtoMessage

func (*ListAnnotatedDatasetsRequest) ProtoMessage()

func (*ListAnnotatedDatasetsRequest) Reset

func (m *ListAnnotatedDatasetsRequest) Reset()

func (*ListAnnotatedDatasetsRequest) String

func (*ListAnnotatedDatasetsRequest) XXX_DiscardUnknown

func (m *ListAnnotatedDatasetsRequest) XXX_DiscardUnknown()

func (*ListAnnotatedDatasetsRequest) XXX_Marshal

func (m *ListAnnotatedDatasetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAnnotatedDatasetsRequest) XXX_Merge

func (m *ListAnnotatedDatasetsRequest) XXX_Merge(src proto.Message)

func (*ListAnnotatedDatasetsRequest) XXX_Size

func (m *ListAnnotatedDatasetsRequest) XXX_Size() int

func (*ListAnnotatedDatasetsRequest) XXX_Unmarshal

func (m *ListAnnotatedDatasetsRequest) XXX_Unmarshal(b []byte) error

type ListAnnotatedDatasetsResponse

type ListAnnotatedDatasetsResponse struct {
	// The list of annotated datasets to return.
	AnnotatedDatasets []*AnnotatedDataset `protobuf:"bytes,1,rep,name=annotated_datasets,json=annotatedDatasets,proto3" json:"annotated_datasets,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Results of listing annotated datasets for a dataset.

func (*ListAnnotatedDatasetsResponse) Descriptor

func (*ListAnnotatedDatasetsResponse) Descriptor() ([]byte, []int)

func (*ListAnnotatedDatasetsResponse) GetAnnotatedDatasets

func (m *ListAnnotatedDatasetsResponse) GetAnnotatedDatasets() []*AnnotatedDataset

func (*ListAnnotatedDatasetsResponse) GetNextPageToken

func (m *ListAnnotatedDatasetsResponse) GetNextPageToken() string

func (*ListAnnotatedDatasetsResponse) ProtoMessage

func (*ListAnnotatedDatasetsResponse) ProtoMessage()

func (*ListAnnotatedDatasetsResponse) Reset

func (m *ListAnnotatedDatasetsResponse) Reset()

func (*ListAnnotatedDatasetsResponse) String

func (*ListAnnotatedDatasetsResponse) XXX_DiscardUnknown

func (m *ListAnnotatedDatasetsResponse) XXX_DiscardUnknown()

func (*ListAnnotatedDatasetsResponse) XXX_Marshal

func (m *ListAnnotatedDatasetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAnnotatedDatasetsResponse) XXX_Merge

func (m *ListAnnotatedDatasetsResponse) XXX_Merge(src proto.Message)

func (*ListAnnotatedDatasetsResponse) XXX_Size

func (m *ListAnnotatedDatasetsResponse) XXX_Size() int

func (*ListAnnotatedDatasetsResponse) XXX_Unmarshal

func (m *ListAnnotatedDatasetsResponse) XXX_Unmarshal(b []byte) error

type ListAnnotationSpecSetsRequest

type ListAnnotationSpecSetsRequest struct {
	// Required. Parent of AnnotationSpecSet resource, format:
	// projects/{project_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Filter is not supported at this moment.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Requested page size. Server may return fewer results than
	// requested. Default value is 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results for the server to return.
	// Typically obtained by
	// [ListAnnotationSpecSetsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse.next_page_token] of the previous
	// [DataLabelingService.ListAnnotationSpecSets] call.
	// Return first page if empty.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ListAnnotationSpecSets.

func (*ListAnnotationSpecSetsRequest) Descriptor

func (*ListAnnotationSpecSetsRequest) Descriptor() ([]byte, []int)

func (*ListAnnotationSpecSetsRequest) GetFilter

func (m *ListAnnotationSpecSetsRequest) GetFilter() string

func (*ListAnnotationSpecSetsRequest) GetPageSize

func (m *ListAnnotationSpecSetsRequest) GetPageSize() int32

func (*ListAnnotationSpecSetsRequest) GetPageToken

func (m *ListAnnotationSpecSetsRequest) GetPageToken() string

func (*ListAnnotationSpecSetsRequest) GetParent

func (m *ListAnnotationSpecSetsRequest) GetParent() string

func (*ListAnnotationSpecSetsRequest) ProtoMessage

func (*ListAnnotationSpecSetsRequest) ProtoMessage()

func (*ListAnnotationSpecSetsRequest) Reset

func (m *ListAnnotationSpecSetsRequest) Reset()

func (*ListAnnotationSpecSetsRequest) String

func (*ListAnnotationSpecSetsRequest) XXX_DiscardUnknown

func (m *ListAnnotationSpecSetsRequest) XXX_DiscardUnknown()

func (*ListAnnotationSpecSetsRequest) XXX_Marshal

func (m *ListAnnotationSpecSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAnnotationSpecSetsRequest) XXX_Merge

func (m *ListAnnotationSpecSetsRequest) XXX_Merge(src proto.Message)

func (*ListAnnotationSpecSetsRequest) XXX_Size

func (m *ListAnnotationSpecSetsRequest) XXX_Size() int

func (*ListAnnotationSpecSetsRequest) XXX_Unmarshal

func (m *ListAnnotationSpecSetsRequest) XXX_Unmarshal(b []byte) error

type ListAnnotationSpecSetsResponse

type ListAnnotationSpecSetsResponse struct {
	// The list of annotation spec sets.
	AnnotationSpecSets []*AnnotationSpecSet `protobuf:"bytes,1,rep,name=annotation_spec_sets,json=annotationSpecSets,proto3" json:"annotation_spec_sets,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Results of listing annotation spec set under a project.

func (*ListAnnotationSpecSetsResponse) Descriptor

func (*ListAnnotationSpecSetsResponse) Descriptor() ([]byte, []int)

func (*ListAnnotationSpecSetsResponse) GetAnnotationSpecSets

func (m *ListAnnotationSpecSetsResponse) GetAnnotationSpecSets() []*AnnotationSpecSet

func (*ListAnnotationSpecSetsResponse) GetNextPageToken

func (m *ListAnnotationSpecSetsResponse) GetNextPageToken() string

func (*ListAnnotationSpecSetsResponse) ProtoMessage

func (*ListAnnotationSpecSetsResponse) ProtoMessage()

func (*ListAnnotationSpecSetsResponse) Reset

func (m *ListAnnotationSpecSetsResponse) Reset()

func (*ListAnnotationSpecSetsResponse) String

func (*ListAnnotationSpecSetsResponse) XXX_DiscardUnknown

func (m *ListAnnotationSpecSetsResponse) XXX_DiscardUnknown()

func (*ListAnnotationSpecSetsResponse) XXX_Marshal

func (m *ListAnnotationSpecSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAnnotationSpecSetsResponse) XXX_Merge

func (m *ListAnnotationSpecSetsResponse) XXX_Merge(src proto.Message)

func (*ListAnnotationSpecSetsResponse) XXX_Size

func (m *ListAnnotationSpecSetsResponse) XXX_Size() int

func (*ListAnnotationSpecSetsResponse) XXX_Unmarshal

func (m *ListAnnotationSpecSetsResponse) XXX_Unmarshal(b []byte) error

type ListDataItemsRequest

type ListDataItemsRequest struct {
	// Required. Name of the dataset to list data items, format:
	// projects/{project_id}/datasets/{dataset_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Filter is not supported at this moment.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Requested page size. Server may return fewer results than
	// requested. Default value is 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results for the server to return.
	// Typically obtained by
	// [ListDataItemsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListDataItemsResponse.next_page_token] of the previous
	// [DataLabelingService.ListDataItems] call.
	// Return first page if empty.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ListDataItems.

func (*ListDataItemsRequest) Descriptor

func (*ListDataItemsRequest) Descriptor() ([]byte, []int)

func (*ListDataItemsRequest) GetFilter

func (m *ListDataItemsRequest) GetFilter() string

func (*ListDataItemsRequest) GetPageSize

func (m *ListDataItemsRequest) GetPageSize() int32

func (*ListDataItemsRequest) GetPageToken

func (m *ListDataItemsRequest) GetPageToken() string

func (*ListDataItemsRequest) GetParent

func (m *ListDataItemsRequest) GetParent() string

func (*ListDataItemsRequest) ProtoMessage

func (*ListDataItemsRequest) ProtoMessage()

func (*ListDataItemsRequest) Reset

func (m *ListDataItemsRequest) Reset()

func (*ListDataItemsRequest) String

func (m *ListDataItemsRequest) String() string

func (*ListDataItemsRequest) XXX_DiscardUnknown

func (m *ListDataItemsRequest) XXX_DiscardUnknown()

func (*ListDataItemsRequest) XXX_Marshal

func (m *ListDataItemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDataItemsRequest) XXX_Merge

func (m *ListDataItemsRequest) XXX_Merge(src proto.Message)

func (*ListDataItemsRequest) XXX_Size

func (m *ListDataItemsRequest) XXX_Size() int

func (*ListDataItemsRequest) XXX_Unmarshal

func (m *ListDataItemsRequest) XXX_Unmarshal(b []byte) error

type ListDataItemsResponse

type ListDataItemsResponse struct {
	// The list of data items to return.
	DataItems []*DataItem `protobuf:"bytes,1,rep,name=data_items,json=dataItems,proto3" json:"data_items,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Results of listing data items in a dataset.

func (*ListDataItemsResponse) Descriptor

func (*ListDataItemsResponse) Descriptor() ([]byte, []int)

func (*ListDataItemsResponse) GetDataItems

func (m *ListDataItemsResponse) GetDataItems() []*DataItem

func (*ListDataItemsResponse) GetNextPageToken

func (m *ListDataItemsResponse) GetNextPageToken() string

func (*ListDataItemsResponse) ProtoMessage

func (*ListDataItemsResponse) ProtoMessage()

func (*ListDataItemsResponse) Reset

func (m *ListDataItemsResponse) Reset()

func (*ListDataItemsResponse) String

func (m *ListDataItemsResponse) String() string

func (*ListDataItemsResponse) XXX_DiscardUnknown

func (m *ListDataItemsResponse) XXX_DiscardUnknown()

func (*ListDataItemsResponse) XXX_Marshal

func (m *ListDataItemsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDataItemsResponse) XXX_Merge

func (m *ListDataItemsResponse) XXX_Merge(src proto.Message)

func (*ListDataItemsResponse) XXX_Size

func (m *ListDataItemsResponse) XXX_Size() int

func (*ListDataItemsResponse) XXX_Unmarshal

func (m *ListDataItemsResponse) XXX_Unmarshal(b []byte) error

type ListDatasetsRequest

type ListDatasetsRequest struct {
	// Required. Dataset resource parent, format:
	// projects/{project_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Filter on dataset is not supported at this moment.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Requested page size. Server may return fewer results than
	// requested. Default value is 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results for the server to return.
	// Typically obtained by
	// [ListDatasetsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListDatasetsResponse.next_page_token] of the previous
	// [DataLabelingService.ListDatasets] call.
	// Returns the first page if empty.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ListDataset.

func (*ListDatasetsRequest) Descriptor

func (*ListDatasetsRequest) Descriptor() ([]byte, []int)

func (*ListDatasetsRequest) GetFilter

func (m *ListDatasetsRequest) GetFilter() string

func (*ListDatasetsRequest) GetPageSize

func (m *ListDatasetsRequest) GetPageSize() int32

func (*ListDatasetsRequest) GetPageToken

func (m *ListDatasetsRequest) GetPageToken() string

func (*ListDatasetsRequest) GetParent

func (m *ListDatasetsRequest) GetParent() string

func (*ListDatasetsRequest) ProtoMessage

func (*ListDatasetsRequest) ProtoMessage()

func (*ListDatasetsRequest) Reset

func (m *ListDatasetsRequest) Reset()

func (*ListDatasetsRequest) String

func (m *ListDatasetsRequest) String() string

func (*ListDatasetsRequest) XXX_DiscardUnknown

func (m *ListDatasetsRequest) XXX_DiscardUnknown()

func (*ListDatasetsRequest) XXX_Marshal

func (m *ListDatasetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDatasetsRequest) XXX_Merge

func (m *ListDatasetsRequest) XXX_Merge(src proto.Message)

func (*ListDatasetsRequest) XXX_Size

func (m *ListDatasetsRequest) XXX_Size() int

func (*ListDatasetsRequest) XXX_Unmarshal

func (m *ListDatasetsRequest) XXX_Unmarshal(b []byte) error

type ListDatasetsResponse

type ListDatasetsResponse struct {
	// The list of datasets to return.
	Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Results of listing datasets within a project.

func (*ListDatasetsResponse) Descriptor

func (*ListDatasetsResponse) Descriptor() ([]byte, []int)

func (*ListDatasetsResponse) GetDatasets

func (m *ListDatasetsResponse) GetDatasets() []*Dataset

func (*ListDatasetsResponse) GetNextPageToken

func (m *ListDatasetsResponse) GetNextPageToken() string

func (*ListDatasetsResponse) ProtoMessage

func (*ListDatasetsResponse) ProtoMessage()

func (*ListDatasetsResponse) Reset

func (m *ListDatasetsResponse) Reset()

func (*ListDatasetsResponse) String

func (m *ListDatasetsResponse) String() string

func (*ListDatasetsResponse) XXX_DiscardUnknown

func (m *ListDatasetsResponse) XXX_DiscardUnknown()

func (*ListDatasetsResponse) XXX_Marshal

func (m *ListDatasetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDatasetsResponse) XXX_Merge

func (m *ListDatasetsResponse) XXX_Merge(src proto.Message)

func (*ListDatasetsResponse) XXX_Size

func (m *ListDatasetsResponse) XXX_Size() int

func (*ListDatasetsResponse) XXX_Unmarshal

func (m *ListDatasetsResponse) XXX_Unmarshal(b []byte) error

type ListEvaluationJobsRequest

type ListEvaluationJobsRequest struct {
	// Required. Evaluation job resource parent. Format:
	// "projects/<var>{project_id}</var>"
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. You can filter the jobs to list by model_id (also known as
	// model_name, as described in
	// [EvaluationJob.modelVersion][google.cloud.datalabeling.v1beta1.EvaluationJob.model_version]) or by
	// evaluation job state (as described in [EvaluationJob.state][google.cloud.datalabeling.v1beta1.EvaluationJob.state]). To filter
	// by both criteria, use the `AND` operator or the `OR` operator. For example,
	// you can use the following string for your filter:
	// "evaluation<span>_</span>job.model_id = <var>{model_name}</var> AND
	// evaluation<span>_</span>job.state = <var>{evaluation_job_state}</var>"
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Requested page size. Server may return fewer results than
	// requested. Default value is 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results for the server to return.
	// Typically obtained by the
	// [nextPageToken][google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse.next_page_token] in the response
	// to the previous request. The request returns the first page if this is
	// empty.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ListEvaluationJobs.

func (*ListEvaluationJobsRequest) Descriptor

func (*ListEvaluationJobsRequest) Descriptor() ([]byte, []int)

func (*ListEvaluationJobsRequest) GetFilter

func (m *ListEvaluationJobsRequest) GetFilter() string

func (*ListEvaluationJobsRequest) GetPageSize

func (m *ListEvaluationJobsRequest) GetPageSize() int32

func (*ListEvaluationJobsRequest) GetPageToken

func (m *ListEvaluationJobsRequest) GetPageToken() string

func (*ListEvaluationJobsRequest) GetParent

func (m *ListEvaluationJobsRequest) GetParent() string

func (*ListEvaluationJobsRequest) ProtoMessage

func (*ListEvaluationJobsRequest) ProtoMessage()

func (*ListEvaluationJobsRequest) Reset

func (m *ListEvaluationJobsRequest) Reset()

func (*ListEvaluationJobsRequest) String

func (m *ListEvaluationJobsRequest) String() string

func (*ListEvaluationJobsRequest) XXX_DiscardUnknown

func (m *ListEvaluationJobsRequest) XXX_DiscardUnknown()

func (*ListEvaluationJobsRequest) XXX_Marshal

func (m *ListEvaluationJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEvaluationJobsRequest) XXX_Merge

func (m *ListEvaluationJobsRequest) XXX_Merge(src proto.Message)

func (*ListEvaluationJobsRequest) XXX_Size

func (m *ListEvaluationJobsRequest) XXX_Size() int

func (*ListEvaluationJobsRequest) XXX_Unmarshal

func (m *ListEvaluationJobsRequest) XXX_Unmarshal(b []byte) error

type ListEvaluationJobsResponse

type ListEvaluationJobsResponse struct {
	// The list of evaluation jobs to return.
	EvaluationJobs []*EvaluationJob `protobuf:"bytes,1,rep,name=evaluation_jobs,json=evaluationJobs,proto3" json:"evaluation_jobs,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Results for listing evaluation jobs.

func (*ListEvaluationJobsResponse) Descriptor

func (*ListEvaluationJobsResponse) Descriptor() ([]byte, []int)

func (*ListEvaluationJobsResponse) GetEvaluationJobs

func (m *ListEvaluationJobsResponse) GetEvaluationJobs() []*EvaluationJob

func (*ListEvaluationJobsResponse) GetNextPageToken

func (m *ListEvaluationJobsResponse) GetNextPageToken() string

func (*ListEvaluationJobsResponse) ProtoMessage

func (*ListEvaluationJobsResponse) ProtoMessage()

func (*ListEvaluationJobsResponse) Reset

func (m *ListEvaluationJobsResponse) Reset()

func (*ListEvaluationJobsResponse) String

func (m *ListEvaluationJobsResponse) String() string

func (*ListEvaluationJobsResponse) XXX_DiscardUnknown

func (m *ListEvaluationJobsResponse) XXX_DiscardUnknown()

func (*ListEvaluationJobsResponse) XXX_Marshal

func (m *ListEvaluationJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEvaluationJobsResponse) XXX_Merge

func (m *ListEvaluationJobsResponse) XXX_Merge(src proto.Message)

func (*ListEvaluationJobsResponse) XXX_Size

func (m *ListEvaluationJobsResponse) XXX_Size() int

func (*ListEvaluationJobsResponse) XXX_Unmarshal

func (m *ListEvaluationJobsResponse) XXX_Unmarshal(b []byte) error

type ListExamplesRequest

type ListExamplesRequest struct {
	// Required. Example resource parent.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An expression for filtering Examples. For annotated datasets that
	// have annotation spec set, filter by
	// annotation_spec.display_name is supported. Format
	// "annotation_spec.display_name = {display_name}"
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Requested page size. Server may return fewer results than
	// requested. Default value is 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results for the server to return.
	// Typically obtained by
	// [ListExamplesResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListExamplesResponse.next_page_token] of the previous
	// [DataLabelingService.ListExamples] call.
	// Return first page if empty.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ListExamples.

func (*ListExamplesRequest) Descriptor

func (*ListExamplesRequest) Descriptor() ([]byte, []int)

func (*ListExamplesRequest) GetFilter

func (m *ListExamplesRequest) GetFilter() string

func (*ListExamplesRequest) GetPageSize

func (m *ListExamplesRequest) GetPageSize() int32

func (*ListExamplesRequest) GetPageToken

func (m *ListExamplesRequest) GetPageToken() string

func (*ListExamplesRequest) GetParent

func (m *ListExamplesRequest) GetParent() string

func (*ListExamplesRequest) ProtoMessage

func (*ListExamplesRequest) ProtoMessage()

func (*ListExamplesRequest) Reset

func (m *ListExamplesRequest) Reset()

func (*ListExamplesRequest) String

func (m *ListExamplesRequest) String() string

func (*ListExamplesRequest) XXX_DiscardUnknown

func (m *ListExamplesRequest) XXX_DiscardUnknown()

func (*ListExamplesRequest) XXX_Marshal

func (m *ListExamplesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListExamplesRequest) XXX_Merge

func (m *ListExamplesRequest) XXX_Merge(src proto.Message)

func (*ListExamplesRequest) XXX_Size

func (m *ListExamplesRequest) XXX_Size() int

func (*ListExamplesRequest) XXX_Unmarshal

func (m *ListExamplesRequest) XXX_Unmarshal(b []byte) error

type ListExamplesResponse

type ListExamplesResponse struct {
	// The list of examples to return.
	Examples []*Example `protobuf:"bytes,1,rep,name=examples,proto3" json:"examples,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Results of listing Examples in and annotated dataset.

func (*ListExamplesResponse) Descriptor

func (*ListExamplesResponse) Descriptor() ([]byte, []int)

func (*ListExamplesResponse) GetExamples

func (m *ListExamplesResponse) GetExamples() []*Example

func (*ListExamplesResponse) GetNextPageToken

func (m *ListExamplesResponse) GetNextPageToken() string

func (*ListExamplesResponse) ProtoMessage

func (*ListExamplesResponse) ProtoMessage()

func (*ListExamplesResponse) Reset

func (m *ListExamplesResponse) Reset()

func (*ListExamplesResponse) String

func (m *ListExamplesResponse) String() string

func (*ListExamplesResponse) XXX_DiscardUnknown

func (m *ListExamplesResponse) XXX_DiscardUnknown()

func (*ListExamplesResponse) XXX_Marshal

func (m *ListExamplesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListExamplesResponse) XXX_Merge

func (m *ListExamplesResponse) XXX_Merge(src proto.Message)

func (*ListExamplesResponse) XXX_Size

func (m *ListExamplesResponse) XXX_Size() int

func (*ListExamplesResponse) XXX_Unmarshal

func (m *ListExamplesResponse) XXX_Unmarshal(b []byte) error

type ListInstructionsRequest

type ListInstructionsRequest struct {
	// Required. Instruction resource parent, format:
	// projects/{project_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Filter is not supported at this moment.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Requested page size. Server may return fewer results than
	// requested. Default value is 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results for the server to return.
	// Typically obtained by
	// [ListInstructionsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListInstructionsResponse.next_page_token] of the previous
	// [DataLabelingService.ListInstructions] call.
	// Return first page if empty.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ListInstructions.

func (*ListInstructionsRequest) Descriptor

func (*ListInstructionsRequest) Descriptor() ([]byte, []int)

func (*ListInstructionsRequest) GetFilter

func (m *ListInstructionsRequest) GetFilter() string

func (*ListInstructionsRequest) GetPageSize

func (m *ListInstructionsRequest) GetPageSize() int32

func (*ListInstructionsRequest) GetPageToken

func (m *ListInstructionsRequest) GetPageToken() string

func (*ListInstructionsRequest) GetParent

func (m *ListInstructionsRequest) GetParent() string

func (*ListInstructionsRequest) ProtoMessage

func (*ListInstructionsRequest) ProtoMessage()

func (*ListInstructionsRequest) Reset

func (m *ListInstructionsRequest) Reset()

func (*ListInstructionsRequest) String

func (m *ListInstructionsRequest) String() string

func (*ListInstructionsRequest) XXX_DiscardUnknown

func (m *ListInstructionsRequest) XXX_DiscardUnknown()

func (*ListInstructionsRequest) XXX_Marshal

func (m *ListInstructionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListInstructionsRequest) XXX_Merge

func (m *ListInstructionsRequest) XXX_Merge(src proto.Message)

func (*ListInstructionsRequest) XXX_Size

func (m *ListInstructionsRequest) XXX_Size() int

func (*ListInstructionsRequest) XXX_Unmarshal

func (m *ListInstructionsRequest) XXX_Unmarshal(b []byte) error

type ListInstructionsResponse

type ListInstructionsResponse struct {
	// The list of Instructions to return.
	Instructions []*Instruction `protobuf:"bytes,1,rep,name=instructions,proto3" json:"instructions,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Results of listing instructions under a project.

func (*ListInstructionsResponse) Descriptor

func (*ListInstructionsResponse) Descriptor() ([]byte, []int)

func (*ListInstructionsResponse) GetInstructions

func (m *ListInstructionsResponse) GetInstructions() []*Instruction

func (*ListInstructionsResponse) GetNextPageToken

func (m *ListInstructionsResponse) GetNextPageToken() string

func (*ListInstructionsResponse) ProtoMessage

func (*ListInstructionsResponse) ProtoMessage()

func (*ListInstructionsResponse) Reset

func (m *ListInstructionsResponse) Reset()

func (*ListInstructionsResponse) String

func (m *ListInstructionsResponse) String() string

func (*ListInstructionsResponse) XXX_DiscardUnknown

func (m *ListInstructionsResponse) XXX_DiscardUnknown()

func (*ListInstructionsResponse) XXX_Marshal

func (m *ListInstructionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListInstructionsResponse) XXX_Merge

func (m *ListInstructionsResponse) XXX_Merge(src proto.Message)

func (*ListInstructionsResponse) XXX_Size

func (m *ListInstructionsResponse) XXX_Size() int

func (*ListInstructionsResponse) XXX_Unmarshal

func (m *ListInstructionsResponse) XXX_Unmarshal(b []byte) error

type NormalizedBoundingPoly

type NormalizedBoundingPoly struct {
	// The bounding polygon normalized vertices.
	NormalizedVertices   []*NormalizedVertex `protobuf:"bytes,1,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Normalized bounding polygon.

func (*NormalizedBoundingPoly) Descriptor

func (*NormalizedBoundingPoly) Descriptor() ([]byte, []int)

func (*NormalizedBoundingPoly) GetNormalizedVertices

func (m *NormalizedBoundingPoly) GetNormalizedVertices() []*NormalizedVertex

func (*NormalizedBoundingPoly) ProtoMessage

func (*NormalizedBoundingPoly) ProtoMessage()

func (*NormalizedBoundingPoly) Reset

func (m *NormalizedBoundingPoly) Reset()

func (*NormalizedBoundingPoly) String

func (m *NormalizedBoundingPoly) String() string

func (*NormalizedBoundingPoly) XXX_DiscardUnknown

func (m *NormalizedBoundingPoly) XXX_DiscardUnknown()

func (*NormalizedBoundingPoly) XXX_Marshal

func (m *NormalizedBoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NormalizedBoundingPoly) XXX_Merge

func (m *NormalizedBoundingPoly) XXX_Merge(src proto.Message)

func (*NormalizedBoundingPoly) XXX_Size

func (m *NormalizedBoundingPoly) XXX_Size() int

func (*NormalizedBoundingPoly) XXX_Unmarshal

func (m *NormalizedBoundingPoly) XXX_Unmarshal(b []byte) error

type NormalizedPolyline

type NormalizedPolyline struct {
	// The normalized polyline vertices.
	NormalizedVertices   []*NormalizedVertex `protobuf:"bytes,1,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Normalized polyline.

func (*NormalizedPolyline) Descriptor

func (*NormalizedPolyline) Descriptor() ([]byte, []int)

func (*NormalizedPolyline) GetNormalizedVertices

func (m *NormalizedPolyline) GetNormalizedVertices() []*NormalizedVertex

func (*NormalizedPolyline) ProtoMessage

func (*NormalizedPolyline) ProtoMessage()

func (*NormalizedPolyline) Reset

func (m *NormalizedPolyline) Reset()

func (*NormalizedPolyline) String

func (m *NormalizedPolyline) String() string

func (*NormalizedPolyline) XXX_DiscardUnknown

func (m *NormalizedPolyline) XXX_DiscardUnknown()

func (*NormalizedPolyline) XXX_Marshal

func (m *NormalizedPolyline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NormalizedPolyline) XXX_Merge

func (m *NormalizedPolyline) XXX_Merge(src proto.Message)

func (*NormalizedPolyline) XXX_Size

func (m *NormalizedPolyline) XXX_Size() int

func (*NormalizedPolyline) XXX_Unmarshal

func (m *NormalizedPolyline) XXX_Unmarshal(b []byte) error

type NormalizedVertex

type NormalizedVertex struct {
	// X coordinate.
	X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
	// Y coordinate.
	Y                    float32  `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.

func (*NormalizedVertex) Descriptor

func (*NormalizedVertex) Descriptor() ([]byte, []int)

func (*NormalizedVertex) GetX

func (m *NormalizedVertex) GetX() float32

func (*NormalizedVertex) GetY

func (m *NormalizedVertex) GetY() float32

func (*NormalizedVertex) ProtoMessage

func (*NormalizedVertex) ProtoMessage()

func (*NormalizedVertex) Reset

func (m *NormalizedVertex) Reset()

func (*NormalizedVertex) String

func (m *NormalizedVertex) String() string

func (*NormalizedVertex) XXX_DiscardUnknown

func (m *NormalizedVertex) XXX_DiscardUnknown()

func (*NormalizedVertex) XXX_Marshal

func (m *NormalizedVertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NormalizedVertex) XXX_Merge

func (m *NormalizedVertex) XXX_Merge(src proto.Message)

func (*NormalizedVertex) XXX_Size

func (m *NormalizedVertex) XXX_Size() int

func (*NormalizedVertex) XXX_Unmarshal

func (m *NormalizedVertex) XXX_Unmarshal(b []byte) error

type ObjectDetectionConfig

type ObjectDetectionConfig 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"`
	// Required. Number of frames per second to be extracted from the video.
	ExtractionFrameRate  float64  `protobuf:"fixed64,3,opt,name=extraction_frame_rate,json=extractionFrameRate,proto3" json:"extraction_frame_rate,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for video object detection human labeling task. Object detection will be conducted on the images extracted from the video, and those objects will be labeled with bounding boxes. User need to specify the number of images to be extracted per second as the extraction frame rate.

func (*ObjectDetectionConfig) Descriptor

func (*ObjectDetectionConfig) Descriptor() ([]byte, []int)

func (*ObjectDetectionConfig) GetAnnotationSpecSet

func (m *ObjectDetectionConfig) GetAnnotationSpecSet() string

func (*ObjectDetectionConfig) GetExtractionFrameRate

func (m *ObjectDetectionConfig) GetExtractionFrameRate() float64

func (*ObjectDetectionConfig) ProtoMessage

func (*ObjectDetectionConfig) ProtoMessage()

func (*ObjectDetectionConfig) Reset

func (m *ObjectDetectionConfig) Reset()

func (*ObjectDetectionConfig) String

func (m *ObjectDetectionConfig) String() string

func (*ObjectDetectionConfig) XXX_DiscardUnknown

func (m *ObjectDetectionConfig) XXX_DiscardUnknown()

func (*ObjectDetectionConfig) XXX_Marshal

func (m *ObjectDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectDetectionConfig) XXX_Merge

func (m *ObjectDetectionConfig) XXX_Merge(src proto.Message)

func (*ObjectDetectionConfig) XXX_Size

func (m *ObjectDetectionConfig) XXX_Size() int

func (*ObjectDetectionConfig) XXX_Unmarshal

func (m *ObjectDetectionConfig) XXX_Unmarshal(b []byte) error

type ObjectDetectionMetrics

type ObjectDetectionMetrics struct {
	// Precision-recall curve.
	PrCurve              *PrCurve `protobuf:"bytes,1,opt,name=pr_curve,json=prCurve,proto3" json:"pr_curve,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Metrics calculated for an image object detection (bounding box) model.

func (*ObjectDetectionMetrics) Descriptor

func (*ObjectDetectionMetrics) Descriptor() ([]byte, []int)

func (*ObjectDetectionMetrics) GetPrCurve

func (m *ObjectDetectionMetrics) GetPrCurve() *PrCurve

func (*ObjectDetectionMetrics) ProtoMessage

func (*ObjectDetectionMetrics) ProtoMessage()

func (*ObjectDetectionMetrics) Reset

func (m *ObjectDetectionMetrics) Reset()

func (*ObjectDetectionMetrics) String

func (m *ObjectDetectionMetrics) String() string

func (*ObjectDetectionMetrics) XXX_DiscardUnknown

func (m *ObjectDetectionMetrics) XXX_DiscardUnknown()

func (*ObjectDetectionMetrics) XXX_Marshal

func (m *ObjectDetectionMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectDetectionMetrics) XXX_Merge

func (m *ObjectDetectionMetrics) XXX_Merge(src proto.Message)

func (*ObjectDetectionMetrics) XXX_Size

func (m *ObjectDetectionMetrics) XXX_Size() int

func (*ObjectDetectionMetrics) XXX_Unmarshal

func (m *ObjectDetectionMetrics) XXX_Unmarshal(b []byte) error

type ObjectTrackingConfig

type ObjectTrackingConfig 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for video object tracking human labeling task.

func (*ObjectTrackingConfig) Descriptor

func (*ObjectTrackingConfig) Descriptor() ([]byte, []int)

func (*ObjectTrackingConfig) GetAnnotationSpecSet

func (m *ObjectTrackingConfig) GetAnnotationSpecSet() string

func (*ObjectTrackingConfig) ProtoMessage

func (*ObjectTrackingConfig) ProtoMessage()

func (*ObjectTrackingConfig) Reset

func (m *ObjectTrackingConfig) Reset()

func (*ObjectTrackingConfig) String

func (m *ObjectTrackingConfig) String() string

func (*ObjectTrackingConfig) XXX_DiscardUnknown

func (m *ObjectTrackingConfig) XXX_DiscardUnknown()

func (*ObjectTrackingConfig) XXX_Marshal

func (m *ObjectTrackingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectTrackingConfig) XXX_Merge

func (m *ObjectTrackingConfig) XXX_Merge(src proto.Message)

func (*ObjectTrackingConfig) XXX_Size

func (m *ObjectTrackingConfig) XXX_Size() int

func (*ObjectTrackingConfig) XXX_Unmarshal

func (m *ObjectTrackingConfig) XXX_Unmarshal(b []byte) error

type ObjectTrackingFrame

type ObjectTrackingFrame struct {
	// The bounding box location of this object track for the frame.
	//
	// Types that are valid to be assigned to BoundedArea:
	//	*ObjectTrackingFrame_BoundingPoly
	//	*ObjectTrackingFrame_NormalizedBoundingPoly
	BoundedArea isObjectTrackingFrame_BoundedArea `protobuf_oneof:"bounded_area"`
	// The time offset of this frame relative to the beginning of the video.
	TimeOffset           *duration.Duration `protobuf:"bytes,3,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Video frame level annotation for object detection and tracking.

func (*ObjectTrackingFrame) Descriptor

func (*ObjectTrackingFrame) Descriptor() ([]byte, []int)

func (*ObjectTrackingFrame) GetBoundedArea

func (m *ObjectTrackingFrame) GetBoundedArea() isObjectTrackingFrame_BoundedArea

func (*ObjectTrackingFrame) GetBoundingPoly

func (m *ObjectTrackingFrame) GetBoundingPoly() *BoundingPoly

func (*ObjectTrackingFrame) GetNormalizedBoundingPoly

func (m *ObjectTrackingFrame) GetNormalizedBoundingPoly() *NormalizedBoundingPoly

func (*ObjectTrackingFrame) GetTimeOffset

func (m *ObjectTrackingFrame) GetTimeOffset() *duration.Duration

func (*ObjectTrackingFrame) ProtoMessage

func (*ObjectTrackingFrame) ProtoMessage()

func (*ObjectTrackingFrame) Reset

func (m *ObjectTrackingFrame) Reset()

func (*ObjectTrackingFrame) String

func (m *ObjectTrackingFrame) String() string

func (*ObjectTrackingFrame) XXX_DiscardUnknown

func (m *ObjectTrackingFrame) XXX_DiscardUnknown()

func (*ObjectTrackingFrame) XXX_Marshal

func (m *ObjectTrackingFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectTrackingFrame) XXX_Merge

func (m *ObjectTrackingFrame) XXX_Merge(src proto.Message)

func (*ObjectTrackingFrame) XXX_OneofWrappers

func (*ObjectTrackingFrame) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ObjectTrackingFrame) XXX_Size

func (m *ObjectTrackingFrame) XXX_Size() int

func (*ObjectTrackingFrame) XXX_Unmarshal

func (m *ObjectTrackingFrame) XXX_Unmarshal(b []byte) error

type ObjectTrackingFrame_BoundingPoly

type ObjectTrackingFrame_BoundingPoly struct {
	BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3,oneof"`
}

type ObjectTrackingFrame_NormalizedBoundingPoly

type ObjectTrackingFrame_NormalizedBoundingPoly struct {
	NormalizedBoundingPoly *NormalizedBoundingPoly `protobuf:"bytes,2,opt,name=normalized_bounding_poly,json=normalizedBoundingPoly,proto3,oneof"`
}

type OperatorMetadata

type OperatorMetadata struct {
	// Confidence score corresponding to a label. For examle, if 3 contributors
	// have answered the question and 2 of them agree on the final label, the
	// confidence score will be 0.67 (2/3).
	Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"`
	// The total number of contributors that answer this question.
	TotalVotes int32 `protobuf:"varint,2,opt,name=total_votes,json=totalVotes,proto3" json:"total_votes,omitempty"`
	// The total number of contributors that choose this label.
	LabelVotes int32 `protobuf:"varint,3,opt,name=label_votes,json=labelVotes,proto3" json:"label_votes,omitempty"`
	// Comments from contributors.
	Comments             []string `protobuf:"bytes,4,rep,name=comments,proto3" json:"comments,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

General information useful for labels coming from contributors.

func (*OperatorMetadata) Descriptor

func (*OperatorMetadata) Descriptor() ([]byte, []int)

func (*OperatorMetadata) GetComments

func (m *OperatorMetadata) GetComments() []string

func (*OperatorMetadata) GetLabelVotes

func (m *OperatorMetadata) GetLabelVotes() int32

func (*OperatorMetadata) GetScore

func (m *OperatorMetadata) GetScore() float32

func (*OperatorMetadata) GetTotalVotes

func (m *OperatorMetadata) GetTotalVotes() int32

func (*OperatorMetadata) ProtoMessage

func (*OperatorMetadata) ProtoMessage()

func (*OperatorMetadata) Reset

func (m *OperatorMetadata) Reset()

func (*OperatorMetadata) String

func (m *OperatorMetadata) String() string

func (*OperatorMetadata) XXX_DiscardUnknown

func (m *OperatorMetadata) XXX_DiscardUnknown()

func (*OperatorMetadata) XXX_Marshal

func (m *OperatorMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OperatorMetadata) XXX_Merge

func (m *OperatorMetadata) XXX_Merge(src proto.Message)

func (*OperatorMetadata) XXX_Size

func (m *OperatorMetadata) XXX_Size() int

func (*OperatorMetadata) XXX_Unmarshal

func (m *OperatorMetadata) XXX_Unmarshal(b []byte) error

type OutputConfig

type OutputConfig struct {
	// Required. Location to output data to.
	//
	// Types that are valid to be assigned to Destination:
	//	*OutputConfig_GcsDestination
	//	*OutputConfig_GcsFolderDestination
	Destination          isOutputConfig_Destination `protobuf_oneof:"destination"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

The configuration of output data.

func (*OutputConfig) Descriptor

func (*OutputConfig) Descriptor() ([]byte, []int)

func (*OutputConfig) GetDestination

func (m *OutputConfig) GetDestination() isOutputConfig_Destination

func (*OutputConfig) GetGcsDestination

func (m *OutputConfig) GetGcsDestination() *GcsDestination

func (*OutputConfig) GetGcsFolderDestination

func (m *OutputConfig) GetGcsFolderDestination() *GcsFolderDestination

func (*OutputConfig) ProtoMessage

func (*OutputConfig) ProtoMessage()

func (*OutputConfig) Reset

func (m *OutputConfig) Reset()

func (*OutputConfig) String

func (m *OutputConfig) String() string

func (*OutputConfig) XXX_DiscardUnknown

func (m *OutputConfig) XXX_DiscardUnknown()

func (*OutputConfig) XXX_Marshal

func (m *OutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputConfig) XXX_Merge

func (m *OutputConfig) XXX_Merge(src proto.Message)

func (*OutputConfig) XXX_OneofWrappers

func (*OutputConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*OutputConfig) XXX_Size

func (m *OutputConfig) XXX_Size() int

func (*OutputConfig) XXX_Unmarshal

func (m *OutputConfig) XXX_Unmarshal(b []byte) error

type OutputConfig_GcsDestination

type OutputConfig_GcsDestination struct {
	GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
}

type OutputConfig_GcsFolderDestination

type OutputConfig_GcsFolderDestination struct {
	GcsFolderDestination *GcsFolderDestination `protobuf:"bytes,2,opt,name=gcs_folder_destination,json=gcsFolderDestination,proto3,oneof"`
}

type PauseEvaluationJobRequest

type PauseEvaluationJobRequest struct {
	// Required. Name of the evaluation job that is going to be paused. Format:
	//
	// "projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for PauseEvaluationJob.

func (*PauseEvaluationJobRequest) Descriptor

func (*PauseEvaluationJobRequest) Descriptor() ([]byte, []int)

func (*PauseEvaluationJobRequest) GetName

func (m *PauseEvaluationJobRequest) GetName() string

func (*PauseEvaluationJobRequest) ProtoMessage

func (*PauseEvaluationJobRequest) ProtoMessage()

func (*PauseEvaluationJobRequest) Reset

func (m *PauseEvaluationJobRequest) Reset()

func (*PauseEvaluationJobRequest) String

func (m *PauseEvaluationJobRequest) String() string

func (*PauseEvaluationJobRequest) XXX_DiscardUnknown

func (m *PauseEvaluationJobRequest) XXX_DiscardUnknown()

func (*PauseEvaluationJobRequest) XXX_Marshal

func (m *PauseEvaluationJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PauseEvaluationJobRequest) XXX_Merge

func (m *PauseEvaluationJobRequest) XXX_Merge(src proto.Message)

func (*PauseEvaluationJobRequest) XXX_Size

func (m *PauseEvaluationJobRequest) XXX_Size() int

func (*PauseEvaluationJobRequest) XXX_Unmarshal

func (m *PauseEvaluationJobRequest) XXX_Unmarshal(b []byte) error

type PdfInstruction

type PdfInstruction struct {
	// PDF 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Instruction from a PDF file.

func (*PdfInstruction) Descriptor

func (*PdfInstruction) Descriptor() ([]byte, []int)

func (*PdfInstruction) GetGcsFileUri

func (m *PdfInstruction) GetGcsFileUri() string

func (*PdfInstruction) ProtoMessage

func (*PdfInstruction) ProtoMessage()

func (*PdfInstruction) Reset

func (m *PdfInstruction) Reset()

func (*PdfInstruction) String

func (m *PdfInstruction) String() string

func (*PdfInstruction) XXX_DiscardUnknown

func (m *PdfInstruction) XXX_DiscardUnknown()

func (*PdfInstruction) XXX_Marshal

func (m *PdfInstruction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PdfInstruction) XXX_Merge

func (m *PdfInstruction) XXX_Merge(src proto.Message)

func (*PdfInstruction) XXX_Size

func (m *PdfInstruction) XXX_Size() int

func (*PdfInstruction) XXX_Unmarshal

func (m *PdfInstruction) XXX_Unmarshal(b []byte) error

type Polyline

type Polyline struct {
	// The polyline vertices.
	Vertices             []*Vertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

A line with multiple line segments.

func (*Polyline) Descriptor

func (*Polyline) Descriptor() ([]byte, []int)

func (*Polyline) GetVertices

func (m *Polyline) GetVertices() []*Vertex

func (*Polyline) ProtoMessage

func (*Polyline) ProtoMessage()

func (*Polyline) Reset

func (m *Polyline) Reset()

func (*Polyline) String

func (m *Polyline) String() string

func (*Polyline) XXX_DiscardUnknown

func (m *Polyline) XXX_DiscardUnknown()

func (*Polyline) XXX_Marshal

func (m *Polyline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Polyline) XXX_Merge

func (m *Polyline) XXX_Merge(src proto.Message)

func (*Polyline) XXX_Size

func (m *Polyline) XXX_Size() int

func (*Polyline) XXX_Unmarshal

func (m *Polyline) XXX_Unmarshal(b []byte) error

type PolylineConfig

type PolylineConfig 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for image polyline human labeling task.

func (*PolylineConfig) Descriptor

func (*PolylineConfig) Descriptor() ([]byte, []int)

func (*PolylineConfig) GetAnnotationSpecSet

func (m *PolylineConfig) GetAnnotationSpecSet() string

func (*PolylineConfig) GetInstructionMessage

func (m *PolylineConfig) GetInstructionMessage() string

func (*PolylineConfig) ProtoMessage

func (*PolylineConfig) ProtoMessage()

func (*PolylineConfig) Reset

func (m *PolylineConfig) Reset()

func (*PolylineConfig) String

func (m *PolylineConfig) String() string

func (*PolylineConfig) XXX_DiscardUnknown

func (m *PolylineConfig) XXX_DiscardUnknown()

func (*PolylineConfig) XXX_Marshal

func (m *PolylineConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PolylineConfig) XXX_Merge

func (m *PolylineConfig) XXX_Merge(src proto.Message)

func (*PolylineConfig) XXX_Size

func (m *PolylineConfig) XXX_Size() int

func (*PolylineConfig) XXX_Unmarshal

func (m *PolylineConfig) XXX_Unmarshal(b []byte) error

type PrCurve

type PrCurve struct {
	// The annotation spec of the label for which the precision-recall curve
	// calculated. If this field is empty, that means the precision-recall curve
	// is an aggregate curve for all labels.
	AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"`
	// Area under the precision-recall curve. Not to be confused with area under
	// a receiver operating characteristic (ROC) curve.
	AreaUnderCurve float32 `protobuf:"fixed32,2,opt,name=area_under_curve,json=areaUnderCurve,proto3" json:"area_under_curve,omitempty"`
	// Entries that make up the precision-recall graph. Each entry is a "point" on
	// the graph drawn for a different `confidence_threshold`.
	ConfidenceMetricsEntries []*PrCurve_ConfidenceMetricsEntry `` /* 135-byte string literal not displayed */
	// Mean average prcision of this curve.
	MeanAveragePrecision float32  `protobuf:"fixed32,4,opt,name=mean_average_precision,json=meanAveragePrecision,proto3" json:"mean_average_precision,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrCurve) Descriptor

func (*PrCurve) Descriptor() ([]byte, []int)

func (*PrCurve) GetAnnotationSpec

func (m *PrCurve) GetAnnotationSpec() *AnnotationSpec

func (*PrCurve) GetAreaUnderCurve

func (m *PrCurve) GetAreaUnderCurve() float32

func (*PrCurve) GetConfidenceMetricsEntries

func (m *PrCurve) GetConfidenceMetricsEntries() []*PrCurve_ConfidenceMetricsEntry

func (*PrCurve) GetMeanAveragePrecision

func (m *PrCurve) GetMeanAveragePrecision() float32

func (*PrCurve) ProtoMessage

func (*PrCurve) ProtoMessage()

func (*PrCurve) Reset

func (m *PrCurve) Reset()

func (*PrCurve) String

func (m *PrCurve) String() string

func (*PrCurve) XXX_DiscardUnknown

func (m *PrCurve) XXX_DiscardUnknown()

func (*PrCurve) XXX_Marshal

func (m *PrCurve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrCurve) XXX_Merge

func (m *PrCurve) XXX_Merge(src proto.Message)

func (*PrCurve) XXX_Size

func (m *PrCurve) XXX_Size() int

func (*PrCurve) XXX_Unmarshal

func (m *PrCurve) XXX_Unmarshal(b []byte) error

type PrCurve_ConfidenceMetricsEntry

type PrCurve_ConfidenceMetricsEntry struct {
	// Threshold used for this entry.
	//
	// For classification tasks, this is a classification threshold: a
	// predicted label is categorized as positive or negative (in the context of
	// this point on the PR curve) based on whether the label's score meets this
	// threshold.
	//
	// For image object detection (bounding box) tasks, this is the
	// [intersection-over-union
	//
	// (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union)
	// threshold for the context of this point on the PR curve.
	ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"`
	// Recall value.
	Recall float32 `protobuf:"fixed32,2,opt,name=recall,proto3" json:"recall,omitempty"`
	// Precision value.
	Precision float32 `protobuf:"fixed32,3,opt,name=precision,proto3" json:"precision,omitempty"`
	// Harmonic mean of recall and precision.
	F1Score float32 `protobuf:"fixed32,4,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"`
	// Recall value for entries with label that has highest score.
	RecallAt1 float32 `protobuf:"fixed32,5,opt,name=recall_at1,json=recallAt1,proto3" json:"recall_at1,omitempty"`
	// Precision value for entries with label that has highest score.
	PrecisionAt1 float32 `protobuf:"fixed32,6,opt,name=precision_at1,json=precisionAt1,proto3" json:"precision_at1,omitempty"`
	// The harmonic mean of [recall_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at1].
	F1ScoreAt1 float32 `protobuf:"fixed32,7,opt,name=f1_score_at1,json=f1ScoreAt1,proto3" json:"f1_score_at1,omitempty"`
	// Recall value for entries with label that has highest 5 scores.
	RecallAt5 float32 `protobuf:"fixed32,8,opt,name=recall_at5,json=recallAt5,proto3" json:"recall_at5,omitempty"`
	// Precision value for entries with label that has highest 5 scores.
	PrecisionAt5 float32 `protobuf:"fixed32,9,opt,name=precision_at5,json=precisionAt5,proto3" json:"precision_at5,omitempty"`
	// The harmonic mean of [recall_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at5] and [precision_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at5].
	F1ScoreAt5           float32  `protobuf:"fixed32,10,opt,name=f1_score_at5,json=f1ScoreAt5,proto3" json:"f1_score_at5,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrCurve_ConfidenceMetricsEntry) Descriptor

func (*PrCurve_ConfidenceMetricsEntry) Descriptor() ([]byte, []int)

func (*PrCurve_ConfidenceMetricsEntry) GetConfidenceThreshold

func (m *PrCurve_ConfidenceMetricsEntry) GetConfidenceThreshold() float32

func (*PrCurve_ConfidenceMetricsEntry) GetF1Score

func (m *PrCurve_ConfidenceMetricsEntry) GetF1Score() float32

func (*PrCurve_ConfidenceMetricsEntry) GetF1ScoreAt1

func (m *PrCurve_ConfidenceMetricsEntry) GetF1ScoreAt1() float32

func (*PrCurve_ConfidenceMetricsEntry) GetF1ScoreAt5

func (m *PrCurve_ConfidenceMetricsEntry) GetF1ScoreAt5() float32

func (*PrCurve_ConfidenceMetricsEntry) GetPrecision

func (m *PrCurve_ConfidenceMetricsEntry) GetPrecision() float32

func (*PrCurve_ConfidenceMetricsEntry) GetPrecisionAt1

func (m *PrCurve_ConfidenceMetricsEntry) GetPrecisionAt1() float32

func (*PrCurve_ConfidenceMetricsEntry) GetPrecisionAt5

func (m *PrCurve_ConfidenceMetricsEntry) GetPrecisionAt5() float32

func (*PrCurve_ConfidenceMetricsEntry) GetRecall

func (m *PrCurve_ConfidenceMetricsEntry) GetRecall() float32

func (*PrCurve_ConfidenceMetricsEntry) GetRecallAt1

func (m *PrCurve_ConfidenceMetricsEntry) GetRecallAt1() float32

func (*PrCurve_ConfidenceMetricsEntry) GetRecallAt5

func (m *PrCurve_ConfidenceMetricsEntry) GetRecallAt5() float32

func (*PrCurve_ConfidenceMetricsEntry) ProtoMessage

func (*PrCurve_ConfidenceMetricsEntry) ProtoMessage()

func (*PrCurve_ConfidenceMetricsEntry) Reset

func (m *PrCurve_ConfidenceMetricsEntry) Reset()

func (*PrCurve_ConfidenceMetricsEntry) String

func (*PrCurve_ConfidenceMetricsEntry) XXX_DiscardUnknown

func (m *PrCurve_ConfidenceMetricsEntry) XXX_DiscardUnknown()

func (*PrCurve_ConfidenceMetricsEntry) XXX_Marshal

func (m *PrCurve_ConfidenceMetricsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrCurve_ConfidenceMetricsEntry) XXX_Merge

func (m *PrCurve_ConfidenceMetricsEntry) XXX_Merge(src proto.Message)

func (*PrCurve_ConfidenceMetricsEntry) XXX_Size

func (m *PrCurve_ConfidenceMetricsEntry) XXX_Size() int

func (*PrCurve_ConfidenceMetricsEntry) XXX_Unmarshal

func (m *PrCurve_ConfidenceMetricsEntry) XXX_Unmarshal(b []byte) error

type ResumeEvaluationJobRequest

type ResumeEvaluationJobRequest struct {
	// Required. Name of the evaluation job that is going to be resumed. Format:
	//
	// "projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message ResumeEvaluationJob.

func (*ResumeEvaluationJobRequest) Descriptor

func (*ResumeEvaluationJobRequest) Descriptor() ([]byte, []int)

func (*ResumeEvaluationJobRequest) GetName

func (m *ResumeEvaluationJobRequest) GetName() string

func (*ResumeEvaluationJobRequest) ProtoMessage

func (*ResumeEvaluationJobRequest) ProtoMessage()

func (*ResumeEvaluationJobRequest) Reset

func (m *ResumeEvaluationJobRequest) Reset()

func (*ResumeEvaluationJobRequest) String

func (m *ResumeEvaluationJobRequest) String() string

func (*ResumeEvaluationJobRequest) XXX_DiscardUnknown

func (m *ResumeEvaluationJobRequest) XXX_DiscardUnknown()

func (*ResumeEvaluationJobRequest) XXX_Marshal

func (m *ResumeEvaluationJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResumeEvaluationJobRequest) XXX_Merge

func (m *ResumeEvaluationJobRequest) XXX_Merge(src proto.Message)

func (*ResumeEvaluationJobRequest) XXX_Size

func (m *ResumeEvaluationJobRequest) XXX_Size() int

func (*ResumeEvaluationJobRequest) XXX_Unmarshal

func (m *ResumeEvaluationJobRequest) XXX_Unmarshal(b []byte) error

type SearchEvaluationsRequest

type SearchEvaluationsRequest struct {
	// Required. Evaluation search parent (project ID). Format:
	// "projects/<var>{project_id}</var>"
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. To search evaluations, you can filter by the following:
	//
	// * evaluation<span>_</span>job.evaluation_job_id (the last part of
	//   [EvaluationJob.name][google.cloud.datalabeling.v1beta1.EvaluationJob.name])
	// * evaluation<span>_</span>job.model_id (the <var>{model_name}</var> portion
	//   of [EvaluationJob.modelVersion][google.cloud.datalabeling.v1beta1.EvaluationJob.model_version])
	// * evaluation<span>_</span>job.evaluation_job_run_time_start (Minimum
	//   threshold for the
	//   [evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time] that created
	//   the evaluation)
	// * evaluation<span>_</span>job.evaluation_job_run_time_end (Maximum
	//   threshold for the
	//   [evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time] that created
	//   the evaluation)
	// * evaluation<span>_</span>job.job_state ([EvaluationJob.state][google.cloud.datalabeling.v1beta1.EvaluationJob.state])
	// * annotation<span>_</span>spec.display_name (the Evaluation contains a
	//   metric for the annotation spec with this
	//   [displayName][google.cloud.datalabeling.v1beta1.AnnotationSpec.display_name])
	//
	// To filter by multiple critiera, use the `AND` operator or the `OR`
	// operator. The following examples shows a string that filters by several
	// critiera:
	//
	// "evaluation<span>_</span>job.evaluation_job_id =
	// <var>{evaluation_job_id}</var> AND evaluation<span>_</span>job.model_id =
	// <var>{model_name}</var> AND
	// evaluation<span>_</span>job.evaluation_job_run_time_start =
	// <var>{timestamp_1}</var> AND
	// evaluation<span>_</span>job.evaluation_job_run_time_end =
	// <var>{timestamp_2}</var> AND annotation<span>_</span>spec.display_name =
	// <var>{display_name}</var>"
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Requested page size. Server may return fewer results than
	// requested. Default value is 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results for the server to return.
	// Typically obtained by the
	// [nextPageToken][google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse.next_page_token] of the response
	// to a previous search request.
	//
	// If you don't specify this field, the API call requests the first page of
	// the search.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for SearchEvaluation.

func (*SearchEvaluationsRequest) Descriptor

func (*SearchEvaluationsRequest) Descriptor() ([]byte, []int)

func (*SearchEvaluationsRequest) GetFilter

func (m *SearchEvaluationsRequest) GetFilter() string

func (*SearchEvaluationsRequest) GetPageSize

func (m *SearchEvaluationsRequest) GetPageSize() int32

func (*SearchEvaluationsRequest) GetPageToken

func (m *SearchEvaluationsRequest) GetPageToken() string

func (*SearchEvaluationsRequest) GetParent

func (m *SearchEvaluationsRequest) GetParent() string

func (*SearchEvaluationsRequest) ProtoMessage

func (*SearchEvaluationsRequest) ProtoMessage()

func (*SearchEvaluationsRequest) Reset

func (m *SearchEvaluationsRequest) Reset()

func (*SearchEvaluationsRequest) String

func (m *SearchEvaluationsRequest) String() string

func (*SearchEvaluationsRequest) XXX_DiscardUnknown

func (m *SearchEvaluationsRequest) XXX_DiscardUnknown()

func (*SearchEvaluationsRequest) XXX_Marshal

func (m *SearchEvaluationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchEvaluationsRequest) XXX_Merge

func (m *SearchEvaluationsRequest) XXX_Merge(src proto.Message)

func (*SearchEvaluationsRequest) XXX_Size

func (m *SearchEvaluationsRequest) XXX_Size() int

func (*SearchEvaluationsRequest) XXX_Unmarshal

func (m *SearchEvaluationsRequest) XXX_Unmarshal(b []byte) error

type SearchEvaluationsResponse

type SearchEvaluationsResponse struct {
	// The list of evaluations matching the search.
	Evaluations []*Evaluation `protobuf:"bytes,1,rep,name=evaluations,proto3" json:"evaluations,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Results of searching evaluations.

func (*SearchEvaluationsResponse) Descriptor

func (*SearchEvaluationsResponse) Descriptor() ([]byte, []int)

func (*SearchEvaluationsResponse) GetEvaluations

func (m *SearchEvaluationsResponse) GetEvaluations() []*Evaluation

func (*SearchEvaluationsResponse) GetNextPageToken

func (m *SearchEvaluationsResponse) GetNextPageToken() string

func (*SearchEvaluationsResponse) ProtoMessage

func (*SearchEvaluationsResponse) ProtoMessage()

func (*SearchEvaluationsResponse) Reset

func (m *SearchEvaluationsResponse) Reset()

func (*SearchEvaluationsResponse) String

func (m *SearchEvaluationsResponse) String() string

func (*SearchEvaluationsResponse) XXX_DiscardUnknown

func (m *SearchEvaluationsResponse) XXX_DiscardUnknown()

func (*SearchEvaluationsResponse) XXX_Marshal

func (m *SearchEvaluationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchEvaluationsResponse) XXX_Merge

func (m *SearchEvaluationsResponse) XXX_Merge(src proto.Message)

func (*SearchEvaluationsResponse) XXX_Size

func (m *SearchEvaluationsResponse) XXX_Size() int

func (*SearchEvaluationsResponse) XXX_Unmarshal

func (m *SearchEvaluationsResponse) XXX_Unmarshal(b []byte) error

type SearchExampleComparisonsRequest

type SearchExampleComparisonsRequest struct {
	// Required. Name of the [Evaluation][google.cloud.datalabeling.v1beta1.Evaluation] resource to search for example
	// comparisons from. Format:
	//
	// "projects/<var>{project_id}</var>/datasets/<var>{dataset_id}</var>/evaluations/<var>{evaluation_id}</var>"
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. Server may return fewer results than
	// requested. Default value is 100.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results for the server to return.
	// Typically obtained by the
	// [nextPageToken][SearchExampleComparisons.next_page_token] of the response
	// to a previous search rquest.
	//
	// If you don't specify this field, the API call requests the first page of
	// the search.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message of SearchExampleComparisons.

func (*SearchExampleComparisonsRequest) Descriptor

func (*SearchExampleComparisonsRequest) Descriptor() ([]byte, []int)

func (*SearchExampleComparisonsRequest) GetPageSize

func (m *SearchExampleComparisonsRequest) GetPageSize() int32

func (*SearchExampleComparisonsRequest) GetPageToken

func (m *SearchExampleComparisonsRequest) GetPageToken() string

func (*SearchExampleComparisonsRequest) GetParent

func (m *SearchExampleComparisonsRequest) GetParent() string

func (*SearchExampleComparisonsRequest) ProtoMessage

func (*SearchExampleComparisonsRequest) ProtoMessage()

func (*SearchExampleComparisonsRequest) Reset

func (*SearchExampleComparisonsRequest) String

func (*SearchExampleComparisonsRequest) XXX_DiscardUnknown

func (m *SearchExampleComparisonsRequest) XXX_DiscardUnknown()

func (*SearchExampleComparisonsRequest) XXX_Marshal

func (m *SearchExampleComparisonsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchExampleComparisonsRequest) XXX_Merge

func (m *SearchExampleComparisonsRequest) XXX_Merge(src proto.Message)

func (*SearchExampleComparisonsRequest) XXX_Size

func (m *SearchExampleComparisonsRequest) XXX_Size() int

func (*SearchExampleComparisonsRequest) XXX_Unmarshal

func (m *SearchExampleComparisonsRequest) XXX_Unmarshal(b []byte) error

type SearchExampleComparisonsResponse

type SearchExampleComparisonsResponse struct {
	// A list of example comparisons matching the search criteria.
	ExampleComparisons []*SearchExampleComparisonsResponse_ExampleComparison `protobuf:"bytes,1,rep,name=example_comparisons,json=exampleComparisons,proto3" json:"example_comparisons,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Results of searching example comparisons.

func (*SearchExampleComparisonsResponse) Descriptor

func (*SearchExampleComparisonsResponse) Descriptor() ([]byte, []int)

func (*SearchExampleComparisonsResponse) GetExampleComparisons

func (*SearchExampleComparisonsResponse) GetNextPageToken

func (m *SearchExampleComparisonsResponse) GetNextPageToken() string

func (*SearchExampleComparisonsResponse) ProtoMessage

func (*SearchExampleComparisonsResponse) ProtoMessage()

func (*SearchExampleComparisonsResponse) Reset

func (*SearchExampleComparisonsResponse) String

func (*SearchExampleComparisonsResponse) XXX_DiscardUnknown

func (m *SearchExampleComparisonsResponse) XXX_DiscardUnknown()

func (*SearchExampleComparisonsResponse) XXX_Marshal

func (m *SearchExampleComparisonsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchExampleComparisonsResponse) XXX_Merge

func (*SearchExampleComparisonsResponse) XXX_Size

func (m *SearchExampleComparisonsResponse) XXX_Size() int

func (*SearchExampleComparisonsResponse) XXX_Unmarshal

func (m *SearchExampleComparisonsResponse) XXX_Unmarshal(b []byte) error

type SearchExampleComparisonsResponse_ExampleComparison

type SearchExampleComparisonsResponse_ExampleComparison struct {
	// The ground truth output for the input.
	GroundTruthExample *Example `protobuf:"bytes,1,opt,name=ground_truth_example,json=groundTruthExample,proto3" json:"ground_truth_example,omitempty"`
	// Predictions by the model for the input.
	ModelCreatedExamples []*Example `protobuf:"bytes,2,rep,name=model_created_examples,json=modelCreatedExamples,proto3" json:"model_created_examples,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Example comparisons comparing ground truth output and predictions for a specific input.

func (*SearchExampleComparisonsResponse_ExampleComparison) Descriptor

func (*SearchExampleComparisonsResponse_ExampleComparison) GetGroundTruthExample

func (m *SearchExampleComparisonsResponse_ExampleComparison) GetGroundTruthExample() *Example

func (*SearchExampleComparisonsResponse_ExampleComparison) GetModelCreatedExamples

func (m *SearchExampleComparisonsResponse_ExampleComparison) GetModelCreatedExamples() []*Example

func (*SearchExampleComparisonsResponse_ExampleComparison) ProtoMessage

func (*SearchExampleComparisonsResponse_ExampleComparison) Reset

func (*SearchExampleComparisonsResponse_ExampleComparison) String

func (*SearchExampleComparisonsResponse_ExampleComparison) XXX_DiscardUnknown

func (*SearchExampleComparisonsResponse_ExampleComparison) XXX_Marshal

func (m *SearchExampleComparisonsResponse_ExampleComparison) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchExampleComparisonsResponse_ExampleComparison) XXX_Merge

func (*SearchExampleComparisonsResponse_ExampleComparison) XXX_Size

func (*SearchExampleComparisonsResponse_ExampleComparison) XXX_Unmarshal

type SegmentationConfig

type SegmentationConfig struct {
	// Required. Annotation spec set resource name. format:
	// projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
	AnnotationSpecSet string `protobuf:"bytes,1,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"`
	// Instruction message showed on labelers UI.
	InstructionMessage   string   `protobuf:"bytes,2,opt,name=instruction_message,json=instructionMessage,proto3" json:"instruction_message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for image segmentation

func (*SegmentationConfig) Descriptor

func (*SegmentationConfig) Descriptor() ([]byte, []int)

func (*SegmentationConfig) GetAnnotationSpecSet

func (m *SegmentationConfig) GetAnnotationSpecSet() string

func (*SegmentationConfig) GetInstructionMessage

func (m *SegmentationConfig) GetInstructionMessage() string

func (*SegmentationConfig) ProtoMessage

func (*SegmentationConfig) ProtoMessage()

func (*SegmentationConfig) Reset

func (m *SegmentationConfig) Reset()

func (*SegmentationConfig) String

func (m *SegmentationConfig) String() string

func (*SegmentationConfig) XXX_DiscardUnknown

func (m *SegmentationConfig) XXX_DiscardUnknown()

func (*SegmentationConfig) XXX_Marshal

func (m *SegmentationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SegmentationConfig) XXX_Merge

func (m *SegmentationConfig) XXX_Merge(src proto.Message)

func (*SegmentationConfig) XXX_Size

func (m *SegmentationConfig) XXX_Size() int

func (*SegmentationConfig) XXX_Unmarshal

func (m *SegmentationConfig) XXX_Unmarshal(b []byte) error

type SentimentConfig

type SentimentConfig struct {
	// If set to true, contributors will have the option to select sentiment of
	// the label they selected, to mark it as negative or positive label. Default
	// is false.
	EnableLabelSentimentSelection bool     `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral          struct{} `json:"-"`
	XXX_unrecognized              []byte   `json:"-"`
	XXX_sizecache                 int32    `json:"-"`
}

Config for setting up sentiments.

func (*SentimentConfig) Descriptor

func (*SentimentConfig) Descriptor() ([]byte, []int)

func (*SentimentConfig) GetEnableLabelSentimentSelection

func (m *SentimentConfig) GetEnableLabelSentimentSelection() bool

func (*SentimentConfig) ProtoMessage

func (*SentimentConfig) ProtoMessage()

func (*SentimentConfig) Reset

func (m *SentimentConfig) Reset()

func (*SentimentConfig) String

func (m *SentimentConfig) String() string

func (*SentimentConfig) XXX_DiscardUnknown

func (m *SentimentConfig) XXX_DiscardUnknown()

func (*SentimentConfig) XXX_Marshal

func (m *SentimentConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SentimentConfig) XXX_Merge

func (m *SentimentConfig) XXX_Merge(src proto.Message)

func (*SentimentConfig) XXX_Size

func (m *SentimentConfig) XXX_Size() int

func (*SentimentConfig) XXX_Unmarshal

func (m *SentimentConfig) XXX_Unmarshal(b []byte) error

type SequentialSegment

type SequentialSegment struct {
	// Start position (inclusive).
	Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// End position (exclusive).
	End                  int32    `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Start and end position in a sequence (e.g. text segment).

func (*SequentialSegment) Descriptor

func (*SequentialSegment) Descriptor() ([]byte, []int)

func (*SequentialSegment) GetEnd

func (m *SequentialSegment) GetEnd() int32

func (*SequentialSegment) GetStart

func (m *SequentialSegment) GetStart() int32

func (*SequentialSegment) ProtoMessage

func (*SequentialSegment) ProtoMessage()

func (*SequentialSegment) Reset

func (m *SequentialSegment) Reset()

func (*SequentialSegment) String

func (m *SequentialSegment) String() string

func (*SequentialSegment) XXX_DiscardUnknown

func (m *SequentialSegment) XXX_DiscardUnknown()

func (*SequentialSegment) XXX_Marshal

func (m *SequentialSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SequentialSegment) XXX_Merge

func (m *SequentialSegment) XXX_Merge(src proto.Message)

func (*SequentialSegment) XXX_Size

func (m *SequentialSegment) XXX_Size() int

func (*SequentialSegment) XXX_Unmarshal

func (m *SequentialSegment) XXX_Unmarshal(b []byte) error

type StringAggregationType

type StringAggregationType int32
const (
	StringAggregationType_STRING_AGGREGATION_TYPE_UNSPECIFIED StringAggregationType = 0
	// Majority vote to aggregate answers.
	StringAggregationType_MAJORITY_VOTE StringAggregationType = 1
	// Unanimous answers will be adopted.
	StringAggregationType_UNANIMOUS_VOTE StringAggregationType = 2
	// Preserve all answers by crowd compute.
	StringAggregationType_NO_AGGREGATION StringAggregationType = 3
)

func (StringAggregationType) EnumDescriptor

func (StringAggregationType) EnumDescriptor() ([]byte, []int)

func (StringAggregationType) String

func (x StringAggregationType) String() string

type TextClassificationAnnotation

type TextClassificationAnnotation struct {
	// Label of the text.
	AnnotationSpec       *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Text classification annotation.

func (*TextClassificationAnnotation) Descriptor

func (*TextClassificationAnnotation) Descriptor() ([]byte, []int)

func (*TextClassificationAnnotation) GetAnnotationSpec

func (m *TextClassificationAnnotation) GetAnnotationSpec() *AnnotationSpec

func (*TextClassificationAnnotation) ProtoMessage

func (*TextClassificationAnnotation) ProtoMessage()

func (*TextClassificationAnnotation) Reset

func (m *TextClassificationAnnotation) Reset()

func (*TextClassificationAnnotation) String

func (*TextClassificationAnnotation) XXX_DiscardUnknown

func (m *TextClassificationAnnotation) XXX_DiscardUnknown()

func (*TextClassificationAnnotation) XXX_Marshal

func (m *TextClassificationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextClassificationAnnotation) XXX_Merge

func (m *TextClassificationAnnotation) XXX_Merge(src proto.Message)

func (*TextClassificationAnnotation) XXX_Size

func (m *TextClassificationAnnotation) XXX_Size() int

func (*TextClassificationAnnotation) XXX_Unmarshal

func (m *TextClassificationAnnotation) XXX_Unmarshal(b []byte) error

type TextClassificationConfig

type TextClassificationConfig struct {
	// Optional. If allow_multi_label is true, contributors are able to choose
	// multiple labels for one text segment.
	AllowMultiLabel bool `protobuf:"varint,1,opt,name=allow_multi_label,json=allowMultiLabel,proto3" json:"allow_multi_label,omitempty"`
	// Required. Annotation spec set resource name.
	AnnotationSpecSet string `protobuf:"bytes,2,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"`
	// Optional. Configs for sentiment selection.
	SentimentConfig      *SentimentConfig `protobuf:"bytes,3,opt,name=sentiment_config,json=sentimentConfig,proto3" json:"sentiment_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Config for text classification human labeling task.

func (*TextClassificationConfig) Descriptor

func (*TextClassificationConfig) Descriptor() ([]byte, []int)

func (*TextClassificationConfig) GetAllowMultiLabel

func (m *TextClassificationConfig) GetAllowMultiLabel() bool

func (*TextClassificationConfig) GetAnnotationSpecSet

func (m *TextClassificationConfig) GetAnnotationSpecSet() string

func (*TextClassificationConfig) GetSentimentConfig

func (m *TextClassificationConfig) GetSentimentConfig() *SentimentConfig

func (*TextClassificationConfig) ProtoMessage

func (*TextClassificationConfig) ProtoMessage()

func (*TextClassificationConfig) Reset

func (m *TextClassificationConfig) Reset()

func (*TextClassificationConfig) String

func (m *TextClassificationConfig) String() string

func (*TextClassificationConfig) XXX_DiscardUnknown

func (m *TextClassificationConfig) XXX_DiscardUnknown()

func (*TextClassificationConfig) XXX_Marshal

func (m *TextClassificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextClassificationConfig) XXX_Merge

func (m *TextClassificationConfig) XXX_Merge(src proto.Message)

func (*TextClassificationConfig) XXX_Size

func (m *TextClassificationConfig) XXX_Size() int

func (*TextClassificationConfig) XXX_Unmarshal

func (m *TextClassificationConfig) XXX_Unmarshal(b []byte) error

type TextEntityExtractionAnnotation

type TextEntityExtractionAnnotation struct {
	// Label of the text entities.
	AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"`
	// Position of the entity.
	SequentialSegment    *SequentialSegment `protobuf:"bytes,2,opt,name=sequential_segment,json=sequentialSegment,proto3" json:"sequential_segment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Text entity extraction annotation.

func (*TextEntityExtractionAnnotation) Descriptor

func (*TextEntityExtractionAnnotation) Descriptor() ([]byte, []int)

func (*TextEntityExtractionAnnotation) GetAnnotationSpec

func (m *TextEntityExtractionAnnotation) GetAnnotationSpec() *AnnotationSpec

func (*TextEntityExtractionAnnotation) GetSequentialSegment

func (m *TextEntityExtractionAnnotation) GetSequentialSegment() *SequentialSegment

func (*TextEntityExtractionAnnotation) ProtoMessage

func (*TextEntityExtractionAnnotation) ProtoMessage()

func (*TextEntityExtractionAnnotation) Reset

func (m *TextEntityExtractionAnnotation) Reset()

func (*TextEntityExtractionAnnotation) String

func (*TextEntityExtractionAnnotation) XXX_DiscardUnknown

func (m *TextEntityExtractionAnnotation) XXX_DiscardUnknown()

func (*TextEntityExtractionAnnotation) XXX_Marshal

func (m *TextEntityExtractionAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextEntityExtractionAnnotation) XXX_Merge

func (m *TextEntityExtractionAnnotation) XXX_Merge(src proto.Message)

func (*TextEntityExtractionAnnotation) XXX_Size

func (m *TextEntityExtractionAnnotation) XXX_Size() int

func (*TextEntityExtractionAnnotation) XXX_Unmarshal

func (m *TextEntityExtractionAnnotation) XXX_Unmarshal(b []byte) error

type TextEntityExtractionConfig

type TextEntityExtractionConfig 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for text entity extraction human labeling task.

func (*TextEntityExtractionConfig) Descriptor

func (*TextEntityExtractionConfig) Descriptor() ([]byte, []int)

func (*TextEntityExtractionConfig) GetAnnotationSpecSet

func (m *TextEntityExtractionConfig) GetAnnotationSpecSet() string

func (*TextEntityExtractionConfig) ProtoMessage

func (*TextEntityExtractionConfig) ProtoMessage()

func (*TextEntityExtractionConfig) Reset

func (m *TextEntityExtractionConfig) Reset()

func (*TextEntityExtractionConfig) String

func (m *TextEntityExtractionConfig) String() string

func (*TextEntityExtractionConfig) XXX_DiscardUnknown

func (m *TextEntityExtractionConfig) XXX_DiscardUnknown()

func (*TextEntityExtractionConfig) XXX_Marshal

func (m *TextEntityExtractionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextEntityExtractionConfig) XXX_Merge

func (m *TextEntityExtractionConfig) XXX_Merge(src proto.Message)

func (*TextEntityExtractionConfig) XXX_Size

func (m *TextEntityExtractionConfig) XXX_Size() int

func (*TextEntityExtractionConfig) XXX_Unmarshal

func (m *TextEntityExtractionConfig) XXX_Unmarshal(b []byte) error

type TextMetadata

type TextMetadata struct {
	// The language of this text, as a
	// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).
	// Default value is en-US.
	LanguageCode         string   `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Metadata for the text.

func (*TextMetadata) Descriptor

func (*TextMetadata) Descriptor() ([]byte, []int)

func (*TextMetadata) GetLanguageCode

func (m *TextMetadata) GetLanguageCode() string

func (*TextMetadata) ProtoMessage

func (*TextMetadata) ProtoMessage()

func (*TextMetadata) Reset

func (m *TextMetadata) Reset()

func (*TextMetadata) String

func (m *TextMetadata) String() string

func (*TextMetadata) XXX_DiscardUnknown

func (m *TextMetadata) XXX_DiscardUnknown()

func (*TextMetadata) XXX_Marshal

func (m *TextMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextMetadata) XXX_Merge

func (m *TextMetadata) XXX_Merge(src proto.Message)

func (*TextMetadata) XXX_Size

func (m *TextMetadata) XXX_Size() int

func (*TextMetadata) XXX_Unmarshal

func (m *TextMetadata) XXX_Unmarshal(b []byte) error

type TextPayload

type TextPayload struct {
	// Text content.
	TextContent          string   `protobuf:"bytes,1,opt,name=text_content,json=textContent,proto3" json:"text_content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Container of information about a piece of text.

func (*TextPayload) Descriptor

func (*TextPayload) Descriptor() ([]byte, []int)

func (*TextPayload) GetTextContent

func (m *TextPayload) GetTextContent() string

func (*TextPayload) ProtoMessage

func (*TextPayload) ProtoMessage()

func (*TextPayload) Reset

func (m *TextPayload) Reset()

func (*TextPayload) String

func (m *TextPayload) String() string

func (*TextPayload) XXX_DiscardUnknown

func (m *TextPayload) XXX_DiscardUnknown()

func (*TextPayload) XXX_Marshal

func (m *TextPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextPayload) XXX_Merge

func (m *TextPayload) XXX_Merge(src proto.Message)

func (*TextPayload) XXX_Size

func (m *TextPayload) XXX_Size() int

func (*TextPayload) XXX_Unmarshal

func (m *TextPayload) XXX_Unmarshal(b []byte) error

type TimeSegment

type TimeSegment struct {
	// Start of the time segment (inclusive), represented as the duration since
	// the example start.
	StartTimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
	// End of the time segment (exclusive), represented as the duration since the
	// example start.
	EndTimeOffset        *duration.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A time period inside of an example that has a time dimension (e.g. video).

func (*TimeSegment) Descriptor

func (*TimeSegment) Descriptor() ([]byte, []int)

func (*TimeSegment) GetEndTimeOffset

func (m *TimeSegment) GetEndTimeOffset() *duration.Duration

func (*TimeSegment) GetStartTimeOffset

func (m *TimeSegment) GetStartTimeOffset() *duration.Duration

func (*TimeSegment) ProtoMessage

func (*TimeSegment) ProtoMessage()

func (*TimeSegment) Reset

func (m *TimeSegment) Reset()

func (*TimeSegment) String

func (m *TimeSegment) String() string

func (*TimeSegment) XXX_DiscardUnknown

func (m *TimeSegment) XXX_DiscardUnknown()

func (*TimeSegment) XXX_Marshal

func (m *TimeSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeSegment) XXX_Merge

func (m *TimeSegment) XXX_Merge(src proto.Message)

func (*TimeSegment) XXX_Size

func (m *TimeSegment) XXX_Size() int

func (*TimeSegment) XXX_Unmarshal

func (m *TimeSegment) XXX_Unmarshal(b []byte) error

type UnimplementedDataLabelingServiceServer

type UnimplementedDataLabelingServiceServer struct {
}

UnimplementedDataLabelingServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDataLabelingServiceServer) CreateAnnotationSpecSet

func (*UnimplementedDataLabelingServiceServer) CreateDataset

func (*UnimplementedDataLabelingServiceServer) CreateEvaluationJob

func (*UnimplementedDataLabelingServiceServer) CreateInstruction

func (*UnimplementedDataLabelingServiceServer) DeleteAnnotatedDataset

func (*UnimplementedDataLabelingServiceServer) DeleteAnnotationSpecSet

func (*UnimplementedDataLabelingServiceServer) DeleteDataset

func (*UnimplementedDataLabelingServiceServer) DeleteEvaluationJob

func (*UnimplementedDataLabelingServiceServer) DeleteInstruction

func (*UnimplementedDataLabelingServiceServer) ExportData

func (*UnimplementedDataLabelingServiceServer) GetAnnotatedDataset

func (*UnimplementedDataLabelingServiceServer) GetAnnotationSpecSet

func (*UnimplementedDataLabelingServiceServer) GetDataItem

func (*UnimplementedDataLabelingServiceServer) GetDataset

func (*UnimplementedDataLabelingServiceServer) GetEvaluation

func (*UnimplementedDataLabelingServiceServer) GetEvaluationJob

func (*UnimplementedDataLabelingServiceServer) GetExample

func (*UnimplementedDataLabelingServiceServer) GetInstruction

func (*UnimplementedDataLabelingServiceServer) ImportData

func (*UnimplementedDataLabelingServiceServer) LabelImage

func (*UnimplementedDataLabelingServiceServer) LabelText

func (*UnimplementedDataLabelingServiceServer) LabelVideo

func (*UnimplementedDataLabelingServiceServer) ListAnnotatedDatasets

func (*UnimplementedDataLabelingServiceServer) ListAnnotationSpecSets

func (*UnimplementedDataLabelingServiceServer) ListDataItems

func (*UnimplementedDataLabelingServiceServer) ListDatasets

func (*UnimplementedDataLabelingServiceServer) ListEvaluationJobs

func (*UnimplementedDataLabelingServiceServer) ListExamples

func (*UnimplementedDataLabelingServiceServer) ListInstructions

func (*UnimplementedDataLabelingServiceServer) PauseEvaluationJob

func (*UnimplementedDataLabelingServiceServer) ResumeEvaluationJob

func (*UnimplementedDataLabelingServiceServer) SearchEvaluations

func (*UnimplementedDataLabelingServiceServer) SearchExampleComparisons

func (*UnimplementedDataLabelingServiceServer) UpdateEvaluationJob

type UpdateEvaluationJobRequest

type UpdateEvaluationJobRequest struct {
	// Required. Evaluation job that is going to be updated.
	EvaluationJob *EvaluationJob `protobuf:"bytes,1,opt,name=evaluation_job,json=evaluationJob,proto3" json:"evaluation_job,omitempty"`
	// Optional. Mask for which fields to update. You can only provide the
	// following fields:
	//
	// * `evaluationJobConfig.humanAnnotationConfig.instruction`
	// * `evaluationJobConfig.exampleCount`
	// * `evaluationJobConfig.exampleSamplePercentage`
	//
	// You can provide more than one of these fields by separating them with
	// commas.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request message for UpdateEvaluationJob.

func (*UpdateEvaluationJobRequest) Descriptor

func (*UpdateEvaluationJobRequest) Descriptor() ([]byte, []int)

func (*UpdateEvaluationJobRequest) GetEvaluationJob

func (m *UpdateEvaluationJobRequest) GetEvaluationJob() *EvaluationJob

func (*UpdateEvaluationJobRequest) GetUpdateMask

func (m *UpdateEvaluationJobRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateEvaluationJobRequest) ProtoMessage

func (*UpdateEvaluationJobRequest) ProtoMessage()

func (*UpdateEvaluationJobRequest) Reset

func (m *UpdateEvaluationJobRequest) Reset()

func (*UpdateEvaluationJobRequest) String

func (m *UpdateEvaluationJobRequest) String() string

func (*UpdateEvaluationJobRequest) XXX_DiscardUnknown

func (m *UpdateEvaluationJobRequest) XXX_DiscardUnknown()

func (*UpdateEvaluationJobRequest) XXX_Marshal

func (m *UpdateEvaluationJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateEvaluationJobRequest) XXX_Merge

func (m *UpdateEvaluationJobRequest) XXX_Merge(src proto.Message)

func (*UpdateEvaluationJobRequest) XXX_Size

func (m *UpdateEvaluationJobRequest) XXX_Size() int

func (*UpdateEvaluationJobRequest) XXX_Unmarshal

func (m *UpdateEvaluationJobRequest) XXX_Unmarshal(b []byte) error

type Vertex

type Vertex struct {
	// X coordinate.
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	// Y coordinate.
	Y                    int32    `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.

func (*Vertex) Descriptor

func (*Vertex) Descriptor() ([]byte, []int)

func (*Vertex) GetX

func (m *Vertex) GetX() int32

func (*Vertex) GetY

func (m *Vertex) GetY() int32

func (*Vertex) ProtoMessage

func (*Vertex) ProtoMessage()

func (*Vertex) Reset

func (m *Vertex) Reset()

func (*Vertex) String

func (m *Vertex) String() string

func (*Vertex) XXX_DiscardUnknown

func (m *Vertex) XXX_DiscardUnknown()

func (*Vertex) XXX_Marshal

func (m *Vertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Vertex) XXX_Merge

func (m *Vertex) XXX_Merge(src proto.Message)

func (*Vertex) XXX_Size

func (m *Vertex) XXX_Size() int

func (*Vertex) XXX_Unmarshal

func (m *Vertex) XXX_Unmarshal(b []byte) error

type VideoClassificationAnnotation

type VideoClassificationAnnotation struct {
	// The time segment of the video to which the annotation applies.
	TimeSegment *TimeSegment `protobuf:"bytes,1,opt,name=time_segment,json=timeSegment,proto3" json:"time_segment,omitempty"`
	// Label of the segment specified by time_segment.
	AnnotationSpec       *AnnotationSpec `protobuf:"bytes,2,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Video classification annotation.

func (*VideoClassificationAnnotation) Descriptor

func (*VideoClassificationAnnotation) Descriptor() ([]byte, []int)

func (*VideoClassificationAnnotation) GetAnnotationSpec

func (m *VideoClassificationAnnotation) GetAnnotationSpec() *AnnotationSpec

func (*VideoClassificationAnnotation) GetTimeSegment

func (m *VideoClassificationAnnotation) GetTimeSegment() *TimeSegment

func (*VideoClassificationAnnotation) ProtoMessage

func (*VideoClassificationAnnotation) ProtoMessage()

func (*VideoClassificationAnnotation) Reset

func (m *VideoClassificationAnnotation) Reset()

func (*VideoClassificationAnnotation) String

func (*VideoClassificationAnnotation) XXX_DiscardUnknown

func (m *VideoClassificationAnnotation) XXX_DiscardUnknown()

func (*VideoClassificationAnnotation) XXX_Marshal

func (m *VideoClassificationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoClassificationAnnotation) XXX_Merge

func (m *VideoClassificationAnnotation) XXX_Merge(src proto.Message)

func (*VideoClassificationAnnotation) XXX_Size

func (m *VideoClassificationAnnotation) XXX_Size() int

func (*VideoClassificationAnnotation) XXX_Unmarshal

func (m *VideoClassificationAnnotation) XXX_Unmarshal(b []byte) error

type VideoClassificationConfig

type VideoClassificationConfig struct {
	// Required. The list of annotation spec set configs.
	// Since watching a video clip takes much longer time than an image, we
	// support label with multiple AnnotationSpecSet at the same time. Labels
	// in each AnnotationSpecSet will be shown in a group to contributors.
	// Contributors can select one or more (depending on whether to allow multi
	// label) from each group.
	AnnotationSpecSetConfigs []*VideoClassificationConfig_AnnotationSpecSetConfig `` /* 137-byte string literal not displayed */
	// Optional. Option to apply shot detection on the video.
	ApplyShotDetection   bool     `protobuf:"varint,2,opt,name=apply_shot_detection,json=applyShotDetection,proto3" json:"apply_shot_detection,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for video classification human labeling task. Currently two types of video classification are supported: 1. Assign labels on the entire video. 2. Split the video into multiple video clips based on camera shot, and assign labels on each video clip.

func (*VideoClassificationConfig) Descriptor

func (*VideoClassificationConfig) Descriptor() ([]byte, []int)

func (*VideoClassificationConfig) GetAnnotationSpecSetConfigs

func (*VideoClassificationConfig) GetApplyShotDetection

func (m *VideoClassificationConfig) GetApplyShotDetection() bool

func (*VideoClassificationConfig) ProtoMessage

func (*VideoClassificationConfig) ProtoMessage()

func (*VideoClassificationConfig) Reset

func (m *VideoClassificationConfig) Reset()

func (*VideoClassificationConfig) String

func (m *VideoClassificationConfig) String() string

func (*VideoClassificationConfig) XXX_DiscardUnknown

func (m *VideoClassificationConfig) XXX_DiscardUnknown()

func (*VideoClassificationConfig) XXX_Marshal

func (m *VideoClassificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoClassificationConfig) XXX_Merge

func (m *VideoClassificationConfig) XXX_Merge(src proto.Message)

func (*VideoClassificationConfig) XXX_Size

func (m *VideoClassificationConfig) XXX_Size() int

func (*VideoClassificationConfig) XXX_Unmarshal

func (m *VideoClassificationConfig) XXX_Unmarshal(b []byte) error

type VideoClassificationConfig_AnnotationSpecSetConfig

type VideoClassificationConfig_AnnotationSpecSetConfig 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. If allow_multi_label is true, contributors are able to
	// choose multiple labels from one annotation spec set.
	AllowMultiLabel      bool     `protobuf:"varint,2,opt,name=allow_multi_label,json=allowMultiLabel,proto3" json:"allow_multi_label,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Annotation spec set with the setting of allowing multi labels or not.

func (*VideoClassificationConfig_AnnotationSpecSetConfig) Descriptor

func (*VideoClassificationConfig_AnnotationSpecSetConfig) GetAllowMultiLabel

func (*VideoClassificationConfig_AnnotationSpecSetConfig) GetAnnotationSpecSet

func (*VideoClassificationConfig_AnnotationSpecSetConfig) ProtoMessage

func (*VideoClassificationConfig_AnnotationSpecSetConfig) Reset

func (*VideoClassificationConfig_AnnotationSpecSetConfig) String

func (*VideoClassificationConfig_AnnotationSpecSetConfig) XXX_DiscardUnknown

func (m *VideoClassificationConfig_AnnotationSpecSetConfig) XXX_DiscardUnknown()

func (*VideoClassificationConfig_AnnotationSpecSetConfig) XXX_Marshal

func (m *VideoClassificationConfig_AnnotationSpecSetConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoClassificationConfig_AnnotationSpecSetConfig) XXX_Merge

func (*VideoClassificationConfig_AnnotationSpecSetConfig) XXX_Size

func (*VideoClassificationConfig_AnnotationSpecSetConfig) XXX_Unmarshal

type VideoEventAnnotation

type VideoEventAnnotation struct {
	// Label of the event in this annotation.
	AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"`
	// The time segment of the video to which the annotation applies.
	TimeSegment          *TimeSegment `protobuf:"bytes,2,opt,name=time_segment,json=timeSegment,proto3" json:"time_segment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Video event annotation.

func (*VideoEventAnnotation) Descriptor

func (*VideoEventAnnotation) Descriptor() ([]byte, []int)

func (*VideoEventAnnotation) GetAnnotationSpec

func (m *VideoEventAnnotation) GetAnnotationSpec() *AnnotationSpec

func (*VideoEventAnnotation) GetTimeSegment

func (m *VideoEventAnnotation) GetTimeSegment() *TimeSegment

func (*VideoEventAnnotation) ProtoMessage

func (*VideoEventAnnotation) ProtoMessage()

func (*VideoEventAnnotation) Reset

func (m *VideoEventAnnotation) Reset()

func (*VideoEventAnnotation) String

func (m *VideoEventAnnotation) String() string

func (*VideoEventAnnotation) XXX_DiscardUnknown

func (m *VideoEventAnnotation) XXX_DiscardUnknown()

func (*VideoEventAnnotation) XXX_Marshal

func (m *VideoEventAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoEventAnnotation) XXX_Merge

func (m *VideoEventAnnotation) XXX_Merge(src proto.Message)

func (*VideoEventAnnotation) XXX_Size

func (m *VideoEventAnnotation) XXX_Size() int

func (*VideoEventAnnotation) XXX_Unmarshal

func (m *VideoEventAnnotation) XXX_Unmarshal(b []byte) error

type VideoObjectTrackingAnnotation

type VideoObjectTrackingAnnotation struct {
	// Label of the object tracked in this annotation.
	AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"`
	// The time segment of the video to which object tracking applies.
	TimeSegment *TimeSegment `protobuf:"bytes,2,opt,name=time_segment,json=timeSegment,proto3" json:"time_segment,omitempty"`
	// The list of frames where this object track appears.
	ObjectTrackingFrames []*ObjectTrackingFrame `protobuf:"bytes,3,rep,name=object_tracking_frames,json=objectTrackingFrames,proto3" json:"object_tracking_frames,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Video object tracking annotation.

func (*VideoObjectTrackingAnnotation) Descriptor

func (*VideoObjectTrackingAnnotation) Descriptor() ([]byte, []int)

func (*VideoObjectTrackingAnnotation) GetAnnotationSpec

func (m *VideoObjectTrackingAnnotation) GetAnnotationSpec() *AnnotationSpec

func (*VideoObjectTrackingAnnotation) GetObjectTrackingFrames

func (m *VideoObjectTrackingAnnotation) GetObjectTrackingFrames() []*ObjectTrackingFrame

func (*VideoObjectTrackingAnnotation) GetTimeSegment

func (m *VideoObjectTrackingAnnotation) GetTimeSegment() *TimeSegment

func (*VideoObjectTrackingAnnotation) ProtoMessage

func (*VideoObjectTrackingAnnotation) ProtoMessage()

func (*VideoObjectTrackingAnnotation) Reset

func (m *VideoObjectTrackingAnnotation) Reset()

func (*VideoObjectTrackingAnnotation) String

func (*VideoObjectTrackingAnnotation) XXX_DiscardUnknown

func (m *VideoObjectTrackingAnnotation) XXX_DiscardUnknown()

func (*VideoObjectTrackingAnnotation) XXX_Marshal

func (m *VideoObjectTrackingAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoObjectTrackingAnnotation) XXX_Merge

func (m *VideoObjectTrackingAnnotation) XXX_Merge(src proto.Message)

func (*VideoObjectTrackingAnnotation) XXX_Size

func (m *VideoObjectTrackingAnnotation) XXX_Size() int

func (*VideoObjectTrackingAnnotation) XXX_Unmarshal

func (m *VideoObjectTrackingAnnotation) XXX_Unmarshal(b []byte) error

type VideoPayload

type VideoPayload struct {
	// Video format.
	MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// Video uri from the user bucket.
	VideoUri string `protobuf:"bytes,2,opt,name=video_uri,json=videoUri,proto3" json:"video_uri,omitempty"`
	// The list of video thumbnails.
	VideoThumbnails []*VideoThumbnail `protobuf:"bytes,3,rep,name=video_thumbnails,json=videoThumbnails,proto3" json:"video_thumbnails,omitempty"`
	// FPS of the video.
	FrameRate float32 `protobuf:"fixed32,4,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"`
	// Signed uri of the video file in the service bucket.
	SignedUri            string   `protobuf:"bytes,5,opt,name=signed_uri,json=signedUri,proto3" json:"signed_uri,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Container of information of a video.

func (*VideoPayload) Descriptor

func (*VideoPayload) Descriptor() ([]byte, []int)

func (*VideoPayload) GetFrameRate

func (m *VideoPayload) GetFrameRate() float32

func (*VideoPayload) GetMimeType

func (m *VideoPayload) GetMimeType() string

func (*VideoPayload) GetSignedUri

func (m *VideoPayload) GetSignedUri() string

func (*VideoPayload) GetVideoThumbnails

func (m *VideoPayload) GetVideoThumbnails() []*VideoThumbnail

func (*VideoPayload) GetVideoUri

func (m *VideoPayload) GetVideoUri() string

func (*VideoPayload) ProtoMessage

func (*VideoPayload) ProtoMessage()

func (*VideoPayload) Reset

func (m *VideoPayload) Reset()

func (*VideoPayload) String

func (m *VideoPayload) String() string

func (*VideoPayload) XXX_DiscardUnknown

func (m *VideoPayload) XXX_DiscardUnknown()

func (*VideoPayload) XXX_Marshal

func (m *VideoPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoPayload) XXX_Merge

func (m *VideoPayload) XXX_Merge(src proto.Message)

func (*VideoPayload) XXX_Size

func (m *VideoPayload) XXX_Size() int

func (*VideoPayload) XXX_Unmarshal

func (m *VideoPayload) XXX_Unmarshal(b []byte) error

type VideoThumbnail

type VideoThumbnail struct {
	// A byte string of the video frame.
	Thumbnail []byte `protobuf:"bytes,1,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"`
	// Time offset relative to the beginning of the video, corresponding to the
	// video frame where the thumbnail has been extracted from.
	TimeOffset           *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Container of information of a video thumbnail.

func (*VideoThumbnail) Descriptor

func (*VideoThumbnail) Descriptor() ([]byte, []int)

func (*VideoThumbnail) GetThumbnail

func (m *VideoThumbnail) GetThumbnail() []byte

func (*VideoThumbnail) GetTimeOffset

func (m *VideoThumbnail) GetTimeOffset() *duration.Duration

func (*VideoThumbnail) ProtoMessage

func (*VideoThumbnail) ProtoMessage()

func (*VideoThumbnail) Reset

func (m *VideoThumbnail) Reset()

func (*VideoThumbnail) String

func (m *VideoThumbnail) String() string

func (*VideoThumbnail) XXX_DiscardUnknown

func (m *VideoThumbnail) XXX_DiscardUnknown()

func (*VideoThumbnail) XXX_Marshal

func (m *VideoThumbnail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoThumbnail) XXX_Merge

func (m *VideoThumbnail) XXX_Merge(src proto.Message)

func (*VideoThumbnail) XXX_Size

func (m *VideoThumbnail) XXX_Size() int

func (*VideoThumbnail) XXX_Unmarshal

func (m *VideoThumbnail) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL