# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: agentanycast/v1/a2a_models.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n agentanycast/v1/a2a_models.proto\x12\x0f\x61gentanycast.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xc7\x02\n\x04Task\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x12\n\ncontext_id\x18\x02 \x01(\t\x12+\n\x06status\x18\x03 \x01(\x0e\x32\x1b.agentanycast.v1.TaskStatus\x12*\n\x08messages\x18\x04 \x03(\x0b\x32\x18.agentanycast.v1.Message\x12,\n\tartifacts\x18\x05 \x03(\x0b\x32\x19.agentanycast.v1.Artifact\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0ftarget_skill_id\x18\x08 \x01(\t\x12\x1a\n\x12originator_peer_id\x18\t \x01(\t\"\x9f\x01\n\x07Message\x12\x12\n\nmessage_id\x18\x01 \x01(\t\x12*\n\x04role\x18\x02 \x01(\x0e\x32\x1c.agentanycast.v1.MessageRole\x12$\n\x05parts\x18\x03 \x03(\x0b\x32\x15.agentanycast.v1.Part\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc9\x02\n\x04Part\x12.\n\ttext_part\x18\x01 \x01(\x0b\x32\x19.agentanycast.v1.TextPartH\x00\x12.\n\tdata_part\x18\x02 \x01(\x0b\x32\x19.agentanycast.v1.DataPartH\x00\x12,\n\x08url_part\x18\x03 \x01(\x0b\x32\x18.agentanycast.v1.UrlPartH\x00\x12,\n\x08raw_part\x18\x04 \x01(\x0b\x32\x18.agentanycast.v1.RawPartH\x00\x12\x12\n\nmedia_type\x18\n \x01(\t\x12\x35\n\x08metadata\x18\x0b \x03(\x0b\x32#.agentanycast.v1.Part.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07\x63ontent\"\x18\n\x08TextPart\x12\x0c\n\x04text\x18\x01 \x01(\t\"1\n\x08\x44\x61taPart\x12%\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"(\n\x07UrlPart\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\")\n\x07RawPart\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\"S\n\x08\x41rtifact\x12\x13\n\x0b\x61rtifact_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12$\n\x05parts\x18\x03 \x03(\x0b\x32\x15.agentanycast.v1.Part\"\xe0\x04\n\x0b\x41\x32\x41\x45nvelope\x12\x13\n\x0b\x65nvelope_id\x18\x01 \x01(\t\x12+\n\x04type\x18\x02 \x01(\x0e\x32\x1d.agentanycast.v1.EnvelopeType\x12-\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\tsend_task\x18\n \x01(\x0b\x32 .agentanycast.v1.SendTaskPayloadH\x00\x12\x46\n\x12task_status_update\x18\x0b \x01(\x0b\x32(.agentanycast.v1.TaskStatusUpdatePayloadH\x00\x12=\n\rtask_complete\x18\x0c \x01(\x0b\x32$.agentanycast.v1.TaskCompletePayloadH\x00\x12\x35\n\ttask_fail\x18\r \x01(\x0b\x32 .agentanycast.v1.TaskFailPayloadH\x00\x12\x39\n\x0btask_cancel\x18\x0e \x01(\x0b\x32\".agentanycast.v1.TaskCancelPayloadH\x00\x12\x33\n\x08get_task\x18\x0f \x01(\x0b\x32\x1f.agentanycast.v1.GetTaskPayloadH\x00\x12\x44\n\x11get_task_response\x18\x10 \x01(\x0b\x32\'.agentanycast.v1.GetTaskResponsePayloadH\x00\x12*\n\x03\x61\x63k\x18\x11 \x01(\x0b\x32\x1b.agentanycast.v1.AckPayloadH\x00\x42\t\n\x07payload\"z\n\x0fSendTaskPayload\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x12\n\ncontext_id\x18\x02 \x01(\t\x12)\n\x07message\x18\x03 \x01(\x0b\x32\x18.agentanycast.v1.Message\x12\x17\n\x0ftarget_skill_id\x18\x04 \x01(\t\"\x82\x01\n\x17TaskStatusUpdatePayload\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12+\n\x06status\x18\x02 \x01(\x0e\x32\x1b.agentanycast.v1.TaskStatus\x12)\n\x07message\x18\x03 \x01(\x0b\x32\x18.agentanycast.v1.Message\"\x7f\n\x13TaskCompletePayload\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12,\n\tartifacts\x18\x02 \x03(\x0b\x32\x19.agentanycast.v1.Artifact\x12)\n\x07message\x18\x03 \x01(\x0b\x32\x18.agentanycast.v1.Message\"d\n\x0fTaskFailPayload\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x15\n\rerror_message\x18\x02 \x01(\t\x12)\n\x07message\x18\x03 \x01(\x0b\x32\x18.agentanycast.v1.Message\"$\n\x11TaskCancelPayload\x12\x0f\n\x07task_id\x18\x01 \x01(\t\"!\n\x0eGetTaskPayload\x12\x0f\n\x07task_id\x18\x01 \x01(\t\"=\n\x16GetTaskResponsePayload\x12#\n\x04task\x18\x01 \x01(\x0b\x32\x15.agentanycast.v1.Task\".\n\nAckPayload\x12 \n\x18\x61\x63knowledged_envelope_id\x18\x01 \x01(\t*\xe4\x01\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15TASK_STATUS_SUBMITTED\x10\x01\x12\x17\n\x13TASK_STATUS_WORKING\x10\x02\x12\x1e\n\x1aTASK_STATUS_INPUT_REQUIRED\x10\x03\x12\x19\n\x15TASK_STATUS_COMPLETED\x10\x04\x12\x16\n\x12TASK_STATUS_FAILED\x10\x05\x12\x18\n\x14TASK_STATUS_CANCELED\x10\x06\x12\x18\n\x14TASK_STATUS_REJECTED\x10\x07*Z\n\x0bMessageRole\x12\x1c\n\x18MESSAGE_ROLE_UNSPECIFIED\x10\x00\x12\x15\n\x11MESSAGE_ROLE_USER\x10\x01\x12\x16\n\x12MESSAGE_ROLE_AGENT\x10\x02*\xa5\x02\n\x0c\x45nvelopeType\x12\x1d\n\x19\x45NVELOPE_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x45NVELOPE_TYPE_SEND_TASK\x10\x01\x12$\n ENVELOPE_TYPE_TASK_STATUS_UPDATE\x10\x02\x12\x1f\n\x1b\x45NVELOPE_TYPE_TASK_COMPLETE\x10\x03\x12\x1b\n\x17\x45NVELOPE_TYPE_TASK_FAIL\x10\x04\x12\x1d\n\x19\x45NVELOPE_TYPE_TASK_CANCEL\x10\x05\x12\x1a\n\x16\x45NVELOPE_TYPE_GET_TASK\x10\x06\x12#\n\x1f\x45NVELOPE_TYPE_GET_TASK_RESPONSE\x10\x07\x12\x15\n\x11\x45NVELOPE_TYPE_ACK\x10\x08\x42RZPgithub.com/agentanycast/agentanycast-proto/gen/go/agentanycast/v1;agentanycastv1b\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentanycast.v1.a2a_models_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'ZPgithub.com/agentanycast/agentanycast-proto/gen/go/agentanycast/v1;agentanycastv1'
  _PART_METADATAENTRY._options = None
  _PART_METADATAENTRY._serialized_options = b'8\001'
  _TASKSTATUS._serialized_start=2471
  _TASKSTATUS._serialized_end=2699
  _MESSAGEROLE._serialized_start=2701
  _MESSAGEROLE._serialized_end=2791
  _ENVELOPETYPE._serialized_start=2794
  _ENVELOPETYPE._serialized_end=3087
  _TASK._serialized_start=117
  _TASK._serialized_end=444
  _MESSAGE._serialized_start=447
  _MESSAGE._serialized_end=606
  _PART._serialized_start=609
  _PART._serialized_end=938
  _PART_METADATAENTRY._serialized_start=880
  _PART_METADATAENTRY._serialized_end=927
  _TEXTPART._serialized_start=940
  _TEXTPART._serialized_end=964
  _DATAPART._serialized_start=966
  _DATAPART._serialized_end=1015
  _URLPART._serialized_start=1017
  _URLPART._serialized_end=1057
  _RAWPART._serialized_start=1059
  _RAWPART._serialized_end=1100
  _ARTIFACT._serialized_start=1102
  _ARTIFACT._serialized_end=1185
  _A2AENVELOPE._serialized_start=1188
  _A2AENVELOPE._serialized_end=1796
  _SENDTASKPAYLOAD._serialized_start=1798
  _SENDTASKPAYLOAD._serialized_end=1920
  _TASKSTATUSUPDATEPAYLOAD._serialized_start=1923
  _TASKSTATUSUPDATEPAYLOAD._serialized_end=2053
  _TASKCOMPLETEPAYLOAD._serialized_start=2055
  _TASKCOMPLETEPAYLOAD._serialized_end=2182
  _TASKFAILPAYLOAD._serialized_start=2184
  _TASKFAILPAYLOAD._serialized_end=2284
  _TASKCANCELPAYLOAD._serialized_start=2286
  _TASKCANCELPAYLOAD._serialized_end=2322
  _GETTASKPAYLOAD._serialized_start=2324
  _GETTASKPAYLOAD._serialized_end=2357
  _GETTASKRESPONSEPAYLOAD._serialized_start=2359
  _GETTASKRESPONSEPAYLOAD._serialized_end=2420
  _ACKPAYLOAD._serialized_start=2422
  _ACKPAYLOAD._serialized_end=2468
# @@protoc_insertion_point(module_scope)
