# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: workflow.proto
"""Generated protocol buffer code."""
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 struct_pb2 as google_dot_protobuf_dot_struct__pb2
from . import common_pb2 as common__pb2
from . import classifier_pb2 as classifier__pb2
from . import search_pb2 as search__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='workflow.proto',
  package='',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x0eworkflow.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x0c\x63ommon.proto\x1a\x10\x63lassifier.proto\x1a\x0csearch.proto\"\xaf\x02\n\x16\x45xecuteWorkflowRequest\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x10\n\x08space_id\x18\x02 \x01(\t\x12\x15\n\x0bworkflow_id\x18\x03 \x01(\tH\x00\x12\x18\n\x0eweld_statement\x18\x04 \x01(\tH\x00\x12\x10\n\x08image_id\x18\x05 \x01(\t\x12\x13\n\x0b\x66ingerprint\x18\x06 \x01(\t\x12\x15\n\rlanguage_code\x18\x07 \x01(\t\x12\x14\n\x0c\x63ountry_code\x18\x08 \x01(\t\x12\x16\n\x06\x61nchor\x18\r \x01(\x0b\x32\x06.Point\x12\x13\n\x03roi\x18\x0e \x03(\x0b\x32\x06.Point\x12\x31\n\x10workflow_options\x18\x0f \x01(\x0b\x32\x17.google.protobuf.StructB\n\n\x08workflow\"\xa0\x02\n\x17\x45xecuteWorkflowResponse\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x10\n\x08space_id\x18\x02 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x03 \x01(\t\x12\x10\n\x08image_id\x18\x04 \x01(\t\x12\x13\n\x0b\x66ingerprint\x18\x05 \x01(\t\x12\x15\n\rlanguage_code\x18\x06 \x01(\t\x12\x14\n\x0c\x63ountry_code\x18\x07 \x01(\t\x12\x0e\n\x06job_id\x18\x08 \x01(\t\x12*\n\x0f\x63lassifier_data\x18\x0b \x01(\x0b\x32\x0f.ClassifierDataH\x00\x12\"\n\x0bsearch_data\x18\x0c \x01(\x0b\x32\x0b.SearchDataH\x00\x12\x0e\n\x06\x65rrors\x18\x14 \x03(\tB\x06\n\x04\x64\x61ta\"I\n\x13ValidateWELDRequest\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x10\n\x08space_id\x18\x02 \x01(\t\x12\x0c\n\x04weld\x18\x03 \x01(\t\"(\n\x17ValidateWorkflowRequest\x12\r\n\x05\x65rror\x18\x01 \x01(\t2R\n\x08Workflow\x12\x46\n\x0f\x45xecuteWorkflow\x12\x17.ExecuteWorkflowRequest\x1a\x18.ExecuteWorkflowResponse\"\x00\x62\x06proto3'
  ,
  dependencies=[google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,common__pb2.DESCRIPTOR,classifier__pb2.DESCRIPTOR,search__pb2.DESCRIPTOR,])




_EXECUTEWORKFLOWREQUEST = _descriptor.Descriptor(
  name='ExecuteWorkflowRequest',
  full_name='ExecuteWorkflowRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='account_id', full_name='ExecuteWorkflowRequest.account_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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='space_id', full_name='ExecuteWorkflowRequest.space_id', 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),
    _descriptor.FieldDescriptor(
      name='workflow_id', full_name='ExecuteWorkflowRequest.workflow_id', 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='weld_statement', full_name='ExecuteWorkflowRequest.weld_statement', index=3,
      number=4, 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='image_id', full_name='ExecuteWorkflowRequest.image_id', index=4,
      number=5, 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='fingerprint', full_name='ExecuteWorkflowRequest.fingerprint', index=5,
      number=6, 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='language_code', full_name='ExecuteWorkflowRequest.language_code', index=6,
      number=7, 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='country_code', full_name='ExecuteWorkflowRequest.country_code', index=7,
      number=8, 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='anchor', full_name='ExecuteWorkflowRequest.anchor', index=8,
      number=13, 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='roi', full_name='ExecuteWorkflowRequest.roi', index=9,
      number=14, 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='workflow_options', full_name='ExecuteWorkflowRequest.workflow_options', index=10,
      number=15, 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=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='workflow', full_name='ExecuteWorkflowRequest.workflow',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=95,
  serialized_end=398,
)


_EXECUTEWORKFLOWRESPONSE = _descriptor.Descriptor(
  name='ExecuteWorkflowResponse',
  full_name='ExecuteWorkflowResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='account_id', full_name='ExecuteWorkflowResponse.account_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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='space_id', full_name='ExecuteWorkflowResponse.space_id', 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),
    _descriptor.FieldDescriptor(
      name='workflow_id', full_name='ExecuteWorkflowResponse.workflow_id', 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='image_id', full_name='ExecuteWorkflowResponse.image_id', index=3,
      number=4, 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='fingerprint', full_name='ExecuteWorkflowResponse.fingerprint', index=4,
      number=5, 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='language_code', full_name='ExecuteWorkflowResponse.language_code', index=5,
      number=6, 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='country_code', full_name='ExecuteWorkflowResponse.country_code', index=6,
      number=7, 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='job_id', full_name='ExecuteWorkflowResponse.job_id', index=7,
      number=8, 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='classifier_data', full_name='ExecuteWorkflowResponse.classifier_data', index=8,
      number=11, 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='search_data', full_name='ExecuteWorkflowResponse.search_data', index=9,
      number=12, 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='errors', full_name='ExecuteWorkflowResponse.errors', index=10,
      number=20, type=9, cpp_type=9, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='data', full_name='ExecuteWorkflowResponse.data',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=401,
  serialized_end=689,
)


