# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/datalabeling/v1beta1/human_annotation_config.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/field_behavior_pb' require 'google/protobuf/duration_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/datalabeling/v1beta1/human_annotation_config.proto", :syntax => :proto3) do add_message "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" do optional :instruction, :string, 1 optional :annotated_dataset_display_name, :string, 2 optional :annotated_dataset_description, :string, 3 optional :label_group, :string, 4 optional :language_code, :string, 5 optional :replica_count, :int32, 6 optional :question_duration, :message, 7, "google.protobuf.Duration" repeated :contributor_emails, :string, 9 optional :user_email_address, :string, 10 end add_message "google.cloud.datalabeling.v1beta1.ImageClassificationConfig" do optional :annotation_spec_set, :string, 1 optional :allow_multi_label, :bool, 2 optional :answer_aggregation_type, :enum, 3, "google.cloud.datalabeling.v1beta1.StringAggregationType" end add_message "google.cloud.datalabeling.v1beta1.BoundingPolyConfig" do optional :annotation_spec_set, :string, 1 optional :instruction_message, :string, 2 end add_message "google.cloud.datalabeling.v1beta1.PolylineConfig" do optional :annotation_spec_set, :string, 1 optional :instruction_message, :string, 2 end add_message "google.cloud.datalabeling.v1beta1.SegmentationConfig" do optional :annotation_spec_set, :string, 1 optional :instruction_message, :string, 2 end add_message "google.cloud.datalabeling.v1beta1.VideoClassificationConfig" do repeated :annotation_spec_set_configs, :message, 1, "google.cloud.datalabeling.v1beta1.VideoClassificationConfig.AnnotationSpecSetConfig" optional :apply_shot_detection, :bool, 2 end add_message "google.cloud.datalabeling.v1beta1.VideoClassificationConfig.AnnotationSpecSetConfig" do optional :annotation_spec_set, :string, 1 optional :allow_multi_label, :bool, 2 end add_message "google.cloud.datalabeling.v1beta1.ObjectDetectionConfig" do optional :annotation_spec_set, :string, 1 optional :extraction_frame_rate, :double, 3 end add_message "google.cloud.datalabeling.v1beta1.ObjectTrackingConfig" do optional :annotation_spec_set, :string, 1 end add_message "google.cloud.datalabeling.v1beta1.EventConfig" do repeated :annotation_spec_sets, :string, 1 end add_message "google.cloud.datalabeling.v1beta1.TextClassificationConfig" do optional :allow_multi_label, :bool, 1 optional :annotation_spec_set, :string, 2 optional :sentiment_config, :message, 3, "google.cloud.datalabeling.v1beta1.SentimentConfig" end add_message "google.cloud.datalabeling.v1beta1.SentimentConfig" do optional :enable_label_sentiment_selection, :bool, 1 end add_message "google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig" do optional :annotation_spec_set, :string, 1 end add_enum "google.cloud.datalabeling.v1beta1.StringAggregationType" do value :STRING_AGGREGATION_TYPE_UNSPECIFIED, 0 value :MAJORITY_VOTE, 1 value :UNANIMOUS_VOTE, 2 value :NO_AGGREGATION, 3 end end end module Google module Cloud module DataLabeling module V1beta1 HumanAnnotationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.HumanAnnotationConfig").msgclass ImageClassificationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ImageClassificationConfig").msgclass BoundingPolyConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.BoundingPolyConfig").msgclass PolylineConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.PolylineConfig").msgclass SegmentationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.SegmentationConfig").msgclass VideoClassificationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.VideoClassificationConfig").msgclass VideoClassificationConfig::AnnotationSpecSetConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.VideoClassificationConfig.AnnotationSpecSetConfig").msgclass ObjectDetectionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ObjectDetectionConfig").msgclass ObjectTrackingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ObjectTrackingConfig").msgclass EventConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.EventConfig").msgclass TextClassificationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.TextClassificationConfig").msgclass SentimentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.SentimentConfig").msgclass TextEntityExtractionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig").msgclass StringAggregationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.StringAggregationType").enummodule end end end end