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

require 'google/protobuf'

require 'google/ads/admanager/v1/private_auction_deal_messages_pb'
require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/protobuf/field_mask_pb'


descriptor_data = "\n:google/ads/admanager/v1/private_auction_deal_service.proto\x12\x17google.ads.admanager.v1\x1a;google/ads/admanager/v1/private_auction_deal_messages.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"a\n\x1cGetPrivateAuctionDealRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+admanager.googleapis.com/PrivateAuctionDeal\"\xca\x01\n\x1eListPrivateAuctionDealsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n admanager.googleapis.com/Network\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04skip\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\"\x9a\x01\n\x1fListPrivateAuctionDealsResponse\x12J\n\x15private_auction_deals\x18\x01 \x03(\x0b\x32+.google.ads.admanager.v1.PrivateAuctionDeal\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"\xab\x01\n\x1f\x43reatePrivateAuctionDealRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n admanager.googleapis.com/Network\x12N\n\x14private_auction_deal\x18\x02 \x01(\x0b\x32+.google.ads.admanager.v1.PrivateAuctionDealB\x03\xe0\x41\x02\"\xa7\x01\n\x1fUpdatePrivateAuctionDealRequest\x12N\n\x14private_auction_deal\x18\x01 \x01(\x0b\x32+.google.ads.admanager.v1.PrivateAuctionDealB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x32\xe0\x07\n\x19PrivateAuctionDealService\x12\xb7\x01\n\x15GetPrivateAuctionDeal\x12\x35.google.ads.admanager.v1.GetPrivateAuctionDealRequest\x1a+.google.ads.admanager.v1.PrivateAuctionDeal\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=networks/*/privateAuctionDeals/*}\x12\xca\x01\n\x17ListPrivateAuctionDeals\x12\x37.google.ads.admanager.v1.ListPrivateAuctionDealsRequest\x1a\x38.google.ads.admanager.v1.ListPrivateAuctionDealsResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=networks/*}/privateAuctionDeals\x12\xea\x01\n\x18\x43reatePrivateAuctionDeal\x12\x38.google.ads.admanager.v1.CreatePrivateAuctionDealRequest\x1a+.google.ads.admanager.v1.PrivateAuctionDeal\"g\xda\x41\x1bparent,private_auction_deal\x82\xd3\xe4\x93\x02\x43\"+/v1/{parent=networks/*}/privateAuctionDeals:\x14private_auction_deal\x12\x85\x02\n\x18UpdatePrivateAuctionDeal\x12\x38.google.ads.admanager.v1.UpdatePrivateAuctionDealRequest\x1a+.google.ads.admanager.v1.PrivateAuctionDeal\"\x81\x01\xda\x41 private_auction_deal,update_mask\x82\xd3\xe4\x93\x02X2@/v1/{private_auction_deal.name=networks/*/privateAuctionDeals/*}:\x14private_auction_deal\x1aG\xca\x41\x18\x61\x64manager.googleapis.com\xd2\x41)https://www.googleapis.com/auth/admanagerB\xd2\x01\n\x1b\x63om.google.ads.admanager.v1B\x1ePrivateAuctionDealServiceProtoP\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.ads.admanager.v1.PrivateAuctionDeal", "google/ads/admanager/v1/private_auction_deal_messages.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.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
        GetPrivateAuctionDealRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.GetPrivateAuctionDealRequest").msgclass
        ListPrivateAuctionDealsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.ListPrivateAuctionDealsRequest").msgclass
        ListPrivateAuctionDealsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.ListPrivateAuctionDealsResponse").msgclass
        CreatePrivateAuctionDealRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.CreatePrivateAuctionDealRequest").msgclass
        UpdatePrivateAuctionDealRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.UpdatePrivateAuctionDealRequest").msgclass
      end
    end
  end
end
