# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: mediapipe/framework/tool/calculator_graph_template.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
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 mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
try:
  mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
except AttributeError:
  mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
from mediapipe.framework import calculator_options_pb2 as mediapipe_dot_framework_dot_calculator__options__pb2
from mediapipe.framework.deps import proto_descriptor_pb2 as mediapipe_dot_framework_dot_deps_dot_proto__descriptor__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8mediapipe/framework/tool/calculator_graph_template.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\x1a,mediapipe/framework/calculator_options.proto\x1a/mediapipe/framework/deps/proto_descriptor.proto\"\xf0\x01\n\x12TemplateExpression\x12\r\n\x05param\x18\x01 \x01(\t\x12\n\n\x02op\x18\x02 \x01(\t\x12*\n\x03\x61rg\x18\x03 \x03(\x0b\x32\x1d.mediapipe.TemplateExpression\x12\x0c\n\x04path\x18\x04 \x01(\t\x12\x38\n\nfield_type\x18\x05 \x01(\x0e\x32$.mediapipe.FieldDescriptorProto.Type\x12\x36\n\x08key_type\x18\x06 \x03(\x0e\x32$.mediapipe.FieldDescriptorProto.Type\x12\x13\n\x0b\x66ield_value\x18\x07 \x01(\t\"x\n\x17\x43\x61lculatorGraphTemplate\x12\x30\n\x06\x63onfig\x18\x01 \x01(\x0b\x32 .mediapipe.CalculatorGraphConfig\x12+\n\x04rule\x18\x02 \x03(\x0b\x32\x1d.mediapipe.TemplateExpression\"\x96\x01\n\x10TemplateArgument\x12\r\n\x03str\x18\x01 \x01(\tH\x00\x12\r\n\x03num\x18\x02 \x01(\x01H\x00\x12\'\n\x04\x64ict\x18\x03 \x01(\x0b\x32\x17.mediapipe.TemplateDictH\x00\x12,\n\x07\x65lement\x18\x04 \x03(\x0b\x32\x1b.mediapipe.TemplateArgumentB\r\n\x0bparam_value\"\x84\x01\n\x0cTemplateDict\x12.\n\x03\x61rg\x18\x01 \x03(\x0b\x32!.mediapipe.TemplateDict.Parameter\x1a\x44\n\tParameter\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.mediapipe.TemplateArgument\"\x92\x01\n\x17TemplateSubgraphOptions\x12%\n\x04\x64ict\x18\x01 \x01(\x0b\x32\x17.mediapipe.TemplateDict2P\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xf5\xfc\xbeR \x01(\x0b\x32\".mediapipe.TemplateSubgraphOptionsB0\n\x1a\x63om.google.mediapipe.protoB\x12GraphTemplateProto')



_TEMPLATEEXPRESSION = DESCRIPTOR.message_types_by_name['TemplateExpression']
_CALCULATORGRAPHTEMPLATE = DESCRIPTOR.message_types_by_name['CalculatorGraphTemplate']
_TEMPLATEARGUMENT = DESCRIPTOR.message_types_by_name['TemplateArgument']
_TEMPLATEDICT = DESCRIPTOR.message_types_by_name['TemplateDict']
_TEMPLATEDICT_PARAMETER = _TEMPLATEDICT.nested_types_by_name['Parameter']
_TEMPLATESUBGRAPHOPTIONS = DESCRIPTOR.message_types_by_name['TemplateSubgraphOptions']
TemplateExpression = _reflection.GeneratedProtocolMessageType('TemplateExpression', (_message.Message,), {
  'DESCRIPTOR' : _TEMPLATEEXPRESSION,
  '__module__' : 'mediapipe.framework.tool.calculator_graph_template_pb2'
  # @@protoc_insertion_point(class_scope:mediapipe.TemplateExpression)
  })
_sym_db.RegisterMessage(TemplateExpression)

CalculatorGraphTemplate = _reflection.GeneratedProtocolMessageType('CalculatorGraphTemplate', (_message.Message,), {
  'DESCRIPTOR' : _CALCULATORGRAPHTEMPLATE,
  '__module__' : 'mediapipe.framework.tool.calculator_graph_template_pb2'
  # @@protoc_insertion_point(class_scope:mediapipe.CalculatorGraphTemplate)
  })
_sym_db.RegisterMessage(CalculatorGraphTemplate)

TemplateArgument = _reflection.GeneratedProtocolMessageType('TemplateArgument', (_message.Message,), {
  'DESCRIPTOR' : _TEMPLATEARGUMENT,
  '__module__' : 'mediapipe.framework.tool.calculator_graph_template_pb2'
  # @@protoc_insertion_point(class_scope:mediapipe.TemplateArgument)
  })
_sym_db.RegisterMessage(TemplateArgument)

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

  'Parameter' : _reflection.GeneratedProtocolMessageType('Parameter', (_message.Message,), {
    'DESCRIPTOR' : _TEMPLATEDICT_PARAMETER,
    '__module__' : 'mediapipe.framework.tool.calculator_graph_template_pb2'
    # @@protoc_insertion_point(class_scope:mediapipe.TemplateDict.Parameter)
    })
  ,
  'DESCRIPTOR' : _TEMPLATEDICT,
  '__module__' : 'mediapipe.framework.tool.calculator_graph_template_pb2'
  # @@protoc_insertion_point(class_scope:mediapipe.TemplateDict)
  })
_sym_db.RegisterMessage(TemplateDict)
_sym_db.RegisterMessage(TemplateDict.Parameter)

TemplateSubgraphOptions = _reflection.GeneratedProtocolMessageType('TemplateSubgraphOptions', (_message.Message,), {
  'DESCRIPTOR' : _TEMPLATESUBGRAPHOPTIONS,
  '__module__' : 'mediapipe.framework.tool.calculator_graph_template_pb2'
  # @@protoc_insertion_point(class_scope:mediapipe.TemplateSubgraphOptions)
  })
_sym_db.RegisterMessage(TemplateSubgraphOptions)

if _descriptor._USE_C_DESCRIPTORS == False:
  mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_TEMPLATESUBGRAPHOPTIONS.extensions_by_name['ext'])

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\032com.google.mediapipe.protoB\022GraphTemplateProto'
  _TEMPLATEEXPRESSION._serialized_start=205
  _TEMPLATEEXPRESSION._serialized_end=445
  _CALCULATORGRAPHTEMPLATE._serialized_start=447
  _CALCULATORGRAPHTEMPLATE._serialized_end=567
  _TEMPLATEARGUMENT._serialized_start=570
  _TEMPLATEARGUMENT._serialized_end=720
  _TEMPLATEDICT._serialized_start=723
  _TEMPLATEDICT._serialized_end=855
  _TEMPLATEDICT_PARAMETER._serialized_start=787
  _TEMPLATEDICT_PARAMETER._serialized_end=855
  _TEMPLATESUBGRAPHOPTIONS._serialized_start=858
  _TEMPLATESUBGRAPHOPTIONS._serialized_end=1004
# @@protoc_insertion_point(module_scope)
