# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: router.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


import notification_pb2 as notification__pb2
import sharding_pb2 as sharding__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0crouter.proto\x1a\x12notification.proto\x1a\x0esharding.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"r\n\x04Path\x12\x18\n\x04type\x18\x01 \x01(\x0e\x32\n.Path.Type\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0c\n\x04keys\x18\x03 \x03(\x0c\x12\x15\n\rpath_elements\x18\x04 \x03(\x0c\"\x1d\n\x04Type\x12\t\n\x05\x45XACT\x10\x00\x12\n\n\x06REGEXP\x10\x01\"8\n\x05Query\x12\x19\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x08.Dataset\x12\x14\n\x05paths\x18\x02 \x03(\x0b\x32\x05.Path\"I\n\x10SubscribeRequest\x12\x15\n\x05query\x18\x01 \x03(\x0b\x32\x06.Query\x12\x1e\n\x0bsharded_sub\x18\x02 \x01(\x0b\x32\t.Sharding\"\xca\x01\n\nGetRequest\x12\x15\n\x05query\x18\x01 \x03(\x0b\x32\x06.Query\x12\r\n\x05start\x18\x04 \x01(\x04\x12\x10\n\x08versions\x18\x05 \x01(\r\x12\x0b\n\x03\x65nd\x18\x03 \x01(\x04\x12\x13\n\x0b\x65xact_range\x18\x06 \x01(\x08\x12\x1e\n\x0bsharded_sub\x18\x07 \x01(\x0b\x32\t.Sharding\x12\x35\n\x14wildcard_expand_type\x18\x08 \x01(\x0e\x32\x17.PathWildCardExpandTypeJ\x04\x08\x02\x10\x03R\x05\x63ount\"\xbc\x01\n\x16GetAndSubscribeRequest\x12\x15\n\x05query\x18\x01 \x03(\x0b\x32\x06.Query\x12\r\n\x05start\x18\x02 \x01(\x04\x12\x10\n\x08versions\x18\x03 \x01(\r\x12\x13\n\x0b\x65xact_range\x18\x04 \x01(\x08\x12\x1e\n\x0bsharded_sub\x18\x05 \x01(\x0b\x32\t.Sharding\x12\x35\n\x14wildcard_expand_type\x18\x06 \x01(\x0e\x32\x17.PathWildCardExpandType\"/\n\x04Sort\x12\x0e\n\x06\x66ields\x18\x01 \x03(\t\x12\x17\n\x04type\x18\x02 \x01(\x0e\x32\t.SortType\"\xb1\x03\n\rSearchRequest\x12\x0e\n\x06search\x18\x01 \x01(\t\x12(\n\x0bsearch_type\x18\x02 \x01(\x0e\x32\x13.SearchRequest.Type\x12\x15\n\x05query\x18\x03 \x03(\x0b\x32\x06.Query\x12\r\n\x05start\x18\x04 \x01(\x04\x12\x0b\n\x03\x65nd\x18\x05 \x01(\x04\x12\x12\n\ncount_only\x18\x06 \x01(\x08\x12\x1c\n\x0bkey_filters\x18\x07 \x03(\x0b\x32\x07.Filter\x12\x1e\n\rvalue_filters\x18\x08 \x03(\x0b\x32\x07.Filter\x12\x13\n\x04sort\x18\t \x03(\x0b\x32\x05.Sort\x12\x13\n\x0b\x65xact_range\x18\n \x01(\x08\x12\x1e\n\x0bsharded_sub\x18\x0b \x01(\x0b\x32\t.Sharding\x12\x12\n\nexact_term\x18\x0c \x01(\x08\x12\x13\n\x0bresult_size\x18\x15 \x01(\r\x12\x0e\n\x06offset\x18\x16 \x01(\r\x12 \n\x04meta\x18\x17 \x01(\x0b\x32\x12.NotificationBatch\"<\n\x04Type\x12\n\n\x06STRING\x10\x00\x12\x07\n\x03MAC\x10\x01\x12\x06\n\x02IP\x10\x02\x12\x0b\n\x07\x43OMPLEX\x10\x03\x12\n\n\x06\x43USTOM\x10\x04\"\x91\x05\n\x06\x46ilter\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x1c\n\x02op\x18\x02 \x01(\x0e\x32\x10.Filter.Operator\x12\x1c\n\x05value\x18\x03 \x01(\x0b\x32\r.Filter.Value\x12\x14\n\x0cnested_field\x18\x0b \x03(\t\x12\x1c\n\x0bsub_filters\x18\x15 \x03(\x0b\x32\x07.Filter\x1a\xc5\x01\n\x05Value\x12\r\n\x03str\x18\x01 \x01(\tH\x00\x12\r\n\x03int\x18\x02 \x01(\x12H\x00\x12\x0e\n\x04uint\x18\x03 \x01(\x04H\x00\x12\x0f\n\x05\x66loat\x18\x04 \x01(\x01H\x00\x12\x0b\n\x01\x62\x18\x05 \x01(\x08H\x00\x12\x0c\n\x02ip\x18\x06 \x01(\tH\x00\x12\r\n\x03mac\x18\x07 \x01(\tH\x00\x12&\n\x04\x63omp\x18\x08 \x01(\x0b\x32\x16.Filter.ComponentValueH\x00\x12#\n\x05multi\x18\t \x01(\x0b\x32\x12.Filter.MultiValueH\x00\x42\x06\n\x04kind\x1ap\n\x0e\x43omponentValue\x12\x30\n\x05value\x18\x01 \x03(\x0b\x32!.Filter.ComponentValue.ValueEntry\x1a,\n\nValueEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\nMultiValue\x12\x1d\n\x06values\x18\x01 \x03(\x0b\x32\r.Filter.Value\"\xa0\x01\n\x08Operator\x12\x06\n\x02\x45Q\x10\x00\x12\x07\n\x03NEQ\x10\x01\x12\x06\n\x02GT\x10\x02\x12\x06\n\x02GE\x10\x03\x12\x06\n\x02LT\x10\x04\x12\x06\n\x02LE\x10\x05\x12\x06\n\x02RE\x10\x06\x12\x07\n\x03NRE\x10\x07\x12\x06\n\x02IN\x10\x08\x12\x07\n\x03NIN\x10\t\x12\x07\n\x03SUB\x10\n\x12\x0c\n\x08WILDCARD\x10\x0b\x12\x0b\n\x07\x42ITMASK\x10\x10\x12\r\n\tLOGICALOR\x10\x14\x12\x0e\n\nLOGICALAND\x10\x15\"\x8c\x02\n\tAggregate\x12\"\n\taggr_type\x18\x01 \x01(\x0e\x32\x0f.Aggregate.Type\x12\x0e\n\x06\x66ields\x18\x02 \x03(\t\x12\x17\n\x04sort\x18\x03 \x01(\x0e\x32\t.SortType\x12\x1d\n\tsub_aggrs\x18\x04 \x03(\x0b\x32\n.Aggregate\x12\x1d\n\x04term\x18\x15 \x01(\x0b\x32\r.term_optionsH\x00\x12\x1d\n\x04hist\x18\x1a \x01(\x0b\x32\r.hist_optionsH\x00\"K\n\x04Type\x12\x0b\n\x07Invalid\x10\x00\x12\x08\n\x04TERM\x10\x01\x12\x07\n\x03SUM\x10\x02\x12\x07\n\x03\x41VG\x10\x03\x12\x07\n\x03MAX\x10\x04\x12\x07\n\x03MIN\x10\x05\x12\x08\n\x04HIST\x10\x06\x42\x08\n\x06Option\"\xb3\x01\n\x0cterm_options\x12\x16\n\x0enum_of_buckets\x18\x01 \x01(\r\x12&\n\nfield_type\x18\x02 \x01(\x0e\x32\x12.term_options.Type\"c\n\x04Type\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04\x42OOL\x10\x01\x12\n\n\x06\x44OUBLE\x10\x02\x12\x08\n\x04LONG\x10\x03\x12\n\n\x06STRING\x10\x04\x12\r\n\tCOMPONENT\x10\x05\x12\x06\n\x02IP\x10\x06\x12\x07\n\x03MAC\x10\x07\"\x88\x01\n\x0chist_options\x12\x10\n\x08interval\x18\x01 \x01(\x04\x12\x13\n\x0b\x61llow_empty\x18\x02 \x01(\x08\x12-\n\x0f\x65xtended_bounds\x18\x03 \x01(\x0b\x32\x14.hist_options.bounds\x1a\"\n\x06\x62ounds\x12\x0b\n\x03min\x18\x01 \x01(\x03\x12\x0b\n\x03max\x18\x02 \x01(\x03\"R\n\x15SearchRequestWithAggr\x12\x1e\n\x06search\x18\x01 \x01(\x0b\x32\x0e.SearchRequest\x12\x19\n\x05\x61ggrs\x18\x02 \x03(\x0b\x32\n.Aggregate\"\x1d\n\nByteStream\x12\x0f\n\x07message\x18\x01 \x01(\x0c\"H\n\x0c\x41ggrResponse\x12\x1c\n\x07\x62uckets\x18\x01 \x03(\x0b\x32\x0b.AggrBucket\x12\x1a\n\x06\x66ields\x18\x02 \x03(\x0b\x32\n.AggrField\"y\n\nAggrBucket\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x04\x12\x11\n\taggr_name\x18\x03 \x01(\t\x12\x1a\n\x06\x66ields\x18\x0b \x03(\x0b\x32\n.AggrField\x12 \n\x0bsub_buckets\x18\x0c \x03(\x0b\x32\x0b.AggrBucket\"(\n\tAggrField\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01\"X\n\nIndexField\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1c\n\x04type\x18\x02 \x01(\x0e\x32\x0e.IndexDataType\x12\x1e\n\tsub_field\x18\x0b \x03(\x0b\x32\x0b.IndexField\"P\n\x12\x43ustomIndexOptions\x12\x19\n\x11\x64\x65lete_after_days\x18\x01 \x01(\r\x12\x1f\n\x17inuse_delete_after_days\x18\x02 \x01(\r\"l\n\x11\x43ustomIndexSchema\x12\x15\n\x05query\x18\x01 \x01(\x0b\x32\x06.Query\x12\x1b\n\x06schema\x18\x0b \x03(\x0b\x32\x0b.IndexField\x12#\n\x06option\x18\x15 \x01(\x0b\x32\x13.CustomIndexOptions\"B\n\x14\x43ustomIndexSchemaDel\x12\x15\n\x05query\x18\x01 \x01(\x0b\x32\x06.Query\x12\x13\n\x0b\x64\x65lete_data\x18\x0b \x01(\x08\"h\n\x0ePublishRequest\x12!\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32\x12.NotificationBatch\x12\x0c\n\x04sync\x18\x02 \x01(\x08\x12%\n\x07\x63ompare\x18\x03 \x01(\x0b\x32\x14.Notification.Update\"Z\n\x0f\x44\x61tasetsRequest\x12\r\n\x05types\x18\x01 \x03(\t\x12\x1e\n\x0bsharded_sub\x18\x02 \x01(\x0b\x32\t.Sharding\x12\x18\n\x06parent\x18\x03 \x01(\x0b\x32\x08.Dataset\".\n\x10\x44\x61tasetsResponse\x12\x1a\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32\x08.Dataset\"1\n\x14\x43reateDatasetRequest\x12\x19\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x08.Dataset\"\xb9\x04\n\x14SetPermissionRequest\x12(\n\x04type\x18\x01 \x01(\x0e\x32\x1a.SetPermissionRequest.Type\x12\x19\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32\x08.Dataset\x12\x17\n\x05other\x18\x03 \x01(\x0b\x32\x08.Dataset\x12\x31\n\tpathPerms\x18\x06 \x03(\x0b\x32\x1e.SetPermissionRequest.PathPerm\x1a\xf4\x01\n\x08PathPerm\x12\x13\n\x04path\x18\x01 \x01(\x0b\x32\x05.Path\x12\x34\n\x07newPerm\x18\x02 \x01(\x0e\x32#.SetPermissionRequest.PathPerm.Perm\x12\x38\n\x0b\x63urrentPerm\x18\x03 \x01(\x0e\x32#.SetPermissionRequest.PathPerm.Perm\x12\x12\n\nexactMatch\x18\x04 \x01(\x08\"O\n\x04Perm\x12\x13\n\x0fNULL_PERM_VALUE\x10\x00\x12\r\n\tREAD_PERM\x10\x01\x12\x0e\n\nWRITE_PERM\x10\x02\x12\x13\n\x0fREAD_WRITE_PERM\x10\x03\"\x98\x01\n\x04Type\x12\x13\n\x0fPATH_PERMISSION\x10\x00\x12\x16\n\x12INHERIT_PERMISSION\x10\x01\x12\x18\n\x14UNINHERIT_PERMISSION\x10\x02\x12\x14\n\x10\x41\x44MIN_PERMISSION\x10\x03\x12\x17\n\x13SET_ROLE_PERMISSION\x10\x04\x12\x1a\n\x16REMOVE_ROLE_PERMISSION\x10\x05\";\n\rPermissionSet\x12*\n\x0bpermissions\x18\x01 \x03(\x0b\x32\x15.SetPermissionRequest\"g\n\x12\x43lusterDescription\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x63lusterName\x18\x02 \x01(\t\x12\r\n\x05\x65poch\x18\x03 \x01(\r\"A\n\x12SetPasswordRequest\x12\x19\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x08.Dataset\x12\x10\n\x08password\x18\x02 \x01(\t\"B\n\x14\x43reateSessionRequest\x12\x19\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x08.Dataset\x12\x0f\n\x07timeout\x18\x02 \x01(\x03\"9\n\x15\x43reateSessionResponse\x12\x10\n\x08jwtToken\x18\x01 \x01(\t\x12\x0e\n\x06\x65xpiry\x18\x02 \x01(\x03\")\n\nSQLRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x0c\n\x04\x61rgs\x18\x02 \x03(\x0c\" \n\x0eSQLResponseRow\x12\x0e\n\x06values\x18\x01 \x03(\x0c\"r\n\x0bSQLResponse\x12\x1d\n\x04rows\x18\x01 \x03(\x0b\x32\x0f.SQLResponseRow\x12\'\n\x08metadata\x18\x02 \x01(\x0b\x32\x15.SQLResponse.Metadata\x1a\x1b\n\x08Metadata\x12\x0f\n\x07\x63olumns\x18\x01 \x03(\t*\x94\x01\n\x16PathWildCardExpandType\x12\x1a\n\x16WILDCARD_EXPAND_LEGACY\x10\x00\x12\x1a\n\x16WILDCARD_EXPAND_LATEST\x10\x01\x12\x1f\n\x1bWILDCARD_EXPAND_EXACT_RANGE\x10\x02\x12!\n\x1dWILDCARD_EXPAND_RELAXED_RANGE\x10\x03*/\n\x08SortType\x12\x10\n\x0cSORT_INVALID\x10\x00\x12\x08\n\x04\x44\x45SC\x10\x01\x12\x07\n\x03\x41SC\x10\x02*W\n\rIndexDataType\x12\x0b\n\x07INVALID\x10\x00\x12\x0b\n\x07INTEGER\x10\x01\x12\t\n\x05\x46LOAT\x10\x02\x12\n\n\x06STRING\x10\x03\x12\t\n\x05\x41RRAY\x10\x0b\x12\n\n\x06OBJECT\x10\x0c\x32\x96\x02\n\x08RouterV1\x12\x32\n\x07Publish\x12\x0f.PublishRequest\x1a\x16.google.protobuf.Empty\x12\x34\n\tSubscribe\x12\x11.SubscribeRequest\x1a\x12.NotificationBatch0\x01\x12(\n\x03Get\x12\x0b.GetRequest\x1a\x12.NotificationBatch0\x01\x12@\n\x0fGetAndSubscribe\x12\x17.GetAndSubscribeRequest\x1a\x12.NotificationBatch0\x01\x12\x34\n\x0bGetDatasets\x12\x10.DatasetsRequest\x1a\x11.DatasetsResponse0\x01\x32\xb7\x02\n\x04\x41uth\x12>\n\rCreateDataset\x12\x15.CreateDatasetRequest\x1a\x16.google.protobuf.Empty\x12>\n\rSetPermission\x12\x15.SetPermissionRequest\x1a\x16.google.protobuf.Empty\x12\x31\n\x10GetPermissionSet\x12\x0b.GetRequest\x1a\x0e.PermissionSet0\x01\x12:\n\x0bSetPassword\x12\x13.SetPasswordRequest\x1a\x16.google.protobuf.Empty\x12@\n\rCreateSession\x12\x15.CreateSessionRequest\x1a\x16.CreateSessionResponse0\x01\x32\xfb\x02\n\x06Search\x12.\n\x06Search\x12\x0e.SearchRequest\x1a\x12.NotificationBatch0\x01\x12\x37\n\x0fSearchSubscribe\x12\x0e.SearchRequest\x1a\x12.NotificationBatch0\x01\x12>\n\x15SearchWithAggregation\x12\x16.SearchRequestWithAggr\x1a\r.AggrResponse\x12\x44\n\x1bSearchWithAggregationStream\x12\x16.SearchRequestWithAggr\x1a\x0b.ByteStream0\x01\x12=\n\x0fSetCustomSchema\x12\x12.CustomIndexSchema\x1a\x16.google.protobuf.Empty\x12\x43\n\x12\x44\x65leteCustomSchema\x12\x15.CustomIndexSchemaDel\x1a\x16.google.protobuf.Empty2\xfa\x02\n\x05\x41lpha\x12.\n\x06Search\x12\x0e.SearchRequest\x1a\x12.NotificationBatch0\x01\x12\x37\n\x0fSearchSubscribe\x12\x0e.SearchRequest\x1a\x12.NotificationBatch0\x01\x12>\n\x15SearchWithAggregation\x12\x16.SearchRequestWithAggr\x1a\r.AggrResponse\x12\x44\n\x1bSearchWithAggregationStream\x12\x16.SearchRequestWithAggr\x1a\x0b.ByteStream0\x01\x12=\n\x0fSetCustomSchema\x12\x12.CustomIndexSchema\x1a\x16.google.protobuf.Empty\x12\x43\n\x12\x44\x65leteCustomSchema\x12\x15.CustomIndexSchemaDel\x1a\x16.google.protobuf.Empty2-\n\x07Querier\x12\"\n\x03SQL\x12\x0b.SQLRequest\x1a\x0c.SQLResponse0\x01\x32G\n\x07\x43luster\x12<\n\x0b\x43lusterInfo\x12\x16.google.protobuf.Empty\x1a\x13.ClusterDescription0\x01\x42\x05Z\x03genb\x06proto3')

