lib/google/cloud/vision/v1/geometry_pb.rb in google-cloud-vision-0.28.0 vs lib/google/cloud/vision/v1/geometry_pb.rb in google-cloud-vision-0.29.0

- old
+ new

@@ -6,12 +6,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.cloud.vision.v1.Vertex" do optional :x, :int32, 1 optional :y, :int32, 2 end + add_message "google.cloud.vision.v1.NormalizedVertex" do + optional :x, :float, 1 + optional :y, :float, 2 + end add_message "google.cloud.vision.v1.BoundingPoly" do repeated :vertices, :message, 1, "google.cloud.vision.v1.Vertex" + repeated :normalized_vertices, :message, 2, "google.cloud.vision.v1.NormalizedVertex" end add_message "google.cloud.vision.v1.Position" do optional :x, :float, 1 optional :y, :float, 2 optional :z, :float, 3 @@ -21,9 +26,10 @@ module Google module Cloud module Vision module V1 Vertex = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vision.v1.Vertex").msgclass + NormalizedVertex = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vision.v1.NormalizedVertex").msgclass BoundingPoly = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vision.v1.BoundingPoly").msgclass Position = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vision.v1.Position").msgclass end end end