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

_sym_db = _symbol_database.Default()


from opentrace_agent.gen.opentrace.v1 import job_config_pb2 as opentrace_dot_v1_dot_job__config__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n opentrace/v1/agent_service.proto\x12\x0copentrace.v1\x1a\x1dopentrace/v1/job_config.proto\"o\n\rRunJobRequest\x12\x0f\n\x07mcp_url\x18\x01 \x01(\t\x12\x0f\n\x07\x61pi_key\x18\x02 \x01(\t\x12<\n\x10git_integrations\x18\x03 \x03(\x0b\x32\".opentrace.v1.GitIntegrationConfig\"N\n\x0bIndexedNode\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x17\n\x0fproperties_json\x18\x04 \x01(\t\"n\n\x13IndexedRelationship\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x11\n\tsource_id\x18\x03 \x01(\t\x12\x11\n\ttarget_id\x18\x04 \x01(\t\x12\x17\n\x0fproperties_json\x18\x05 \x01(\t\"\xb7\x02\n\x08JobEvent\x12(\n\x04kind\x18\x01 \x01(\x0e\x32\x1a.opentrace.v1.JobEventKind\x12%\n\x05phase\x18\x02 \x01(\x0e\x32\x16.opentrace.v1.JobPhase\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\'\n\x06result\x18\x04 \x01(\x0b\x32\x17.opentrace.v1.JobResult\x12\x0e\n\x06\x65rrors\x18\x05 \x03(\t\x12,\n\x06\x64\x65tail\x18\x06 \x01(\x0b\x32\x1c.opentrace.v1.ProgressDetail\x12(\n\x05nodes\x18\x07 \x03(\x0b\x32\x19.opentrace.v1.IndexedNode\x12\x38\n\rrelationships\x18\x08 \x03(\x0b\x32!.opentrace.v1.IndexedRelationship\"y\n\x0eProgressDetail\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x05\x12\r\n\x05total\x18\x02 \x01(\x05\x12\x11\n\tfile_name\x18\x03 \x01(\t\x12\x15\n\rnodes_created\x18\x04 \x01(\x05\x12\x1d\n\x15relationships_created\x18\x05 \x01(\x05\"Z\n\tJobResult\x12\x15\n\rnodes_created\x18\x01 \x01(\x05\x12\x1d\n\x15relationships_created\x18\x02 \x01(\x05\x12\x17\n\x0frepos_processed\x18\x03 \x01(\x05*\x84\x02\n\x08JobPhase\x12\x19\n\x15JOB_PHASE_UNSPECIFIED\x10\x00\x12\x1a\n\x16JOB_PHASE_INITIALIZING\x10\x01\x12\x16\n\x12JOB_PHASE_FETCHING\x10\x02\x12\x15\n\x11JOB_PHASE_PARSING\x10\x03\x12\x17\n\x13JOB_PHASE_RESOLVING\x10\x04\x12\x17\n\x13JOB_PHASE_ENRICHING\x10\x05\x12\x18\n\x14JOB_PHASE_SUBMITTING\x10\x06\x12\x12\n\x0eJOB_PHASE_DONE\x10\x07\x12\x19\n\x15JOB_PHASE_SUMMARIZING\x10\x08\x12\x17\n\x13JOB_PHASE_EMBEDDING\x10\t*\xc1\x01\n\x0cJobEventKind\x12\x1e\n\x1aJOB_EVENT_KIND_UNSPECIFIED\x10\x00\x12\x1b\n\x17JOB_EVENT_KIND_PROGRESS\x10\x01\x12\x1e\n\x1aJOB_EVENT_KIND_GRAPH_READY\x10\x02\x12\x17\n\x13JOB_EVENT_KIND_DONE\x10\x03\x12\x18\n\x14JOB_EVENT_KIND_ERROR\x10\x04\x12!\n\x1dJOB_EVENT_KIND_STAGE_COMPLETE\x10\x05\x32O\n\x0c\x41gentService\x12?\n\x06RunJob\x12\x1b.opentrace.v1.RunJobRequest\x1a\x16.opentrace.v1.JobEvent0\x01\x42\x31Z/github.com/opentrace/opentrace/api/pkg/gen/otv1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'opentrace.v1.agent_service_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z/github.com/opentrace/opentrace/api/pkg/gen/otv1'
  _globals['_JOBPHASE']._serialized_start=916
  _globals['_JOBPHASE']._serialized_end=1176
  _globals['_JOBEVENTKIND']._serialized_start=1179
  _globals['_JOBEVENTKIND']._serialized_end=1372
  _globals['_RUNJOBREQUEST']._serialized_start=81
  _globals['_RUNJOBREQUEST']._serialized_end=192
  _globals['_INDEXEDNODE']._serialized_start=194
  _globals['_INDEXEDNODE']._serialized_end=272
  _globals['_INDEXEDRELATIONSHIP']._serialized_start=274
  _globals['_INDEXEDRELATIONSHIP']._serialized_end=384
  _globals['_JOBEVENT']._serialized_start=387
  _globals['_JOBEVENT']._serialized_end=698
  _globals['_PROGRESSDETAIL']._serialized_start=700
  _globals['_PROGRESSDETAIL']._serialized_end=821
  _globals['_JOBRESULT']._serialized_start=823
  _globals['_JOBRESULT']._serialized_end=913
  _globals['_AGENTSERVICE']._serialized_start=1374
  _globals['_AGENTSERVICE']._serialized_end=1453
# @@protoc_insertion_point(module_scope)
