# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: camera.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 . import common_pb2 as common__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='camera.proto',
  package='mobot',
  syntax='proto3',
  serialized_options=b'\n\020io.github.mobotxP\001',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x0c\x63\x61mera.proto\x12\x05mobot\x1a\x0c\x63ommon.proto\"\x1f\n\x0f\x43ompressedImage\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"V\n\x0e\x43\x61meraMetadata\x12\r\n\x05width\x18\x01 \x01(\x05\x12\x0e\n\x06height\x18\x02 \x01(\x05\x12\x10\n\x08\x63hannels\x18\x03 \x01(\x05\x12\x13\n\x0b\x63olor_depth\x18\x04 \x01(\x05\x32\x81\x01\n\x06\x43\x61mera\x12<\n\x11SetCameraMetadata\x12\x15.mobot.CameraMetadata\x1a\x0e.mobot.Success\"\x00\x12\x39\n\rNewCameraData\x12\x16.mobot.CompressedImage\x1a\x0e.mobot.Success\"\x00\x42\x14\n\x10io.github.mobotxP\x01\x62\x06proto3'
  ,
  dependencies=[common__pb2.DESCRIPTOR,])




_COMPRESSEDIMAGE = _descriptor.Descriptor(
  name='CompressedImage',
  full_name='mobot.CompressedImage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='data', full_name='mobot.CompressedImage.data', index=0,
      number=1, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      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=37,
  serialized_end=68,
)


_CAMERAMETADATA = _descriptor.Descriptor(
  name='CameraMetadata',
  full_name='mobot.CameraMetadata',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='width', full_name='mobot.CameraMetadata.width', index=0,
      number=1, type=5, cpp_type=1, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='height', full_name='mobot.CameraMetadata.height', index=1,
      number=2, type=5, cpp_type=1, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='channels', full_name='mobot.CameraMetadata.channels', index=2,
      number=3, type=5, cpp_type=1, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='color_depth', full_name='mobot.CameraMetadata.color_depth', index=3,
      number=4, type=5, cpp_type=1, 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=70,
  serialized_end=156,
)

DESCRIPTOR.message_types_by_name['CompressedImage'] = _COMPRESSEDIMAGE
DESCRIPTOR.message_types_by_name['CameraMetadata'] = _CAMERAMETADATA
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

CompressedImage = _reflection.GeneratedProtocolMessageType('CompressedImage', (_message.Message,), {
  'DESCRIPTOR' : _COMPRESSEDIMAGE,
  '__module__' : 'camera_pb2'
  # @@protoc_insertion_point(class_scope:mobot.CompressedImage)
  })
_sym_db.RegisterMessage(CompressedImage)

CameraMetadata = _reflection.GeneratedProtocolMessageType('CameraMetadata', (_message.Message,), {
  'DESCRIPTOR' : _CAMERAMETADATA,
  '__module__' : 'camera_pb2'
  # @@protoc_insertion_point(class_scope:mobot.CameraMetadata)
  })
_sym_db.RegisterMessage(CameraMetadata)


DESCRIPTOR._options = None

_CAMERA = _descriptor.ServiceDescriptor(
  name='Camera',
  full_name='mobot.Camera',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=159,
  serialized_end=288,
  methods=[
  _descriptor.MethodDescriptor(
    name='SetCameraMetadata',
    full_name='mobot.Camera.SetCameraMetadata',
    index=0,
    containing_service=None,
    input_type=_CAMERAMETADATA,
    output_type=common__pb2._SUCCESS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='NewCameraData',
    full_name='mobot.Camera.NewCameraData',
    index=1,
    containing_service=None,
    input_type=_COMPRESSEDIMAGE,
    output_type=common__pb2._SUCCESS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_CAMERA)

DESCRIPTOR.services_by_name['Camera'] = _CAMERA

# @@protoc_insertion_point(module_scope)