123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- syntax = "proto3";
- package google.cloud.datalabeling.v1beta1;
- import "google/api/field_behavior.proto";
- import "google/protobuf/duration.proto";
- option csharp_namespace = "Google.Cloud.DataLabeling.V1Beta1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling";
- option java_multiple_files = true;
- option java_package = "com.google.cloud.datalabeling.v1beta1";
- option php_namespace = "Google\\Cloud\\DataLabeling\\V1beta1";
- option ruby_package = "Google::Cloud::DataLabeling::V1beta1";
- enum StringAggregationType {
- STRING_AGGREGATION_TYPE_UNSPECIFIED = 0;
-
- MAJORITY_VOTE = 1;
-
- UNANIMOUS_VOTE = 2;
-
- NO_AGGREGATION = 3;
- }
- message HumanAnnotationConfig {
-
- string instruction = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
- string annotated_dataset_display_name = 2 [(google.api.field_behavior) = REQUIRED];
-
-
- string annotated_dataset_description = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
- string label_group = 4 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
- string language_code = 5 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
- int32 replica_count = 6 [(google.api.field_behavior) = OPTIONAL];
-
-
- google.protobuf.Duration question_duration = 7 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
- repeated string contributor_emails = 9 [(google.api.field_behavior) = OPTIONAL];
-
-
- string user_email_address = 10;
- }
- message ImageClassificationConfig {
-
- string annotation_spec_set = 1 [(google.api.field_behavior) = REQUIRED];
-
-
- bool allow_multi_label = 2 [(google.api.field_behavior) = OPTIONAL];
-
- StringAggregationType answer_aggregation_type = 3 [(google.api.field_behavior) = OPTIONAL];
- }
- message BoundingPolyConfig {
-
- string annotation_spec_set = 1 [(google.api.field_behavior) = REQUIRED];
-
- string instruction_message = 2 [(google.api.field_behavior) = OPTIONAL];
- }
- message PolylineConfig {
-
- string annotation_spec_set = 1 [(google.api.field_behavior) = REQUIRED];
-
- string instruction_message = 2 [(google.api.field_behavior) = OPTIONAL];
- }
- message SegmentationConfig {
-
-
- string annotation_spec_set = 1 [(google.api.field_behavior) = REQUIRED];
-
- string instruction_message = 2;
- }
- message VideoClassificationConfig {
-
- message AnnotationSpecSetConfig {
-
- string annotation_spec_set = 1 [(google.api.field_behavior) = REQUIRED];
-
-
- bool allow_multi_label = 2 [(google.api.field_behavior) = OPTIONAL];
- }
-
-
-
-
-
-
- repeated AnnotationSpecSetConfig annotation_spec_set_configs = 1 [(google.api.field_behavior) = REQUIRED];
-
- bool apply_shot_detection = 2 [(google.api.field_behavior) = OPTIONAL];
- }
- message ObjectDetectionConfig {
-
- string annotation_spec_set = 1 [(google.api.field_behavior) = REQUIRED];
-
- double extraction_frame_rate = 3 [(google.api.field_behavior) = REQUIRED];
- }
- message ObjectTrackingConfig {
-
- string annotation_spec_set = 1 [(google.api.field_behavior) = REQUIRED];
- }
- message EventConfig {
-
-
-
- repeated string annotation_spec_sets = 1 [(google.api.field_behavior) = REQUIRED];
- }
- message TextClassificationConfig {
-
-
- bool allow_multi_label = 1 [(google.api.field_behavior) = OPTIONAL];
-
- string annotation_spec_set = 2 [(google.api.field_behavior) = REQUIRED];
-
- SentimentConfig sentiment_config = 3 [(google.api.field_behavior) = OPTIONAL];
- }
- message SentimentConfig {
-
-
-
- bool enable_label_sentiment_selection = 1;
- }
- message TextEntityExtractionConfig {
-
- string annotation_spec_set = 1 [(google.api.field_behavior) = REQUIRED];
- }
|