# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/datalabeling/v1beta1/operations.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/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/operations.proto", :syntax => :proto3) do add_message "google.cloud.datalabeling.v1beta1.ImportDataOperationResponse" do optional :dataset, :string, 1 optional :total_count, :int32, 2 optional :import_count, :int32, 3 end add_message "google.cloud.datalabeling.v1beta1.ExportDataOperationResponse" do optional :dataset, :string, 1 optional :total_count, :int32, 2 optional :export_count, :int32, 3 optional :label_stats, :message, 4, "google.cloud.datalabeling.v1beta1.LabelStats" optional :output_config, :message, 5, "google.cloud.datalabeling.v1beta1.OutputConfig" end add_message "google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata" do optional :dataset, :string, 1 repeated :partial_failures, :message, 2, "google.rpc.Status" optional :create_time, :message, 3, "google.protobuf.Timestamp" end add_message "google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata" do optional :dataset, :string, 1 repeated :partial_failures, :message, 2, "google.rpc.Status" optional :create_time, :message, 3, "google.protobuf.Timestamp" end add_message "google.cloud.datalabeling.v1beta1.LabelOperationMetadata" do optional :progress_percent, :int32, 1 repeated :partial_failures, :message, 2, "google.rpc.Status" optional :create_time, :message, 16, "google.protobuf.Timestamp" oneof :details do optional :image_classification_details, :message, 3, "google.cloud.datalabeling.v1beta1.LabelImageClassificationOperationMetadata" optional :image_bounding_box_details, :message, 4, "google.cloud.datalabeling.v1beta1.LabelImageBoundingBoxOperationMetadata" optional :image_bounding_poly_details, :message, 11, "google.cloud.datalabeling.v1beta1.LabelImageBoundingPolyOperationMetadata" optional :image_oriented_bounding_box_details, :message, 14, "google.cloud.datalabeling.v1beta1.LabelImageOrientedBoundingBoxOperationMetadata" optional :image_polyline_details, :message, 12, "google.cloud.datalabeling.v1beta1.LabelImagePolylineOperationMetadata" optional :image_segmentation_details, :message, 15, "google.cloud.datalabeling.v1beta1.LabelImageSegmentationOperationMetadata" optional :video_classification_details, :message, 5, "google.cloud.datalabeling.v1beta1.LabelVideoClassificationOperationMetadata" optional :video_object_detection_details, :message, 6, "google.cloud.datalabeling.v1beta1.LabelVideoObjectDetectionOperationMetadata" optional :video_object_tracking_details, :message, 7, "google.cloud.datalabeling.v1beta1.LabelVideoObjectTrackingOperationMetadata" optional :video_event_details, :message, 8, "google.cloud.datalabeling.v1beta1.LabelVideoEventOperationMetadata" optional :text_classification_details, :message, 9, "google.cloud.datalabeling.v1beta1.LabelTextClassificationOperationMetadata" optional :text_entity_extraction_details, :message, 13, "google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadata" end end add_message "google.cloud.datalabeling.v1beta1.LabelImageClassificationOperationMetadata" do optional :basic_config, :message, 1, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" end add_message "google.cloud.datalabeling.v1beta1.LabelImageBoundingBoxOperationMetadata" do optional :basic_config, :message, 1, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" end add_message "google.cloud.datalabeling.v1beta1.LabelImageOrientedBoundingBoxOperationMetadata" do optional :basic_config, :message, 1, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" end add_message "google.cloud.datalabeling.v1beta1.LabelImageBoundingPolyOperationMetadata" do optional :basic_config, :message, 1, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" end add_message "google.cloud.datalabeling.v1beta1.LabelImagePolylineOperationMetadata" do optional :basic_config, :message, 1, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" end add_message "google.cloud.datalabeling.v1beta1.LabelImageSegmentationOperationMetadata" do optional :basic_config, :message, 1, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" end add_message "google.cloud.datalabeling.v1beta1.LabelVideoClassificationOperationMetadata" do optional :basic_config, :message, 1, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" end add_message "google.cloud.datalabeling.v1beta1.LabelVideoObjectDetectionOperationMetadata" do optional :basic_config, :message, 1, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" end add_message "google.cloud.datalabeling.v1beta1.LabelVideoObjectTrackingOperationMetadata" do optional :basic_config, :message, 1, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" end add_message "google.cloud.datalabeling.v1beta1.LabelVideoEventOperationMetadata" do optional :basic_config, :message, 1, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" end add_message "google.cloud.datalabeling.v1beta1.LabelTextClassificationOperationMetadata" do optional :basic_config, :message, 1, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" end add_message "google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadata" do optional :basic_config, :message, 1, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig" end add_message "google.cloud.datalabeling.v1beta1.CreateInstructionMetadata" do optional :instruction, :string, 1 repeated :partial_failures, :message, 2, "google.rpc.Status" optional :create_time, :message, 3, "google.protobuf.Timestamp" end end end module Google module Cloud module DataLabeling module V1beta1 ImportDataOperationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ImportDataOperationResponse").msgclass ExportDataOperationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ExportDataOperationResponse").msgclass ImportDataOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata").msgclass ExportDataOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata").msgclass LabelOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelOperationMetadata").msgclass LabelImageClassificationOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelImageClassificationOperationMetadata").msgclass LabelImageBoundingBoxOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelImageBoundingBoxOperationMetadata").msgclass LabelImageOrientedBoundingBoxOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelImageOrientedBoundingBoxOperationMetadata").msgclass LabelImageBoundingPolyOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelImageBoundingPolyOperationMetadata").msgclass LabelImagePolylineOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelImagePolylineOperationMetadata").msgclass LabelImageSegmentationOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelImageSegmentationOperationMetadata").msgclass LabelVideoClassificationOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelVideoClassificationOperationMetadata").msgclass LabelVideoObjectDetectionOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelVideoObjectDetectionOperationMetadata").msgclass LabelVideoObjectTrackingOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelVideoObjectTrackingOperationMetadata").msgclass LabelVideoEventOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelVideoEventOperationMetadata").msgclass LabelTextClassificationOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelTextClassificationOperationMetadata").msgclass LabelTextEntityExtractionOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadata").msgclass CreateInstructionMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.CreateInstructionMetadata").msgclass end end end end