//
//Спецификация АПИ управления сущностью User

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.30.0
// 	protoc        v4.23.1
// source: deviceapis/device/v1/deviceapis_device_user_v1.proto

package deviceapis_device_v1

import (
	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Запрос удаления единичной сущности User по ключу
type DeleteUserRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Имя пользователя
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
}

func (x *DeleteUserRequest) Reset() {
	*x = DeleteUserRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *DeleteUserRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DeleteUserRequest) ProtoMessage() {}

func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{0}
}

func (x *DeleteUserRequest) GetUsername() string {
	if x != nil {
		return x.Username
	}
	return ""
}

// Ответ на запрос удаления единичной сущности User по ключу
type DeleteUserResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *DeleteUserResponse) Reset() {
	*x = DeleteUserResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *DeleteUserResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DeleteUserResponse) ProtoMessage() {}

func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{1}
}

// Запрос получения списка сущностей User по фильтру
type GetUserListRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *GetUserListRequest) Reset() {
	*x = GetUserListRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetUserListRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetUserListRequest) ProtoMessage() {}

func (x *GetUserListRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetUserListRequest.ProtoReflect.Descriptor instead.
func (*GetUserListRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{2}
}

// Ответ на запрос получения списка сущностей User по фильтру
type GetUserListResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Список User
	Data []*User `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
}

func (x *GetUserListResponse) Reset() {
	*x = GetUserListResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetUserListResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetUserListResponse) ProtoMessage() {}

func (x *GetUserListResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetUserListResponse.ProtoReflect.Descriptor instead.
func (*GetUserListResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{3}
}

func (x *GetUserListResponse) GetData() []*User {
	if x != nil {
		return x.Data
	}
	return nil
}

// Запрос замены имени пользователя
type PostUserNameReplaceRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Имя пользователя
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// Поле на замену
	Data *PostUserNameReplaceRequest_ReplaceTo `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}

func (x *PostUserNameReplaceRequest) Reset() {
	*x = PostUserNameReplaceRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostUserNameReplaceRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostUserNameReplaceRequest) ProtoMessage() {}

func (x *PostUserNameReplaceRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[4]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostUserNameReplaceRequest.ProtoReflect.Descriptor instead.
func (*PostUserNameReplaceRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{4}
}

func (x *PostUserNameReplaceRequest) GetUsername() string {
	if x != nil {
		return x.Username
	}
	return ""
}

func (x *PostUserNameReplaceRequest) GetData() *PostUserNameReplaceRequest_ReplaceTo {
	if x != nil {
		return x.Data
	}
	return nil
}

// Ответ на запрос замены имени пользователя
type PostUserNameReplaceResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PostUserNameReplaceResponse) Reset() {
	*x = PostUserNameReplaceResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostUserNameReplaceResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostUserNameReplaceResponse) ProtoMessage() {}

func (x *PostUserNameReplaceResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[5]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostUserNameReplaceResponse.ProtoReflect.Descriptor instead.
func (*PostUserNameReplaceResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{5}
}

// Запрос замены пароля пользователя
type PostUserPasswordReplaceRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Имя пользователя
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// Поле на замену
	Data *PostUserPasswordReplaceRequest_ReplaceTo `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}

func (x *PostUserPasswordReplaceRequest) Reset() {
	*x = PostUserPasswordReplaceRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostUserPasswordReplaceRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostUserPasswordReplaceRequest) ProtoMessage() {}

func (x *PostUserPasswordReplaceRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[6]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostUserPasswordReplaceRequest.ProtoReflect.Descriptor instead.
func (*PostUserPasswordReplaceRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{6}
}

func (x *PostUserPasswordReplaceRequest) GetUsername() string {
	if x != nil {
		return x.Username
	}
	return ""
}

func (x *PostUserPasswordReplaceRequest) GetData() *PostUserPasswordReplaceRequest_ReplaceTo {
	if x != nil {
		return x.Data
	}
	return nil
}

// Ответ на запрос замены пароля пользователя
type PostUserPasswordReplaceResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PostUserPasswordReplaceResponse) Reset() {
	*x = PostUserPasswordReplaceResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostUserPasswordReplaceResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostUserPasswordReplaceResponse) ProtoMessage() {}

func (x *PostUserPasswordReplaceResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[7]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostUserPasswordReplaceResponse.ProtoReflect.Descriptor instead.
func (*PostUserPasswordReplaceResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{7}
}

// Запрос замены разрешений пользователя
type PostUserPermissionReplaceRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Имя пользователя
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// Поле на замену
	Data *PostUserPermissionReplaceRequest_ReplaceTo `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}

