# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/aiplatform/v1/data_labeling_job.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/aiplatform/v1/encryption_spec_pb' require 'google/cloud/aiplatform/v1/job_state_pb' require 'google/protobuf/struct_pb' require 'google/protobuf/timestamp_pb' require 'google/rpc/status_pb' require 'google/type/money_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/aiplatform/v1/data_labeling_job.proto", :syntax => :proto3) do add_message "google.cloud.aiplatform.v1.DataLabelingJob" do optional :name, :string, 1 optional :display_name, :string, 2 repeated :datasets, :string, 3 map :annotation_labels, :string, :string, 12 optional :labeler_count, :int32, 4 optional :instruction_uri, :string, 5 optional :inputs_schema_uri, :string, 6 optional :inputs, :message, 7, "google.protobuf.Value" optional :state, :enum, 8, "google.cloud.aiplatform.v1.JobState" optional :labeling_progress, :int32, 13 optional :current_spend, :message, 14, "google.type.Money" optional :create_time, :message, 9, "google.protobuf.Timestamp" optional :update_time, :message, 10, "google.protobuf.Timestamp" optional :error, :message, 22, "google.rpc.Status" map :labels, :string, :string, 11 repeated :specialist_pools, :string, 16 optional :encryption_spec, :message, 20, "google.cloud.aiplatform.v1.EncryptionSpec" optional :active_learning_config, :message, 21, "google.cloud.aiplatform.v1.ActiveLearningConfig" end add_message "google.cloud.aiplatform.v1.ActiveLearningConfig" do optional :sample_config, :message, 3, "google.cloud.aiplatform.v1.SampleConfig" optional :training_config, :message, 4, "google.cloud.aiplatform.v1.TrainingConfig" oneof :human_labeling_budget do optional :max_data_item_count, :int64, 1 optional :max_data_item_percentage, :int32, 2 end end add_message "google.cloud.aiplatform.v1.SampleConfig" do optional :sample_strategy, :enum, 5, "google.cloud.aiplatform.v1.SampleConfig.SampleStrategy" oneof :initial_batch_sample_size do optional :initial_batch_sample_percentage, :int32, 1 end oneof :following_batch_sample_size do optional :following_batch_sample_percentage, :int32, 3 end end add_enum "google.cloud.aiplatform.v1.SampleConfig.SampleStrategy" do value :SAMPLE_STRATEGY_UNSPECIFIED, 0 value :UNCERTAINTY, 1 end add_message "google.cloud.aiplatform.v1.TrainingConfig" do optional :timeout_training_milli_hours, :int64, 1 end end end module Google module Cloud module AIPlatform module V1 DataLabelingJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DataLabelingJob").msgclass ActiveLearningConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ActiveLearningConfig").msgclass SampleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SampleConfig").msgclass SampleConfig::SampleStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SampleConfig.SampleStrategy").enummodule TrainingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.TrainingConfig").msgclass end end end end