# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: dlt.proto

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


import context_pb2 as context__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='dlt.proto',
  package='dlt',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n\tdlt.proto\x12\x03\x64lt\x1a\rcontext.proto\"e\n\x15\x44ltRecordSubscription\x12 \n\x04type\x18\x01 \x01(\x0e\x32\x12.dlt.DltRecordType\x12*\n\toperation\x18\x02 \x01(\x0e\x32\x17.dlt.DltRecordOperation\"\x85\x01\n\tDltRecord\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.dlt.DltRecordId\x12 \n\x04type\x18\x02 \x01(\x0e\x32\x12.dlt.DltRecordType\x12*\n\toperation\x18\x03 \x01(\x0e\x32\x17.dlt.DltRecordOperation\x12\x0c\n\x04json\x18\x04 \x01(\t\"(\n\x0b\x44ltRecordId\x12\x19\n\x02id\x18\x01 \x01(\x0b\x32\r.context.Uuid\"V\n\x0cRecordStatus\x12\x1c\n\x02id\x18\x01 \x01(\x0b\x32\x10.dlt.DltRecordId\x12(\n\x06status\x18\x02 \x01(\x0e\x32\x18.dlt.DltRecordStatusEnum\"Y\n\tDltStatus\x12(\n\x03\x63tl\x18\x01 \x01(\x0b\x32\x1b.context.TeraFlowController\x12\"\n\x06status\x18\x02 \x01(\x0e\x32\x12.dlt.DltStatusEnum*@\n\rDltRecordType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SERVICE\x10\x01\x12\n\n\x06\x44\x45VICE\x10\x02\x12\t\n\x05SLICE\x10\x03*5\n\x12\x44ltRecordOperation\x12\x07\n\x03\x41\x44\x44\x10\x00\x12\n\n\x06UPDATE\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02*>\n\x13\x44ltRecordStatusEnum\x12\r\n\tREQUESTED\x10\x00\x12\n\n\x06STORED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02*N\n\rDltStatusEnum\x12\x11\n\rNOT_AVAILABLE\x10\x00\x12\x0f\n\x0bINITIALIZED\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\n\n\x06\x44\x45INIT\x10\x03\x32\xe6\x01\n\nDltService\x12\x32\n\x0bRecordToDlt\x12\x0e.dlt.DltRecord\x1a\x11.dlt.RecordStatus\"\x00\x12\x30\n\nGetFromDlt\x12\x10.dlt.DltRecordId\x1a\x0e.dlt.DltRecord\"\x00\x12@\n\x0eSubscribeToDlt\x12\x1a.dlt.DltRecordSubscription\x1a\x0e.dlt.DltRecord\"\x00\x30\x01\x12\x30\n\x0cGetDltStatus\x12\x0e.context.Empty\x1a\x0e.dlt.DltStatus\"\x00\x62\x06proto3')
  ,
  dependencies=[context__pb2.DESCRIPTOR,])

_DLTRECORDTYPE = _descriptor.EnumDescriptor(
  name='DltRecordType',
  full_name='dlt.DltRecordType',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SERVICE', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DEVICE', index=2, number=2,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SLICE', index=3, number=3,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=493,
  serialized_end=557,
)
_sym_db.RegisterEnumDescriptor(_DLTRECORDTYPE)

DltRecordType = enum_type_wrapper.EnumTypeWrapper(_DLTRECORDTYPE)
_DLTRECORDOPERATION = _descriptor.EnumDescriptor(
  name='DltRecordOperation',
  full_name='dlt.DltRecordOperation',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='ADD', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='UPDATE', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DELETE', index=2, number=2,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=559,
  serialized_end=612,
)
_sym_db.RegisterEnumDescriptor(_DLTRECORDOPERATION)

