# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: buffers/protobuf/workflows/WorkflowExecution.proto

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 deepomatic.rpc.buffers.protobuf.workflows import Workflow_pb2 as buffers_dot_protobuf_dot_workflows_dot_Workflow__pb2
from deepomatic.rpc.buffers.protobuf.common import Error_pb2 as buffers_dot_protobuf_dot_common_dot_Error__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='buffers/protobuf/workflows/WorkflowExecution.proto',
  package='buffers.protobuf.workflows',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n2buffers/protobuf/workflows/WorkflowExecution.proto\x12\x1a\x62uffers.protobuf.workflows\x1a)buffers/protobuf/workflows/Workflow.proto\x1a#buffers/protobuf/common/Error.proto\"\xb1\x03\n\x0fWorkflowRequest\x12Z\n\x10workflow_entries\x18\x01 \x03(\x0b\x32@.buffers.protobuf.workflows.WorkflowRequest.WorkflowEntriesEntry\x12K\n\x08metadata\x18\x02 \x03(\x0b\x32\x39.buffers.protobuf.workflows.WorkflowRequest.MetadataEntry\x12\x1a\n\x12output_routing_key\x18\x03 \x01(\t\x12\x1d\n\x15return_flow_container\x18\x04 \x01(\x08\x12,\n$return_flow_container_without_images\x18\x05 \x01(\x08\x1a[\n\x14WorkflowEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.buffers.protobuf.workflows.Concept:\x02\x38\x01\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa8\x02\n\x10WorkflowResponse\x12-\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x1e.buffers.protobuf.common.Error\x12L\n\x08outcomes\x18\x02 \x03(\x0b\x32:.buffers.protobuf.workflows.WorkflowResponse.OutcomesEntry\x12\x41\n\x0e\x66low_container\x18\x03 \x01(\x0b\x32).buffers.protobuf.workflows.FlowContainer\x1aT\n\rOutcomesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.buffers.protobuf.workflows.Outcome:\x02\x38\x01\x32\xfc\x01\n\x10WorkflowExecutor\x12n\n\x0f\x45xecuteWorkflow\x12+.buffers.protobuf.workflows.WorkflowRequest\x1a,.buffers.protobuf.workflows.WorkflowResponse\"\x00\x12x\n\x15\x45xecuteWorkflowStream\x12+.buffers.protobuf.workflows.WorkflowRequest\x1a,.buffers.protobuf.workflows.WorkflowResponse\"\x00(\x01\x30\x01\x62\x06proto3'
  ,
  dependencies=[buffers_dot_protobuf_dot_workflows_dot_Workflow__pb2.DESCRIPTOR,buffers_dot_protobuf_dot_common_dot_Error__pb2.DESCRIPTOR,])




_WORKFLOWREQUEST_WORKFLOWENTRIESENTRY = _descriptor.Descriptor(
  name='WorkflowEntriesEntry',
  full_name='buffers.protobuf.workflows.WorkflowRequest.WorkflowEntriesEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='buffers.protobuf.workflows.WorkflowRequest.WorkflowEntriesEntry.key', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='buffers.protobuf.workflows.WorkflowRequest.WorkflowEntriesEntry.value', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'8\001',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=456,
  serialized_end=547,
)

_WORKFLOWREQUEST_METADATAENTRY = _descriptor.Descriptor(
  name='MetadataEntry',
  full_name='buffers.protobuf.workflows.WorkflowRequest.MetadataEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='buffers.protobuf.workflows.WorkflowRequest.MetadataEntry.key', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='buffers.protobuf.workflows.WorkflowRequest.MetadataEntry.value', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'8\001',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=549,
  serialized_end=596,
)

