# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v19/resources/local_services_lead.proto

require 'google/protobuf'

require 'google/ads/google_ads/v19/enums/local_services_lead_credit_state_pb'
require 'google/ads/google_ads/v19/enums/local_services_lead_status_pb'
require 'google/ads/google_ads/v19/enums/local_services_lead_type_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'


descriptor_data = "\n<google/ads/googleads/v19/resources/local_services_lead.proto\x12\"google.ads.googleads.v19.resources\x1a\x45google/ads/googleads/v19/enums/local_services_lead_credit_state.proto\x1a?google/ads/googleads/v19/enums/local_services_lead_status.proto\x1a=google/ads/googleads/v19/enums/local_services_lead_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xd2\x06\n\x11LocalServicesLead\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x03\xfa\x41,\n*googleads.googleapis.com/LocalServicesLead\x12\x0f\n\x02id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x63\x61tegory_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nservice_id\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12P\n\x0f\x63ontact_details\x18\x05 \x01(\x0b\x32\x32.google.ads.googleads.v19.resources.ContactDetailsB\x03\xe0\x41\x03\x12Z\n\tlead_type\x18\x06 \x01(\x0e\x32\x42.google.ads.googleads.v19.enums.LocalServicesLeadTypeEnum.LeadTypeB\x03\xe0\x41\x03\x12`\n\x0blead_status\x18\x07 \x01(\x0e\x32\x46.google.ads.googleads.v19.enums.LocalServicesLeadStatusEnum.LeadStatusB\x03\xe0\x41\x03\x12\x1f\n\x12\x63reation_date_time\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06locale\x18\t \x01(\tB\x03\xe0\x41\x03\x12@\n\x04note\x18\n \x01(\x0b\x32(.google.ads.googleads.v19.resources.NoteB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x19\n\x0clead_charged\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03\x12S\n\x0e\x63redit_details\x18\x0c \x01(\x0b\x32\x31.google.ads.googleads.v19.resources.CreditDetailsB\x03\xe0\x41\x03H\x01\x88\x01\x01\x12$\n\x17lead_feedback_submitted\x18\r \x01(\x08\x42\x03\xe0\x41\x03:t\xea\x41q\n*googleads.googleapis.com/LocalServicesLead\x12\x43\x63ustomers/{customer_id}/localServicesLeads/{local_services_lead_id}B\x07\n\x05_noteB\x11\n\x0f_credit_details\"[\n\x0e\x43ontactDetails\x12\x19\n\x0cphone_number\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05\x65mail\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rconsumer_name\x18\x03 \x01(\tB\x03\xe0\x41\x03\"=\n\x04Note\x12\x1b\n\x0e\x65\x64it_date_time\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xa5\x01\n\rCreditDetails\x12\x63\n\x0c\x63redit_state\x18\x01 \x01(\x0e\x32H.google.ads.googleads.v19.enums.LocalServicesCreditStateEnum.CreditStateB\x03\xe0\x41\x03\x12/\n\"credit_state_last_update_date_time\x18\x02 \x01(\tB\x03\xe0\x41\x03\x42\x88\x02\n&com.google.ads.googleads.v19.resourcesB\x16LocalServicesLeadProtoP\x01ZKgoogle.golang.org/genproto/googleapis/ads/googleads/v19/resources;resources\xa2\x02\x03GAA\xaa\x02\"Google.Ads.GoogleAds.V19.Resources\xca\x02\"Google\\Ads\\GoogleAds\\V19\\Resources\xea\x02&Google::Ads::GoogleAds::V19::Resourcesb\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 V19
        module Resources
          LocalServicesLead = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.resources.LocalServicesLead").msgclass
          ContactDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.resources.ContactDetails").msgclass
          Note = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.resources.Note").msgclass
          CreditDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.resources.CreditDetails").msgclass
        end
      end
    end
  end
end
