# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: agentanycast/v1/a2a_models.proto
# Protobuf Python Version: 7.34.0
"""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,
    7,
    34,
    0,
    '',
    'agentanycast/v1/a2a_models.proto'
)
# @@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
from agentanycast.v1 import streaming_pb2 as agentanycast_dot_v1_dot_streaming__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\x1a\x1f\x61gentanycast/v1/streaming.proto\"\xae\x03\n\x04Task\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\ncontext_id\x18\x02 \x01(\tR\tcontextId\x12\x33\n\x06status\x18\x03 \x01(\x0e\x32\x1b.agentanycast.v1.TaskStatusR\x06status\x12\x34\n\x08messages\x18\x04 \x03(\x0b\x32\x18.agentanycast.v1.MessageR\x08messages\x12\x37\n\tartifacts\x18\x05 \x03(\x0b\x32\x19.agentanycast.v1.ArtifactR\tartifacts\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12&\n\x0ftarget_skill_id\x18\x08 \x01(\tR\rtargetSkillId\x12,\n\x12originator_peer_id\x18\t \x01(\tR\x10originatorPeerId\"\xc2\x01\n\x07Message\x12\x1d\n\nmessage_id\x18\x01 \x01(\tR\tmessageId\x12\x30\n\x04role\x18\x02 \x01(\x0e\x32\x1c.agentanycast.v1.MessageRoleR\x04role\x12+\n\x05parts\x18\x03 \x03(\x0b\x32\x15.agentanycast.v1.PartR\x05parts\x12\x39\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\"\x90\x03\n\x04Part\x12\x38\n\ttext_part\x18\x01 \x01(\x0b\x32\x19.agentanycast.v1.TextPartH\x00R\x08textPart\x12\x38\n\tdata_part\x18\x02 \x01(\x0b\x32\x19.agentanycast.v1.DataPartH\x00R\x08\x64\x61taPart\x12\x35\n\x08url_part\x18\x03 \x01(\x0b\x32\x18.agentanycast.v1.UrlPartH\x00R\x07urlPart\x12\x35\n\x08raw_part\x18\x04 \x01(\x0b\x32\x18.agentanycast.v1.RawPartH\x00R\x07rawPart\x12\x1d\n\nmedia_type\x18\n \x01(\tR\tmediaType\x12?\n\x08metadata\x18\x0b \x03(\x0b\x32#.agentanycast.v1.Part.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\t\n\x07\x63ontent\"\x1e\n\x08TextPart\x12\x12\n\x04text\x18\x01 \x01(\tR\x04text\"7\n\x08\x44\x61taPart\x12+\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructR\x04\x64\x61ta\"7\n\x07UrlPart\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url\x12\x1a\n\x08\x66ilename\x18\x02 \x01(\tR\x08\x66ilename\"9\n\x07RawPart\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\x12\x1a\n\x08\x66ilename\x18\x02 \x01(\tR\x08\x66ilename\"l\n\x08\x41rtifact\x12\x1f\n\x0b\x61rtifact_id\x18\x01 \x01(\tR\nartifactId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12+\n\x05parts\x18\x03 \x03(\x0b\x32\x15.agentanycast.v1.PartR\x05parts\"\xe3\x07\n\x0b\x41\x32\x41\x45nvelope\x12\x1f\n\x0b\x65nvelope_id\x18\x01 \x01(\tR\nenvelopeId\x12\x31\n\x04type\x18\x02 \x01(\x0e\x32\x1d.agentanycast.v1.EnvelopeTypeR\x04type\x12\x38\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12?\n\tsend_task\x18\n \x01(\x0b\x32 .agentanycast.v1.SendTaskPayloadH\x00R\x08sendTask\x12X\n\x12task_status_update\x18\x0b \x01(\x0b\x32(.agentanycast.v1.TaskStatusUpdatePayloadH\x00R\x10taskStatusUpdate\x12K\n\rtask_complete\x18\x0c \x01(\x0b\x32$.agentanycast.v1.TaskCompletePayloadH\x00R\x0ctaskComplete\x12?\n\ttask_fail\x18\r \x01(\x0b\x32 .agentanycast.v1.TaskFailPayloadH\x00R\x08taskFail\x12\x45\n\x0btask_cancel\x18\x0e \x01(\x0b\x32\".agentanycast.v1.TaskCancelPayloadH\x00R\ntaskCancel\x12<\n\x08get_task\x18\x0f \x01(\x0b\x32\x1f.agentanycast.v1.GetTaskPayloadH\x00R\x07getTask\x12U\n\x11get_task_response\x18\x10 \x01(\x0b\x32\'.agentanycast.v1.GetTaskResponsePayloadH\x00R\x0fgetTaskResponse\x12/\n\x03\x61\x63k\x18\x11 \x01(\x0b\x32\x1b.agentanycast.v1.AckPayloadH\x00R\x03\x61\x63k\x12\x41\n\x0cstream_start\x18\x12 \x01(\x0b\x32\x1c.agentanycast.v1.StreamStartH\x00R\x0bstreamStart\x12\x41\n\x0cstream_chunk\x18\x13 \x01(\x0b\x32\x1c.agentanycast.v1.StreamChunkH\x00R\x0bstreamChunk\x12;\n\nstream_end\x18\x14 \x01(\x0b\x32\x1a.agentanycast.v1.StreamEndH\x00R\tstreamEnd\x12!\n\x0ctrace_parent\x18\x1e \x01(\tR\x0btraceParent\x12\x1f\n\x0btrace_state\x18\x1f \x01(\tR\ntraceStateB\t\n\x07payload\"\xa5\x01\n\x0fSendTaskPayload\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\ncontext_id\x18\x02 \x01(\tR\tcontextId\x12\x32\n\x07message\x18\x03 \x01(\x0b\x32\x18.agentanycast.v1.MessageR\x07message\x12&\n\x0ftarget_skill_id\x18\x04 \x01(\tR\rtargetSkillId\"\x9b\x01\n\x17TaskStatusUpdatePayload\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x33\n\x06status\x18\x02 \x01(\x0e\x32\x1b.agentanycast.v1.TaskStatusR\x06status\x12\x32\n\x07message\x18\x03 \x01(\x0b\x32\x18.agentanycast.v1.MessageR\x07message\"\x9b\x01\n\x13TaskCompletePayload\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x37\n\tartifacts\x18\x02 \x03(\x0b\x32\x19.agentanycast.v1.ArtifactR\tartifacts\x12\x32\n\x07message\x18\x03 \x01(\x0b\x32\x18.agentanycast.v1.MessageR\x07message\"\x83\x01\n\x0fTaskFailPayload\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12#\n\rerror_message\x18\x02 \x01(\tR\x0c\x65rrorMessage\x12\x32\n\x07message\x18\x03 \x01(\x0b\x32\x18.agentanycast.v1.MessageR\x07message\",\n\x11TaskCancelPayload\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\")\n\x0eGetTaskPayload\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\"C\n\x16GetTaskResponsePayload\x12)\n\x04task\x18\x01 \x01(\x0b\x32\x15.agentanycast.v1.TaskR\x04task\"F\n\nAckPayload\x12\x38\n\x18\x61\x63knowledged_envelope_id\x18\x01 \x01(\tR\x16\x61\x63knowledgedEnvelopeId*\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*\x83\x03\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\x12\x1e\n\x1a\x45NVELOPE_TYPE_STREAM_START\x10\t\x12\x1e\n\x1a\x45NVELOPE_TYPE_STREAM_CHUNK\x10\n\x12\x1c\n\x18\x45NVELOPE_TYPE_STREAM_END\x10\x0b\x42RZPgithub.com/agentanycast/agentanycast-proto/gen/go/agentanycast/v1;agentanycastv1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentanycast.v1.a2a_models_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'ZPgithub.com/agentanycast/agentanycast-proto/gen/go/agentanycast/v1;agentanycastv1'
  _globals['_PART_METADATAENTRY']._loaded_options = None
  _globals['_PART_METADATAENTRY']._serialized_options = b'8\001'
  _globals['_TASKSTATUS']._serialized_start=3344
  _globals['_TASKSTATUS']._serialized_end=3572
  _globals['_MESSAGEROLE']._serialized_start=3574
  _globals['_MESSAGEROLE']._serialized_end=3664
  _globals['_ENVELOPETYPE']._serialized_start=3667
  _globals['_ENVELOPETYPE']._serialized_end=4054
  _globals['_TASK']._serialized_start=150
  _globals['_TASK']._serialized_end=580
  _globals['_MESSAGE']._serialized_start=583
  _globals['_MESSAGE']._serialized_end=777
  _globals['_PART']._serialized_start=780
  _globals['_PART']._serialized_end=1180
  _globals['_PART_METADATAENTRY']._serialized_start=1110
  _globals['_PART_METADATAENTRY']._serialized_end=1169
  _globals['_TEXTPART']._serialized_start=1182
  _globals['_TEXTPART']._serialized_end=1212
  _globals['_DATAPART']._serialized_start=1214
  _globals['_DATAPART']._serialized_end=1269
  _globals['_URLPART']._serialized_start=1271
  _globals['_URLPART']._serialized_end=1326
  _globals['_RAWPART']._serialized_start=1328
  _globals['_RAWPART']._serialized_end=1385
  _globals['_ARTIFACT']._serialized_start=1387
  _globals['_ARTIFACT']._serialized_end=1495
  _globals['_A2AENVELOPE']._serialized_start=1498
  _globals['_A2AENVELOPE']._serialized_end=2493
  _globals['_SENDTASKPAYLOAD']._serialized_start=2496
  _globals['_SENDTASKPAYLOAD']._serialized_end=2661
  _globals['_TASKSTATUSUPDATEPAYLOAD']._serialized_start=2664
  _globals['_TASKSTATUSUPDATEPAYLOAD']._serialized_end=2819
  _globals['_TASKCOMPLETEPAYLOAD']._serialized_start=2822
  _globals['_TASKCOMPLETEPAYLOAD']._serialized_end=2977
  _globals['_TASKFAILPAYLOAD']._serialized_start=2980
  _globals['_TASKFAILPAYLOAD']._serialized_end=3111
  _globals['_TASKCANCELPAYLOAD']._serialized_start=3113
  _globals['_TASKCANCELPAYLOAD']._serialized_end=3157
  _globals['_GETTASKPAYLOAD']._serialized_start=3159
  _globals['_GETTASKPAYLOAD']._serialized_end=3200
  _globals['_GETTASKRESPONSEPAYLOAD']._serialized_start=3202
  _globals['_GETTASKRESPONSEPAYLOAD']._serialized_end=3269
  _globals['_ACKPAYLOAD']._serialized_start=3271
  _globals['_ACKPAYLOAD']._serialized_end=3341
# @@protoc_insertion_point(module_scope)
