# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: src/avs/messages/user_session.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
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='src/avs/messages/user_session.proto',
  package='avsoftware.avs',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n#src/avs/messages/user_session.proto\x12\x0e\x61vsoftware.avs\"\x98\x01\n\x0bUserSession\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x37\n\tuser_role\x18\x02 \x01(\x0e\x32$.avsoftware.avs.UserSession.UserRole\"?\n\x08UserRole\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x44RIVER\x10\x01\x12\x0b\n\x07\x43OPILOT\x10\x02\x12\r\n\tDEVELOPER\x10\x03\x62\x06proto3')
)



_USERSESSION_USERROLE = _descriptor.EnumDescriptor(
  name='UserRole',
  full_name='avsoftware.avs.UserSession.UserRole',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DRIVER', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='COPILOT', index=2, number=2,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DEVELOPER', index=3, number=3,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=145,
  serialized_end=208,
)
_sym_db.RegisterEnumDescriptor(_USERSESSION_USERROLE)


_USERSESSION = _descriptor.Descriptor(
  name='UserSession',
  full_name='avsoftware.avs.UserSession',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='user_id', full_name='avsoftware.avs.UserSession.user_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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='user_role', full_name='avsoftware.avs.UserSession.user_role', 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=[
    _USERSESSION_USERROLE,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=56,
  serialized_end=208,
)

_USERSESSION.fields_by_name['user_role'].enum_type = _USERSESSION_USERROLE
_USERSESSION_USERROLE.containing_type = _USERSESSION
DESCRIPTOR.message_types_by_name['UserSession'] = _USERSESSION
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

UserSession = _reflection.GeneratedProtocolMessageType('UserSession', (_message.Message,), dict(
  DESCRIPTOR = _USERSESSION,
  __module__ = 'src.avs.messages.user_session_pb2'
  # @@protoc_insertion_point(class_scope:avsoftware.avs.UserSession)
  ))
_sym_db.RegisterMessage(UserSession)


# @@protoc_insertion_point(module_scope)
