# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: mediapipe/calculators/tensor/tensors_readback_calculator.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


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>mediapipe/calculators/tensor/tensors_readback_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xee\x01\n TensorsReadbackCalculatorOptions\x12M\n\x0ctensor_shape\x18\x01 \x03(\x0b\x32\x37.mediapipe.TensorsReadbackCalculatorOptions.TensorShape\x1a\x1f\n\x0bTensorShape\x12\x10\n\x04\x64ims\x18\x01 \x03(\x05\x42\x02\x10\x01\x32Z\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xa4\xef\xb9\xf5\x01 \x01(\x0b\x32+.mediapipe.TensorsReadbackCalculatorOptions')



_TENSORSREADBACKCALCULATOROPTIONS = DESCRIPTOR.message_types_by_name['TensorsReadbackCalculatorOptions']
_TENSORSREADBACKCALCULATOROPTIONS_TENSORSHAPE = _TENSORSREADBACKCALCULATOROPTIONS.nested_types_by_name['TensorShape']
TensorsReadbackCalculatorOptions = _reflection.GeneratedProtocolMessageType('TensorsReadbackCalculatorOptions', (_message.Message,), {

  'TensorShape' : _reflection.GeneratedProtocolMessageType('TensorShape', (_message.Message,), {
    'DESCRIPTOR' : _TENSORSREADBACKCALCULATOROPTIONS_TENSORSHAPE,
    '__module__' : 'mediapipe.calculators.tensor.tensors_readback_calculator_pb2'
    # @@protoc_insertion_point(class_scope:mediapipe.TensorsReadbackCalculatorOptions.TensorShape)
    })
  ,
  'DESCRIPTOR' : _TENSORSREADBACKCALCULATOROPTIONS,
  '__module__' : 'mediapipe.calculators.tensor.tensors_readback_calculator_pb2'
  # @@protoc_insertion_point(class_scope:mediapipe.TensorsReadbackCalculatorOptions)
  })
_sym_db.RegisterMessage(TensorsReadbackCalculatorOptions)
_sym_db.RegisterMessage(TensorsReadbackCalculatorOptions.TensorShape)

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

  DESCRIPTOR._options = None
  _TENSORSREADBACKCALCULATOROPTIONS_TENSORSHAPE.fields_by_name['dims']._options = None
  _TENSORSREADBACKCALCULATOROPTIONS_TENSORSHAPE.fields_by_name['dims']._serialized_options = b'\020\001'
  _TENSORSREADBACKCALCULATOROPTIONS._serialized_start=116
  _TENSORSREADBACKCALCULATOROPTIONS._serialized_end=354
  _TENSORSREADBACKCALCULATOROPTIONS_TENSORSHAPE._serialized_start=231
  _TENSORSREADBACKCALCULATOROPTIONS_TENSORSHAPE._serialized_end=262
# @@protoc_insertion_point(module_scope)
