# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: capsule8/api/v0/capsulator_service.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
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
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='capsule8/api/v0/capsulator_service.proto',
  package='capsule8.api.v0',
  syntax='proto3',
  serialized_pb=_b('\n(capsule8/api/v0/capsulator_service.proto\x12\x0f\x63\x61psule8.api.v0\x1a\x17google/rpc/status.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x18\n\x16ListCapsulatorsRequest\"K\n\x17ListCapsulatorsResponse\x12\x30\n\x0b\x63\x61psulators\x18\x01 \x03(\x0b\x32\x1b.capsule8.api.v0.Capsulator\"J\n\x17\x43reateCapsulatorRequest\x12/\n\ncapsulator\x18\x01 \x01(\x0b\x32\x1b.capsule8.api.v0.Capsulator\">\n\x18\x43reateCapsulatorResponse\x12\"\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\"\xbf\x03\n\nCapsulator\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\x04type\x18\x02 \x01(\x0e\x32 .capsule8.api.v0.Capsulator.Type\x12\x13\n\x0b\x63onfig_name\x18\x03 \x01(\t\x12\x30\n\x0c\x63onnected_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13recorder_start_date\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11recorder_end_date\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0esensor_sysname\x18\x14 \x01(\t\x12\x17\n\x0fsensor_nodename\x18\x15 \x01(\t\x12\x16\n\x0esensor_release\x18\x16 \x01(\t\x12\x16\n\x0esensor_version\x18\x17 \x01(\t\"]\n\x04Type\x12\x1f\n\x1b\x43\x41PSULATOR_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rTYPE_RECORDER\x10\x01\x12\x0f\n\x0bTYPE_SENSOR\x10\x02\x12\x10\n\x0cTYPE_PROTECT\x10\x03\x32\x9c\x02\n\x11\x43\x61psulatorService\x12}\n\x0fListCapsulators\x12\'.capsule8.api.v0.ListCapsulatorsRequest\x1a(.capsule8.api.v0.ListCapsulatorsResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v0/capsulators\x12\x87\x01\n\x10\x43reateCapsulator\x12(.capsule8.api.v0.CreateCapsulatorRequest\x1a).capsule8.api.v0.CreateCapsulatorResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\"\x0f/v0/capsulators:\x01*(\x01\x30\x01\x42\x1cZ\x1agithub.com/capsule8/api/v0b\x06proto3')
  ,
  dependencies=[google_dot_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])



_CAPSULATOR_TYPE = _descriptor.EnumDescriptor(
  name='Type',
  full_name='capsule8.api.v0.Capsulator.Type',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='CAPSULATOR_TYPE_UNSPECIFIED', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='TYPE_RECORDER', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='TYPE_SENSOR', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='TYPE_PROTECT', index=3, number=3,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=747,
  serialized_end=840,
)
_sym_db.RegisterEnumDescriptor(_CAPSULATOR_TYPE)


_LISTCAPSULATORSREQUEST = _descriptor.Descriptor(
  name='ListCapsulatorsRequest',
  full_name='capsule8.api.v0.ListCapsulatorsRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=149,
  serialized_end=173,
)


_LISTCAPSULATORSRESPONSE = _descriptor.Descriptor(
  name='ListCapsulatorsResponse',
  full_name='capsule8.api.v0.ListCapsulatorsResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='capsulators', full_name='capsule8.api.v0.ListCapsulatorsResponse.capsulators', 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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=175,
  serialized_end=250,
)


_CREATECAPSULATORREQUEST = _descriptor.Descriptor(
  name='CreateCapsulatorRequest',
  full_name='capsule8.api.v0.CreateCapsulatorRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='capsulator', full_name='capsule8.api.v0.CreateCapsulatorRequest.capsulator', 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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=252,
  serialized_end=326,
)


_CREATECAPSULATORRESPONSE = _descriptor.Descriptor(
  name='CreateCapsulatorResponse',
  full_name='capsule8.api.v0.CreateCapsulatorResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='status', full_name='capsule8.api.v0.CreateCapsulatorResponse.status', 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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=328,
  serialized_end=390,
)


_CAPSULATOR = _descriptor.Descriptor(
  name='Capsulator',
  full_name='capsule8.api.v0.Capsulator',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='capsule8.api.v0.Capsulator.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,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='type', full_name='capsule8.api.v0.Capsulator.type', index=1,
      number=2, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='config_name', full_name='capsule8.api.v0.Capsulator.config_name', 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,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='connected_at', full_name='capsule8.api.v0.Capsulator.connected_at', index=3,
      number=9, 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,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='recorder_start_date', full_name='capsule8.api.v0.Capsulator.recorder_start_date', index=4,
      number=10, 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,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='recorder_end_date', full_name='capsule8.api.v0.Capsulator.recorder_end_date', index=5,
      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,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='sensor_sysname', full_name='capsule8.api.v0.Capsulator.sensor_sysname', index=6,
      number=20, 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,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='sensor_nodename', full_name='capsule8.api.v0.Capsulator.sensor_nodename', index=7,
      number=21, 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,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='sensor_release', full_name='capsule8.api.v0.Capsulator.sensor_release', index=8,
      number=22, 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,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='sensor_version', full_name='capsule8.api.v0.Capsulator.sensor_version', index=9,
      number=23, 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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _CAPSULATOR_TYPE,
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=393,
  serialized_end=840,
)

