Sha256: 549f81beb4b9ef2f69e0a719013790b5212488f8cd20b502a5ac6c23961318ae

Contents?: true

Size: 1.73 KB

Versions: 6

Compression:

Stored size: 1.73 KB

Contents

# 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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
google-cloud-vision-0.28.0 lib/google/cloud/vision/v1/web_detection_pb.rb
google-cloud-vision-0.27.0 lib/google/cloud/vision/v1/web_detection_pb.rb
google-cloud-vision-0.26.0 lib/google/cloud/vision/v1/web_detection_pb.rb
google-cloud-vision-0.25.0 lib/google/cloud/vision/v1/web_detection_pb.rb
google-cloud-vision-0.24.0 lib/google/cloud/vision/v1/web_detection_pb.rb
google-cloud-vision-0.23.0 lib/google/cloud/vision/v1/web_detection_pb.rb