# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v16/resources/product_category_constant.proto require 'google/protobuf' require 'google/ads/google_ads/v16/enums/product_category_level_pb' require 'google/ads/google_ads/v16/enums/product_category_state_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' descriptor_data = "\nBgoogle/ads/googleads/v16/resources/product_category_constant.proto\x12\"google.ads.googleads.v16.resources\x1a;google/ads/googleads/v16/enums/product_category_level.proto\x1a;google/ads/googleads/v16/enums/product_category_state.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xd2\x06\n\x17ProductCategoryConstant\x12O\n\rresource_name\x18\x01 \x01(\tB8\xe0\x41\x03\xfa\x41\x32\n0googleads.googleapis.com/ProductCategoryConstant\x12\x18\n\x0b\x63\x61tegory_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12g\n product_category_constant_parent\x18\x03 \x01(\tB8\xe0\x41\x03\xfa\x41\x32\n0googleads.googleapis.com/ProductCategoryConstantH\x00\x88\x01\x01\x12\x61\n\x05level\x18\x04 \x01(\x0e\x32M.google.ads.googleads.v16.enums.ProductCategoryLevelEnum.ProductCategoryLevelB\x03\xe0\x41\x03\x12\x61\n\x05state\x18\x05 \x01(\x0e\x32M.google.ads.googleads.v16.enums.ProductCategoryStateEnum.ProductCategoryStateB\x03\xe0\x41\x03\x12s\n\rlocalizations\x18\x06 \x03(\x0b\x32W.google.ads.googleads.v16.resources.ProductCategoryConstant.ProductCategoryLocalizationB\x03\xe0\x41\x03\x1ag\n\x1bProductCategoryLocalization\x12\x18\n\x0bregion_code\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05value\x18\x03 \x01(\tB\x03\xe0\x41\x03:\x99\x01\xea\x41\x95\x01\n0googleads.googleapis.com/ProductCategoryConstant\x12.productCategoryConstants/{level}~{category_id}*\x18productCategoryConstants2\x17productCategoryConstantB#\n!_product_category_constant_parentB\x8e\x02\n&com.google.ads.googleads.v16.resourcesB\x1cProductCategoryConstantProtoP\x01ZKgoogle.golang.org/genproto/googleapis/ads/googleads/v16/resources;resources\xa2\x02\x03GAA\xaa\x02\"Google.Ads.GoogleAds.V16.Resources\xca\x02\"Google\\Ads\\GoogleAds\\V16\\Resources\xea\x02&Google::Ads::GoogleAds::V16::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 V16 module Resources ProductCategoryConstant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.resources.ProductCategoryConstant").msgclass ProductCategoryConstant::ProductCategoryLocalization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.resources.ProductCategoryConstant.ProductCategoryLocalization").msgclass end end end end end