# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/datalabeling/v1beta1/evaluation_job.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/resource_pb' require 'google/cloud/datalabeling/v1beta1/dataset_pb' require 'google/cloud/datalabeling/v1beta1/evaluation_pb' require 'google/cloud/datalabeling/v1beta1/human_annotation_config_pb' require 'google/protobuf/timestamp_pb' require 'google/rpc/status_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/datalabeling/v1beta1/evaluation_job.proto", :syntax => :proto3) do add_message "google.cloud.datalabeling.v1beta1.EvaluationJob" do optional :name, :string, 1 optional :description, :string, 2 optional :state, :enum, 3, "google.cloud.datalabeling.v1beta1.EvaluationJob.State" optional :schedule, :string, 4 optional :model_version, :string, 5 optional :evaluation_job_config, :message, 6, "google.cloud.datalabeling.v1beta1.EvaluationJobConfig" optional :annotation_spec_set, :string, 7 optional :label_missing_ground_truth, :bool, 8 repeated :attempts, :message, 9, "google.cloud.datalabeling.v1beta1.Attempt" optional :create_time, :message, 10, "google.protobuf.Timestamp" end add_enum "google.cloud.datalabeling.v1beta1.EvaluationJob.State" do value :STATE_UNSPECIFIED, 0 value :SCHEDULED, 1 value :RUNNING, 2 value :PAUSED, 3 value :STOPPED, 4 end add_message "google.cloud.datalabeling.v1beta1.EvaluationJobConfig" do optional :input_config, :message, 1, "google.cloud.datalabeling.v1beta1.InputConfig" optional :evaluation_config, :message, 2, "google.cloud.datalabeling.v1beta1.EvaluationConfig" optional :human_annotation_config, :message, 3, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" map :bigquery_import_keys, :string, :string, 9 optional :example_count, :int32, 10 optional :example_sample_percentage, :double, 11 optional :evaluation_job_alert_config, :message, 13, "google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig" oneof :human_annotation_request_config do optional :image_classification_config, :message, 4, "google.cloud.datalabeling.v1beta1.ImageClassificationConfig" optional :bounding_poly_config, :message, 5, "google.cloud.datalabeling.v1beta1.BoundingPolyConfig" optional :text_classification_config, :message, 8, "google.cloud.datalabeling.v1beta1.TextClassificationConfig" end end add_message "google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig" do optional :email, :string, 1 optional :min_acceptable_mean_average_precision, :double, 2 end add_message "google.cloud.datalabeling.v1beta1.Attempt" do optional :attempt_time, :message, 1, "google.protobuf.Timestamp" repeated :partial_failures, :message, 2, "google.rpc.Status" end end end module Google module Cloud module DataLabeling module V1beta1 EvaluationJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.EvaluationJob").msgclass EvaluationJob::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.EvaluationJob.State").enummodule EvaluationJobConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.EvaluationJobConfig").msgclass EvaluationJobAlertConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig").msgclass Attempt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.Attempt").msgclass end end end end