# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: grr/proto/api/root/user_management.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 grr.proto.api import user_pb2 as grr_dot_proto_dot_api_dot_user__pb2
from grr.proto import semantic_pb2 as grr_dot_proto_dot_semantic__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='grr/proto/api/root/user_management.proto',
  package='',
  syntax='proto2',
  serialized_pb=_b('\n(grr/proto/api/root/user_management.proto\x1a\x18grr/proto/api/user.proto\x1a\x18grr/proto/semantic.proto\"c\n\x14\x41piCreateGrrUserArgs\x12\x10\n\x08username\x18\x01 \x01(\t\x12\'\n\tuser_type\x18\x02 \x01(\x0e\x32\x14.ApiGrrUser.UserType\x12\x10\n\x08password\x18\x03 \x01(\t\"(\n\x14\x41piDeleteGrrUserArgs\x12\x10\n\x08username\x18\x01 \x01(\t\"c\n\x14\x41piModifyGrrUserArgs\x12\x10\n\x08username\x18\x01 \x01(\t\x12\'\n\tuser_type\x18\x02 \x01(\x0e\x32\x14.ApiGrrUser.UserType\x12\x10\n\x08password\x18\x03 \x01(\t\"%\n\x11\x41piGetGrrUserArgs\x12\x10\n\x08username\x18\x01 \x01(\t\"u\n\x13\x41piListGrrUsersArgs\x12(\n\x06offset\x18\x01 \x01(\x03\x42\x18\xe2\xfc\xe3\xc4\x01\x12\x12\x10Starting offset.\x12\x34\n\x05\x63ount\x18\x02 \x01(\x03\x42%\xe2\xfc\xe3\xc4\x01\x1f\x12\x1dMax number of items to fetch.\"\x84\x01\n\x15\x41piListGrrUsersResult\x12\x36\n\x05items\x18\x01 \x03(\x0b\x32\x0b.ApiGrrUserB\x1a\xe2\xfc\xe3\xc4\x01\x14\x12\x12List of GRR users.\x12\x33\n\x0btotal_count\x18\x02 \x01(\x03\x42\x1e\xe2\xfc\xe3\xc4\x01\x18\x12\x16Total number of users.')
  ,
  dependencies=[grr_dot_proto_dot_api_dot_user__pb2.DESCRIPTOR,grr_dot_proto_dot_semantic__pb2.DESCRIPTOR,])