_PATHWILDCARDEXPANDTYPE = DESCRIPTOR.enum_types_by_name['PathWildCardExpandType']
PathWildCardExpandType = enum_type_wrapper.EnumTypeWrapper(_PATHWILDCARDEXPANDTYPE)
_SORTTYPE = DESCRIPTOR.enum_types_by_name['SortType']
SortType = enum_type_wrapper.EnumTypeWrapper(_SORTTYPE)
_INDEXDATATYPE = DESCRIPTOR.enum_types_by_name['IndexDataType']
IndexDataType = enum_type_wrapper.EnumTypeWrapper(_INDEXDATATYPE)
WILDCARD_EXPAND_LEGACY = 0
WILDCARD_EXPAND_LATEST = 1
WILDCARD_EXPAND_EXACT_RANGE = 2
WILDCARD_EXPAND_RELAXED_RANGE = 3
SORT_INVALID = 0
DESC = 1
ASC = 2
INVALID = 0
INTEGER = 1
FLOAT = 2
STRING = 3
ARRAY = 11
OBJECT = 12


_PATH = DESCRIPTOR.message_types_by_name['Path']
_QUERY = DESCRIPTOR.message_types_by_name['Query']
_SUBSCRIBEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeRequest']
_GETREQUEST = DESCRIPTOR.message_types_by_name['GetRequest']
_GETANDSUBSCRIBEREQUEST = DESCRIPTOR.message_types_by_name['GetAndSubscribeRequest']
_SORT = DESCRIPTOR.message_types_by_name['Sort']
_SEARCHREQUEST = DESCRIPTOR.message_types_by_name['SearchRequest']
_FILTER = DESCRIPTOR.message_types_by_name['Filter']
_FILTER_VALUE = _FILTER.nested_types_by_name['Value']
_FILTER_COMPONENTVALUE = _FILTER.nested_types_by_name['ComponentValue']
_FILTER_COMPONENTVALUE_VALUEENTRY = _FILTER_COMPONENTVALUE.nested_types_by_name['ValueEntry']
_FILTER_MULTIVALUE = _FILTER.nested_types_by_name['MultiValue']
_AGGREGATE = DESCRIPTOR.message_types_by_name['Aggregate']
_TERM_OPTIONS = DESCRIPTOR.message_types_by_name['term_options']
_HIST_OPTIONS = DESCRIPTOR.message_types_by_name['hist_options']
_HIST_OPTIONS_BOUNDS = _HIST_OPTIONS.nested_types_by_name['bounds']
_SEARCHREQUESTWITHAGGR = DESCRIPTOR.message_types_by_name['SearchRequestWithAggr']
_BYTESTREAM = DESCRIPTOR.message_types_by_name['ByteStream']
_AGGRRESPONSE = DESCRIPTOR.message_types_by_name['AggrResponse']
_AGGRBUCKET = DESCRIPTOR.message_types_by_name['AggrBucket']
_AGGRFIELD = DESCRIPTOR.message_types_by_name['AggrField']
_INDEXFIELD = DESCRIPTOR.message_types_by_name['IndexField']
_CUSTOMINDEXOPTIONS = DESCRIPTOR.message_types_by_name['CustomIndexOptions']
_CUSTOMINDEXSCHEMA = DESCRIPTOR.message_types_by_name['CustomIndexSchema']
_CUSTOMINDEXSCHEMADEL = DESCRIPTOR.message_types_by_name['CustomIndexSchemaDel']
_PUBLISHREQUEST = DESCRIPTOR.message_types_by_name['PublishRequest']
_DATASETSREQUEST = DESCRIPTOR.message_types_by_name['DatasetsRequest']
_DATASETSRESPONSE = DESCRIPTOR.message_types_by_name['DatasetsResponse']
_CREATEDATASETREQUEST = DESCRIPTOR.message_types_by_name['CreateDatasetRequest']
_SETPERMISSIONREQUEST = DESCRIPTOR.message_types_by_name['SetPermissionRequest']
_SETPERMISSIONREQUEST_PATHPERM = _SETPERMISSIONREQUEST.nested_types_by_name['PathPerm']
_PERMISSIONSET = DESCRIPTOR.message_types_by_name['PermissionSet']
_CLUSTERDESCRIPTION = DESCRIPTOR.message_types_by_name['ClusterDescription']
_SETPASSWORDREQUEST = DESCRIPTOR.message_types_by_name['SetPasswordRequest']
_CREATESESSIONREQUEST = DESCRIPTOR.message_types_by_name['CreateSessionRequest']
_CREATESESSIONRESPONSE = DESCRIPTOR.message_types_by_name['CreateSessionResponse']
_SQLREQUEST = DESCRIPTOR.message_types_by_name['SQLRequest']
_SQLRESPONSEROW = DESCRIPTOR.message_types_by_name['SQLResponseRow']
_SQLRESPONSE = DESCRIPTOR.message_types_by_name['SQLResponse']
_SQLRESPONSE_METADATA = _SQLRESPONSE.nested_types_by_name['Metadata']
_PATH_TYPE = _PATH.enum_types_by_name['Type']
_SEARCHREQUEST_TYPE = _SEARCHREQUEST.enum_types_by_name['Type']
_FILTER_OPERATOR = _FILTER.enum_types_by_name['Operator']
_AGGREGATE_TYPE = _AGGREGATE.enum_types_by_name['Type']
_TERM_OPTIONS_TYPE = _TERM_OPTIONS.enum_types_by_name['Type']
_SETPERMISSIONREQUEST_PATHPERM_PERM = _SETPERMISSIONREQUEST_PATHPERM.enum_types_by_name['Perm']
_SETPERMISSIONREQUEST_TYPE = _SETPERMISSIONREQUEST.enum_types_by_name['Type']
Path = _reflection.GeneratedProtocolMessageType('Path', (_message.Message,), {
  'DESCRIPTOR' : _PATH,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:Path)
  })
