# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: v1/management/device.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 sensory_cloud.generated.common import common_pb2 as common_dot_common__pb2
from sensory_cloud.generated.validate import validate_pb2 as validate_dot_validate__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='v1/management/device.proto',
  package='sensory.api.v1.management',
  syntax='proto3',
  serialized_options=b'\n\034io.sensory.api.v1.managementB!SensoryApiV1ManagementDeviceProtoP\001Z?gitlab.com/sensory-cloud/server/titan.git/pkg/api/v1/management',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x1av1/management/device.proto\x12\x19sensory.api.v1.management\x1a\x13\x63ommon/common.proto\x1a\x17validate/validate.proto\"\xb8\x01\n\x13\x45nrollDeviceRequest\x12\x17\n\x04name\x18\x01 \x01(\tB\t\xfa\x42\x06r\x04\x10\x01\x18\x7f\x12\x1b\n\x08\x64\x65viceId\x18\x02 \x01(\tB\t\xfa\x42\x06r\x04\x10\x01\x18\x7f\x12\x1a\n\x08tenantId\x18\x03 \x01(\tB\x08\xfa\x42\x05r\x03\xb0\x01\x01\x12;\n\x06\x63lient\x18\x04 \x01(\x0b\x32!.sensory.api.common.GenericClientB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01\x12\x12\n\ncredential\x18\x05 \x01(\t\"0\n\x0e\x44\x65viceResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x64\x65viceId\x18\x02 \x01(\t\"\x18\n\x16\x44\x65viceGetWhoAmIRequest2\xe9\x01\n\rDeviceService\x12k\n\x0c\x45nrollDevice\x12..sensory.api.v1.management.EnrollDeviceRequest\x1a).sensory.api.v1.management.DeviceResponse\"\x00\x12k\n\tGetWhoAmI\x12\x31.sensory.api.v1.management.DeviceGetWhoAmIRequest\x1a).sensory.api.v1.management.DeviceResponse\"\x00\x42\x84\x01\n\x1cio.sensory.api.v1.managementB!SensoryApiV1ManagementDeviceProtoP\x01Z?gitlab.com/sensory-cloud/server/titan.git/pkg/api/v1/managementb\x06proto3'
  ,
  dependencies=[common_dot_common__pb2.DESCRIPTOR,validate_dot_validate__pb2.DESCRIPTOR,])




_ENROLLDEVICEREQUEST = _descriptor.Descriptor(
  name='EnrollDeviceRequest',
  full_name='sensory.api.v1.management.EnrollDeviceRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='sensory.api.v1.management.EnrollDeviceRequest.name', 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=b'\372B\006r\004\020\001\030\177', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='deviceId', full_name='sensory.api.v1.management.EnrollDeviceRequest.deviceId', 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=b'\372B\006r\004\020\001\030\177', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenantId', full_name='sensory.api.v1.management.EnrollDeviceRequest.tenantId', 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=b'\372B\005r\003\260\001\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client', full_name='sensory.api.v1.management.EnrollDeviceRequest.client', index=3,
      number=4, 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=b'\372B\005\212\001\002\020\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='credential', full_name='sensory.api.v1.management.EnrollDeviceRequest.credential', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=104,
  serialized_end=288,
)


_DEVICERESPONSE = _descriptor.Descriptor(
  name='DeviceResponse',
  full_name='sensory.api.v1.management.DeviceResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='sensory.api.v1.management.DeviceResponse.name', 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='deviceId', full_name='sensory.api.v1.management.DeviceResponse.deviceId', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=290,
  serialized_end=338,
)


_DEVICEGETWHOAMIREQUEST = _descriptor.Descriptor(
  name='DeviceGetWhoAmIRequest',
  full_name='sensory.api.v1.management.DeviceGetWhoAmIRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=340,
  serialized_end=364,
)

_ENROLLDEVICEREQUEST.fields_by_name['client'].message_type = common_dot_common__pb2._GENERICCLIENT
DESCRIPTOR.message_types_by_name['EnrollDeviceRequest'] = _ENROLLDEVICEREQUEST
DESCRIPTOR.message_types_by_name['DeviceResponse'] = _DEVICERESPONSE
DESCRIPTOR.message_types_by_name['DeviceGetWhoAmIRequest'] = _DEVICEGETWHOAMIREQUEST
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

EnrollDeviceRequest = _reflection.GeneratedProtocolMessageType('EnrollDeviceRequest', (_message.Message,), {
  'DESCRIPTOR' : _ENROLLDEVICEREQUEST,
  '__module__' : 'v1.management.device_pb2'
  # @@protoc_insertion_point(class_scope:sensory.api.v1.management.EnrollDeviceRequest)
  })
_sym_db.RegisterMessage(EnrollDeviceRequest)

DeviceResponse = _reflection.GeneratedProtocolMessageType('DeviceResponse', (_message.Message,), {
  'DESCRIPTOR' : _DEVICERESPONSE,
  '__module__' : 'v1.management.device_pb2'
  # @@protoc_insertion_point(class_scope:sensory.api.v1.management.DeviceResponse)
  })
_sym_db.RegisterMessage(DeviceResponse)

DeviceGetWhoAmIRequest = _reflection.GeneratedProtocolMessageType('DeviceGetWhoAmIRequest', (_message.Message,), {
  'DESCRIPTOR' : _DEVICEGETWHOAMIREQUEST,
  '__module__' : 'v1.management.device_pb2'
  # @@protoc_insertion_point(class_scope:sensory.api.v1.management.DeviceGetWhoAmIRequest)
  })
_sym_db.RegisterMessage(DeviceGetWhoAmIRequest)


DESCRIPTOR._options = None
_ENROLLDEVICEREQUEST.fields_by_name['name']._options = None
_ENROLLDEVICEREQUEST.fields_by_name['deviceId']._options = None
_ENROLLDEVICEREQUEST.fields_by_name['tenantId']._options = None
_ENROLLDEVICEREQUEST.fields_by_name['client']._options = None

_DEVICESERVICE = _descriptor.ServiceDescriptor(
  name='DeviceService',
  full_name='sensory.api.v1.management.DeviceService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=367,
  serialized_end=600,
  methods=[
  _descriptor.MethodDescriptor(
    name='EnrollDevice',
    full_name='sensory.api.v1.management.DeviceService.EnrollDevice',
    index=0,
    containing_service=None,
    input_type=_ENROLLDEVICEREQUEST,
    output_type=_DEVICERESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='GetWhoAmI',
    full_name='sensory.api.v1.management.DeviceService.GetWhoAmI',
    index=1,
    containing_service=None,
    input_type=_DEVICEGETWHOAMIREQUEST,
    output_type=_DEVICERESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_DEVICESERVICE)

DESCRIPTOR.services_by_name['DeviceService'] = _DEVICESERVICE

# @@protoc_insertion_point(module_scope)
