# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: twirp/code.justin.tv.ads.siosa/service.proto

require 'google/protobuf'

require 'google/protobuf/wrappers_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "code.justin.tv.ads.siosa.proto.GlobalAdProperties" do
    repeated :country_whitelist, :string, 1
    repeated :pbyp_games_categories_whitelist, :string, 2
    optional :pbyp_games_enabled, :bool, 3
    optional :pbyp_max_ccv, :int32, 4
    optional :pbyp_max_jitter_time, :int32, 5
    optional :pbyp_max_warmup_time, :int32, 6
    repeated :pbyp_games_categories_blacklist, :string, 7
    optional :pbyp_non_games_enabled, :bool, 8
    optional :pbyp_min_jitter_time, :int32, 9
    optional :pbyp_max_tps, :int32, 10
    optional :pbyp_premium_content_enabled, :bool, 11
    repeated :pbyp_channel_whitelist, :string, 12
    optional :pbyp_kill_switch, :bool, 13
    optional :pbyp_ramp_down_time, :int32, 14
  end
  add_message "code.justin.tv.ads.siosa.proto.SetGlobalAdPropertiesInput" do
    optional :country_whitelist, :message, 1, "code.justin.tv.ads.siosa.proto.StringListWrapper"
    optional :pbyp_games_categories_whitelist, :message, 2, "code.justin.tv.ads.siosa.proto.StringListWrapper"
    optional :pbyp_games_enabled, :message, 3, "google.protobuf.BoolValue"
    optional :pbyp_max_ccv, :message, 4, "google.protobuf.Int32Value"
    optional :pbyp_max_jitter_time, :message, 5, "google.protobuf.Int32Value"
    optional :pbyp_max_warmup_time, :message, 6, "google.protobuf.Int32Value"
    optional :pbyp_games_categories_blacklist, :message, 7, "code.justin.tv.ads.siosa.proto.StringListWrapper"
    optional :pbyp_non_games_enabled, :message, 8, "google.protobuf.BoolValue"
    optional :pbyp_min_jitter_time, :message, 9, "google.protobuf.Int32Value"
    optional :pbyp_max_tps, :message, 10, "google.protobuf.Int32Value"
    optional :pbyp_premium_content_enabled, :message, 11, "google.protobuf.BoolValue"
    optional :pbyp_channel_whitelist, :message, 12, "code.justin.tv.ads.siosa.proto.StringListWrapper"
    optional :pbyp_kill_switch, :message, 13, "google.protobuf.BoolValue"
    optional :pbyp_ramp_down_time, :message, 14, "google.protobuf.Int32Value"
  end
  add_message "code.justin.tv.ads.siosa.proto.StringListWrapper" do
    repeated :Value, :string, 1
  end
  add_message "code.justin.tv.ads.siosa.proto.EmptyInput" do
  end
  add_message "code.justin.tv.ads.siosa.proto.EmptyResponse" do
  end
  add_message "code.justin.tv.ads.siosa.proto.ChannelId" do
    optional :channel_id, :string, 1
    optional :country, :string, 2
    optional :device_id, :string, 3
    optional :client_id, :string, 4
    optional :subdivision_code, :string, 5
  end
  add_message "code.justin.tv.ads.siosa.proto.ChannelAdProperties" do
    optional :channel_id, :string, 1
    optional :valid_responses, :message, 2, "code.justin.tv.ads.siosa.proto.AdProperties"
    repeated :unauthorized, :string, 3
  end
  add_message "code.justin.tv.ads.siosa.proto.AdProperties" do
    repeated :properties, :message, 1, "code.justin.tv.ads.siosa.proto.AdProperty"
  end
  add_message "code.justin.tv.ads.siosa.proto.AdProperty" do
    oneof :property do
      optional :prerolls_disabled, :bool, 1
      optional :postrolls_disabled, :bool, 2
      optional :frequency, :int32, 3
      optional :max_ad_break_length, :int32, 4
      optional :vod_ads_enabled, :bool, 5
      optional :vod_archive_midrolls, :string, 6
      optional :vod_archive_midrolls_frequency, :int32, 7
      optional :vod_archive_midrolls_break_length, :int32, 8
      optional :turbo_disabled, :bool, 9
      optional :ad_server, :string, 10
      optional :force_server_ads, :bool, 11
      optional :program_id, :string, 12
      optional :partner, :string, 13
      optional :ad_server_default, :string, 14
      optional :force_client_ads, :bool, 15
      optional :bounty_board_pixels, :message, 16, "code.justin.tv.ads.siosa.proto.BountyBoardPixels"
      optional :required_age, :int32, 17
      optional :tracking_pixels, :message, 18, "code.justin.tv.ads.siosa.proto.TrackingPixels"
      optional :pbyp_disabled, :bool, 19
      optional :disable_prerolls_feature_enabled, :bool, 20
      optional :disable_prerolls_feature_admin_enabled, :bool, 21
      optional :disable_prerolls_feature_values, :message, 22, "code.justin.tv.ads.siosa.proto.DisablePrerollsFeatureValues"
      optional :costreamers, :message, 23, "code.justin.tv.ads.siosa.proto.Costreamers"
      optional :disable_prerolls_feature_max_capacity, :int32, 24
      optional :disable_prerolls_feature_notifications_enabled, :bool, 25
      optional :auto_ads_enabled, :bool, 26
      optional :auto_ads_length, :int32, 27
      optional :ad_experiment_buckets, :message, 28, "code.justin.tv.ads.siosa.proto.AdExperimentBuckets"
      optional :show_multiplayer_ads_to_subs, :bool, 29
      optional :guarantee_ads, :bool, 30
      optional :community_boost_product_eligible, :bool, 31
      optional :community_boost_all_disabled, :bool, 32
      optional :community_boost_earned_disabled, :bool, 33
      optional :community_boost_paid_disabled, :bool, 34
      optional :campaign_type, :string, 35
    end
  end
  add_message "code.justin.tv.ads.siosa.proto.Costreamers" do
    repeated :ids, :string, 1
  end
  add_message "code.justin.tv.ads.siosa.proto.BountyBoardPixels" do
    repeated :pixels, :message, 1, "code.justin.tv.ads.siosa.proto.BountyBoardPixel"
  end
  add_message "code.justin.tv.ads.siosa.proto.DisablePrerollsFeatureValues" do
    map :values, :int32, :int32, 1
  end
  add_message "code.justin.tv.ads.siosa.proto.AdExperimentBuckets" do
    map :buckets, :string, :string, 1
  end
  add_message "code.justin.tv.ads.siosa.proto.BountyBoardPixel" do
    optional :type, :string, 1
    optional :origin, :string, 2
    optional :offset, :int32, 3
    optional :url, :string, 4
  end
  add_message "code.justin.tv.ads.siosa.proto.TrackingPixels" do
    repeated :pixels, :message, 1, "code.justin.tv.ads.siosa.proto.TrackingPixel"
  end
  add_message "code.justin.tv.ads.siosa.proto.TrackingPixel" do
    optional :type, :string, 1
    optional :origin, :string, 2
    optional :offset, :int32, 3
    optional :url, :string, 4
    optional :service, :string, 5
  end
  add_message "code.justin.tv.ads.siosa.proto.SetChannelAdPropertiesInput" do
    optional :channel_id, :string, 1
    repeated :input, :message, 2, "code.justin.tv.ads.siosa.proto.AdProperty"
    optional :refresh, :bool, 3
  end
  add_message "code.justin.tv.ads.siosa.proto.VodId" do
    optional :vod_id, :string, 1
  end
  add_message "code.justin.tv.ads.siosa.proto.VodAdProperties" do
  end