DltRecordOperation = enum_type_wrapper.EnumTypeWrapper(_DLTRECORDOPERATION)
_DLTRECORDSTATUSENUM = _descriptor.EnumDescriptor(
  name='DltRecordStatusEnum',
  full_name='dlt.DltRecordStatusEnum',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='REQUESTED', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='STORED', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DISABLED', index=2, number=2,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=614,
  serialized_end=676,
)
_sym_db.RegisterEnumDescriptor(_DLTRECORDSTATUSENUM)

DltRecordStatusEnum = enum_type_wrapper.EnumTypeWrapper(_DLTRECORDSTATUSENUM)
_DLTSTATUSENUM = _descriptor.EnumDescriptor(
  name='DltStatusEnum',
  full_name='dlt.DltStatusEnum',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='NOT_AVAILABLE', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='INITIALIZED', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='AVAILABLE', index=2, number=2,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DEINIT', index=3, number=3,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=678,
  serialized_end=756,
)
_sym_db.RegisterEnumDescriptor(_DLTSTATUSENUM)

DltStatusEnum = enum_type_wrapper.EnumTypeWrapper(_DLTSTATUSENUM)
UNKNOWN = 0
SERVICE = 1
DEVICE = 2
SLICE = 3
ADD = 0
UPDATE = 1
DELETE = 2
REQUESTED = 0
STORED = 1
DISABLED = 2
NOT_AVAILABLE = 0
INITIALIZED = 1
AVAILABLE = 2
DEINIT = 3



_DLTRECORDSUBSCRIPTION = _descriptor.Descriptor(
  name='DltRecordSubscription',
  full_name='dlt.DltRecordSubscription',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='type', full_name='dlt.DltRecordSubscription.type', index=0,
      number=1, 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='operation', full_name='dlt.DltRecordSubscription.operation', 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,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=33,
  serialized_end=134,
)


_DLTRECORD = _descriptor.Descriptor(
  name='DltRecord',
  full_name='dlt.DltRecord',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='dlt.DltRecord.id', 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='type', full_name='dlt.DltRecord.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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='operation', full_name='dlt.DltRecord.operation', index=2,
      number=3, 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='json', full_name='dlt.DltRecord.json', index=3,
      number=4, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=137,
  serialized_end=270,
)


_DLTRECORDID = _descriptor.Descriptor(
  name='DltRecordId',
  full_name='dlt.DltRecordId',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='dlt.DltRecordId.id', 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,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=272,
  serialized_end=312,
)


_RECORDSTATUS = _descriptor.Descriptor(
  name='RecordStatus',
  full_name='dlt.RecordStatus',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='dlt.RecordStatus.id', 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='status', full_name='dlt.RecordStatus.status', 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,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=314,
  serialized_end=400,
)


_DLTSTATUS = _descriptor.Descriptor(
  name='DltStatus',
  full_name='dlt.DltStatus',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='ctl', full_name='dlt.DltStatus.ctl', 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='status', full_name='dlt.DltStatus.status', 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,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=402,
  serialized_end=491,
)

_DLTRECORDSUBSCRIPTION.fields_by_name['type'].enum_type = _DLTRECORDTYPE
_DLTRECORDSUBSCRIPTION.fields_by_name['operation'].enum_type = _DLTRECORDOPERATION
_DLTRECORD.fields_by_name['id'].message_type = _DLTRECORDID
_DLTRECORD.fields_by_name['type'].enum_type = _DLTRECORDTYPE
_DLTRECORD.fields_by_name['operation'].enum_type = _DLTRECORDOPERATION
_DLTRECORDID.fields_by_name['id'].message_type = context__pb2._UUID
_RECORDSTATUS.fields_by_name['id'].message_type = _DLTRECORDID
_RECORDSTATUS.fields_by_name['status'].enum_type = _DLTRECORDSTATUSENUM
_DLTSTATUS.fields_by_name['ctl'].message_type = context__pb2._TERAFLOWCONTROLLER
_DLTSTATUS.fields_by_name['status'].enum_type = _DLTSTATUSENUM
DESCRIPTOR.message_types_by_name['DltRecordSubscription'] = _DLTRECORDSUBSCRIPTION
DESCRIPTOR.message_types_by_name['DltRecord'] = _DLTRECORD
DESCRIPTOR.message_types_by_name['DltRecordId'] = _DLTRECORDID
DESCRIPTOR.message_types_by_name['RecordStatus'] = _RECORDSTATUS
DESCRIPTOR.message_types_by_name['DltStatus'] = _DLTSTATUS
DESCRIPTOR.enum_types_by_name['DltRecordType'] = _DLTRECORDTYPE
DESCRIPTOR.enum_types_by_name['DltRecordOperation'] = _DLTRECORDOPERATION
DESCRIPTOR.enum_types_by_name['DltRecordStatusEnum'] = _DLTRECORDSTATUSENUM
DESCRIPTOR.enum_types_by_name['DltStatusEnum'] = _DLTSTATUSENUM
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

