Sha256: 43027e8edaf0f49c5b3f1e047cbde99de39a79eb5b913f326ca516cfca35052d

Contents?: true

Size: 1.85 KB

Versions: 2

Compression:

Stored size: 1.85 KB

Contents

# 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'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
google-cloud-automl-v1beta1-0.7.0 lib/google/cloud/automl/v1beta1/annotation_payload_pb.rb
google-cloud-automl-v1beta1-0.6.1 lib/google/cloud/automl/v1beta1/annotation_payload_pb.rb