_sym_db.RegisterMessage(Path)

Query = _reflection.GeneratedProtocolMessageType('Query', (_message.Message,), {
  'DESCRIPTOR' : _QUERY,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:Query)
  })
_sym_db.RegisterMessage(Query)

SubscribeRequest = _reflection.GeneratedProtocolMessageType('SubscribeRequest', (_message.Message,), {
  'DESCRIPTOR' : _SUBSCRIBEREQUEST,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:SubscribeRequest)
  })
_sym_db.RegisterMessage(SubscribeRequest)

GetRequest = _reflection.GeneratedProtocolMessageType('GetRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETREQUEST,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:GetRequest)
  })
_sym_db.RegisterMessage(GetRequest)

GetAndSubscribeRequest = _reflection.GeneratedProtocolMessageType('GetAndSubscribeRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETANDSUBSCRIBEREQUEST,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:GetAndSubscribeRequest)
  })
_sym_db.RegisterMessage(GetAndSubscribeRequest)

Sort = _reflection.GeneratedProtocolMessageType('Sort', (_message.Message,), {
  'DESCRIPTOR' : _SORT,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:Sort)
  })
_sym_db.RegisterMessage(Sort)

SearchRequest = _reflection.GeneratedProtocolMessageType('SearchRequest', (_message.Message,), {
  'DESCRIPTOR' : _SEARCHREQUEST,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:SearchRequest)
  })
