# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: training.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    1,
    '',
    'training.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0etraining.proto\x12\x08training\x1a\x1egoogle/protobuf/wrappers.proto\"(\n\x0c\x41nswerOption\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04text\x18\x02 \x01(\t\"\x8f\x01\n\x08Question\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\r\n\x05grade\x18\x03 \x01(\x05\x12\'\n\x07\x61nswers\x18\x04 \x03(\x0b\x32\x16.training.AnswerOption\x12\x31\n\x0b\x65xplanation\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"h\n\x07Mistake\x12\x15\n\rquestion_text\x18\x01 \x01(\t\x12\x13\n\x0b\x61nswer_text\x18\x02 \x01(\t\x12\x31\n\x0b\x65xplanation\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"h\n\x0eTrainingResult\x12\r\n\x05total\x18\x01 \x01(\x05\x12\x0f\n\x07\x63orrect\x18\x02 \x01(\x05\x12\x11\n\tincorrect\x18\x03 \x01(\x05\x12#\n\x08mistakes\x18\x04 \x03(\x0b\x32\x11.training.Mistake\"E\n\x14StartTrainingRequest\x12-\n\x08topic_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"=\n\x15StartTrainingResponse\x12$\n\x08question\x18\x01 \x01(\x0b\x32\x12.training.Question\")\n\x13HandleAnswerRequest\x12\x12\n\nuser_input\x18\x01 \x01(\t\"z\n\x14HandleAnswerResponse\x12+\n\rnext_question\x18\x01 \x01(\x0b\x32\x12.training.QuestionH\x00\x12*\n\x06result\x18\x02 \x01(\x0b\x32\x18.training.TrainingResultH\x00\x42\t\n\x07payload2\xb2\x01\n\x0fTrainingService\x12P\n\rStartTraining\x12\x1e.training.StartTrainingRequest\x1a\x1f.training.StartTrainingResponse\x12M\n\x0cHandleAnswer\x12\x1d.training.HandleAnswerRequest\x1a\x1e.training.HandleAnswerResponseb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'training_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_ANSWEROPTION']._serialized_start=60
  _globals['_ANSWEROPTION']._serialized_end=100
  _globals['_QUESTION']._serialized_start=103
  _globals['_QUESTION']._serialized_end=246
  _globals['_MISTAKE']._serialized_start=248
  _globals['_MISTAKE']._serialized_end=352
  _globals['_TRAININGRESULT']._serialized_start=354
  _globals['_TRAININGRESULT']._serialized_end=458
  _globals['_STARTTRAININGREQUEST']._serialized_start=460
  _globals['_STARTTRAININGREQUEST']._serialized_end=529
  _globals['_STARTTRAININGRESPONSE']._serialized_start=531
  _globals['_STARTTRAININGRESPONSE']._serialized_end=592
  _globals['_HANDLEANSWERREQUEST']._serialized_start=594
  _globals['_HANDLEANSWERREQUEST']._serialized_end=635
  _globals['_HANDLEANSWERRESPONSE']._serialized_start=637
  _globals['_HANDLEANSWERRESPONSE']._serialized_end=759
  _globals['_TRAININGSERVICE']._serialized_start=762
  _globals['_TRAININGSERVICE']._serialized_end=940
# @@protoc_insertion_point(module_scope)