_VALIDATEWELDREQUEST = _descriptor.Descriptor(
  name='ValidateWELDRequest',
  full_name='ValidateWELDRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='account_id', full_name='ValidateWELDRequest.account_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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='space_id', full_name='ValidateWELDRequest.space_id', 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),
    _descriptor.FieldDescriptor(
      name='weld', full_name='ValidateWELDRequest.weld', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=691,
  serialized_end=764,
)


_VALIDATEWORKFLOWREQUEST = _descriptor.Descriptor(
  name='ValidateWorkflowRequest',
  full_name='ValidateWorkflowRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='error', full_name='ValidateWorkflowRequest.error', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=766,
  serialized_end=806,
)

_EXECUTEWORKFLOWREQUEST.fields_by_name['anchor'].message_type = common__pb2._POINT
_EXECUTEWORKFLOWREQUEST.fields_by_name['roi'].message_type = common__pb2._POINT
_EXECUTEWORKFLOWREQUEST.fields_by_name['workflow_options'].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT
_EXECUTEWORKFLOWREQUEST.oneofs_by_name['workflow'].fields.append(
  _EXECUTEWORKFLOWREQUEST.fields_by_name['workflow_id'])
_EXECUTEWORKFLOWREQUEST.fields_by_name['workflow_id'].containing_oneof = _EXECUTEWORKFLOWREQUEST.oneofs_by_name['workflow']
_EXECUTEWORKFLOWREQUEST.oneofs_by_name['workflow'].fields.append(
  _EXECUTEWORKFLOWREQUEST.fields_by_name['weld_statement'])
_EXECUTEWORKFLOWREQUEST.fields_by_name['weld_statement'].containing_oneof = _EXECUTEWORKFLOWREQUEST.oneofs_by_name['workflow']
_EXECUTEWORKFLOWRESPONSE.fields_by_name['classifier_data'].message_type = classifier__pb2._CLASSIFIERDATA
_EXECUTEWORKFLOWRESPONSE.fields_by_name['search_data'].message_type = search__pb2._SEARCHDATA
_EXECUTEWORKFLOWRESPONSE.oneofs_by_name['data'].fields.append(
  _EXECUTEWORKFLOWRESPONSE.fields_by_name['classifier_data'])
_EXECUTEWORKFLOWRESPONSE.fields_by_name['classifier_data'].containing_oneof = _EXECUTEWORKFLOWRESPONSE.oneofs_by_name['data']
_EXECUTEWORKFLOWRESPONSE.oneofs_by_name['data'].fields.append(
  _EXECUTEWORKFLOWRESPONSE.fields_by_name['search_data'])
_EXECUTEWORKFLOWRESPONSE.fields_by_name['search_data'].containing_oneof = _EXECUTEWORKFLOWRESPONSE.oneofs_by_name['data']
DESCRIPTOR.message_types_by_name['ExecuteWorkflowRequest'] = _EXECUTEWORKFLOWREQUEST
DESCRIPTOR.message_types_by_name['ExecuteWorkflowResponse'] = _EXECUTEWORKFLOWRESPONSE
DESCRIPTOR.message_types_by_name['ValidateWELDRequest'] = _VALIDATEWELDREQUEST
DESCRIPTOR.message_types_by_name['ValidateWorkflowRequest'] = _VALIDATEWORKFLOWREQUEST
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ExecuteWorkflowRequest = _reflection.GeneratedProtocolMessageType('ExecuteWorkflowRequest', (_message.Message,), {
  'DESCRIPTOR' : _EXECUTEWORKFLOWREQUEST,
  '__module__' : 'workflow_pb2'
  # @@protoc_insertion_point(class_scope:ExecuteWorkflowRequest)
  })
_sym_db.RegisterMessage(ExecuteWorkflowRequest)

ExecuteWorkflowResponse = _reflection.GeneratedProtocolMessageType('ExecuteWorkflowResponse', (_message.Message,), {
  'DESCRIPTOR' : _EXECUTEWORKFLOWRESPONSE,
  '__module__' : 'workflow_pb2'
  # @@protoc_insertion_point(class_scope:ExecuteWorkflowResponse)
  })
_sym_db.RegisterMessage(ExecuteWorkflowResponse)

ValidateWELDRequest = _reflection.GeneratedProtocolMessageType('ValidateWELDRequest', (_message.Message,), {
  'DESCRIPTOR' : _VALIDATEWELDREQUEST,
  '__module__' : 'workflow_pb2'
  # @@protoc_insertion_point(class_scope:ValidateWELDRequest)
  })
_sym_db.RegisterMessage(ValidateWELDRequest)

ValidateWorkflowRequest = _reflection.GeneratedProtocolMessageType('ValidateWorkflowRequest', (_message.Message,), {
  'DESCRIPTOR' : _VALIDATEWORKFLOWREQUEST,
  '__module__' : 'workflow_pb2'
  # @@protoc_insertion_point(class_scope:ValidateWorkflowRequest)
  })
_sym_db.RegisterMessage(ValidateWorkflowRequest)



_WORKFLOW = _descriptor.ServiceDescriptor(
  name='Workflow',
  full_name='Workflow',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=808,
  serialized_end=890,
  methods=[
  _descriptor.MethodDescriptor(
    name='ExecuteWorkflow',
    full_name='Workflow.ExecuteWorkflow',
    index=0,
    containing_service=None,
    input_type=_EXECUTEWORKFLOWREQUEST,
    output_type=_EXECUTEWORKFLOWRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_WORKFLOW)

DESCRIPTOR.services_by_name['Workflow'] = _WORKFLOW

# @@protoc_insertion_point(module_scope)