_sym_db.RegisterMessage(SearchRequest)

Filter = _reflection.GeneratedProtocolMessageType('Filter', (_message.Message,), {

  'Value' : _reflection.GeneratedProtocolMessageType('Value', (_message.Message,), {
    'DESCRIPTOR' : _FILTER_VALUE,
    '__module__' : 'router_pb2'
    # @@protoc_insertion_point(class_scope:Filter.Value)
    })
  ,

  'ComponentValue' : _reflection.GeneratedProtocolMessageType('ComponentValue', (_message.Message,), {

    'ValueEntry' : _reflection.GeneratedProtocolMessageType('ValueEntry', (_message.Message,), {
      'DESCRIPTOR' : _FILTER_COMPONENTVALUE_VALUEENTRY,
      '__module__' : 'router_pb2'
      # @@protoc_insertion_point(class_scope:Filter.ComponentValue.ValueEntry)
      })
    ,
    'DESCRIPTOR' : _FILTER_COMPONENTVALUE,
    '__module__' : 'router_pb2'
    # @@protoc_insertion_point(class_scope:Filter.ComponentValue)
    })
  ,

  'MultiValue' : _reflection.GeneratedProtocolMessageType('MultiValue', (_message.Message,), {
    'DESCRIPTOR' : _FILTER_MULTIVALUE,
    '__module__' : 'router_pb2'
    # @@protoc_insertion_point(class_scope:Filter.MultiValue)
    })
  ,
  'DESCRIPTOR' : _FILTER,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:Filter)
  })