func (x *PostUserPermissionReplaceRequest) Reset() {
	*x = PostUserPermissionReplaceRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[8]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostUserPermissionReplaceRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostUserPermissionReplaceRequest) ProtoMessage() {}

func (x *PostUserPermissionReplaceRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[8]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostUserPermissionReplaceRequest.ProtoReflect.Descriptor instead.
func (*PostUserPermissionReplaceRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{8}
}

func (x *PostUserPermissionReplaceRequest) GetUsername() string {
	if x != nil {
		return x.Username
	}
	return ""
}

func (x *PostUserPermissionReplaceRequest) GetData() *PostUserPermissionReplaceRequest_ReplaceTo {
	if x != nil {
		return x.Data
	}
	return nil
}

// Ответ на запрос замены разрешений пользователя
type PostUserPermissionReplaceResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PostUserPermissionReplaceResponse) Reset() {
	*x = PostUserPermissionReplaceResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[9]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostUserPermissionReplaceResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostUserPermissionReplaceResponse) ProtoMessage() {}

func (x *PostUserPermissionReplaceResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[9]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostUserPermissionReplaceResponse.ProtoReflect.Descriptor instead.
func (*PostUserPermissionReplaceResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{9}
}

// Запрос на создания/редактирование сущности User
type SaveUserRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Пользователь
	Data *User `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (x *SaveUserRequest) Reset() {
	*x = SaveUserRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[10]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *SaveUserRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SaveUserRequest) ProtoMessage() {}

func (x *SaveUserRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[10]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SaveUserRequest.ProtoReflect.Descriptor instead.
func (*SaveUserRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{10}
}

func (x *SaveUserRequest) GetData() *User {
	if x != nil {
		return x.Data
	}
	return nil
}

// Ответ на запрос на создания/редактирование сущности User
type SaveUserResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип ответа
	//
	// Types that are assignable to Type:
	//
	//	*SaveUserResponse_Data
	Type isSaveUserResponse_Type `protobuf_oneof:"type"`
}

func (x *SaveUserResponse) Reset() {
	*x = SaveUserResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[11]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *SaveUserResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SaveUserResponse) ProtoMessage() {}

func (x *SaveUserResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[11]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SaveUserResponse.ProtoReflect.Descriptor instead.
func (*SaveUserResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{11}
}

func (m *SaveUserResponse) GetType() isSaveUserResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *SaveUserResponse) GetData() *User {
	if x, ok := x.GetType().(*SaveUserResponse_Data); ok {
		return x.Data
	}
	return nil
}

type isSaveUserResponse_Type interface {
	isSaveUserResponse_Type()
}

type SaveUserResponse_Data struct {
	// Пользователь
	Data *User `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

func (*SaveUserResponse_Data) isSaveUserResponse_Type() {}

// Пользователь
type User struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Имя пользователя
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// Пароль.
	// Не возвращается с сервера.
	// TODO: в генерации сваггера не показывать INPUT_ONLY поля в ответах
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// Права доступа
	Permission []*User_Permission `protobuf:"bytes,3,rep,name=permission,proto3" json:"permission,omitempty"`
}

func (x *User) Reset() {
	*x = User{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[12]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *User) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*User) ProtoMessage() {}

