# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: Apache-2.0

# DeepSpeed Team
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: legacymodelresponse.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.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    b'\n\x19legacymodelresponse.proto\x12\x13legacymodelresponse\x1a\x1bgoogle/protobuf/empty.proto\"_\n\x05Value\x12\x10\n\x06svalue\x18\x01 \x01(\tH\x00\x12\x10\n\x06ivalue\x18\x02 \x01(\x03H\x00\x12\x10\n\x06\x66value\x18\x03 \x01(\x02H\x00\x12\x10\n\x06\x62value\x18\x04 \x01(\x08H\x00\x42\x0e\n\x0coneof_values\"\x1f\n\tSessionID\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\xc7\x01\n\x13SingleStringRequest\x12\x0f\n\x07request\x18\x01 \x01(\t\x12O\n\x0cquery_kwargs\x18\x02 \x03(\x0b\x32\x39.legacymodelresponse.SingleStringRequest.QueryKwargsEntry\x1aN\n\x10QueryKwargsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.legacymodelresponse.Value:\x02\x38\x01\"\xc5\x01\n\x12MultiStringRequest\x12\x0f\n\x07request\x18\x01 \x03(\t\x12N\n\x0cquery_kwargs\x18\x02 \x03(\x0b\x32\x38.legacymodelresponse.MultiStringRequest.QueryKwargsEntry\x1aN\n\x10QueryKwargsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.legacymodelresponse.Value:\x02\x38\x01\"S\n\x11SingleStringReply\x12\x10\n\x08response\x18\x01 \x01(\t\x12\x12\n\ntime_taken\x18\x02 \x01(\x02\x12\x18\n\x10model_time_taken\x18\x03 \x01(\x02\"R\n\x10MultiStringReply\x12\x10\n\x08response\x18\x01 \x03(\t\x12\x12\n\ntime_taken\x18\x02 \x01(\x02\x12\x18\n\x10model_time_taken\x18\x03 \x01(\x02\"\xc5\x01\n\tQARequest\x12\x10\n\x08question\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontext\x18\x02 \x01(\t\x12\x45\n\x0cquery_kwargs\x18\x03 \x03(\x0b\x32/.legacymodelresponse.QARequest.QueryKwargsEntry\x1aN\n\x10QueryKwargsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.legacymodelresponse.Value:\x02\x38\x01\"\x94\x02\n\x13\x43onversationRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x17\n\x0f\x63onversation_id\x18\x02 \x01(\t\x12\x18\n\x10past_user_inputs\x18\x03 \x03(\t\x12\x1b\n\x13generated_responses\x18\x04 \x03(\t\x12O\n\x0cquery_kwargs\x18\x05 \x03(\x0b\x32\x39.legacymodelresponse.ConversationRequest.QueryKwargsEntry\x1aN\n\x10QueryKwargsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.legacymodelresponse.Value:\x02\x38\x01\"\x91\x01\n\x11\x43onversationReply\x12\x17\n\x0f\x63onversation_id\x18\x01 \x01(\t\x12\x18\n\x10past_user_inputs\x18\x02 \x03(\t\x12\x1b\n\x13generated_responses\x18\x03 \x03(\t\x12\x12\n\ntime_taken\x18\x04 \x01(\x02\x12\x18\n\x10model_time_taken\x18\x05 \x01(\x02\"}\n\nImageReply\x12\x0e\n\x06images\x18\x01 \x03(\x0c\x12\x1d\n\x15nsfw_content_detected\x18\x02 \x03(\x08\x12\x0c\n\x04mode\x18\x03 \x01(\t\x12\x0e\n\x06size_w\x18\x04 \x01(\x03\x12\x0e\n\x06size_h\x18\x05 \x01(\x03\x12\x12\n\ntime_taken\x18\x06 \x01(\x02\"\xdb\x01\n\x11Text2ImageRequest\x12\x0e\n\x06prompt\x18\x01 \x03(\t\x12\x17\n\x0fnegative_prompt\x18\x02 \x03(\t\x12M\n\x0cquery_kwargs\x18\x03 \x03(\x0b\x32\x37.legacymodelresponse.Text2ImageRequest.QueryKwargsEntry\x1aN\n\x10QueryKwargsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.legacymodelresponse.Value:\x02\x38\x01\"\xf9\x01\n ZeroShotImgClassificationRequest\x12\r\n\x05image\x18\x01 \x01(\t\x12\x18\n\x10\x63\x61ndidate_labels\x18\x02 \x03(\t\x12\\\n\x0cquery_kwargs\x18\x03 \x03(\x0b\x32\x46.legacymodelresponse.ZeroShotImgClassificationRequest.QueryKwargsEntry\x1aN\n\x10QueryKwargsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.legacymodelresponse.Value:\x02\x38\x01\"\xfe\x01\n\x11InpaintingRequest\x12\x0e\n\x06prompt\x18\x01 \x03(\t\x12\r\n\x05image\x18\x02 \x03(\x0c\x12\x12\n\nmask_image\x18\x03 \x03(\x0c\x12\x17\n\x0fnegative_prompt\x18\x04 \x03(\t\x12M\n\x0cquery_kwargs\x18\x05 \x03(\x0b\x32\x37.legacymodelresponse.InpaintingRequest.QueryKwargsEntry\x1aN\n\x10QueryKwargsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.legacymodelresponse.Value:\x02\x38\x01\x32\x95\t\n\rModelResponse\x12=\n\tTerminate\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x00\x12I\n\rCreateSession\x12\x1e.legacymodelresponse.SessionID\x1a\x16.google.protobuf.Empty\"\x00\x12J\n\x0e\x44\x65stroySession\x12\x1e.legacymodelresponse.SessionID\x1a\x16.google.protobuf.Empty\"\x00\x12\x62\n\x0eGeneratorReply\x12\'.legacymodelresponse.MultiStringRequest\x1a%.legacymodelresponse.MultiStringReply\"\x00\x12i\n\x13\x43lassificationReply\x12(.legacymodelresponse.SingleStringRequest\x1a&.legacymodelresponse.SingleStringReply\"\x00\x12\x62\n\x16QuestionAndAnswerReply\x12\x1e.legacymodelresponse.QARequest\x1a&.legacymodelresponse.SingleStringReply\"\x00\x12\x63\n\rFillMaskReply\x12(.legacymodelresponse.SingleStringRequest\x1a&.legacymodelresponse.SingleStringReply\"\x00\x12n\n\x18TokenClassificationReply\x12(.legacymodelresponse.SingleStringRequest\x1a&.legacymodelresponse.SingleStringReply\"\x00\x12i\n\x13\x43onversationalReply\x12(.legacymodelresponse.ConversationRequest\x1a&.legacymodelresponse.ConversationReply\"\x00\x12Y\n\x0cTxt2ImgReply\x12&.legacymodelresponse.Text2ImageRequest\x1a\x1f.legacymodelresponse.ImageReply\"\x00\x12\x81\x01\n\x1eZeroShotImgClassificationReply\x12\x35.legacymodelresponse.ZeroShotImgClassificationRequest\x1a&.legacymodelresponse.SingleStringReply\"\x00\x12\\\n\x0fInpaintingReply\x12&.legacymodelresponse.InpaintingRequest\x1a\x1f.legacymodelresponse.ImageReply\"\x00\x62\x06proto3'
)

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'legacymodelresponse_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
    DESCRIPTOR._options = None
    _globals['_SINGLESTRINGREQUEST_QUERYKWARGSENTRY']._options = None
    _globals['_SINGLESTRINGREQUEST_QUERYKWARGSENTRY']._serialized_options = b'8\001'
    _globals['_MULTISTRINGREQUEST_QUERYKWARGSENTRY']._options = None
    _globals['_MULTISTRINGREQUEST_QUERYKWARGSENTRY']._serialized_options = b'8\001'
    _globals['_QAREQUEST_QUERYKWARGSENTRY']._options = None
    _globals['_QAREQUEST_QUERYKWARGSENTRY']._serialized_options = b'8\001'
    _globals['_CONVERSATIONREQUEST_QUERYKWARGSENTRY']._options = None
    _globals['_CONVERSATIONREQUEST_QUERYKWARGSENTRY']._serialized_options = b'8\001'
    _globals['_TEXT2IMAGEREQUEST_QUERYKWARGSENTRY']._options = None
    _globals['_TEXT2IMAGEREQUEST_QUERYKWARGSENTRY']._serialized_options = b'8\001'
    _globals['_ZEROSHOTIMGCLASSIFICATIONREQUEST_QUERYKWARGSENTRY']._options = None
    _globals[
        '_ZEROSHOTIMGCLASSIFICATIONREQUEST_QUERYKWARGSENTRY']._serialized_options = b'8\001'
    _globals['_INPAINTINGREQUEST_QUERYKWARGSENTRY']._options = None
    _globals['_INPAINTINGREQUEST_QUERYKWARGSENTRY']._serialized_options = b'8\001'
    _globals['_VALUE']._serialized_start = 79
    _globals['_VALUE']._serialized_end = 174
    _globals['_SESSIONID']._serialized_start = 176
    _globals['_SESSIONID']._serialized_end = 207
    _globals['_SINGLESTRINGREQUEST']._serialized_start = 210
    _globals['_SINGLESTRINGREQUEST']._serialized_end = 409
    _globals['_SINGLESTRINGREQUEST_QUERYKWARGSENTRY']._serialized_start = 331
    _globals['_SINGLESTRINGREQUEST_QUERYKWARGSENTRY']._serialized_end = 409
    _globals['_MULTISTRINGREQUEST']._serialized_start = 412
    _globals['_MULTISTRINGREQUEST']._serialized_end = 609
    _globals['_MULTISTRINGREQUEST_QUERYKWARGSENTRY']._serialized_start = 331
    _globals['_MULTISTRINGREQUEST_QUERYKWARGSENTRY']._serialized_end = 409
    _globals['_SINGLESTRINGREPLY']._serialized_start = 611
    _globals['_SINGLESTRINGREPLY']._serialized_end = 694
    _globals['_MULTISTRINGREPLY']._serialized_start = 696
    _globals['_MULTISTRINGREPLY']._serialized_end = 778
    _globals['_QAREQUEST']._serialized_start = 781
    _globals['_QAREQUEST']._serialized_end = 978
    _globals['_QAREQUEST_QUERYKWARGSENTRY']._serialized_start = 331
    _globals['_QAREQUEST_QUERYKWARGSENTRY']._serialized_end = 409
    _globals['_CONVERSATIONREQUEST']._serialized_start = 981
    _globals['_CONVERSATIONREQUEST']._serialized_end = 1257
    _globals['_CONVERSATIONREQUEST_QUERYKWARGSENTRY']._serialized_start = 331
    _globals['_CONVERSATIONREQUEST_QUERYKWARGSENTRY']._serialized_end = 409
    _globals['_CONVERSATIONREPLY']._serialized_start = 1260
    _globals['_CONVERSATIONREPLY']._serialized_end = 1405
    _globals['_IMAGEREPLY']._serialized_start = 1407
    _globals['_IMAGEREPLY']._serialized_end = 1532
    _globals['_TEXT2IMAGEREQUEST']._serialized_start = 1535
    _globals['_TEXT2IMAGEREQUEST']._serialized_end = 1754
    _globals['_TEXT2IMAGEREQUEST_QUERYKWARGSENTRY']._serialized_start = 331
    _globals['_TEXT2IMAGEREQUEST_QUERYKWARGSENTRY']._serialized_end = 409
    _globals['_ZEROSHOTIMGCLASSIFICATIONREQUEST']._serialized_start = 1757
    _globals['_ZEROSHOTIMGCLASSIFICATIONREQUEST']._serialized_end = 2006
    _globals[
        '_ZEROSHOTIMGCLASSIFICATIONREQUEST_QUERYKWARGSENTRY']._serialized_start = 331
    _globals['_ZEROSHOTIMGCLASSIFICATIONREQUEST_QUERYKWARGSENTRY']._serialized_end = 409
    _globals['_INPAINTINGREQUEST']._serialized_start = 2009
    _globals['_INPAINTINGREQUEST']._serialized_end = 2263
    _globals['_INPAINTINGREQUEST_QUERYKWARGSENTRY']._serialized_start = 331
    _globals['_INPAINTINGREQUEST_QUERYKWARGSENTRY']._serialized_end = 409
    _globals['_MODELRESPONSE']._serialized_start = 2266
    _globals['_MODELRESPONSE']._serialized_end = 3439
# @@protoc_insertion_point(module_scope)