_WORKFLOWREQUEST = _descriptor.Descriptor(
  name='WorkflowRequest',
  full_name='buffers.protobuf.workflows.WorkflowRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='workflow_entries', full_name='buffers.protobuf.workflows.WorkflowRequest.workflow_entries', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='metadata', full_name='buffers.protobuf.workflows.WorkflowRequest.metadata', index=1,
      number=2, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='output_routing_key', full_name='buffers.protobuf.workflows.WorkflowRequest.output_routing_key', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='return_flow_container', full_name='buffers.protobuf.workflows.WorkflowRequest.return_flow_container', index=3,
      number=4, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='return_flow_container_without_images', full_name='buffers.protobuf.workflows.WorkflowRequest.return_flow_container_without_images', index=4,
      number=5, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[_WORKFLOWREQUEST_WORKFLOWENTRIESENTRY, _WORKFLOWREQUEST_METADATAENTRY, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=163,
  serialized_end=596,
)


_WORKFLOWRESPONSE_OUTCOMESENTRY = _descriptor.Descriptor(
  name='OutcomesEntry',
  full_name='buffers.protobuf.workflows.WorkflowResponse.OutcomesEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='buffers.protobuf.workflows.WorkflowResponse.OutcomesEntry.key', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='buffers.protobuf.workflows.WorkflowResponse.OutcomesEntry.value', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'8\001',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=811,
  serialized_end=895,
)

_WORKFLOWRESPONSE = _descriptor.Descriptor(
  name='WorkflowResponse',
  full_name='buffers.protobuf.workflows.WorkflowResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='error', full_name='buffers.protobuf.workflows.WorkflowResponse.error', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='outcomes', full_name='buffers.protobuf.workflows.WorkflowResponse.outcomes', index=1,
      number=2, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='flow_container', full_name='buffers.protobuf.workflows.WorkflowResponse.flow_container', index=2,
      number=3, 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[_WORKFLOWRESPONSE_OUTCOMESENTRY, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=599,
  serialized_end=895,
)

_WORKFLOWREQUEST_WORKFLOWENTRIESENTRY.fields_by_name['value'].message_type = buffers_dot_protobuf_dot_workflows_dot_Workflow__pb2._CONCEPT
_WORKFLOWREQUEST_WORKFLOWENTRIESENTRY.containing_type = _WORKFLOWREQUEST
_WORKFLOWREQUEST_METADATAENTRY.containing_type = _WORKFLOWREQUEST
_WORKFLOWREQUEST.fields_by_name['workflow_entries'].message_type = _WORKFLOWREQUEST_WORKFLOWENTRIESENTRY
_WORKFLOWREQUEST.fields_by_name['metadata'].message_type = _WORKFLOWREQUEST_METADATAENTRY
_WORKFLOWRESPONSE_OUTCOMESENTRY.fields_by_name['value'].message_type = buffers_dot_protobuf_dot_workflows_dot_Workflow__pb2._OUTCOME
_WORKFLOWRESPONSE_OUTCOMESENTRY.containing_type = _WORKFLOWRESPONSE
_WORKFLOWRESPONSE.fields_by_name['error'].message_type = buffers_dot_protobuf_dot_common_dot_Error__pb2._ERROR
_WORKFLOWRESPONSE.fields_by_name['outcomes'].message_type = _WORKFLOWRESPONSE_OUTCOMESENTRY
_WORKFLOWRESPONSE.fields_by_name['flow_container'].message_type = buffers_dot_protobuf_dot_workflows_dot_Workflow__pb2._FLOWCONTAINER
DESCRIPTOR.message_types_by_name['WorkflowRequest'] = _WORKFLOWREQUEST
DESCRIPTOR.message_types_by_name['WorkflowResponse'] = _WORKFLOWRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

WorkflowRequest = _reflection.GeneratedProtocolMessageType('WorkflowRequest', (_message.Message,), {

  'WorkflowEntriesEntry' : _reflection.GeneratedProtocolMessageType('WorkflowEntriesEntry', (_message.Message,), {
    'DESCRIPTOR' : _WORKFLOWREQUEST_WORKFLOWENTRIESENTRY,
    '__module__' : 'buffers.protobuf.workflows.WorkflowExecution_pb2'
    # @@protoc_insertion_point(class_scope:buffers.protobuf.workflows.WorkflowRequest.WorkflowEntriesEntry)
    })
  ,

  'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), {
    'DESCRIPTOR' : _WORKFLOWREQUEST_METADATAENTRY,
    '__module__' : 'buffers.protobuf.workflows.WorkflowExecution_pb2'
    # @@protoc_insertion_point(class_scope:buffers.protobuf.workflows.WorkflowRequest.MetadataEntry)
    })
  ,
  'DESCRIPTOR' : _WORKFLOWREQUEST,
  '__module__' : 'buffers.protobuf.workflows.WorkflowExecution_pb2'
  # @@protoc_insertion_point(class_scope:buffers.protobuf.workflows.WorkflowRequest)
  })
_sym_db.RegisterMessage(WorkflowRequest)
_sym_db.RegisterMessage(WorkflowRequest.WorkflowEntriesEntry)
_sym_db.RegisterMessage(WorkflowRequest.MetadataEntry)

WorkflowResponse = _reflection.GeneratedProtocolMessageType('WorkflowResponse', (_message.Message,), {

  'OutcomesEntry' : _reflection.GeneratedProtocolMessageType('OutcomesEntry', (_message.Message,), {
    'DESCRIPTOR' : _WORKFLOWRESPONSE_OUTCOMESENTRY,
    '__module__' : 'buffers.protobuf.workflows.WorkflowExecution_pb2'
    # @@protoc_insertion_point(class_scope:buffers.protobuf.workflows.WorkflowResponse.OutcomesEntry)
    })
  ,
  'DESCRIPTOR' : _WORKFLOWRESPONSE,
  '__module__' : 'buffers.protobuf.workflows.WorkflowExecution_pb2'
  # @@protoc_insertion_point(class_scope:buffers.protobuf.workflows.WorkflowResponse)
  })
_sym_db.RegisterMessage(WorkflowResponse)
_sym_db.RegisterMessage(WorkflowResponse.OutcomesEntry)


_WORKFLOWREQUEST_WORKFLOWENTRIESENTRY._options = None
_WORKFLOWREQUEST_METADATAENTRY._options = None
_WORKFLOWRESPONSE_OUTCOMESENTRY._options = None

_WORKFLOWEXECUTOR = _descriptor.ServiceDescriptor(
  name='WorkflowExecutor',
  full_name='buffers.protobuf.workflows.WorkflowExecutor',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=898,
  serialized_end=1150,
  methods=[
  _descriptor.MethodDescriptor(
    name='ExecuteWorkflow',
    full_name='buffers.protobuf.workflows.WorkflowExecutor.ExecuteWorkflow',
    index=0,
    containing_service=None,
    input_type=_WORKFLOWREQUEST,
    output_type=_WORKFLOWRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='ExecuteWorkflowStream',
    full_name='buffers.protobuf.workflows.WorkflowExecutor.ExecuteWorkflowStream',
    index=1,
    containing_service=None,
    input_type=_WORKFLOWREQUEST,
    output_type=_WORKFLOWRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_WORKFLOWEXECUTOR)

DESCRIPTOR.services_by_name['WorkflowExecutor'] = _WORKFLOWEXECUTOR

# @@protoc_insertion_point(module_scope)