func (x *User) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[12]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use User.ProtoReflect.Descriptor instead.
func (*User) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{12}
}

func (x *User) GetUsername() string {
	if x != nil {
		return x.Username
	}
	return ""
}

func (x *User) GetPassword() string {
	if x != nil {
		return x.Password
	}
	return ""
}

func (x *User) GetPermission() []*User_Permission {
	if x != nil {
		return x.Permission
	}
	return nil
}

// Поле на замену
type PostUserNameReplaceRequest_ReplaceTo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Имя пользователя
	TargetUsername string `protobuf:"bytes,1,opt,name=target_username,json=targetUsername,proto3" json:"target_username,omitempty"`
}

func (x *PostUserNameReplaceRequest_ReplaceTo) Reset() {
	*x = PostUserNameReplaceRequest_ReplaceTo{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[13]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostUserNameReplaceRequest_ReplaceTo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostUserNameReplaceRequest_ReplaceTo) ProtoMessage() {}

func (x *PostUserNameReplaceRequest_ReplaceTo) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[13]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostUserNameReplaceRequest_ReplaceTo.ProtoReflect.Descriptor instead.
func (*PostUserNameReplaceRequest_ReplaceTo) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{4, 0}
}

func (x *PostUserNameReplaceRequest_ReplaceTo) GetTargetUsername() string {
	if x != nil {
		return x.TargetUsername
	}
	return ""
}

// Поле на замену
type PostUserPasswordReplaceRequest_ReplaceTo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Пароль
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
}

func (x *PostUserPasswordReplaceRequest_ReplaceTo) Reset() {
	*x = PostUserPasswordReplaceRequest_ReplaceTo{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[14]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostUserPasswordReplaceRequest_ReplaceTo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostUserPasswordReplaceRequest_ReplaceTo) ProtoMessage() {}

func (x *PostUserPasswordReplaceRequest_ReplaceTo) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[14]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostUserPasswordReplaceRequest_ReplaceTo.ProtoReflect.Descriptor instead.
func (*PostUserPasswordReplaceRequest_ReplaceTo) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{6, 0}
}

func (x *PostUserPasswordReplaceRequest_ReplaceTo) GetPassword() string {
	if x != nil {
		return x.Password
	}
	return ""
}

// Поле на замену
type PostUserPermissionReplaceRequest_ReplaceTo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Права доступа
	Permission []*User_Permission `protobuf:"bytes,1,rep,name=permission,proto3" json:"permission,omitempty"`
}

func (x *PostUserPermissionReplaceRequest_ReplaceTo) Reset() {
	*x = PostUserPermissionReplaceRequest_ReplaceTo{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[15]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostUserPermissionReplaceRequest_ReplaceTo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostUserPermissionReplaceRequest_ReplaceTo) ProtoMessage() {}

func (x *PostUserPermissionReplaceRequest_ReplaceTo) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[15]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostUserPermissionReplaceRequest_ReplaceTo.ProtoReflect.Descriptor instead.
func (*PostUserPermissionReplaceRequest_ReplaceTo) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{8, 0}
}

func (x *PostUserPermissionReplaceRequest_ReplaceTo) GetPermission() []*User_Permission {
	if x != nil {
		return x.Permission
	}
	return nil
}

