# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cogneed-protos/ai/cogneed/api/modelconfig/keyword.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
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()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='cogneed-protos/ai/cogneed/api/modelconfig/keyword.proto',
  package='ai.cogneed.api.modelconfig.keyword',
  syntax='proto3',
  serialized_options=_b('\n\"ai.cogneed.api.modelconfig.keywordP\001'),
  serialized_pb=_b('\n7cogneed-protos/ai/cogneed/api/modelconfig/keyword.proto\x12\"ai.cogneed.api.modelconfig.keyword\"r\n\x06\x43reate\x12\x12\n\nmodel_uuid\x18\x01 \x01(\t\x12\x14\n\x0ckeyword_uuid\x18\x02 \x01(\t\x12>\n\x05usage\x18\x03 \x01(\x0e\x32/.ai.cogneed.api.modelconfig.keyword.UsageOption\"\xae\x01\n\x0cKeywordUsage\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\x12\n\nmodel_uuid\x18\x02 \x01(\t\x12\x14\n\x0ckeyword_uuid\x18\x03 \x01(\t\x12>\n\x05usage\x18\x04 \x01(\x0e\x32/.ai.cogneed.api.modelconfig.keyword.UsageOption\x12\x12\n\ncreated_by\x18\x06 \x01(\t\x12\x12\n\nupdated_by\x18\x07 \x01(\t\"?\n\x04List\x12\x12\n\nmodel_uuid\x18\x01 \x01(\t\x12\x0c\n\x04page\x18\x03 \x01(\x05\x12\x15\n\rrows_per_page\x18\x04 \x01(\x05\"[\n\x0bUpdateUsage\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12>\n\x05usage\x18\x02 \x01(\x0e\x32/.ai.cogneed.api.modelconfig.keyword.UsageOption\"\x16\n\x06\x44\x65lete\x12\x0c\n\x04uuid\x18\x01 \x01(\t\"`\n\x0cListResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\x12\x41\n\x07results\x18\x02 \x03(\x0b\x32\x30.ai.cogneed.api.modelconfig.keyword.KeywordUsage\"\x0c\n\nResponseOk*3\n\x0bUsageOption\x12\n\n\x06TARGET\x10\x00\x12\n\n\x06HELPER\x10\x01\x12\x0c\n\x08NEGATIVE\x10\x02\x32\xab\x03\n\x0eKeywordService\x12\x64\n\x06\x63reate\x12*.ai.cogneed.api.modelconfig.keyword.Create\x1a..ai.cogneed.api.modelconfig.keyword.ResponseOk\x12\x62\n\x04list\x12(.ai.cogneed.api.modelconfig.keyword.List\x1a\x30.ai.cogneed.api.modelconfig.keyword.ListResponse\x12i\n\x06update\x12/.ai.cogneed.api.modelconfig.keyword.UpdateUsage\x1a..ai.cogneed.api.modelconfig.keyword.ResponseOk\x12\x64\n\x06\x64\x65lete\x12*.ai.cogneed.api.modelconfig.keyword.Delete\x1a..ai.cogneed.api.modelconfig.keyword.ResponseOkB&\n\"ai.cogneed.api.modelconfig.keywordP\x01\x62\x06proto3')
)

_USAGEOPTION = _descriptor.EnumDescriptor(
  name='UsageOption',
  full_name='ai.cogneed.api.modelconfig.keyword.UsageOption',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='TARGET', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='HELPER', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='NEGATIVE', index=2, number=2,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=682,
  serialized_end=733,
)
_sym_db.RegisterEnumDescriptor(_USAGEOPTION)

UsageOption = enum_type_wrapper.EnumTypeWrapper(_USAGEOPTION)
TARGET = 0
HELPER = 1
NEGATIVE = 2



_CREATE = _descriptor.Descriptor(
  name='Create',
  full_name='ai.cogneed.api.modelconfig.keyword.Create',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='model_uuid', full_name='ai.cogneed.api.modelconfig.keyword.Create.model_uuid', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='keyword_uuid', full_name='ai.cogneed.api.modelconfig.keyword.Create.keyword_uuid', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='usage', full_name='ai.cogneed.api.modelconfig.keyword.Create.usage', index=2,
      number=3, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=95,
  serialized_end=209,
)


