# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/vision/v1/web_detection.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.cloud.vision.v1.WebDetection" do
    repeated :web_entities, :message, 1, "google.cloud.vision.v1.WebDetection.WebEntity"
    repeated :full_matching_images, :message, 2, "google.cloud.vision.v1.WebDetection.WebImage"
    repeated :partial_matching_images, :message, 3, "google.cloud.vision.v1.WebDetection.WebImage"
    repeated :pages_with_matching_images, :message, 4, "google.cloud.vision.v1.WebDetection.WebPage"
  end
  add_message "google.cloud.vision.v1.WebDetection.WebEntity" do
    optional :entity_id, :string, 1
    optional :score, :float, 2
    optional :description, :string, 3
  end
  add_message "google.cloud.vision.v1.WebDetection.WebImage" do
    optional :url, :string, 1
    optional :score, :float, 2
  end
  add_message "google.cloud.vision.v1.WebDetection.WebPage" do
    optional :url, :string, 1
    optional :score, :float, 2
  end
end

module Google
  module Cloud
    module Vision
      module V1
        WebDetection = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vision.v1.WebDetection").msgclass
        WebDetection::WebEntity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vision.v1.WebDetection.WebEntity").msgclass
        WebDetection::WebImage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vision.v1.WebDetection.WebImage").msgclass
        WebDetection::WebPage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vision.v1.WebDetection.WebPage").msgclass
      end
    end
  end
end