// Права доступа
type User_Permission struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Имя разрешения
	PermissionName string `protobuf:"bytes,1,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"`
	// Наличие разрешения
	IsEnabled bool `protobuf:"varint,2,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
}

func (x *User_Permission) Reset() {
	*x = User_Permission{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[16]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *User_Permission) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*User_Permission) ProtoMessage() {}

func (x *User_Permission) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[16]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use User_Permission.ProtoReflect.Descriptor instead.
func (*User_Permission) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP(), []int{12, 0}
}

func (x *User_Permission) GetPermissionName() string {
	if x != nil {
		return x.PermissionName
	}
	return ""
}

func (x *User_Permission) GetIsEnabled() bool {
	if x != nil {
		return x.IsEnabled
	}
	return false
}

var File_deviceapis_device_v1_deviceapis_device_user_v1_proto protoreflect.FileDescriptor

var file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDesc = []byte{
	0x0a, 0x34, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69,
	0x73, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x76, 0x31,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f,
	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
	0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
	0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
	0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x11, 0x44,
	0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
	0x12, 0x2d, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x09, 0x42, 0x11, 0x92, 0x41, 0x0b, 0x4a, 0x09, 0x22, 0x6a, 0x6f, 0x68, 0x6e, 0x44, 0x6f,
	0x65, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22,
	0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,
	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72,
	0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x45, 0x0a, 0x13, 0x47,
	0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
	0x32, 0x1a, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61,
	0x74, 0x61, 0x22, 0xe9, 0x01, 0x0a, 0x1a, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4e,
	0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x12, 0x2d, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
	0x01, 0x28, 0x09, 0x42, 0x11, 0x92, 0x41, 0x0b, 0x4a, 0x09, 0x22, 0x6a, 0x6f, 0x68, 0x6e, 0x44,
	0x6f, 0x65, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
	0x12, 0x53, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a,
	0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61,
	0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
	0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x54, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
	0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x47, 0x0a, 0x09, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65,
	0x54, 0x6f, 0x12, 0x3a, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x65,
	0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0x92, 0x41, 0x0b,
	0x4a, 0x09, 0x22, 0x6a, 0x6f, 0x68, 0x6e, 0x44, 0x6f, 0x65, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x0e,
	0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1d,
	0x0a, 0x1b, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65,
	0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xef, 0x01,
	0x0a, 0x1e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f,
	0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
	0x12, 0x2d, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x09, 0x42, 0x11, 0x92, 0x41, 0x0b, 0x4a, 0x09, 0x22, 0x6a, 0x6f, 0x68, 0x6e, 0x44, 0x6f,
	0x65, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12,
	0x57, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e,
	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x73,
	0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75,
	0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x54, 0x6f, 0x42, 0x03, 0xe0,
	0x41, 0x02, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x45, 0x0a, 0x09, 0x52, 0x65, 0x70, 0x6c,
	0x61, 0x63, 0x65, 0x54, 0x6f, 0x12, 0x38, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1c, 0x92, 0x41, 0x19, 0x4a, 0x17, 0x22, 0x4e,
	0x65, 0x77, 0x56, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72, 0x6f, 0x6e, 0x67, 0x50, 0x61, 0x73, 0x73,
	0x77, 0x6f, 0x72, 0x64, 0x22, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22,
	0x21, 0x0a, 0x1f, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77,
	0x6f, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x22, 0xf0, 0x02, 0x0a, 0x20, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50,
	0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e,
	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0x92, 0x41, 0x0b, 0x4a, 0x09,
	0x22, 0x6a, 0x6f, 0x68, 0x6e, 0x44, 0x6f, 0x65, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x75, 0x73,
	0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02,
	0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69,
	0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74,
	0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,
	0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x70,
	0x6c, 0x61, 0x63, 0x65, 0x54, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x64, 0x61, 0x74,
	0x61, 0x1a, 0xc1, 0x01, 0x0a, 0x09, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x54, 0x6f, 0x12,
	0xb3, 0x01, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
	0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69,
	0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72,
	0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x92, 0x41, 0x69,
	0x4a, 0x67, 0x5b, 0x7b, 0x22, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
	0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x63, 0x61, 0x6e, 0x5f, 0x61, 0x6c, 0x61, 0x72, 0x6d,
	0x22, 0x2c, 0x22, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x3a, 0x74,
	0x72, 0x75, 0x65, 0x7d, 0x2c, 0x7b, 0x22, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
	0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x63, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x62,
	0x6f, 0x6f, 0x74, 0x22, 0x2c, 0x22, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
	0x22, 0x3a, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x7d, 0x5d, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69,
	0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x23, 0x0a, 0x21, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65,
	0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x61,
	0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x0f, 0x53, 0x61,
	0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a,
	0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e,
	0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x64, 0x61,
	0x74, 0x61, 0x22, 0x4c, 0x0a, 0x10, 0x53, 0x61, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69,
	0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72,
	0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
	0x22, 0x91, 0x03, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x08, 0x75, 0x73, 0x65,
	0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0x92, 0x41, 0x0b,
	0x4a, 0x09, 0x22, 0x6a, 0x6f, 0x68, 0x6e, 0x44, 0x6f, 0x65, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x08,
	0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73,
	0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0d, 0x92, 0x41, 0x07, 0x4a,
	0x05, 0x22, 0x2a, 0x2a, 0x2a, 0x22, 0xe0, 0x41, 0x04, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77,
	0x6f, 0x72, 0x64, 0x12, 0xb3, 0x01, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
	0x6f, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
	0x55, 0x73, 0x65, 0x72, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42,
	0x6c, 0x92, 0x41, 0x69, 0x4a, 0x67, 0x5b, 0x7b, 0x22, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
	0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x63, 0x61, 0x6e, 0x5f, 0x61,
	0x6c, 0x61, 0x72, 0x6d, 0x22, 0x2c, 0x22, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
	0x64, 0x22, 0x3a, 0x74, 0x72, 0x75, 0x65, 0x7d, 0x2c, 0x7b, 0x22, 0x70, 0x65, 0x72, 0x6d, 0x69,
	0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x63, 0x61, 0x6e,
	0x5f, 0x72, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x22, 0x2c, 0x22, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x61,
	0x62, 0x6c, 0x65, 0x64, 0x22, 0x3a, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x7d, 0x5d, 0x52, 0x0a, 0x70,
	0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x79, 0x0a, 0x0a, 0x50, 0x65, 0x72,
	0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x6d, 0x69,
	0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
	0x42, 0x13, 0x92, 0x41, 0x0d, 0x4a, 0x0b, 0x22, 0x63, 0x61, 0x6e, 0x5f, 0x61, 0x6c, 0x61, 0x72,
	0x6d, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
	0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62,
	0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x0e, 0x92, 0x41, 0x08, 0x4a, 0x06,
	0x22, 0x74, 0x72, 0x75, 0x65, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x69, 0x73, 0x45, 0x6e, 0x61,
	0x62, 0x6c, 0x65, 0x64, 0x32, 0xe0, 0x07, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72,
	0x76, 0x69, 0x63, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55,
	0x73, 0x65, 0x72, 0x12, 0x27, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73,
	0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
	0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x2a, 0x1e,
	0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x75,
	0x73, 0x65, 0x72, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x84,
	0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28,
	0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73,
	0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
	0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
	0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72,
	0x2f, 0x6c, 0x69, 0x73, 0x74, 0x12, 0xb2, 0x01, 0x0a, 0x13, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73,
	0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x30, 0x2e,
	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d,
	0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
	0x31, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4e,
	0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x22, 0x2b, 0x2f,
	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73,
	0x65, 0x72, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x6e, 0x61,
	0x6d, 0x65, 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0xc2, 0x01, 0x0a, 0x17, 0x50,
	0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52,
	0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x34, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f,
	0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65,
	0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73,
	0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
	0x6e, 0x73, 0x65, 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x3a, 0x01, 0x2a, 0x22, 0x2f,
	0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x75,
	0x73, 0x65, 0x72, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x70,
	0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12,
	0xca, 0x01, 0x0a, 0x19, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d,
	0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x36, 0x2e,
	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72,
	0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65,
	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73,
	0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52,
	0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c,
	0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x3a, 0x01, 0x2a, 0x22, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b,
	0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73,
	0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x79, 0x0a, 0x08,
	0x53, 0x61, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
	0x53, 0x61, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
	0x26, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52,
	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x3a,
	0x01, 0x2a, 0x22, 0x13, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
	0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x42, 0xaf, 0x01, 0x0a, 0x17, 0x72, 0x75, 0x2e, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x2e, 0x76, 0x31, 0x42, 0x17, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x44,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x56, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x03, 0x50, 0x00,
	0x5a, 0x15, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x5f, 0x76, 0x31, 0xd8, 0x01, 0x01, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x12,
	0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x41, 0x50, 0x49, 0x53, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45,
	0x56, 0x31, 0xaa, 0x02, 0x14, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
	0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x14, 0x44, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31,
	0xea, 0x02, 0x16, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a, 0x44,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
	0x33,
}

var (
	file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescOnce sync.Once
	file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescData = file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDesc
)

func file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescGZIP() []byte {
	file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescOnce.Do(func() {
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescData)
	})
	return file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDescData
}

var file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
var file_deviceapis_device_v1_deviceapis_device_user_v1_proto_goTypes = []interface{}{
	(*DeleteUserRequest)(nil),                          // 0: deviceapis.device.v1.DeleteUserRequest
	(*DeleteUserResponse)(nil),                         // 1: deviceapis.device.v1.DeleteUserResponse
	(*GetUserListRequest)(nil),                         // 2: deviceapis.device.v1.GetUserListRequest
	(*GetUserListResponse)(nil),                        // 3: deviceapis.device.v1.GetUserListResponse
	(*PostUserNameReplaceRequest)(nil),                 // 4: deviceapis.device.v1.PostUserNameReplaceRequest
	(*PostUserNameReplaceResponse)(nil),                // 5: deviceapis.device.v1.PostUserNameReplaceResponse
	(*PostUserPasswordReplaceRequest)(nil),             // 6: deviceapis.device.v1.PostUserPasswordReplaceRequest
	(*PostUserPasswordReplaceResponse)(nil),            // 7: deviceapis.device.v1.PostUserPasswordReplaceResponse
	(*PostUserPermissionReplaceRequest)(nil),           // 8: deviceapis.device.v1.PostUserPermissionReplaceRequest
	(*PostUserPermissionReplaceResponse)(nil),          // 9: deviceapis.device.v1.PostUserPermissionReplaceResponse
	(*SaveUserRequest)(nil),                            // 10: deviceapis.device.v1.SaveUserRequest
	(*SaveUserResponse)(nil),                           // 11: deviceapis.device.v1.SaveUserResponse
	(*User)(nil),                                       // 12: deviceapis.device.v1.User
	(*PostUserNameReplaceRequest_ReplaceTo)(nil),       // 13: deviceapis.device.v1.PostUserNameReplaceRequest.ReplaceTo
	(*PostUserPasswordReplaceRequest_ReplaceTo)(nil),   // 14: deviceapis.device.v1.PostUserPasswordReplaceRequest.ReplaceTo
	(*PostUserPermissionReplaceRequest_ReplaceTo)(nil), // 15: deviceapis.device.v1.PostUserPermissionReplaceRequest.ReplaceTo
	(*User_Permission)(nil),                            // 16: deviceapis.device.v1.User.Permission
}
var file_deviceapis_device_v1_deviceapis_device_user_v1_proto_depIdxs = []int32{
	12, // 0: deviceapis.device.v1.GetUserListResponse.data:type_name -> deviceapis.device.v1.User
	13, // 1: deviceapis.device.v1.PostUserNameReplaceRequest.data:type_name -> deviceapis.device.v1.PostUserNameReplaceRequest.ReplaceTo
	14, // 2: deviceapis.device.v1.PostUserPasswordReplaceRequest.data:type_name -> deviceapis.device.v1.PostUserPasswordReplaceRequest.ReplaceTo
	15, // 3: deviceapis.device.v1.PostUserPermissionReplaceRequest.data:type_name -> deviceapis.device.v1.PostUserPermissionReplaceRequest.ReplaceTo
	12, // 4: deviceapis.device.v1.SaveUserRequest.data:type_name -> deviceapis.device.v1.User
	12, // 5: deviceapis.device.v1.SaveUserResponse.data:type_name -> deviceapis.device.v1.User
	16, // 6: deviceapis.device.v1.User.permission:type_name -> deviceapis.device.v1.User.Permission
	16, // 7: deviceapis.device.v1.PostUserPermissionReplaceRequest.ReplaceTo.permission:type_name -> deviceapis.device.v1.User.Permission
	0,  // 8: deviceapis.device.v1.UserService.DeleteUser:input_type -> deviceapis.device.v1.DeleteUserRequest
	2,  // 9: deviceapis.device.v1.UserService.GetUserList:input_type -> deviceapis.device.v1.GetUserListRequest
	4,  // 10: deviceapis.device.v1.UserService.PostUserNameReplace:input_type -> deviceapis.device.v1.PostUserNameReplaceRequest
	6,  // 11: deviceapis.device.v1.UserService.PostUserPasswordReplace:input_type -> deviceapis.device.v1.PostUserPasswordReplaceRequest
	8,  // 12: deviceapis.device.v1.UserService.PostUserPermissionReplace:input_type -> deviceapis.device.v1.PostUserPermissionReplaceRequest
	10, // 13: deviceapis.device.v1.UserService.SaveUser:input_type -> deviceapis.device.v1.SaveUserRequest
	1,  // 14: deviceapis.device.v1.UserService.DeleteUser:output_type -> deviceapis.device.v1.DeleteUserResponse
	3,  // 15: deviceapis.device.v1.UserService.GetUserList:output_type -> deviceapis.device.v1.GetUserListResponse
	5,  // 16: deviceapis.device.v1.UserService.PostUserNameReplace:output_type -> deviceapis.device.v1.PostUserNameReplaceResponse
	7,  // 17: deviceapis.device.v1.UserService.PostUserPasswordReplace:output_type -> deviceapis.device.v1.PostUserPasswordReplaceResponse
	9,  // 18: deviceapis.device.v1.UserService.PostUserPermissionReplace:output_type -> deviceapis.device.v1.PostUserPermissionReplaceResponse
	11, // 19: deviceapis.device.v1.UserService.SaveUser:output_type -> deviceapis.device.v1.SaveUserResponse
	14, // [14:20] is the sub-list for method output_type
	8,  // [8:14] is the sub-list for method input_type
	8,  // [8:8] is the sub-list for extension type_name
	8,  // [8:8] is the sub-list for extension extendee
	0,  // [0:8] is the sub-list for field type_name
}

func init() { file_deviceapis_device_v1_deviceapis_device_user_v1_proto_init() }
func file_deviceapis_device_v1_deviceapis_device_user_v1_proto_init() {
	if File_deviceapis_device_v1_deviceapis_device_user_v1_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeleteUserRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeleteUserResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetUserListRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetUserListResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUserNameReplaceRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUserNameReplaceResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUserPasswordReplaceRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUserPasswordReplaceResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUserPermissionReplaceRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUserPermissionReplaceResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SaveUserRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SaveUserResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*User); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUserNameReplaceRequest_ReplaceTo); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUserPasswordReplaceRequest_ReplaceTo); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUserPermissionReplaceRequest_ReplaceTo); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*User_Permission); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes[11].OneofWrappers = []interface{}{
		(*SaveUserResponse_Data)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   17,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_deviceapis_device_v1_deviceapis_device_user_v1_proto_goTypes,
		DependencyIndexes: file_deviceapis_device_v1_deviceapis_device_user_v1_proto_depIdxs,
		MessageInfos:      file_deviceapis_device_v1_deviceapis_device_user_v1_proto_msgTypes,
	}.Build()
	File_deviceapis_device_v1_deviceapis_device_user_v1_proto = out.File
	file_deviceapis_device_v1_deviceapis_device_user_v1_proto_rawDesc = nil
	file_deviceapis_device_v1_deviceapis_device_user_v1_proto_goTypes = nil
	file_deviceapis_device_v1_deviceapis_device_user_v1_proto_depIdxs = nil
}