_LISTCAPSULATORSRESPONSE.fields_by_name['capsulators'].message_type = _CAPSULATOR
_CREATECAPSULATORREQUEST.fields_by_name['capsulator'].message_type = _CAPSULATOR
_CREATECAPSULATORRESPONSE.fields_by_name['status'].message_type = google_dot_rpc_dot_status__pb2._STATUS
_CAPSULATOR.fields_by_name['type'].enum_type = _CAPSULATOR_TYPE
_CAPSULATOR.fields_by_name['connected_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_CAPSULATOR.fields_by_name['recorder_start_date'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_CAPSULATOR.fields_by_name['recorder_end_date'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_CAPSULATOR_TYPE.containing_type = _CAPSULATOR
DESCRIPTOR.message_types_by_name['ListCapsulatorsRequest'] = _LISTCAPSULATORSREQUEST
DESCRIPTOR.message_types_by_name['ListCapsulatorsResponse'] = _LISTCAPSULATORSRESPONSE
DESCRIPTOR.message_types_by_name['CreateCapsulatorRequest'] = _CREATECAPSULATORREQUEST
DESCRIPTOR.message_types_by_name['CreateCapsulatorResponse'] = _CREATECAPSULATORRESPONSE
DESCRIPTOR.message_types_by_name['Capsulator'] = _CAPSULATOR
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ListCapsulatorsRequest = _reflection.GeneratedProtocolMessageType('ListCapsulatorsRequest', (_message.Message,), dict(
  DESCRIPTOR = _LISTCAPSULATORSREQUEST,
  __module__ = 'capsule8.api.v0.capsulator_service_pb2'
  # @@protoc_insertion_point(class_scope:capsule8.api.v0.ListCapsulatorsRequest)
  ))
_sym_db.RegisterMessage(ListCapsulatorsRequest)

ListCapsulatorsResponse = _reflection.GeneratedProtocolMessageType('ListCapsulatorsResponse', (_message.Message,), dict(
  DESCRIPTOR = _LISTCAPSULATORSRESPONSE,
  __module__ = 'capsule8.api.v0.capsulator_service_pb2'
  # @@protoc_insertion_point(class_scope:capsule8.api.v0.ListCapsulatorsResponse)
  ))
_sym_db.RegisterMessage(ListCapsulatorsResponse)

CreateCapsulatorRequest = _reflection.GeneratedProtocolMessageType('CreateCapsulatorRequest', (_message.Message,), dict(
  DESCRIPTOR = _CREATECAPSULATORREQUEST,
  __module__ = 'capsule8.api.v0.capsulator_service_pb2'
  # @@protoc_insertion_point(class_scope:capsule8.api.v0.CreateCapsulatorRequest)
  ))
_sym_db.RegisterMessage(CreateCapsulatorRequest)

CreateCapsulatorResponse = _reflection.GeneratedProtocolMessageType('CreateCapsulatorResponse', (_message.Message,), dict(
  DESCRIPTOR = _CREATECAPSULATORRESPONSE,
  __module__ = 'capsule8.api.v0.capsulator_service_pb2'
  # @@protoc_insertion_point(class_scope:capsule8.api.v0.CreateCapsulatorResponse)
  ))
_sym_db.RegisterMessage(CreateCapsulatorResponse)

Capsulator = _reflection.GeneratedProtocolMessageType('Capsulator', (_message.Message,), dict(
  DESCRIPTOR = _CAPSULATOR,
  __module__ = 'capsule8.api.v0.capsulator_service_pb2'
  # @@protoc_insertion_point(class_scope:capsule8.api.v0.Capsulator)
  ))
_sym_db.RegisterMessage(Capsulator)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('Z\032github.com/capsule8/api/v0'))

_CAPSULATORSERVICE = _descriptor.ServiceDescriptor(
  name='CapsulatorService',
  full_name='capsule8.api.v0.CapsulatorService',
  file=DESCRIPTOR,
  index=0,
  options=None,
  serialized_start=843,
  serialized_end=1127,
  methods=[
  _descriptor.MethodDescriptor(
    name='ListCapsulators',
    full_name='capsule8.api.v0.CapsulatorService.ListCapsulators',
    index=0,
    containing_service=None,
    input_type=_LISTCAPSULATORSREQUEST,
    output_type=_LISTCAPSULATORSRESPONSE,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\021\022\017/v0/capsulators')),
  ),
  _descriptor.MethodDescriptor(
    name='CreateCapsulator',
    full_name='capsule8.api.v0.CapsulatorService.CreateCapsulator',
    index=1,
    containing_service=None,
    input_type=_CREATECAPSULATORREQUEST,
    output_type=_CREATECAPSULATORRESPONSE,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\024\"\017/v0/capsulators:\001*')),
  ),
])
_sym_db.RegisterServiceDescriptor(_CAPSULATORSERVICE)

DESCRIPTOR.services_by_name['CapsulatorService'] = _CAPSULATORSERVICE

# @@protoc_insertion_point(module_scope)