_sym_db.RegisterMessage(Filter)
_sym_db.RegisterMessage(Filter.Value)
_sym_db.RegisterMessage(Filter.ComponentValue)
_sym_db.RegisterMessage(Filter.ComponentValue.ValueEntry)
_sym_db.RegisterMessage(Filter.MultiValue)

Aggregate = _reflection.GeneratedProtocolMessageType('Aggregate', (_message.Message,), {
  'DESCRIPTOR' : _AGGREGATE,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:Aggregate)
  })
_sym_db.RegisterMessage(Aggregate)

term_options = _reflection.GeneratedProtocolMessageType('term_options', (_message.Message,), {
  'DESCRIPTOR' : _TERM_OPTIONS,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:term_options)
  })
_sym_db.RegisterMessage(term_options)

hist_options = _reflection.GeneratedProtocolMessageType('hist_options', (_message.Message,), {

  'bounds' : _reflection.GeneratedProtocolMessageType('bounds', (_message.Message,), {
    'DESCRIPTOR' : _HIST_OPTIONS_BOUNDS,
    '__module__' : 'router_pb2'
    # @@protoc_insertion_point(class_scope:hist_options.bounds)
    })
  ,
  'DESCRIPTOR' : _HIST_OPTIONS,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:hist_options)
  })
