# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: deviceapis/device/v1/deviceapis_device_user_v1.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4deviceapis/device/v1/deviceapis_device_user_v1.proto\x12\x14\x64\x65viceapis.device.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"8\n\x11\x44\x65leteUserRequest\x12#\n\x08username\x18\x01 \x01(\tB\x11\x92\x41\x0bJ\t\"johnDoe\"\xe0\x41\x02\"\x14\n\x12\x44\x65leteUserResponse\"\x14\n\x12GetUserListRequest\"?\n\x13GetUserListResponse\x12(\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x1a.deviceapis.device.v1.User\"\xc9\x01\n\x1aPostUserNameReplaceRequest\x12#\n\x08username\x18\x01 \x01(\tB\x11\x92\x41\x0bJ\t\"johnDoe\"\xe0\x41\x02\x12M\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32:.deviceapis.device.v1.PostUserNameReplaceRequest.ReplaceToB\x03\xe0\x41\x02\x1a\x37\n\tReplaceTo\x12*\n\x0ftarget_username\x18\x01 \x01(\tB\x11\x92\x41\x0bJ\t\"johnDoe\"\xe0\x41\x02\"\x1d\n\x1bPostUserNameReplaceResponse\"\xd5\x01\n\x1ePostUserPasswordReplaceRequest\x12#\n\x08username\x18\x01 \x01(\tB\x11\x92\x41\x0bJ\t\"johnDoe\"\xe0\x41\x02\x12Q\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32>.deviceapis.device.v1.PostUserPasswordReplaceRequest.ReplaceToB\x03\xe0\x41\x02\x1a;\n\tReplaceTo\x12.\n\x08password\x18\x01 \x01(\tB\x1c\x92\x41\x19J\x17\"NewVeryStrongPassword\"\"!\n\x1fPostUserPasswordReplaceResponse\"\xd4\x02\n PostUserPermissionReplaceRequest\x12#\n\x08username\x18\x01 \x01(\tB\x11\x92\x41\x0bJ\t\"johnDoe\"\xe0\x41\x02\x12S\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32@.deviceapis.device.v1.PostUserPermissionReplaceRequest.ReplaceToB\x03\xe0\x41\x02\x1a\xb5\x01\n\tReplaceTo\x12\xa7\x01\n\npermission\x18\x01 \x03(\x0b\x32%.deviceapis.device.v1.User.PermissionBl\x92\x41iJg[{\"permission_name\":\"can_alarm\",\"is_enabled\":true},{\"permission_name\":\"can_reboot\",\"is_enabled\":false}]\"#\n!PostUserPermissionReplaceResponse\"@\n\x0fSaveUserRequest\x12-\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1a.deviceapis.device.v1.UserB\x03\xe0\x41\x02\"F\n\x10SaveUserResponse\x12*\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1a.deviceapis.device.v1.UserH\x00\x42\x06\n\x04type\"\xd6\x02\n\x04User\x12#\n\x08username\x18\x01 \x01(\tB\x11\x92\x41\x0bJ\t\"johnDoe\"\xe0\x41\x02\x12\x1f\n\x08password\x18\x02 \x01(\tB\r\x92\x41\x07J\x05\"***\"\xe0\x41\x04\x12\xa7\x01\n\npermission\x18\x03 \x03(\x0b\x32%.deviceapis.device.v1.User.PermissionBl\x92\x41iJg[{\"permission_name\":\"can_alarm\",\"is_enabled\":true},{\"permission_name\":\"can_reboot\",\"is_enabled\":false}]\x1a^\n\nPermission\x12,\n\x0fpermission_name\x18\x01 \x01(\tB\x13\x92\x41\rJ\x0b\"can_alarm\"\xe0\x41\x02\x12\"\n\nis_enabled\x18\x02 \x01(\x08\x42\x0e\x92\x41\x08J\x06\"true\"\xe0\x41\x02\x32\xe0\x07\n\x0bUserService\x12\x87\x01\n\nDeleteUser\x12\'.deviceapis.device.v1.DeleteUserRequest\x1a(.deviceapis.device.v1.DeleteUserResponse\"&\x82\xd3\xe4\x93\x02 *\x1e/device/api/v1/user/{username}\x12\x84\x01\n\x0bGetUserList\x12(.deviceapis.device.v1.GetUserListRequest\x1a).deviceapis.device.v1.GetUserListResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/device/api/v1/user/list\x12\xb2\x01\n\x13PostUserNameReplace\x12\x30.deviceapis.device.v1.PostUserNameReplaceRequest\x1a\x31.deviceapis.device.v1.PostUserNameReplaceResponse\"6\x82\xd3\xe4\x93\x02\x30\"+/device/api/v1/user/{username}/name/replace:\x01*\x12\xc2\x01\n\x17PostUserPasswordReplace\x12\x34.deviceapis.device.v1.PostUserPasswordReplaceRequest\x1a\x35.deviceapis.device.v1.PostUserPasswordReplaceResponse\":\x82\xd3\xe4\x93\x02\x34\"//device/api/v1/user/{username}/password/replace:\x01*\x12\xca\x01\n\x19PostUserPermissionReplace\x12\x36.deviceapis.device.v1.PostUserPermissionReplaceRequest\x1a\x37.deviceapis.device.v1.PostUserPermissionReplaceResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/device/api/v1/user/{username}/permission/replace:\x01*\x12y\n\x08SaveUser\x12%.deviceapis.device.v1.SaveUserRequest\x1a&.deviceapis.device.v1.SaveUserResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\"\x13/device/api/v1/user:\x01*B\xaf\x01\n\x17ru.deviceapis.device.v1B\x17\x44\x65viceapisDeviceV1ProtoH\x03P\x00Z\x15/deviceapis_device_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x12\x44\x45VICEAPISDEVICEV1\xaa\x02\x14\x44\x65viceapis.Device.V1\xca\x02\x14\x44\x65viceapis\\Device\\V1\xea\x02\x16\x44\x65viceapis::Device::V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'deviceapis.device.v1.deviceapis_device_user_v1_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\027ru.deviceapis.device.v1B\027DeviceapisDeviceV1ProtoH\003P\000Z\025/deviceapis_device_v1\330\001\001\370\001\001\242\002\022DEVICEAPISDEVICEV1\252\002\024Deviceapis.Device.V1\312\002\024Deviceapis\\Device\\V1\352\002\026Deviceapis::Device::V1'
  _DELETEUSERREQUEST.fields_by_name['username']._options = None
  _DELETEUSERREQUEST.fields_by_name['username']._serialized_options = b'\222A\013J\t\"johnDoe\"\340A\002'
  _POSTUSERNAMEREPLACEREQUEST_REPLACETO.fields_by_name['target_username']._options = None
  _POSTUSERNAMEREPLACEREQUEST_REPLACETO.fields_by_name['target_username']._serialized_options = b'\222A\013J\t\"johnDoe\"\340A\002'
  _POSTUSERNAMEREPLACEREQUEST.fields_by_name['username']._options = None
  _POSTUSERNAMEREPLACEREQUEST.fields_by_name['username']._serialized_options = b'\222A\013J\t\"johnDoe\"\340A\002'
  _POSTUSERNAMEREPLACEREQUEST.fields_by_name['data']._options = None
  _POSTUSERNAMEREPLACEREQUEST.fields_by_name['data']._serialized_options = b'\340A\002'
  _POSTUSERPASSWORDREPLACEREQUEST_REPLACETO.fields_by_name['password']._options = None
  _POSTUSERPASSWORDREPLACEREQUEST_REPLACETO.fields_by_name['password']._serialized_options = b'\222A\031J\027\"NewVeryStrongPassword\"'
  _POSTUSERPASSWORDREPLACEREQUEST.fields_by_name['username']._options = None
  _POSTUSERPASSWORDREPLACEREQUEST.fields_by_name['username']._serialized_options = b'\222A\013J\t\"johnDoe\"\340A\002'
  _POSTUSERPASSWORDREPLACEREQUEST.fields_by_name['data']._options = None
  _POSTUSERPASSWORDREPLACEREQUEST.fields_by_name['data']._serialized_options = b'\340A\002'
  _POSTUSERPERMISSIONREPLACEREQUEST_REPLACETO.fields_by_name['permission']._options = None
  _POSTUSERPERMISSIONREPLACEREQUEST_REPLACETO.fields_by_name['permission']._serialized_options = b'\222AiJg[{\"permission_name\":\"can_alarm\",\"is_enabled\":true},{\"permission_name\":\"can_reboot\",\"is_enabled\":false}]'
  _POSTUSERPERMISSIONREPLACEREQUEST.fields_by_name['username']._options = None
  _POSTUSERPERMISSIONREPLACEREQUEST.fields_by_name['username']._serialized_options = b'\222A\013J\t\"johnDoe\"\340A\002'
  _POSTUSERPERMISSIONREPLACEREQUEST.fields_by_name['data']._options = None
  _POSTUSERPERMISSIONREPLACEREQUEST.fields_by_name['data']._serialized_options = b'\340A\002'
  _SAVEUSERREQUEST.fields_by_name['data']._options = None
  _SAVEUSERREQUEST.fields_by_name['data']._serialized_options = b'\340A\002'
  _USER_PERMISSION.fields_by_name['permission_name']._options = None
  _USER_PERMISSION.fields_by_name['permission_name']._serialized_options = b'\222A\rJ\013\"can_alarm\"\340A\002'
  _USER_PERMISSION.fields_by_name['is_enabled']._options = None
  _USER_PERMISSION.fields_by_name['is_enabled']._serialized_options = b'\222A\010J\006\"true\"\340A\002'
  _USER.fields_by_name['username']._options = None
  _USER.fields_by_name['username']._serialized_options = b'\222A\013J\t\"johnDoe\"\340A\002'
  _USER.fields_by_name['password']._options = None
  _USER.fields_by_name['password']._serialized_options = b'\222A\007J\005\"***\"\340A\004'
  _USER.fields_by_name['permission']._options = None
  _USER.fields_by_name['permission']._serialized_options = b'\222AiJg[{\"permission_name\":\"can_alarm\",\"is_enabled\":true},{\"permission_name\":\"can_reboot\",\"is_enabled\":false}]'
  _USERSERVICE.methods_by_name['DeleteUser']._options = None
  _USERSERVICE.methods_by_name['DeleteUser']._serialized_options = b'\202\323\344\223\002 *\036/device/api/v1/user/{username}'
  _USERSERVICE.methods_by_name['GetUserList']._options = None
  _USERSERVICE.methods_by_name['GetUserList']._serialized_options = b'\202\323\344\223\002\032\022\030/device/api/v1/user/list'
  _USERSERVICE.methods_by_name['PostUserNameReplace']._options = None
  _USERSERVICE.methods_by_name['PostUserNameReplace']._serialized_options = b'\202\323\344\223\0020\"+/device/api/v1/user/{username}/name/replace:\001*'
  _USERSERVICE.methods_by_name['PostUserPasswordReplace']._options = None
  _USERSERVICE.methods_by_name['PostUserPasswordReplace']._serialized_options = b'\202\323\344\223\0024\"//device/api/v1/user/{username}/password/replace:\001*'
  _USERSERVICE.methods_by_name['PostUserPermissionReplace']._options = None
  _USERSERVICE.methods_by_name['PostUserPermissionReplace']._serialized_options = b'\202\323\344\223\0026\"1/device/api/v1/user/{username}/permission/replace:\001*'
  _USERSERVICE.methods_by_name['SaveUser']._options = None
  _USERSERVICE.methods_by_name['SaveUser']._serialized_options = b'\202\323\344\223\002\030\"\023/device/api/v1/user:\001*'
  _globals['_DELETEUSERREQUEST']._serialized_start=189
  _globals['_DELETEUSERREQUEST']._serialized_end=245
  _globals['_DELETEUSERRESPONSE']._serialized_start=247
  _globals['_DELETEUSERRESPONSE']._serialized_end=267
  _globals['_GETUSERLISTREQUEST']._serialized_start=269
  _globals['_GETUSERLISTREQUEST']._serialized_end=289
  _globals['_GETUSERLISTRESPONSE']._serialized_start=291
  _globals['_GETUSERLISTRESPONSE']._serialized_end=354
  _globals['_POSTUSERNAMEREPLACEREQUEST']._serialized_start=357
  _globals['_POSTUSERNAMEREPLACEREQUEST']._serialized_end=558
  _globals['_POSTUSERNAMEREPLACEREQUEST_REPLACETO']._serialized_start=503
  _globals['_POSTUSERNAMEREPLACEREQUEST_REPLACETO']._serialized_end=558
  _globals['_POSTUSERNAMEREPLACERESPONSE']._serialized_start=560
  _globals['_POSTUSERNAMEREPLACERESPONSE']._serialized_end=589
  _globals['_POSTUSERPASSWORDREPLACEREQUEST']._serialized_start=592
  _globals['_POSTUSERPASSWORDREPLACEREQUEST']._serialized_end=805
  _globals['_POSTUSERPASSWORDREPLACEREQUEST_REPLACETO']._serialized_start=746
  _globals['_POSTUSERPASSWORDREPLACEREQUEST_REPLACETO']._serialized_end=805
  _globals['_POSTUSERPASSWORDREPLACERESPONSE']._serialized_start=807
  _globals['_POSTUSERPASSWORDREPLACERESPONSE']._serialized_end=840
  _globals['_POSTUSERPERMISSIONREPLACEREQUEST']._serialized_start=843
  _globals['_POSTUSERPERMISSIONREPLACEREQUEST']._serialized_end=1183
  _globals['_POSTUSERPERMISSIONREPLACEREQUEST_REPLACETO']._serialized_start=1002
  _globals['_POSTUSERPERMISSIONREPLACEREQUEST_REPLACETO']._serialized_end=1183
  _globals['_POSTUSERPERMISSIONREPLACERESPONSE']._serialized_start=1185
  _globals['_POSTUSERPERMISSIONREPLACERESPONSE']._serialized_end=1220
  _globals['_SAVEUSERREQUEST']._serialized_start=1222
  _globals['_SAVEUSERREQUEST']._serialized_end=1286
  _globals['_SAVEUSERRESPONSE']._serialized_start=1288
  _globals['_SAVEUSERRESPONSE']._serialized_end=1358
  _globals['_USER']._serialized_start=1361
  _globals['_USER']._serialized_end=1703
  _globals['_USER_PERMISSION']._serialized_start=1609
  _globals['_USER_PERMISSION']._serialized_end=1703
  _globals['_USERSERVICE']._serialized_start=1706
  _globals['_USERSERVICE']._serialized_end=2698
# @@protoc_insertion_point(module_scope)
