# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/automl/v1beta1/annotation_payload.proto require 'google/protobuf' require 'google/cloud/automl/v1beta1/classification_pb' require 'google/cloud/automl/v1beta1/detection_pb' require 'google/cloud/automl/v1beta1/tables_pb' require 'google/cloud/automl/v1beta1/text_extraction_pb' require 'google/cloud/automl/v1beta1/text_sentiment_pb' require 'google/cloud/automl/v1beta1/translation_pb' require 'google/protobuf/any_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/automl/v1beta1/annotation_payload.proto", :syntax => :proto3) do add_message "google.cloud.automl.v1beta1.AnnotationPayload" do optional :annotation_spec_id, :string, 1 optional :display_name, :string, 5 oneof :detail do optional :translation, :message, 2, "google.cloud.automl.v1beta1.TranslationAnnotation" optional :classification, :message, 3, "google.cloud.automl.v1beta1.ClassificationAnnotation" optional :image_object_detection, :message, 4, "google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation" optional :video_classification, :message, 9, "google.cloud.automl.v1beta1.VideoClassificationAnnotation" optional :video_object_tracking, :message, 8, "google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation" optional :text_extraction, :message, 6, "google.cloud.automl.v1beta1.TextExtractionAnnotation" optional :text_sentiment, :message, 7, "google.cloud.automl.v1beta1.TextSentimentAnnotation" optional :tables, :message, 10, "google.cloud.automl.v1beta1.TablesAnnotation" end end end end module Google module Cloud module AutoML module V1beta1 AnnotationPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.AnnotationPayload").msgclass end end end end