DltRecordSubscription = _reflection.GeneratedProtocolMessageType('DltRecordSubscription', (_message.Message,), {
  'DESCRIPTOR' : _DLTRECORDSUBSCRIPTION,
  '__module__' : 'dlt_pb2'
  # @@protoc_insertion_point(class_scope:dlt.DltRecordSubscription)
  })
_sym_db.RegisterMessage(DltRecordSubscription)

DltRecord = _reflection.GeneratedProtocolMessageType('DltRecord', (_message.Message,), {
  'DESCRIPTOR' : _DLTRECORD,
  '__module__' : 'dlt_pb2'
  # @@protoc_insertion_point(class_scope:dlt.DltRecord)
  })
_sym_db.RegisterMessage(DltRecord)

DltRecordId = _reflection.GeneratedProtocolMessageType('DltRecordId', (_message.Message,), {
  'DESCRIPTOR' : _DLTRECORDID,
  '__module__' : 'dlt_pb2'
  # @@protoc_insertion_point(class_scope:dlt.DltRecordId)
  })
_sym_db.RegisterMessage(DltRecordId)

RecordStatus = _reflection.GeneratedProtocolMessageType('RecordStatus', (_message.Message,), {
  'DESCRIPTOR' : _RECORDSTATUS,
  '__module__' : 'dlt_pb2'
  # @@protoc_insertion_point(class_scope:dlt.RecordStatus)
  })
_sym_db.RegisterMessage(RecordStatus)

DltStatus = _reflection.GeneratedProtocolMessageType('DltStatus', (_message.Message,), {
  'DESCRIPTOR' : _DLTSTATUS,
  '__module__' : 'dlt_pb2'
  # @@protoc_insertion_point(class_scope:dlt.DltStatus)
  })
_sym_db.RegisterMessage(DltStatus)



_DLTSERVICE = _descriptor.ServiceDescriptor(
  name='DltService',
  full_name='dlt.DltService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  serialized_start=759,
  serialized_end=989,
  methods=[
  _descriptor.MethodDescriptor(
    name='RecordToDlt',
    full_name='dlt.DltService.RecordToDlt',
    index=0,
    containing_service=None,
    input_type=_DLTRECORD,
    output_type=_RECORDSTATUS,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='GetFromDlt',
    full_name='dlt.DltService.GetFromDlt',
    index=1,
    containing_service=None,
    input_type=_DLTRECORDID,
    output_type=_DLTRECORD,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='SubscribeToDlt',
    full_name='dlt.DltService.SubscribeToDlt',
    index=2,
    containing_service=None,
    input_type=_DLTRECORDSUBSCRIPTION,
    output_type=_DLTRECORD,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='GetDltStatus',
    full_name='dlt.DltService.GetDltStatus',
    index=3,
    containing_service=None,
    input_type=context__pb2._EMPTY,
    output_type=_DLTSTATUS,
    serialized_options=None,
  ),
])
_sym_db.RegisterServiceDescriptor(_DLTSERVICE)

DESCRIPTOR.services_by_name['DltService'] = _DLTSERVICE

# @@protoc_insertion_point(module_scope)