_APICREATEGRRUSERARGS = _descriptor.Descriptor(
  name='ApiCreateGrrUserArgs',
  full_name='ApiCreateGrrUserArgs',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='username', full_name='ApiCreateGrrUserArgs.username', 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),
    _descriptor.FieldDescriptor(
      name='user_type', full_name='ApiCreateGrrUserArgs.user_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),
    _descriptor.FieldDescriptor(
      name='password', full_name='ApiCreateGrrUserArgs.password', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=96,
  serialized_end=195,
)


_APIDELETEGRRUSERARGS = _descriptor.Descriptor(
  name='ApiDeleteGrrUserArgs',
  full_name='ApiDeleteGrrUserArgs',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='username', full_name='ApiDeleteGrrUserArgs.username', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=197,
  serialized_end=237,
)


_APIMODIFYGRRUSERARGS = _descriptor.Descriptor(
  name='ApiModifyGrrUserArgs',
  full_name='ApiModifyGrrUserArgs',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='username', full_name='ApiModifyGrrUserArgs.username', 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),
    _descriptor.FieldDescriptor(
      name='user_type', full_name='ApiModifyGrrUserArgs.user_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),
    _descriptor.FieldDescriptor(
      name='password', full_name='ApiModifyGrrUserArgs.password', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=239,
  serialized_end=338,
)


_APIGETGRRUSERARGS = _descriptor.Descriptor(
  name='ApiGetGrrUserArgs',
  full_name='ApiGetGrrUserArgs',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='username', full_name='ApiGetGrrUserArgs.username', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=340,
  serialized_end=377,
)


_APILISTGRRUSERSARGS = _descriptor.Descriptor(
  name='ApiListGrrUsersArgs',
  full_name='ApiListGrrUsersArgs',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='offset', full_name='ApiListGrrUsersArgs.offset', index=0,
      number=1, type=3, cpp_type=2, 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=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\342\374\343\304\001\022\022\020Starting offset.'))),
    _descriptor.FieldDescriptor(
      name='count', full_name='ApiListGrrUsersArgs.count', index=1,
      number=2, type=3, cpp_type=2, 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=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\342\374\343\304\001\037\022\035Max number of items to fetch.'))),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=379,
  serialized_end=496,
)


_APILISTGRRUSERSRESULT = _descriptor.Descriptor(
  name='ApiListGrrUsersResult',
  full_name='ApiListGrrUsersResult',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='items', full_name='ApiListGrrUsersResult.items', 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=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\342\374\343\304\001\024\022\022List of GRR users.'))),
    _descriptor.FieldDescriptor(
      name='total_count', full_name='ApiListGrrUsersResult.total_count', index=1,
      number=2, type=3, cpp_type=2, 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=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\342\374\343\304\001\030\022\026Total number of users.'))),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=499,
  serialized_end=631,
)

_APICREATEGRRUSERARGS.fields_by_name['user_type'].enum_type = grr_dot_proto_dot_api_dot_user__pb2._APIGRRUSER_USERTYPE
_APIMODIFYGRRUSERARGS.fields_by_name['user_type'].enum_type = grr_dot_proto_dot_api_dot_user__pb2._APIGRRUSER_USERTYPE
_APILISTGRRUSERSRESULT.fields_by_name['items'].message_type = grr_dot_proto_dot_api_dot_user__pb2._APIGRRUSER
DESCRIPTOR.message_types_by_name['ApiCreateGrrUserArgs'] = _APICREATEGRRUSERARGS
DESCRIPTOR.message_types_by_name['ApiDeleteGrrUserArgs'] = _APIDELETEGRRUSERARGS
DESCRIPTOR.message_types_by_name['ApiModifyGrrUserArgs'] = _APIMODIFYGRRUSERARGS
DESCRIPTOR.message_types_by_name['ApiGetGrrUserArgs'] = _APIGETGRRUSERARGS
DESCRIPTOR.message_types_by_name['ApiListGrrUsersArgs'] = _APILISTGRRUSERSARGS
DESCRIPTOR.message_types_by_name['ApiListGrrUsersResult'] = _APILISTGRRUSERSRESULT
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ApiCreateGrrUserArgs = _reflection.GeneratedProtocolMessageType('ApiCreateGrrUserArgs', (_message.Message,), dict(
  DESCRIPTOR = _APICREATEGRRUSERARGS,
  __module__ = 'grr.proto.api.root.user_management_pb2'
  # @@protoc_insertion_point(class_scope:ApiCreateGrrUserArgs)
  ))
_sym_db.RegisterMessage(ApiCreateGrrUserArgs)

ApiDeleteGrrUserArgs = _reflection.GeneratedProtocolMessageType('ApiDeleteGrrUserArgs', (_message.Message,), dict(
  DESCRIPTOR = _APIDELETEGRRUSERARGS,
  __module__ = 'grr.proto.api.root.user_management_pb2'
  # @@protoc_insertion_point(class_scope:ApiDeleteGrrUserArgs)
  ))
_sym_db.RegisterMessage(ApiDeleteGrrUserArgs)

ApiModifyGrrUserArgs = _reflection.GeneratedProtocolMessageType('ApiModifyGrrUserArgs', (_message.Message,), dict(
  DESCRIPTOR = _APIMODIFYGRRUSERARGS,
  __module__ = 'grr.proto.api.root.user_management_pb2'
  # @@protoc_insertion_point(class_scope:ApiModifyGrrUserArgs)
  ))
_sym_db.RegisterMessage(ApiModifyGrrUserArgs)

ApiGetGrrUserArgs = _reflection.GeneratedProtocolMessageType('ApiGetGrrUserArgs', (_message.Message,), dict(
  DESCRIPTOR = _APIGETGRRUSERARGS,
  __module__ = 'grr.proto.api.root.user_management_pb2'
  # @@protoc_insertion_point(class_scope:ApiGetGrrUserArgs)
  ))
_sym_db.RegisterMessage(ApiGetGrrUserArgs)

ApiListGrrUsersArgs = _reflection.GeneratedProtocolMessageType('ApiListGrrUsersArgs', (_message.Message,), dict(
  DESCRIPTOR = _APILISTGRRUSERSARGS,
  __module__ = 'grr.proto.api.root.user_management_pb2'
  # @@protoc_insertion_point(class_scope:ApiListGrrUsersArgs)
  ))
_sym_db.RegisterMessage(ApiListGrrUsersArgs)

ApiListGrrUsersResult = _reflection.GeneratedProtocolMessageType('ApiListGrrUsersResult', (_message.Message,), dict(
  DESCRIPTOR = _APILISTGRRUSERSRESULT,
  __module__ = 'grr.proto.api.root.user_management_pb2'
  # @@protoc_insertion_point(class_scope:ApiListGrrUsersResult)
  ))
_sym_db.RegisterMessage(ApiListGrrUsersResult)


_APILISTGRRUSERSARGS.fields_by_name['offset'].has_options = True
_APILISTGRRUSERSARGS.fields_by_name['offset']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\342\374\343\304\001\022\022\020Starting offset.'))
_APILISTGRRUSERSARGS.fields_by_name['count'].has_options = True
_APILISTGRRUSERSARGS.fields_by_name['count']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\342\374\343\304\001\037\022\035Max number of items to fetch.'))
_APILISTGRRUSERSRESULT.fields_by_name['items'].has_options = True
_APILISTGRRUSERSRESULT.fields_by_name['items']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\342\374\343\304\001\024\022\022List of GRR users.'))
_APILISTGRRUSERSRESULT.fields_by_name['total_count'].has_options = True
_APILISTGRRUSERSRESULT.fields_by_name['total_count']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\342\374\343\304\001\030\022\026Total number of users.'))
# @@protoc_insertion_point(module_scope)
