# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: artifact/artifact/v1alpha/conversation.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,artifact/artifact/v1alpha/conversation.proto\x12\x19\x61rtifact.artifact.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x01\n\x0c\x43onversation\x12\x10\n\x03uid\x18\x01 \x01(\tR\x03uid\x12!\n\x0cnamespace_id\x18\x02 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x03 \x01(\tR\tcatalogId\x12\x0e\n\x02id\x18\x04 \x01(\tR\x02id\x12;\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\"\x97\x03\n\x07Message\x12\x10\n\x03uid\x18\x01 \x01(\tR\x03uid\x12\x1f\n\x0b\x63\x61talog_uid\x18\x02 \x01(\tR\ncatalogUid\x12)\n\x10\x63onversation_uid\x18\x03 \x01(\tR\x0f\x63onversationUid\x12\x18\n\x07\x63ontent\x18\x04 \x01(\tR\x07\x63ontent\x12\x12\n\x04role\x18\x05 \x01(\tR\x04role\x12\x42\n\x04type\x18\x06 \x01(\x0e\x32..artifact.artifact.v1alpha.Message.MessageTypeR\x04type\x12;\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\"B\n\x0bMessageType\x12\x1c\n\x18MESSAGE_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11MESSAGE_TYPE_TEXT\x10\x01\"\x92\x01\n\x19\x43reateConversationRequest\x12\'\n\x0cnamespace_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12-\n\x0f\x63onversation_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02R\x0e\x63onversationId\"i\n\x1a\x43reateConversationResponse\x12K\n\x0c\x63onversation\x18\x01 \x01(\x0b\x32\'.artifact.artifact.v1alpha.ConversationR\x0c\x63onversation\"\x98\x01\n\x18ListConversationsRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\x1b\n\tpage_size\x18\x03 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x04 \x01(\tR\tpageToken\"\xb1\x01\n\x19ListConversationsResponse\x12M\n\rconversations\x18\x01 \x03(\x0b\x32\'.artifact.artifact.v1alpha.ConversationR\rconversations\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\xb6\x01\n\x19UpdateConversationRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\'\n\x0f\x63onversation_id\x18\x03 \x01(\tR\x0e\x63onversationId\x12.\n\x13new_conversation_id\x18\x04 \x01(\tR\x11newConversationId\"i\n\x1aUpdateConversationResponse\x12K\n\x0c\x63onversation\x18\x01 \x01(\x0b\x32\'.artifact.artifact.v1alpha.ConversationR\x0c\x63onversation\"\x86\x01\n\x19\x44\x65leteConversationRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\'\n\x0f\x63onversation_id\x18\x03 \x01(\tR\x0e\x63onversationId\"\x1c\n\x1a\x44\x65leteConversationResponse\"\xf3\x01\n\x14\x43reateMessageRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\'\n\x0f\x63onversation_id\x18\x03 \x01(\tR\x0e\x63onversationId\x12\x18\n\x07\x63ontent\x18\x04 \x01(\tR\x07\x63ontent\x12\x12\n\x04role\x18\x05 \x01(\tR\x04role\x12\x42\n\x04type\x18\x06 \x01(\x0e\x32..artifact.artifact.v1alpha.Message.MessageTypeR\x04type\"U\n\x15\x43reateMessageResponse\x12<\n\x07message\x18\x01 \x01(\x0b\x32\".artifact.artifact.v1alpha.MessageR\x07message\"\x8f\x02\n\x13ListMessagesRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\'\n\x0f\x63onversation_id\x18\x03 \x01(\tR\x0e\x63onversationId\x12\x19\n\x08latest_k\x18\x04 \x01(\x05R\x07latestK\x12\x1b\n\tpage_size\x18\x05 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x06 \x01(\tR\tpageToken\x12\x36\n\x17include_system_messages\x18\x07 \x01(\x08R\x15includeSystemMessages\"\x9d\x01\n\x14ListMessagesResponse\x12>\n\x08messages\x18\x01 \x03(\x0b\x32\".artifact.artifact.v1alpha.MessageR\x08messages\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\xbc\x01\n\x14UpdateMessageRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\'\n\x0f\x63onversation_id\x18\x03 \x01(\tR\x0e\x63onversationId\x12\x1f\n\x0bmessage_uid\x18\x04 \x01(\tR\nmessageUid\x12\x18\n\x07\x63ontent\x18\x05 \x01(\tR\x07\x63ontent\"U\n\x15UpdateMessageResponse\x12<\n\x07message\x18\x01 \x01(\x0b\x32\".artifact.artifact.v1alpha.MessageR\x07message\"\xa2\x01\n\x14\x44\x65leteMessageRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\'\n\x0f\x63onversation_id\x18\x03 \x01(\tR\x0e\x63onversationId\x12\x1f\n\x0bmessage_uid\x18\x04 \x01(\tR\nmessageUid\"\x17\n\x15\x44\x65leteMessageResponseB\x85\x02\n\x1d\x63om.artifact.artifact.v1alphaB\x11\x43onversationProtoP\x01ZKgithub.com/instill-ai/protogen-go/artifact/artifact/v1alpha;artifactv1alpha\xa2\x02\x03\x41\x41X\xaa\x02\x19\x41rtifact.Artifact.V1alpha\xca\x02\x19\x41rtifact\\Artifact\\V1alpha\xe2\x02%Artifact\\Artifact\\V1alpha\\GPBMetadata\xea\x02\x1b\x41rtifact::Artifact::V1alphab\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'artifact.artifact.v1alpha.conversation_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\035com.artifact.artifact.v1alphaB\021ConversationProtoP\001ZKgithub.com/instill-ai/protogen-go/artifact/artifact/v1alpha;artifactv1alpha\242\002\003AAX\252\002\031Artifact.Artifact.V1alpha\312\002\031Artifact\\Artifact\\V1alpha\342\002%Artifact\\Artifact\\V1alpha\\GPBMetadata\352\002\033Artifact::Artifact::V1alpha'
  _CREATECONVERSATIONREQUEST.fields_by_name['namespace_id']._options = None
  _CREATECONVERSATIONREQUEST.fields_by_name['namespace_id']._serialized_options = b'\342A\001\002'
  _CREATECONVERSATIONREQUEST.fields_by_name['conversation_id']._options = None
  _CREATECONVERSATIONREQUEST.fields_by_name['conversation_id']._serialized_options = b'\342A\001\002'
  _globals['_CONVERSATION']._serialized_start=142
  _globals['_CONVERSATION']._serialized_end=378
  _globals['_MESSAGE']._serialized_start=381
  _globals['_MESSAGE']._serialized_end=788
  _globals['_MESSAGE_MESSAGETYPE']._serialized_start=722
  _globals['_MESSAGE_MESSAGETYPE']._serialized_end=788
  _globals['_CREATECONVERSATIONREQUEST']._serialized_start=791
  _globals['_CREATECONVERSATIONREQUEST']._serialized_end=937
  _globals['_CREATECONVERSATIONRESPONSE']._serialized_start=939
  _globals['_CREATECONVERSATIONRESPONSE']._serialized_end=1044
  _globals['_LISTCONVERSATIONSREQUEST']._serialized_start=1047
  _globals['_LISTCONVERSATIONSREQUEST']._serialized_end=1199
  _globals['_LISTCONVERSATIONSRESPONSE']._serialized_start=1202
  _globals['_LISTCONVERSATIONSRESPONSE']._serialized_end=1379
  _globals['_UPDATECONVERSATIONREQUEST']._serialized_start=1382
  _globals['_UPDATECONVERSATIONREQUEST']._serialized_end=1564
  _globals['_UPDATECONVERSATIONRESPONSE']._serialized_start=1566
  _globals['_UPDATECONVERSATIONRESPONSE']._serialized_end=1671
  _globals['_DELETECONVERSATIONREQUEST']._serialized_start=1674
  _globals['_DELETECONVERSATIONREQUEST']._serialized_end=1808
  _globals['_DELETECONVERSATIONRESPONSE']._serialized_start=1810
  _globals['_DELETECONVERSATIONRESPONSE']._serialized_end=1838
  _globals['_CREATEMESSAGEREQUEST']._serialized_start=1841
  _globals['_CREATEMESSAGEREQUEST']._serialized_end=2084
  _globals['_CREATEMESSAGERESPONSE']._serialized_start=2086
  _globals['_CREATEMESSAGERESPONSE']._serialized_end=2171
  _globals['_LISTMESSAGESREQUEST']._serialized_start=2174
  _globals['_LISTMESSAGESREQUEST']._serialized_end=2445
  _globals['_LISTMESSAGESRESPONSE']._serialized_start=2448
  _globals['_LISTMESSAGESRESPONSE']._serialized_end=2605
  _globals['_UPDATEMESSAGEREQUEST']._serialized_start=2608
  _globals['_UPDATEMESSAGEREQUEST']._serialized_end=2796
  _globals['_UPDATEMESSAGERESPONSE']._serialized_start=2798
  _globals['_UPDATEMESSAGERESPONSE']._serialized_end=2883
  _globals['_DELETEMESSAGEREQUEST']._serialized_start=2886
  _globals['_DELETEMESSAGEREQUEST']._serialized_end=3048
  _globals['_DELETEMESSAGERESPONSE']._serialized_start=3050
  _globals['_DELETEMESSAGERESPONSE']._serialized_end=3073
# @@protoc_insertion_point(module_scope)