_sym_db.RegisterMessage(hist_options)
_sym_db.RegisterMessage(hist_options.bounds)

SearchRequestWithAggr = _reflection.GeneratedProtocolMessageType('SearchRequestWithAggr', (_message.Message,), {
  'DESCRIPTOR' : _SEARCHREQUESTWITHAGGR,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:SearchRequestWithAggr)
  })
_sym_db.RegisterMessage(SearchRequestWithAggr)

ByteStream = _reflection.GeneratedProtocolMessageType('ByteStream', (_message.Message,), {
  'DESCRIPTOR' : _BYTESTREAM,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:ByteStream)
  })
_sym_db.RegisterMessage(ByteStream)

AggrResponse = _reflection.GeneratedProtocolMessageType('AggrResponse', (_message.Message,), {
  'DESCRIPTOR' : _AGGRRESPONSE,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:AggrResponse)
  })
_sym_db.RegisterMessage(AggrResponse)

AggrBucket = _reflection.GeneratedProtocolMessageType('AggrBucket', (_message.Message,), {
  'DESCRIPTOR' : _AGGRBUCKET,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:AggrBucket)
  })
_sym_db.RegisterMessage(AggrBucket)

AggrField = _reflection.GeneratedProtocolMessageType('AggrField', (_message.Message,), {
  'DESCRIPTOR' : _AGGRFIELD,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:AggrField)
  })
_sym_db.RegisterMessage(AggrField)

IndexField = _reflection.GeneratedProtocolMessageType('IndexField', (_message.Message,), {
  'DESCRIPTOR' : _INDEXFIELD,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:IndexField)
  })
_sym_db.RegisterMessage(IndexField)

CustomIndexOptions = _reflection.GeneratedProtocolMessageType('CustomIndexOptions', (_message.Message,), {
  'DESCRIPTOR' : _CUSTOMINDEXOPTIONS,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:CustomIndexOptions)
  })
_sym_db.RegisterMessage(CustomIndexOptions)

CustomIndexSchema = _reflection.GeneratedProtocolMessageType('CustomIndexSchema', (_message.Message,), {
  'DESCRIPTOR' : _CUSTOMINDEXSCHEMA,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:CustomIndexSchema)
  })
_sym_db.RegisterMessage(CustomIndexSchema)

CustomIndexSchemaDel = _reflection.GeneratedProtocolMessageType('CustomIndexSchemaDel', (_message.Message,), {
  'DESCRIPTOR' : _CUSTOMINDEXSCHEMADEL,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:CustomIndexSchemaDel)
  })
_sym_db.RegisterMessage(CustomIndexSchemaDel)

PublishRequest = _reflection.GeneratedProtocolMessageType('PublishRequest', (_message.Message,), {
  'DESCRIPTOR' : _PUBLISHREQUEST,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:PublishRequest)
  })
_sym_db.RegisterMessage(PublishRequest)

DatasetsRequest = _reflection.GeneratedProtocolMessageType('DatasetsRequest', (_message.Message,), {
  'DESCRIPTOR' : _DATASETSREQUEST,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:DatasetsRequest)
  })
_sym_db.RegisterMessage(DatasetsRequest)

DatasetsResponse = _reflection.GeneratedProtocolMessageType('DatasetsResponse', (_message.Message,), {
  'DESCRIPTOR' : _DATASETSRESPONSE,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:DatasetsResponse)
  })
_sym_db.RegisterMessage(DatasetsResponse)

