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

# DeepSpeed Team
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: modelresponse.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\x13modelresponse.proto\x12\rmodelresponse\x1a\x1bgoogle/protobuf/empty.proto\"\x88\x01\n\nDictionary\x12\x35\n\x06values\x18\x01 \x03(\x0b\x32%.modelresponse.Dictionary.ValuesEntry\x1a\x43\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.modelresponse.Value:\x02\x38\x01\"\x8c\x01\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\x12+\n\x06mvalue\x18\x05 \x01(\x0b\x32\x19.modelresponse.DictionaryH\x00\x42\x0e\n\x0coneof_values\"\xbb\x01\n\x13SingleStringRequest\x12\x0f\n\x07request\x18\x01 \x01(\t\x12I\n\x0cquery_kwargs\x18\x02 \x03(\x0b\x32\x33.modelresponse.SingleStringRequest.QueryKwargsEntry\x1aH\n\x10QueryKwargsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.modelresponse.Value:\x02\x38\x01\"\xb9\x01\n\x12MultiStringRequest\x12\x0f\n\x07request\x18\x01 \x03(\t\x12H\n\x0cquery_kwargs\x18\x02 \x03(\x0b\x32\x32.modelresponse.MultiStringRequest.QueryKwargsEntry\x1aH\n\x10QueryKwargsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.modelresponse.Value:\x02\x38\x01\"\x9f\x01\n\x15SingleGenerationReply\x12\x10\n\x08response\x18\x01 \x01(\t\x12\x15\n\rfinish_reason\x18\x02 \x01(\t\x12\x15\n\rprompt_tokens\x18\x03 \x01(\x03\x12\x18\n\x10generated_tokens\x18\x04 \x01(\x03\x12\x12\n\ntime_taken\x18\x05 \x01(\x02\x12\x18\n\x10model_time_taken\x18\x06 \x01(\x02\"N\n\x14MultiGenerationReply\x12\x36\n\x08response\x18\x01 \x03(\x0b\x32$.modelresponse.SingleGenerationReply2\x8e\x02\n\rModelResponse\x12=\n\tTerminate\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x00\x12Z\n\x0eGeneratorReply\x12!.modelresponse.MultiStringRequest\x1a#.modelresponse.MultiGenerationReply\"\x00\x12\x62\n\x14GeneratorReplyStream\x12!.modelresponse.MultiStringRequest\x1a#.modelresponse.MultiGenerationReply\"\x00\x30\x01\x62\x06proto3'
)

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'modelresponse_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
    DESCRIPTOR._options = None
    _DICTIONARY_VALUESENTRY._options = None
    _DICTIONARY_VALUESENTRY._serialized_options = b'8\001'
    _SINGLESTRINGREQUEST_QUERYKWARGSENTRY._options = None
    _SINGLESTRINGREQUEST_QUERYKWARGSENTRY._serialized_options = b'8\001'
    _MULTISTRINGREQUEST_QUERYKWARGSENTRY._options = None
    _MULTISTRINGREQUEST_QUERYKWARGSENTRY._serialized_options = b'8\001'
    _globals['_DICTIONARY']._serialized_start = 68
    _globals['_DICTIONARY']._serialized_end = 204
    _globals['_DICTIONARY_VALUESENTRY']._serialized_start = 137
    _globals['_DICTIONARY_VALUESENTRY']._serialized_end = 204
    _globals['_VALUE']._serialized_start = 207
    _globals['_VALUE']._serialized_end = 347
    _globals['_SINGLESTRINGREQUEST']._serialized_start = 350
    _globals['_SINGLESTRINGREQUEST']._serialized_end = 537
    _globals['_SINGLESTRINGREQUEST_QUERYKWARGSENTRY']._serialized_start = 465
    _globals['_SINGLESTRINGREQUEST_QUERYKWARGSENTRY']._serialized_end = 537
    _globals['_MULTISTRINGREQUEST']._serialized_start = 540
    _globals['_MULTISTRINGREQUEST']._serialized_end = 725
    _globals['_MULTISTRINGREQUEST_QUERYKWARGSENTRY']._serialized_start = 465
    _globals['_MULTISTRINGREQUEST_QUERYKWARGSENTRY']._serialized_end = 537
    _globals['_SINGLEGENERATIONREPLY']._serialized_start = 728
    _globals['_SINGLEGENERATIONREPLY']._serialized_end = 887
    _globals['_MULTIGENERATIONREPLY']._serialized_start = 889
    _globals['_MULTIGENERATIONREPLY']._serialized_end = 967
    _globals['_MODELRESPONSE']._serialized_start = 970
    _globals['_MODELRESPONSE']._serialized_end = 1240
# @@protoc_insertion_point(module_scope)
