# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/admanager/v1/ad_break_messages.proto

require 'google/protobuf'

require 'google/ads/admanager/v1/early_ad_break_notification_enums_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/protobuf/duration_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n/google/ads/admanager/v1/ad_break_messages.proto\x12\x17google.ads.admanager.v1\x1a?google/ads/admanager/v1/early_ad_break_notification_enums.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa8\x06\n\x07\x41\x64\x42reak\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12 \n\x0b\x61\x64_break_id\x18\x02 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x88\x01\x01\x12\x1e\n\tasset_key\x18\x03 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05H\x01\x88\x01\x01\x12%\n\x10\x63ustom_asset_key\x18\x04 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05H\x02\x88\x01\x01\x12\x41\n\x13\x65xpected_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01H\x03\x88\x01\x01\x12\x35\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02H\x04\x88\x01\x01\x12U\n\x0b\x62reak_state\x18\x07 \x01(\x0e\x32\x36.google.ads.admanager.v1.AdBreakStateEnum.AdBreakStateB\x03\xe0\x41\x03H\x05\x88\x01\x01\x12 \n\x0e\x62reak_sequence\x18\x08 \x01(\x03\x42\x03\xe0\x41\x03H\x06\x88\x01\x01\x12#\n\x11pod_template_name\x18\t \x01(\tB\x03\xe0\x41\x01H\x07\x88\x01\x01\x12\x1f\n\rcustom_params\x18\n \x01(\tB\x03\xe0\x41\x01H\x08\x88\x01\x01\x12!\n\x0fscte_35_cue_out\x18\x0b \x01(\tB\x03\xe0\x41\x01H\t\x88\x01\x01:\x8d\x01\xea\x41\x89\x01\n admanager.googleapis.com/AdBreak\x12Rnetworks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}*\x08\x61\x64\x42reaks2\x07\x61\x64\x42reakB\x0e\n\x0c_ad_break_idB\x0c\n\n_asset_keyB\x13\n\x11_custom_asset_keyB\x16\n\x14_expected_start_timeB\x0b\n\t_durationB\x0e\n\x0c_break_stateB\x11\n\x0f_break_sequenceB\x14\n\x12_pod_template_nameB\x10\n\x0e_custom_paramsB\x12\n\x10_scte_35_cue_outB\xc8\x01\n\x1b\x63om.google.ads.admanager.v1B\x14\x41\x64\x42reakMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.protobuf.Duration", "google/protobuf/duration.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Ads
    module AdManager
      module V1
        AdBreak = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.AdBreak").msgclass
      end
    end
  end
end