CreateDatasetRequest = _reflection.GeneratedProtocolMessageType('CreateDatasetRequest', (_message.Message,), {
  'DESCRIPTOR' : _CREATEDATASETREQUEST,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:CreateDatasetRequest)
  })
_sym_db.RegisterMessage(CreateDatasetRequest)

SetPermissionRequest = _reflection.GeneratedProtocolMessageType('SetPermissionRequest', (_message.Message,), {

  'PathPerm' : _reflection.GeneratedProtocolMessageType('PathPerm', (_message.Message,), {
    'DESCRIPTOR' : _SETPERMISSIONREQUEST_PATHPERM,
    '__module__' : 'router_pb2'
    # @@protoc_insertion_point(class_scope:SetPermissionRequest.PathPerm)
    })
  ,
  'DESCRIPTOR' : _SETPERMISSIONREQUEST,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:SetPermissionRequest)
  })
_sym_db.RegisterMessage(SetPermissionRequest)
_sym_db.RegisterMessage(SetPermissionRequest.PathPerm)

PermissionSet = _reflection.GeneratedProtocolMessageType('PermissionSet', (_message.Message,), {
  'DESCRIPTOR' : _PERMISSIONSET,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:PermissionSet)
  })
_sym_db.RegisterMessage(PermissionSet)

ClusterDescription = _reflection.GeneratedProtocolMessageType('ClusterDescription', (_message.Message,), {
  'DESCRIPTOR' : _CLUSTERDESCRIPTION,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:ClusterDescription)
  })
_sym_db.RegisterMessage(ClusterDescription)

SetPasswordRequest = _reflection.GeneratedProtocolMessageType('SetPasswordRequest', (_message.Message,), {
  'DESCRIPTOR' : _SETPASSWORDREQUEST,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:SetPasswordRequest)
  })
_sym_db.RegisterMessage(SetPasswordRequest)

CreateSessionRequest = _reflection.GeneratedProtocolMessageType('CreateSessionRequest', (_message.Message,), {
  'DESCRIPTOR' : _CREATESESSIONREQUEST,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:CreateSessionRequest)
  })
_sym_db.RegisterMessage(CreateSessionRequest)

CreateSessionResponse = _reflection.GeneratedProtocolMessageType('CreateSessionResponse', (_message.Message,), {
  'DESCRIPTOR' : _CREATESESSIONRESPONSE,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:CreateSessionResponse)
  })
_sym_db.RegisterMessage(CreateSessionResponse)

SQLRequest = _reflection.GeneratedProtocolMessageType('SQLRequest', (_message.Message,), {
  'DESCRIPTOR' : _SQLREQUEST,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:SQLRequest)
  })
_sym_db.RegisterMessage(SQLRequest)

SQLResponseRow = _reflection.GeneratedProtocolMessageType('SQLResponseRow', (_message.Message,), {
  'DESCRIPTOR' : _SQLRESPONSEROW,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:SQLResponseRow)
  })
_sym_db.RegisterMessage(SQLResponseRow)

SQLResponse = _reflection.GeneratedProtocolMessageType('SQLResponse', (_message.Message,), {

  'Metadata' : _reflection.GeneratedProtocolMessageType('Metadata', (_message.Message,), {
    'DESCRIPTOR' : _SQLRESPONSE_METADATA,
    '__module__' : 'router_pb2'
    # @@protoc_insertion_point(class_scope:SQLResponse.Metadata)
    })
  ,
  'DESCRIPTOR' : _SQLRESPONSE,
  '__module__' : 'router_pb2'
  # @@protoc_insertion_point(class_scope:SQLResponse)
  })
_sym_db.RegisterMessage(SQLResponse)
_sym_db.RegisterMessage(SQLResponse.Metadata)

