# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v21/common/asset_set_types.proto

require 'google/protobuf'

require 'google/ads/google_ads/v21/enums/chain_relationship_type_pb'
require 'google/ads/google_ads/v21/enums/location_ownership_type_pb'
require 'google/ads/google_ads/v21/enums/location_string_filter_type_pb'
require 'google/api/field_behavior_pb'


descriptor_data = "\n5google/ads/googleads/v21/common/asset_set_types.proto\x12\x1fgoogle.ads.googleads.v21.common\x1a<google/ads/googleads/v21/enums/chain_relationship_type.proto\x1a<google/ads/googleads/v21/enums/location_ownership_type.proto\x1a@google/ads/googleads/v21/enums/location_string_filter_type.proto\x1a\x1fgoogle/api/field_behavior.proto\"\x8f\x03\n\x0bLocationSet\x12x\n\x17location_ownership_type\x18\x03 \x01(\x0e\x32O.google.ads.googleads.v21.enums.LocationOwnershipTypeEnum.LocationOwnershipTypeB\x06\xe0\x41\x02\xe0\x41\x05\x12\x64\n\x1d\x62usiness_profile_location_set\x18\x01 \x01(\x0b\x32;.google.ads.googleads.v21.common.BusinessProfileLocationSetH\x00\x12G\n\x12\x63hain_location_set\x18\x02 \x01(\x0b\x32).google.ads.googleads.v21.common.ChainSetH\x00\x12M\n\x11maps_location_set\x18\x05 \x01(\x0b\x32\x30.google.ads.googleads.v21.common.MapsLocationSetH\x00\x42\x08\n\x06source\"\xd8\x01\n\x1a\x42usinessProfileLocationSet\x12(\n\x18http_authorization_token\x18\x01 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x02\x12\x1d\n\remail_address\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x1c\n\x14\x62usiness_name_filter\x18\x03 \x01(\t\x12\x15\n\rlabel_filters\x18\x04 \x03(\t\x12\x1a\n\x12listing_id_filters\x18\x05 \x03(\x03\x12 \n\x13\x62usiness_account_id\x18\x06 \x01(\tB\x03\xe0\x41\x05\"\xc1\x01\n\x08\x43hainSet\x12r\n\x11relationship_type\x18\x01 \x01(\x0e\x32O.google.ads.googleads.v21.enums.ChainRelationshipTypeEnum.ChainRelationshipTypeB\x06\xe0\x41\x02\xe0\x41\x05\x12\x41\n\x06\x63hains\x18\x02 \x03(\x0b\x32,.google.ads.googleads.v21.common.ChainFilterB\x03\xe0\x41\x02\"A\n\x0b\x43hainFilter\x12\x15\n\x08\x63hain_id\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x1b\n\x13location_attributes\x18\x02 \x03(\t\"a\n\x0fMapsLocationSet\x12N\n\x0emaps_locations\x18\x01 \x03(\x0b\x32\x31.google.ads.googleads.v21.common.MapsLocationInfoB\x03\xe0\x41\x02\"$\n\x10MapsLocationInfo\x12\x10\n\x08place_id\x18\x01 \x01(\t\"\xa3\x01\n\x1c\x42usinessProfileLocationGroup\x12\x82\x01\n.dynamic_business_profile_location_group_filter\x18\x01 \x01(\x0b\x32J.google.ads.googleads.v21.common.DynamicBusinessProfileLocationGroupFilter\"\xde\x01\n)DynamicBusinessProfileLocationGroupFilter\x12\x15\n\rlabel_filters\x18\x01 \x03(\t\x12\x65\n\x14\x62usiness_name_filter\x18\x02 \x01(\x0b\x32\x42.google.ads.googleads.v21.common.BusinessProfileBusinessNameFilterH\x00\x88\x01\x01\x12\x1a\n\x12listing_id_filters\x18\x03 \x03(\x03\x42\x17\n\x15_business_name_filter\"\xa6\x01\n!BusinessProfileBusinessNameFilter\x12\x15\n\rbusiness_name\x18\x01 \x01(\t\x12j\n\x0b\x66ilter_type\x18\x02 \x01(\x0e\x32U.google.ads.googleads.v21.enums.LocationStringFilterTypeEnum.LocationStringFilterType\"p\n\x12\x43hainLocationGroup\x12Z\n$dynamic_chain_location_group_filters\x18\x01 \x03(\x0b\x32,.google.ads.googleads.v21.common.ChainFilterB\xf2\x01\n#com.google.ads.googleads.v21.commonB\x12\x41ssetSetTypesProtoP\x01ZEgoogle.golang.org/genproto/googleapis/ads/googleads/v21/common;common\xa2\x02\x03GAA\xaa\x02\x1fGoogle.Ads.GoogleAds.V21.Common\xca\x02\x1fGoogle\\Ads\\GoogleAds\\V21\\Common\xea\x02#Google::Ads::GoogleAds::V21::Commonb\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 = [
  ]
  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 GoogleAds
      module V21
        module Common
          LocationSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.common.LocationSet").msgclass
          BusinessProfileLocationSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.common.BusinessProfileLocationSet").msgclass
          ChainSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.common.ChainSet").msgclass
          ChainFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.common.ChainFilter").msgclass
          MapsLocationSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.common.MapsLocationSet").msgclass
          MapsLocationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.common.MapsLocationInfo").msgclass
          BusinessProfileLocationGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.common.BusinessProfileLocationGroup").msgclass
          DynamicBusinessProfileLocationGroupFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.common.DynamicBusinessProfileLocationGroupFilter").msgclass
          BusinessProfileBusinessNameFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.common.BusinessProfileBusinessNameFilter").msgclass
          ChainLocationGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.common.ChainLocationGroup").msgclass
        end
      end
    end
  end
end
