# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/datalabeling/v1beta1/data_payloads.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/protobuf/duration_pb'
require 'google/protobuf/timestamp_pb'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/datalabeling/v1beta1/data_payloads.proto", :syntax => :proto3) do
    add_message "google.cloud.datalabeling.v1beta1.ImagePayload" do
      optional :mime_type, :string, 1
      optional :image_thumbnail, :bytes, 2
      optional :image_uri, :string, 3
      optional :signed_uri, :string, 4
    end
    add_message "google.cloud.datalabeling.v1beta1.TextPayload" do
      optional :text_content, :string, 1
    end
    add_message "google.cloud.datalabeling.v1beta1.VideoThumbnail" do
      optional :thumbnail, :bytes, 1
      optional :time_offset, :message, 2, "google.protobuf.Duration"
    end
    add_message "google.cloud.datalabeling.v1beta1.VideoPayload" do
      optional :mime_type, :string, 1
      optional :video_uri, :string, 2
      repeated :video_thumbnails, :message, 3, "google.cloud.datalabeling.v1beta1.VideoThumbnail"
      optional :frame_rate, :float, 4
      optional :signed_uri, :string, 5
    end
  end
end

module Google
  module Cloud
    module DataLabeling
      module V1beta1
        ImagePayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ImagePayload").msgclass
        TextPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.TextPayload").msgclass
        VideoThumbnail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.VideoThumbnail").msgclass
        VideoPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.VideoPayload").msgclass
      end
    end
  end
end
