# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: filter.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    1,
    '',
    'filter.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from terrascope_api.models import common_models_pb2 as common__models__pb2

from terrascope_api.models.common_models_pb2 import *

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x66ilter.proto\x12\x07oi.papi\x1a\x1cgoogle/protobuf/struct.proto\x1a\x13\x63ommon_models.proto\"\xb8\x01\n\x13\x46ilterCreateRequest\x12\x11\n\tdata_type\x18\x01 \x01(\t\x12\x12\n\nexpression\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x17\n\x0f\x66ilter_language\x18\x05 \x01(\t\x12)\n\x08metadata\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x13\n\x0b\x66ilter_type\x18\x07 \x01(\t\">\n\x14\x46ilterCreateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\x11\n\tfilter_id\x18\x02 \x01(\t\"\"\n\x13\x46ilterDeleteRequest\x12\x0b\n\x03ids\x18\x01 \x03(\t\"+\n\x14\x46ilterDeleteResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"\xd8\x01\n\x1a\x46ilterMappingCreateRequest\x12\x16\n\x0e\x63omputation_id\x18\x01 \x01(\t\x12\x11\n\tfilter_id\x18\x02 \x01(\t\x12\x18\n\x0cinput_filter\x18\x03 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x11\x65xpression_params\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12)\n\x08metadata\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x16\n\x0e\x64\x61ta_source_id\x18\x06 \x01(\t\"2\n\x1b\x46ilterMappingCreateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"\x8e\x01\n\x11\x46ilterListRequest\x12\'\n\npagination\x18\x01 \x01(\x0b\x32\x13.oi.papi.Pagination\x12\x12\n\ndata_types\x18\x02 \x03(\t\x12\x13\n\x0bsearch_text\x18\x03 \x01(\t\x12\x12\n\nproject_id\x18\x04 \x01(\t\x12\x13\n\x0b\x66ilter_type\x18\x05 \x01(\t\"\x92\x03\n\x06\x46ilter\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x12\n\nexpression\x18\x04 \x01(\t\x12\x11\n\tdata_type\x18\x05 \x01(\t\x12\x37\n\x0f\x66ilter_language\x18\x06 \x01(\x0e\x32\x1e.oi.papi.Filter.FilterLanguage\x12)\n\x08metadata\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\x12/\n\x0b\x66ilter_type\x18\x08 \x01(\x0e\x32\x1a.oi.papi.Filter.FilterType\"K\n\x0e\x46ilterLanguage\x12\x1b\n\x17UNKNOWN_FILTER_LANGUAGE\x10\x00\x12\r\n\tCQL2_TEXT\x10\x01\x12\r\n\tCQL2_JSON\x10\x02\"P\n\nFilterType\x12\x17\n\x13UNKNOWN_FILTER_TYPE\x10\x00\x12\x0c\n\x08\x42OOKMARK\x10\x01\x12\x0f\n\x0b\x44\x41TA_SOURCE\x10\x02\x12\n\n\x06RESULT\x10\x03\"t\n\x12\x46ilterListResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12 \n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x0f.oi.papi.Filter\x12\'\n\npagination\x18\x03 \x01(\x0b\x32\x13.oi.papi.Pagination2\xb7\x02\n\tFilterApi\x12\x45\n\x06\x63reate\x12\x1c.oi.papi.FilterCreateRequest\x1a\x1d.oi.papi.FilterCreateResponse\x12\x45\n\x06\x64\x65lete\x12\x1c.oi.papi.FilterDeleteRequest\x1a\x1d.oi.papi.FilterDeleteResponse\x12[\n\x0e\x63reate_mapping\x12#.oi.papi.FilterMappingCreateRequest\x1a$.oi.papi.FilterMappingCreateResponse\x12?\n\x04list\x12\x1a.oi.papi.FilterListRequest\x1a\x1b.oi.papi.FilterListResponseP\x01\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'filter_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_FILTERMAPPINGCREATEREQUEST'].fields_by_name['input_filter']._loaded_options = None
  _globals['_FILTERMAPPINGCREATEREQUEST'].fields_by_name['input_filter']._serialized_options = b'\030\001'
  _globals['_FILTERCREATEREQUEST']._serialized_start=77
  _globals['_FILTERCREATEREQUEST']._serialized_end=261
  _globals['_FILTERCREATERESPONSE']._serialized_start=263
  _globals['_FILTERCREATERESPONSE']._serialized_end=325
  _globals['_FILTERDELETEREQUEST']._serialized_start=327
  _globals['_FILTERDELETEREQUEST']._serialized_end=361
  _globals['_FILTERDELETERESPONSE']._serialized_start=363
  _globals['_FILTERDELETERESPONSE']._serialized_end=406
  _globals['_FILTERMAPPINGCREATEREQUEST']._serialized_start=409
  _globals['_FILTERMAPPINGCREATEREQUEST']._serialized_end=625
  _globals['_FILTERMAPPINGCREATERESPONSE']._serialized_start=627
  _globals['_FILTERMAPPINGCREATERESPONSE']._serialized_end=677
  _globals['_FILTERLISTREQUEST']._serialized_start=680
  _globals['_FILTERLISTREQUEST']._serialized_end=822
  _globals['_FILTER']._serialized_start=825
  _globals['_FILTER']._serialized_end=1227
  _globals['_FILTER_FILTERLANGUAGE']._serialized_start=1070
  _globals['_FILTER_FILTERLANGUAGE']._serialized_end=1145
  _globals['_FILTER_FILTERTYPE']._serialized_start=1147
  _globals['_FILTER_FILTERTYPE']._serialized_end=1227
  _globals['_FILTERLISTRESPONSE']._serialized_start=1229
  _globals['_FILTERLISTRESPONSE']._serialized_end=1345
  _globals['_FILTERAPI']._serialized_start=1348
  _globals['_FILTERAPI']._serialized_end=1659
# @@protoc_insertion_point(module_scope)
