# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v16/common/matching_function.proto require 'google/protobuf' require 'google/ads/google_ads/v16/enums/matching_function_context_type_pb' require 'google/ads/google_ads/v16/enums/matching_function_operator_pb' descriptor_data = "\n7google/ads/googleads/v16/common/matching_function.proto\x12\x1fgoogle.ads.googleads.v16.common\x1a\x43google/ads/googleads/v16/enums/matching_function_context_type.proto\x1a?google/ads/googleads/v16/enums/matching_function_operator.proto\"\xb0\x02\n\x10MatchingFunction\x12\x1c\n\x0f\x66unction_string\x18\x05 \x01(\tH\x00\x88\x01\x01\x12g\n\x08operator\x18\x04 \x01(\x0e\x32U.google.ads.googleads.v16.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator\x12?\n\rleft_operands\x18\x02 \x03(\x0b\x32(.google.ads.googleads.v16.common.Operand\x12@\n\x0eright_operands\x18\x03 \x03(\x0b\x32(.google.ads.googleads.v16.common.OperandB\x12\n\x10_function_string\"\x81\x07\n\x07Operand\x12T\n\x10\x63onstant_operand\x18\x01 \x01(\x0b\x32\x38.google.ads.googleads.v16.common.Operand.ConstantOperandH\x00\x12_\n\x16\x66\x65\x65\x64_attribute_operand\x18\x02 \x01(\x0b\x32=.google.ads.googleads.v16.common.Operand.FeedAttributeOperandH\x00\x12T\n\x10\x66unction_operand\x18\x03 \x01(\x0b\x32\x38.google.ads.googleads.v16.common.Operand.FunctionOperandH\x00\x12\x61\n\x17request_context_operand\x18\x04 \x01(\x0b\x32>.google.ads.googleads.v16.common.Operand.RequestContextOperandH\x00\x1a\x8a\x01\n\x0f\x43onstantOperand\x12\x16\n\x0cstring_value\x18\x05 \x01(\tH\x00\x12\x14\n\nlong_value\x18\x06 \x01(\x03H\x00\x12\x17\n\rboolean_value\x18\x07 \x01(\x08H\x00\x12\x16\n\x0c\x64ouble_value\x18\x08 \x01(\x01H\x00\x42\x18\n\x16\x63onstant_operand_value\x1an\n\x14\x46\x65\x65\x64\x41ttributeOperand\x12\x14\n\x07\x66\x65\x65\x64_id\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12\x1e\n\x11\x66\x65\x65\x64_attribute_id\x18\x04 \x01(\x03H\x01\x88\x01\x01\x42\n\n\x08_feed_idB\x14\n\x12_feed_attribute_id\x1a_\n\x0f\x46unctionOperand\x12L\n\x11matching_function\x18\x01 \x01(\x0b\x32\x31.google.ads.googleads.v16.common.MatchingFunction\x1a\x8a\x01\n\x15RequestContextOperand\x12q\n\x0c\x63ontext_type\x18\x01 \x01(\x0e\x32[.google.ads.googleads.v16.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextTypeB\x1b\n\x19\x66unction_argument_operandB\xf5\x01\n#com.google.ads.googleads.v16.commonB\x15MatchingFunctionProtoP\x01ZEgoogle.golang.org/genproto/googleapis/ads/googleads/v16/common;common\xa2\x02\x03GAA\xaa\x02\x1fGoogle.Ads.GoogleAds.V16.Common\xca\x02\x1fGoogle\\Ads\\GoogleAds\\V16\\Common\xea\x02#Google::Ads::GoogleAds::V16::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 V16 module Common MatchingFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.MatchingFunction").msgclass Operand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.Operand").msgclass Operand::ConstantOperand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.Operand.ConstantOperand").msgclass Operand::FeedAttributeOperand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.Operand.FeedAttributeOperand").msgclass Operand::FunctionOperand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.Operand.FunctionOperand").msgclass Operand::RequestContextOperand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.Operand.RequestContextOperand").msgclass end end end end end