# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/video/stitcher/v1/events.proto

require 'google/protobuf/duration_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/video/stitcher/v1/events.proto", :syntax => :proto3) do
    add_message "google.cloud.video.stitcher.v1.Event" do
      optional :type, :enum, 1, "google.cloud.video.stitcher.v1.Event.EventType"
      optional :uri, :string, 2
      optional :id, :string, 3
      optional :offset, :message, 4, "google.protobuf.Duration"
    end
    add_enum "google.cloud.video.stitcher.v1.Event.EventType" do
      value :EVENT_TYPE_UNSPECIFIED, 0
      value :CREATIVE_VIEW, 1
      value :START, 2
      value :BREAK_START, 3
      value :BREAK_END, 4
      value :IMPRESSION, 5
      value :FIRST_QUARTILE, 6
      value :MIDPOINT, 7
      value :THIRD_QUARTILE, 8
      value :COMPLETE, 9
      value :PROGRESS, 10
      value :MUTE, 11
      value :UNMUTE, 12
      value :PAUSE, 13
      value :CLICK, 14
      value :CLICK_THROUGH, 15
      value :REWIND, 16
      value :RESUME, 17
      value :ERROR, 18
      value :EXPAND, 21
      value :COLLAPSE, 22
      value :CLOSE, 24
      value :CLOSE_LINEAR, 25
      value :SKIP, 26
      value :ACCEPT_INVITATION, 27
    end
    add_message "google.cloud.video.stitcher.v1.ProgressEvent" do
      optional :time_offset, :message, 1, "google.protobuf.Duration"
      repeated :events, :message, 2, "google.cloud.video.stitcher.v1.Event"
    end
  end
end

module Google
  module Cloud
    module Video
      module Stitcher
        module V1
          Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Event").msgclass
          Event::EventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Event.EventType").enummodule
          ProgressEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ProgressEvent").msgclass
        end
      end
    end
  end
end