end

module Code
  module Justin
    module Tv
      module Ads
        module Siosa
          module Proto
            GlobalAdProperties = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.GlobalAdProperties").msgclass
            SetGlobalAdPropertiesInput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.SetGlobalAdPropertiesInput").msgclass
            StringListWrapper = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.StringListWrapper").msgclass
            EmptyInput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.EmptyInput").msgclass
            EmptyResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.EmptyResponse").msgclass
            ChannelId = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.ChannelId").msgclass
            ChannelAdProperties = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.ChannelAdProperties").msgclass
            AdProperties = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.AdProperties").msgclass
            AdProperty = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.AdProperty").msgclass
            Costreamers = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.Costreamers").msgclass
            BountyBoardPixels = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.BountyBoardPixels").msgclass
            DisablePrerollsFeatureValues = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.DisablePrerollsFeatureValues").msgclass
            AdExperimentBuckets = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.AdExperimentBuckets").msgclass
            BountyBoardPixel = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.BountyBoardPixel").msgclass
            TrackingPixels = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.TrackingPixels").msgclass
            TrackingPixel = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.TrackingPixel").msgclass
            SetChannelAdPropertiesInput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.SetChannelAdPropertiesInput").msgclass
            VodId = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.VodId").msgclass
            VodAdProperties = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.ads.siosa.proto.VodAdProperties").msgclass
          end
        end
      end
    end
  end
end
