# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: src/backend/workflows/message_collector.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='src/backend/workflows/message_collector.proto',
  package='avsoftware.workflows',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n-src/backend/workflows/message_collector.proto\x12\x14\x61vsoftware.workflows\x1a\x19google/protobuf/any.proto\"\x8b\x03\n\x0fMessageEnvelope\x12O\n\x10routing_metadata\x18\x01 \x01(\x0b\x32\x35.avsoftware.workflows.MessageEnvelope.RoutingMetadata\x12+\n\x0b\x61ny_content\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00\x12M\n\x0fsystem_metadata\x18\x06 \x01(\x0b\x32\x34.avsoftware.workflows.MessageEnvelope.SystemMetadata\x1aQ\n\x0fRoutingMetadata\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x0e\n\x06source\x18\x03 \x01(\tJ\x04\x08\x04\x10\x05R\tshard_key\x1a(\n\x0eSystemMetadata\x12\x16\n\x0epublication_ns\x18\x01 \x01(\x03\x42\x11\n\x0fmessage_contentJ\x04\x08\x03\x10\x06R\x15message_content_bytesb\x06proto3')
  ,
  dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,])




_MESSAGEENVELOPE_ROUTINGMETADATA = _descriptor.Descriptor(
  name='RoutingMetadata',
  full_name='avsoftware.workflows.MessageEnvelope.RoutingMetadata',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='avsoftware.workflows.MessageEnvelope.RoutingMetadata.id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='namespace', full_name='avsoftware.workflows.MessageEnvelope.RoutingMetadata.namespace', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='source', full_name='avsoftware.workflows.MessageEnvelope.RoutingMetadata.source', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=323,
  serialized_end=404,
)

_MESSAGEENVELOPE_SYSTEMMETADATA = _descriptor.Descriptor(
  name='SystemMetadata',
  full_name='avsoftware.workflows.MessageEnvelope.SystemMetadata',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='publication_ns', full_name='avsoftware.workflows.MessageEnvelope.SystemMetadata.publication_ns', index=0,
      number=1, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=406,
  serialized_end=446,
)

_MESSAGEENVELOPE = _descriptor.Descriptor(
  name='MessageEnvelope',
  full_name='avsoftware.workflows.MessageEnvelope',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='routing_metadata', full_name='avsoftware.workflows.MessageEnvelope.routing_metadata', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='any_content', full_name='avsoftware.workflows.MessageEnvelope.any_content', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='system_metadata', full_name='avsoftware.workflows.MessageEnvelope.system_metadata', index=2,
      number=6, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[_MESSAGEENVELOPE_ROUTINGMETADATA, _MESSAGEENVELOPE_SYSTEMMETADATA, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='message_content', full_name='avsoftware.workflows.MessageEnvelope.message_content',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=99,
  serialized_end=494,
)

_MESSAGEENVELOPE_ROUTINGMETADATA.containing_type = _MESSAGEENVELOPE
_MESSAGEENVELOPE_SYSTEMMETADATA.containing_type = _MESSAGEENVELOPE
_MESSAGEENVELOPE.fields_by_name['routing_metadata'].message_type = _MESSAGEENVELOPE_ROUTINGMETADATA
_MESSAGEENVELOPE.fields_by_name['any_content'].message_type = google_dot_protobuf_dot_any__pb2._ANY
_MESSAGEENVELOPE.fields_by_name['system_metadata'].message_type = _MESSAGEENVELOPE_SYSTEMMETADATA
_MESSAGEENVELOPE.oneofs_by_name['message_content'].fields.append(
  _MESSAGEENVELOPE.fields_by_name['any_content'])
_MESSAGEENVELOPE.fields_by_name['any_content'].containing_oneof = _MESSAGEENVELOPE.oneofs_by_name['message_content']
DESCRIPTOR.message_types_by_name['MessageEnvelope'] = _MESSAGEENVELOPE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

MessageEnvelope = _reflection.GeneratedProtocolMessageType('MessageEnvelope', (_message.Message,), dict(

  RoutingMetadata = _reflection.GeneratedProtocolMessageType('RoutingMetadata', (_message.Message,), dict(
    DESCRIPTOR = _MESSAGEENVELOPE_ROUTINGMETADATA,
    __module__ = 'src.backend.workflows.message_collector_pb2'
    # @@protoc_insertion_point(class_scope:avsoftware.workflows.MessageEnvelope.RoutingMetadata)
    ))
  ,

  SystemMetadata = _reflection.GeneratedProtocolMessageType('SystemMetadata', (_message.Message,), dict(
    DESCRIPTOR = _MESSAGEENVELOPE_SYSTEMMETADATA,
    __module__ = 'src.backend.workflows.message_collector_pb2'
    # @@protoc_insertion_point(class_scope:avsoftware.workflows.MessageEnvelope.SystemMetadata)
    ))
  ,
  DESCRIPTOR = _MESSAGEENVELOPE,
  __module__ = 'src.backend.workflows.message_collector_pb2'
  # @@protoc_insertion_point(class_scope:avsoftware.workflows.MessageEnvelope)
  ))
_sym_db.RegisterMessage(MessageEnvelope)
_sym_db.RegisterMessage(MessageEnvelope.RoutingMetadata)
_sym_db.RegisterMessage(MessageEnvelope.SystemMetadata)


# @@protoc_insertion_point(module_scope)
