# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/analytics/admin/v1alpha/subproperty_event_filter.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'


descriptor_data = "\n=google/analytics/admin/v1alpha/subproperty_event_filter.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x81\x04\n\x1fSubpropertyEventFilterCondition\x12\x15\n\x0bnull_filter\x18\x02 \x01(\x08H\x00\x12\x65\n\rstring_filter\x18\x03 \x01(\x0b\x32L.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterH\x00\x12\x17\n\nfield_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\xb8\x02\n\x0cStringFilter\x12o\n\nmatch_type\x18\x01 \x01(\x0e\x32V.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchTypeB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x63\x61se_sensitive\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x85\x01\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45XACT\x10\x01\x12\x0f\n\x0b\x42\x45GINS_WITH\x10\x02\x12\r\n\tENDS_WITH\x10\x03\x12\x0c\n\x08\x43ONTAINS\x10\x04\x12\x0f\n\x0b\x46ULL_REGEXP\x10\x05\x12\x12\n\x0ePARTIAL_REGEXP\x10\x06\x42\x0c\n\none_filter\"\xbd\x02\n SubpropertyEventFilterExpression\x12X\n\x08or_group\x18\x01 \x01(\x0b\x32\x44.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListH\x00\x12Z\n\x0enot_expression\x18\x02 \x01(\x0b\x32@.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionH\x00\x12[\n\x10\x66ilter_condition\x18\x03 \x01(\x0b\x32?.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionH\x00\x42\x06\n\x04\x65xpr\"\x8c\x01\n$SubpropertyEventFilterExpressionList\x12\x64\n\x12\x66ilter_expressions\x18\x01 \x03(\x0b\x32@.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionB\x06\xe0\x41\x02\xe0\x41\x06\"\xc2\x02\n\x1cSubpropertyEventFilterClause\x12n\n\x12\x66ilter_clause_type\x18\x01 \x01(\x0e\x32M.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseTypeB\x03\xe0\x41\x02\x12`\n\x11\x66ilter_expression\x18\x02 \x01(\x0b\x32@.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionB\x03\xe0\x41\x02\"P\n\x10\x46ilterClauseType\x12\"\n\x1e\x46ILTER_CLAUSE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07INCLUDE\x10\x01\x12\x0b\n\x07\x45XCLUDE\x10\x02\"\xfd\x02\n\x16SubpropertyEventFilter\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12#\n\x11\x61pply_to_property\x18\x02 \x01(\tB\x03\xe0\x41\x05H\x00\x88\x01\x01\x12\\\n\x0e\x66ilter_clauses\x18\x03 \x03(\x0b\x32<.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseB\x06\xe0\x41\x02\xe0\x41\x06:\xb6\x01\xea\x41\xb2\x01\n4analyticsadmin.googleapis.com/SubpropertyEventFilter\x12Iproperties/{property}/subpropertyEventFilters/{sub_property_event_filter}*\x17subpropertyEventFilters2\x16subpropertyEventFilterB\x14\n\x12_apply_to_propertyB\x83\x01\n\"com.google.analytics.admin.v1alphaB\x1bSubpropertyEventFilterProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\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 Analytics
    module Admin
      module V1alpha
        SubpropertyEventFilterCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SubpropertyEventFilterCondition").msgclass
        SubpropertyEventFilterCondition::StringFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter").msgclass
        SubpropertyEventFilterCondition::StringFilter::MatchType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType").enummodule
        SubpropertyEventFilterExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SubpropertyEventFilterExpression").msgclass
        SubpropertyEventFilterExpressionList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList").msgclass
        SubpropertyEventFilterClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SubpropertyEventFilterClause").msgclass
        SubpropertyEventFilterClause::FilterClauseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType").enummodule
        SubpropertyEventFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SubpropertyEventFilter").msgclass
      end
    end
  end
end