# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: rpc_messages/extract.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,
    '',
    'rpc_messages/extract.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1arpc_messages/extract.proto\x12\x08terminal\"`\n\x0e\x45xtractRequest\x12\x0e\n\x06prompt\x18\x01 \x01(\t\x12\x13\n\x0bjson_schema\x18\x02 \x01(\t\x12)\n\x07options\x18\x03 \x01(\x0b\x32\x18.terminal.ExtractOptions\"\xa8\x01\n\x0e\x45xtractOptions\x12\r\n\x05model\x18\x01 \x01(\t\x12\x13\n\x0btemperature\x18\x02 \x01(\x02\x12\x12\n\nmax_tokens\x18\x03 \x01(\x05\x12\x13\n\x0bmax_retries\x18\x04 \x01(\x05\x12\x17\n\x0ftimeout_seconds\x18\x05 \x01(\x05\x12\x19\n\x11working_directory\x18\x06 \x01(\t\x12\x15\n\renabled_tools\x18\x07 \x03(\t\"\xb4\x01\n\x0f\x45xtractResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12.\n\nerror_code\x18\x03 \x01(\x0e\x32\x1a.terminal.ExtractErrorCode\x12\x11\n\treasoning\x18\x04 \x01(\t\x12\x13\n\x0bresult_json\x18\x05 \x01(\t\x12)\n\x07metrics\x18\x06 \x01(\x0b\x32\x18.terminal.ExtractMetrics\"\xbd\x01\n\x0e\x45xtractMetrics\x12\x13\n\x0b\x64uration_ms\x18\x01 \x01(\x05\x12\x17\n\x0fllm_duration_ms\x18\x02 \x01(\x05\x12\x18\n\x10tool_duration_ms\x18\x03 \x01(\x05\x12\x11\n\tllm_calls\x18\x04 \x01(\x05\x12\x12\n\ntool_calls\x18\x05 \x01(\x05\x12\x0f\n\x07retries\x18\x06 \x01(\x05\x12+\n\x06tokens\x18\x07 \x01(\x0b\x32\x1b.terminal.ExtractTokenUsage\"[\n\x11\x45xtractTokenUsage\x12\x15\n\rprompt_tokens\x18\x01 \x01(\x05\x12\x19\n\x11\x63ompletion_tokens\x18\x02 \x01(\x05\x12\x14\n\x0ctotal_tokens\x18\x03 \x01(\x05*\xad\x02\n\x10\x45xtractErrorCode\x12\x16\n\x12\x45XTRACT_ERROR_NONE\x10\x00\x12 \n\x1c\x45XTRACT_ERROR_INVALID_SCHEMA\x10\x01\x12#\n\x1f\x45XTRACT_ERROR_EXTRACTION_FAILED\x10\x02\x12#\n\x1f\x45XTRACT_ERROR_VALIDATION_FAILED\x10\x03\x12\x19\n\x15\x45XTRACT_ERROR_TIMEOUT\x10\x04\x12\x1b\n\x17\x45XTRACT_ERROR_LLM_ERROR\x10\x05\x12\x1c\n\x18\x45XTRACT_ERROR_TOOL_ERROR\x10\x06\x12\x1b\n\x17\x45XTRACT_ERROR_CANCELLED\x10\x07\x12\"\n\x1e\x45XTRACT_ERROR_SCHEMA_TOO_LARGE\x10\x08\x42\x10Z\x0eterminal/protob\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'rpc_messages.extract_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z\016terminal/proto'
  _globals['_EXTRACTERRORCODE']._serialized_start=778
  _globals['_EXTRACTERRORCODE']._serialized_end=1079
  _globals['_EXTRACTREQUEST']._serialized_start=40
  _globals['_EXTRACTREQUEST']._serialized_end=136
  _globals['_EXTRACTOPTIONS']._serialized_start=139
  _globals['_EXTRACTOPTIONS']._serialized_end=307
  _globals['_EXTRACTRESPONSE']._serialized_start=310
  _globals['_EXTRACTRESPONSE']._serialized_end=490
  _globals['_EXTRACTMETRICS']._serialized_start=493
  _globals['_EXTRACTMETRICS']._serialized_end=682
  _globals['_EXTRACTTOKENUSAGE']._serialized_start=684
  _globals['_EXTRACTTOKENUSAGE']._serialized_end=775
# @@protoc_insertion_point(module_scope)