_KEYWORDUSAGE = _descriptor.Descriptor(
  name='KeywordUsage',
  full_name='ai.cogneed.api.modelconfig.keyword.KeywordUsage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='uuid', full_name='ai.cogneed.api.modelconfig.keyword.KeywordUsage.uuid', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='model_uuid', full_name='ai.cogneed.api.modelconfig.keyword.KeywordUsage.model_uuid', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='keyword_uuid', full_name='ai.cogneed.api.modelconfig.keyword.KeywordUsage.keyword_uuid', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='usage', full_name='ai.cogneed.api.modelconfig.keyword.KeywordUsage.usage', index=3,
      number=4, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='created_by', full_name='ai.cogneed.api.modelconfig.keyword.KeywordUsage.created_by', index=4,
      number=6, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='updated_by', full_name='ai.cogneed.api.modelconfig.keyword.KeywordUsage.updated_by', index=5,
      number=7, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=212,
  serialized_end=386,
)


_LIST = _descriptor.Descriptor(
  name='List',
  full_name='ai.cogneed.api.modelconfig.keyword.List',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='model_uuid', full_name='ai.cogneed.api.modelconfig.keyword.List.model_uuid', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='page', full_name='ai.cogneed.api.modelconfig.keyword.List.page', index=1,
      number=3, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='rows_per_page', full_name='ai.cogneed.api.modelconfig.keyword.List.rows_per_page', index=2,
      number=4, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=388,
  serialized_end=451,
)


_UPDATEUSAGE = _descriptor.Descriptor(
  name='UpdateUsage',
  full_name='ai.cogneed.api.modelconfig.keyword.UpdateUsage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='uuid', full_name='ai.cogneed.api.modelconfig.keyword.UpdateUsage.uuid', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='usage', full_name='ai.cogneed.api.modelconfig.keyword.UpdateUsage.usage', index=1,
      number=2, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=453,
  serialized_end=544,
)


_DELETE = _descriptor.Descriptor(
  name='Delete',
  full_name='ai.cogneed.api.modelconfig.keyword.Delete',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='uuid', full_name='ai.cogneed.api.modelconfig.keyword.Delete.uuid', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=546,
  serialized_end=568,
)


_LISTRESPONSE = _descriptor.Descriptor(
  name='ListResponse',
  full_name='ai.cogneed.api.modelconfig.keyword.ListResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='count', full_name='ai.cogneed.api.modelconfig.keyword.ListResponse.count', index=0,
      number=1, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='results', full_name='ai.cogneed.api.modelconfig.keyword.ListResponse.results', index=1,
      number=2, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=570,
  serialized_end=666,
)


_RESPONSEOK = _descriptor.Descriptor(
  name='ResponseOk',
  full_name='ai.cogneed.api.modelconfig.keyword.ResponseOk',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=668,
  serialized_end=680,
)

_CREATE.fields_by_name['usage'].enum_type = _USAGEOPTION
_KEYWORDUSAGE.fields_by_name['usage'].enum_type = _USAGEOPTION
_UPDATEUSAGE.fields_by_name['usage'].enum_type = _USAGEOPTION
_LISTRESPONSE.fields_by_name['results'].message_type = _KEYWORDUSAGE
DESCRIPTOR.message_types_by_name['Create'] = _CREATE
DESCRIPTOR.message_types_by_name['KeywordUsage'] = _KEYWORDUSAGE
DESCRIPTOR.message_types_by_name['List'] = _LIST
DESCRIPTOR.message_types_by_name['UpdateUsage'] = _UPDATEUSAGE
DESCRIPTOR.message_types_by_name['Delete'] = _DELETE
DESCRIPTOR.message_types_by_name['ListResponse'] = _LISTRESPONSE
DESCRIPTOR.message_types_by_name['ResponseOk'] = _RESPONSEOK
DESCRIPTOR.enum_types_by_name['UsageOption'] = _USAGEOPTION
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Create = _reflection.GeneratedProtocolMessageType('Create', (_message.Message,), dict(
  DESCRIPTOR = _CREATE,
  __module__ = 'cogneed_protos.ai.cogneed.api.modelconfig.keyword_pb2'
  # @@protoc_insertion_point(class_scope:ai.cogneed.api.modelconfig.keyword.Create)
  ))