_ROUTERV1 = DESCRIPTOR.services_by_name['RouterV1']
_AUTH = DESCRIPTOR.services_by_name['Auth']
_SEARCH = DESCRIPTOR.services_by_name['Search']
_ALPHA = DESCRIPTOR.services_by_name['Alpha']
_QUERIER = DESCRIPTOR.services_by_name['Querier']
_CLUSTER = DESCRIPTOR.services_by_name['Cluster']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z\003gen'
  _FILTER_COMPONENTVALUE_VALUEENTRY._options = None
  _FILTER_COMPONENTVALUE_VALUEENTRY._serialized_options = b'8\001'
  _PATHWILDCARDEXPANDTYPE._serialized_start=4623
  _PATHWILDCARDEXPANDTYPE._serialized_end=4771
  _SORTTYPE._serialized_start=4773
  _SORTTYPE._serialized_end=4820
  _INDEXDATATYPE._serialized_start=4822
  _INDEXDATATYPE._serialized_end=4909
  _PATH._serialized_start=114
  _PATH._serialized_end=228
  _PATH_TYPE._serialized_start=199
  _PATH_TYPE._serialized_end=228
  _QUERY._serialized_start=230
  _QUERY._serialized_end=286
  _SUBSCRIBEREQUEST._serialized_start=288
  _SUBSCRIBEREQUEST._serialized_end=361
  _GETREQUEST._serialized_start=364
  _GETREQUEST._serialized_end=566
  _GETANDSUBSCRIBEREQUEST._serialized_start=569
  _GETANDSUBSCRIBEREQUEST._serialized_end=757
  _SORT._serialized_start=759
  _SORT._serialized_end=806
  _SEARCHREQUEST._serialized_start=809
  _SEARCHREQUEST._serialized_end=1242
  _SEARCHREQUEST_TYPE._serialized_start=1182
  _SEARCHREQUEST_TYPE._serialized_end=1242
  _FILTER._serialized_start=1245
  _FILTER._serialized_end=1902
  _FILTER_VALUE._serialized_start=1383
  _FILTER_VALUE._serialized_end=1580
  _FILTER_COMPONENTVALUE._serialized_start=1582
  _FILTER_COMPONENTVALUE._serialized_end=1694
  _FILTER_COMPONENTVALUE_VALUEENTRY._serialized_start=1650
  _FILTER_COMPONENTVALUE_VALUEENTRY._serialized_end=1694
  _FILTER_MULTIVALUE._serialized_start=1696
  _FILTER_MULTIVALUE._serialized_end=1739
  _FILTER_OPERATOR._serialized_start=1742
  _FILTER_OPERATOR._serialized_end=1902
  _AGGREGATE._serialized_start=1905
  _AGGREGATE._serialized_end=2173
  _AGGREGATE_TYPE._serialized_start=2088
  _AGGREGATE_TYPE._serialized_end=2163
  _TERM_OPTIONS._serialized_start=2176
  _TERM_OPTIONS._serialized_end=2355
  _TERM_OPTIONS_TYPE._serialized_start=2256
  _TERM_OPTIONS_TYPE._serialized_end=2355
  _HIST_OPTIONS._serialized_start=2358
  _HIST_OPTIONS._serialized_end=2494
  _HIST_OPTIONS_BOUNDS._serialized_start=2460
  _HIST_OPTIONS_BOUNDS._serialized_end=2494
  _SEARCHREQUESTWITHAGGR._serialized_start=2496
  _SEARCHREQUESTWITHAGGR._serialized_end=2578
  _BYTESTREAM._serialized_start=2580
  _BYTESTREAM._serialized_end=2609
  _AGGRRESPONSE._serialized_start=2611
  _AGGRRESPONSE._serialized_end=2683
  _AGGRBUCKET._serialized_start=2685
  _AGGRBUCKET._serialized_end=2806
  _AGGRFIELD._serialized_start=2808
  _AGGRFIELD._serialized_end=2848
  _INDEXFIELD._serialized_start=2850
  _INDEXFIELD._serialized_end=2938
  _CUSTOMINDEXOPTIONS._serialized_start=2940
  _CUSTOMINDEXOPTIONS._serialized_end=3020
  _CUSTOMINDEXSCHEMA._serialized_start=3022
  _CUSTOMINDEXSCHEMA._serialized_end=3130
  _CUSTOMINDEXSCHEMADEL._serialized_start=3132
  _CUSTOMINDEXSCHEMADEL._serialized_end=3198
  _PUBLISHREQUEST._serialized_start=3200
  _PUBLISHREQUEST._serialized_end=3304
  _DATASETSREQUEST._serialized_start=3306
  _DATASETSREQUEST._serialized_end=3396
  _DATASETSRESPONSE._serialized_start=3398
  _DATASETSRESPONSE._serialized_end=3444
  _CREATEDATASETREQUEST._serialized_start=3446
  _CREATEDATASETREQUEST._serialized_end=3495
  _SETPERMISSIONREQUEST._serialized_start=3498
  _SETPERMISSIONREQUEST._serialized_end=4067
  _SETPERMISSIONREQUEST_PATHPERM._serialized_start=3668
  _SETPERMISSIONREQUEST_PATHPERM._serialized_end=3912
  _SETPERMISSIONREQUEST_PATHPERM_PERM._serialized_start=3833
  _SETPERMISSIONREQUEST_PATHPERM_PERM._serialized_end=3912
  _SETPERMISSIONREQUEST_TYPE._serialized_start=3915
  _SETPERMISSIONREQUEST_TYPE._serialized_end=4067
  _PERMISSIONSET._serialized_start=4069
  _PERMISSIONSET._serialized_end=4128
  _CLUSTERDESCRIPTION._serialized_start=4130
  _CLUSTERDESCRIPTION._serialized_end=4233
  _SETPASSWORDREQUEST._serialized_start=4235
  _SETPASSWORDREQUEST._serialized_end=4300
  _CREATESESSIONREQUEST._serialized_start=4302
  _CREATESESSIONREQUEST._serialized_end=4368
  _CREATESESSIONRESPONSE._serialized_start=4370
  _CREATESESSIONRESPONSE._serialized_end=4427
  _SQLREQUEST._serialized_start=4429
  _SQLREQUEST._serialized_end=4470
  _SQLRESPONSEROW._serialized_start=4472
  _SQLRESPONSEROW._serialized_end=4504
  _SQLRESPONSE._serialized_start=4506
  _SQLRESPONSE._serialized_end=4620
  _SQLRESPONSE_METADATA._serialized_start=4593
  _SQLRESPONSE_METADATA._serialized_end=4620
  _ROUTERV1._serialized_start=4912
  _ROUTERV1._serialized_end=5190
  _AUTH._serialized_start=5193
  _AUTH._serialized_end=5504
  _SEARCH._serialized_start=5507
  _SEARCH._serialized_end=5886
  _ALPHA._serialized_start=5889
  _ALPHA._serialized_end=6267
  _QUERIER._serialized_start=6269
  _QUERIER._serialized_end=6314
  _CLUSTER._serialized_start=6316
  _CLUSTER._serialized_end=6387
# @@protoc_insertion_point(module_scope)
