# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: v1/assistant/assistant.proto
"""Generated protocol buffer code."""
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()


from sensory_cloud.generated.common import common_pb2 as common_dot_common__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='v1/assistant/assistant.proto',
  package='sensory.api.v1.assistant',
  syntax='proto3',
  serialized_options=b'\n ai.sensorycloud.api.v1.assistantB!SensoryApiV1ManagementServerProtoP\001Z>gitlab.com/sensory-cloud/server/titan.git/pkg/api/v1/assistant',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x1cv1/assistant/assistant.proto\x12\x18sensory.api.v1.assistant\x1a\x13\x63ommon/common.proto\"P\n\x0b\x43hatMessage\x12\x30\n\x04role\x18\x01 \x01(\x0e\x32\".sensory.api.v1.assistant.ChatRole\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"]\n\x0fTextChatRequest\x12\x11\n\tmodelName\x18\x01 \x01(\t\x12\x37\n\x08messages\x18\x02 \x03(\x0b\x32%.sensory.api.v1.assistant.ChatMessage\"J\n\x10TextChatResponse\x12\x36\n\x07message\x18\x01 \x01(\x0b\x32%.sensory.api.v1.assistant.ChatMessage*/\n\x08\x43hatRole\x12\n\n\x06SYSTEM\x10\x00\x12\x08\n\x04USER\x10\x01\x12\r\n\tASSISTANT\x10\x02\x32w\n\x10\x41ssistantService\x12\x63\n\x08TextChat\x12).sensory.api.v1.assistant.TextChatRequest\x1a*.sensory.api.v1.assistant.TextChatResponse\"\x00\x42\x87\x01\n ai.sensorycloud.api.v1.assistantB!SensoryApiV1ManagementServerProtoP\x01Z>gitlab.com/sensory-cloud/server/titan.git/pkg/api/v1/assistantb\x06proto3'
  ,
  dependencies=[common_dot_common__pb2.DESCRIPTOR,])

_CHATROLE = _descriptor.EnumDescriptor(
  name='ChatRole',
  full_name='sensory.api.v1.assistant.ChatRole',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='SYSTEM', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='USER', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='ASSISTANT', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=332,
  serialized_end=379,
)
_sym_db.RegisterEnumDescriptor(_CHATROLE)

ChatRole = enum_type_wrapper.EnumTypeWrapper(_CHATROLE)
SYSTEM = 0
USER = 1
ASSISTANT = 2



_CHATMESSAGE = _descriptor.Descriptor(
  name='ChatMessage',
  full_name='sensory.api.v1.assistant.ChatMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='role', full_name='sensory.api.v1.assistant.ChatMessage.role', index=0,
      number=1, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='content', full_name='sensory.api.v1.assistant.ChatMessage.content', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=79,
  serialized_end=159,
)


_TEXTCHATREQUEST = _descriptor.Descriptor(
  name='TextChatRequest',
  full_name='sensory.api.v1.assistant.TextChatRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='modelName', full_name='sensory.api.v1.assistant.TextChatRequest.modelName', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='messages', full_name='sensory.api.v1.assistant.TextChatRequest.messages', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=161,
  serialized_end=254,
)


_TEXTCHATRESPONSE = _descriptor.Descriptor(
  name='TextChatResponse',
  full_name='sensory.api.v1.assistant.TextChatResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='message', full_name='sensory.api.v1.assistant.TextChatResponse.message', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=256,
  serialized_end=330,
)

_CHATMESSAGE.fields_by_name['role'].enum_type = _CHATROLE
_TEXTCHATREQUEST.fields_by_name['messages'].message_type = _CHATMESSAGE
_TEXTCHATRESPONSE.fields_by_name['message'].message_type = _CHATMESSAGE
DESCRIPTOR.message_types_by_name['ChatMessage'] = _CHATMESSAGE
DESCRIPTOR.message_types_by_name['TextChatRequest'] = _TEXTCHATREQUEST
DESCRIPTOR.message_types_by_name['TextChatResponse'] = _TEXTCHATRESPONSE
DESCRIPTOR.enum_types_by_name['ChatRole'] = _CHATROLE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ChatMessage = _reflection.GeneratedProtocolMessageType('ChatMessage', (_message.Message,), {
  'DESCRIPTOR' : _CHATMESSAGE,
  '__module__' : 'v1.assistant.assistant_pb2'
  # @@protoc_insertion_point(class_scope:sensory.api.v1.assistant.ChatMessage)
  })
_sym_db.RegisterMessage(ChatMessage)

TextChatRequest = _reflection.GeneratedProtocolMessageType('TextChatRequest', (_message.Message,), {
  'DESCRIPTOR' : _TEXTCHATREQUEST,
  '__module__' : 'v1.assistant.assistant_pb2'
  # @@protoc_insertion_point(class_scope:sensory.api.v1.assistant.TextChatRequest)
  })
_sym_db.RegisterMessage(TextChatRequest)

TextChatResponse = _reflection.GeneratedProtocolMessageType('TextChatResponse', (_message.Message,), {
  'DESCRIPTOR' : _TEXTCHATRESPONSE,
  '__module__' : 'v1.assistant.assistant_pb2'
  # @@protoc_insertion_point(class_scope:sensory.api.v1.assistant.TextChatResponse)
  })
_sym_db.RegisterMessage(TextChatResponse)


DESCRIPTOR._options = None

_ASSISTANTSERVICE = _descriptor.ServiceDescriptor(
  name='AssistantService',
  full_name='sensory.api.v1.assistant.AssistantService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=381,
  serialized_end=500,
  methods=[
  _descriptor.MethodDescriptor(
    name='TextChat',
    full_name='sensory.api.v1.assistant.AssistantService.TextChat',
    index=0,
    containing_service=None,
    input_type=_TEXTCHATREQUEST,
    output_type=_TEXTCHATRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_ASSISTANTSERVICE)

DESCRIPTOR.services_by_name['AssistantService'] = _ASSISTANTSERVICE

# @@protoc_insertion_point(module_scope)