_sym_db.RegisterMessage(Create)

KeywordUsage = _reflection.GeneratedProtocolMessageType('KeywordUsage', (_message.Message,), dict(
  DESCRIPTOR = _KEYWORDUSAGE,
  __module__ = 'cogneed_protos.ai.cogneed.api.modelconfig.keyword_pb2'
  # @@protoc_insertion_point(class_scope:ai.cogneed.api.modelconfig.keyword.KeywordUsage)
  ))
_sym_db.RegisterMessage(KeywordUsage)

List = _reflection.GeneratedProtocolMessageType('List', (_message.Message,), dict(
  DESCRIPTOR = _LIST,
  __module__ = 'cogneed_protos.ai.cogneed.api.modelconfig.keyword_pb2'
  # @@protoc_insertion_point(class_scope:ai.cogneed.api.modelconfig.keyword.List)
  ))
_sym_db.RegisterMessage(List)

UpdateUsage = _reflection.GeneratedProtocolMessageType('UpdateUsage', (_message.Message,), dict(
  DESCRIPTOR = _UPDATEUSAGE,
  __module__ = 'cogneed_protos.ai.cogneed.api.modelconfig.keyword_pb2'
  # @@protoc_insertion_point(class_scope:ai.cogneed.api.modelconfig.keyword.UpdateUsage)
  ))
_sym_db.RegisterMessage(UpdateUsage)

Delete = _reflection.GeneratedProtocolMessageType('Delete', (_message.Message,), dict(
  DESCRIPTOR = _DELETE,
  __module__ = 'cogneed_protos.ai.cogneed.api.modelconfig.keyword_pb2'
  # @@protoc_insertion_point(class_scope:ai.cogneed.api.modelconfig.keyword.Delete)
  ))
_sym_db.RegisterMessage(Delete)

ListResponse = _reflection.GeneratedProtocolMessageType('ListResponse', (_message.Message,), dict(
  DESCRIPTOR = _LISTRESPONSE,
  __module__ = 'cogneed_protos.ai.cogneed.api.modelconfig.keyword_pb2'
  # @@protoc_insertion_point(class_scope:ai.cogneed.api.modelconfig.keyword.ListResponse)
  ))
_sym_db.RegisterMessage(ListResponse)

ResponseOk = _reflection.GeneratedProtocolMessageType('ResponseOk', (_message.Message,), dict(
  DESCRIPTOR = _RESPONSEOK,
  __module__ = 'cogneed_protos.ai.cogneed.api.modelconfig.keyword_pb2'
  # @@protoc_insertion_point(class_scope:ai.cogneed.api.modelconfig.keyword.ResponseOk)
  ))
_sym_db.RegisterMessage(ResponseOk)


DESCRIPTOR._options = None

_KEYWORDSERVICE = _descriptor.ServiceDescriptor(
  name='KeywordService',
  full_name='ai.cogneed.api.modelconfig.keyword.KeywordService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  serialized_start=736,
  serialized_end=1163,
  methods=[
  _descriptor.MethodDescriptor(
    name='create',
    full_name='ai.cogneed.api.modelconfig.keyword.KeywordService.create',
    index=0,
    containing_service=None,
    input_type=_CREATE,
    output_type=_RESPONSEOK,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='list',
    full_name='ai.cogneed.api.modelconfig.keyword.KeywordService.list',
    index=1,
    containing_service=None,
    input_type=_LIST,
    output_type=_LISTRESPONSE,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='update',
    full_name='ai.cogneed.api.modelconfig.keyword.KeywordService.update',
    index=2,
    containing_service=None,
    input_type=_UPDATEUSAGE,
    output_type=_RESPONSEOK,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='delete',
    full_name='ai.cogneed.api.modelconfig.keyword.KeywordService.delete',
    index=3,
    containing_service=None,
    input_type=_DELETE,
    output_type=_RESPONSEOK,
    serialized_options=None,
  ),
])
_sym_db.RegisterServiceDescriptor(_KEYWORDSERVICE)

DESCRIPTOR.services_by_name['KeywordService'] = _KEYWORDSERVICE

# @@protoc_insertion_point(module_scope)
