// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.33.0
// 	protoc        v3.21.5
// source: device_im.proto

package improto

import (
	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)
)

type DEV int32

const (
	DEV_DEV_NULL    DEV = 0
	DEV_ISONLINE    DEV = 1 //在线
	DEV_ISNOTONLINE DEV = 2 //不在线
)

// Enum value maps for DEV.
var (
	DEV_name = map[int32]string{
		0: "DEV_NULL",
		1: "ISONLINE",
		2: "ISNOTONLINE",
	}
	DEV_value = map[string]int32{
		"DEV_NULL":    0,
		"ISONLINE":    1,
		"ISNOTONLINE": 2,
	}
)

func (x DEV) Enum() *DEV {
	p := new(DEV)
	*p = x
	return p
}

func (x DEV) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (DEV) Descriptor() protoreflect.EnumDescriptor {
	return file_device_im_proto_enumTypes[0].Descriptor()
}

func (DEV) Type() protoreflect.EnumType {
	return &file_device_im_proto_enumTypes[0]
}

func (x DEV) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use DEV.Descriptor instead.
func (DEV) EnumDescriptor() ([]byte, []int) {
	return file_device_im_proto_rawDescGZIP(), []int{0}
}

type PLATFORM int32

const (
	PLATFORM_PLATFORM_PNULL PLATFORM = 0
	PLATFORM_IOS            PLATFORM = 1 //ios平台
	PLATFORM_AND            PLATFORM = 2 //安卓平台
	PLATFORM_WIN            PLATFORM = 3 //Windows平台
	PLATFORM_MAC            PLATFORM = 4 //Mac平台
	PLATFORM_PAD            PLATFORM = 5 //Pad平台
)

// Enum value maps for PLATFORM.
var (
	PLATFORM_name = map[int32]string{
		0: "PLATFORM_PNULL",
		1: "IOS",
		2: "AND",
		3: "WIN",
		4: "MAC",
		5: "PAD",
	}
	PLATFORM_value = map[string]int32{
		"PLATFORM_PNULL": 0,
		"IOS":            1,
		"AND":            2,
		"WIN":            3,
		"MAC":            4,
		"PAD":            5,
	}
)

func (x PLATFORM) Enum() *PLATFORM {
	p := new(PLATFORM)
	*p = x
	return p
}

func (x PLATFORM) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PLATFORM) Descriptor() protoreflect.EnumDescriptor {
	return file_device_im_proto_enumTypes[1].Descriptor()
}

func (PLATFORM) Type() protoreflect.EnumType {
	return &file_device_im_proto_enumTypes[1]
}

func (x PLATFORM) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PLATFORM.Descriptor instead.
func (PLATFORM) EnumDescriptor() ([]byte, []int) {
	return file_device_im_proto_rawDescGZIP(), []int{1}
}

// 设备-新增
type AddDeviceReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Addr       string    `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`                                       //用户地址
	Mid        string    `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"`                                         //MachineID
	Content    string    `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`                                 //自定义字段，自己管理，自己解析
	ProxyID    string    `protobuf:"bytes,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`                                 //代理节点ID
	Platform   *PLATFORM `protobuf:"varint,5,opt,name=platform,proto3,enum=im_types.PLATFORM,oneof" json:"platform,omitempty"` //平台
	Version    int64     `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"`                                //版本号
	AppVersion string    `protobuf:"bytes,7,opt,name=appVersion,proto3" json:"appVersion,omitempty"`                           //设备版本号
	AppUdid    string    `protobuf:"bytes,8,opt,name=appUdid,proto3" json:"appUdid,omitempty"`                                 //登陆设备惟一ID
	DevName    string    `protobuf:"bytes,9,opt,name=DevName,proto3" json:"DevName,omitempty"`                                 //设备备注
}

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

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

func (*AddDeviceReq) ProtoMessage() {}

func (x *AddDeviceReq) ProtoReflect() protoreflect.Message {
	mi := &file_device_im_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 AddDeviceReq.ProtoReflect.Descriptor instead.
func (*AddDeviceReq) Descriptor() ([]byte, []int) {
	return file_device_im_proto_rawDescGZIP(), []int{0}
}

func (x *AddDeviceReq) GetAddr() string {
	if x != nil {
		return x.Addr
	}
	return ""
}

func (x *AddDeviceReq) GetMid() string {
	if x != nil {
		return x.Mid
	}
	return ""
}

func (x *AddDeviceReq) GetContent() string {
	if x != nil {
		return x.Content
	}
	return ""
}

func (x *AddDeviceReq) GetProxyID() string {
	if x != nil {
		return x.ProxyID
	}
	return ""
}

func (x *AddDeviceReq) GetPlatform() PLATFORM {
	if x != nil && x.Platform != nil {
		return *x.Platform
	}
	return PLATFORM_PLATFORM_PNULL
}

func (x *AddDeviceReq) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *AddDeviceReq) GetAppVersion() string {
	if x != nil {
		return x.AppVersion
	}
	return ""
}

func (x *AddDeviceReq) GetAppUdid() string {
	if x != nil {
		return x.AppUdid
	}
	return ""
}

func (x *AddDeviceReq) GetDevName() string {
	if x != nil {
		return x.DevName
	}
	return ""
}

// 设备-修改
type UpdateDeviceReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Addr    string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`       //用户地址
	Mid     string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"`         //MachineID
	DevName string `protobuf:"bytes,3,opt,name=DevName,proto3" json:"DevName,omitempty"` //设备备注
}

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

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

func (*UpdateDeviceReq) ProtoMessage() {}

func (x *UpdateDeviceReq) ProtoReflect() protoreflect.Message {
	mi := &file_device_im_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 UpdateDeviceReq.ProtoReflect.Descriptor instead.
func (*UpdateDeviceReq) Descriptor() ([]byte, []int) {
	return file_device_im_proto_rawDescGZIP(), []int{1}
}

func (x *UpdateDeviceReq) GetAddr() string {
	if x != nil {
		return x.Addr
	}
	return ""
}

func (x *UpdateDeviceReq) GetMid() string {
	if x != nil {
		return x.Mid
	}
	return ""
}

func (x *UpdateDeviceReq) GetDevName() string {
	if x != nil {
		return x.DevName
	}
	return ""
}

// 设备-删除
type DeleteDeviceReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` //用户地址
	Mid  string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"`   //MachineID
}

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

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

func (*DeleteDeviceReq) ProtoMessage() {}

func (x *DeleteDeviceReq) ProtoReflect() protoreflect.Message {
	mi := &file_device_im_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 DeleteDeviceReq.ProtoReflect.Descriptor instead.
func (*DeleteDeviceReq) Descriptor() ([]byte, []int) {
	return file_device_im_proto_rawDescGZIP(), []int{2}
}

func (x *DeleteDeviceReq) GetAddr() string {
	if x != nil {
		return x.Addr
	}
	return ""
}

func (x *DeleteDeviceReq) GetMid() string {
	if x != nil {
		return x.Mid
	}
	return ""
}

// 设备-下线其它设备
type OutLineOtherDevReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` //用户地址
	Mid  string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"`   //MachineID
}

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

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

func (*OutLineOtherDevReq) ProtoMessage() {}

func (x *OutLineOtherDevReq) ProtoReflect() protoreflect.Message {
	mi := &file_device_im_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 OutLineOtherDevReq.ProtoReflect.Descriptor instead.
func (*OutLineOtherDevReq) Descriptor() ([]byte, []int) {
	return file_device_im_proto_rawDescGZIP(), []int{3}
}

func (x *OutLineOtherDevReq) GetAddr() string {
	if x != nil {
		return x.Addr
	}
	return ""
}

func (x *OutLineOtherDevReq) GetMid() string {
	if x != nil {
		return x.Mid
	}
	return ""
}

// 设备信息
type DeviceInfo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Addr          string    `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`                                       //用户地址
	Mid           string    `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"`                                         //MachineID
	Content       string    `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`                                 //自定义字段，自己管理，自己解析
	CTime         int64     `protobuf:"varint,4,opt,name=cTime,proto3" json:"cTime,omitempty"`                                    //创建时间
	LastLoginTime int64     `protobuf:"varint,5,opt,name=lastLoginTime,proto3" json:"lastLoginTime,omitempty"`                    //最后登陆时间
	IsOnline      *DEV      `protobuf:"varint,7,opt,name=isOnline,proto3,enum=im_types.DEV,oneof" json:"isOnline,omitempty"`      //在线状态，1 在线 0 不在线
	Platform      *PLATFORM `protobuf:"varint,8,opt,name=platform,proto3,enum=im_types.PLATFORM,oneof" json:"platform,omitempty"` //平台
	DevName       string    `protobuf:"bytes,9,opt,name=DevName,proto3" json:"DevName,omitempty"`                                 //设备备注
}

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

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

func (*DeviceInfo) ProtoMessage() {}

func (x *DeviceInfo) ProtoReflect() protoreflect.Message {
	mi := &file_device_im_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 DeviceInfo.ProtoReflect.Descriptor instead.
func (*DeviceInfo) Descriptor() ([]byte, []int) {
	return file_device_im_proto_rawDescGZIP(), []int{4}
}

func (x *DeviceInfo) GetAddr() string {
	if x != nil {
		return x.Addr
	}
	return ""
}

func (x *DeviceInfo) GetMid() string {
	if x != nil {
		return x.Mid
	}
	return ""
}

func (x *DeviceInfo) GetContent() string {
	if x != nil {
		return x.Content
	}
	return ""
}

func (x *DeviceInfo) GetCTime() int64 {
	if x != nil {
		return x.CTime
	}
	return 0
}

func (x *DeviceInfo) GetLastLoginTime() int64 {
	if x != nil {
		return x.LastLoginTime
	}
	return 0
}

func (x *DeviceInfo) GetIsOnline() DEV {
	if x != nil && x.IsOnline != nil {
		return *x.IsOnline
	}
	return DEV_DEV_NULL
}

func (x *DeviceInfo) GetPlatform() PLATFORM {
	if x != nil && x.Platform != nil {
		return *x.Platform
	}
	return PLATFORM_PLATFORM_PNULL
}

func (x *DeviceInfo) GetDevName() string {
	if x != nil {
		return x.DevName
	}
	return ""
}

// 设备-查询
type QueryDeviceReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` //用户地址
}

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

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

func (*QueryDeviceReq) ProtoMessage() {}

func (x *QueryDeviceReq) ProtoReflect() protoreflect.Message {
	mi := &file_device_im_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 QueryDeviceReq.ProtoReflect.Descriptor instead.
func (*QueryDeviceReq) Descriptor() ([]byte, []int) {
	return file_device_im_proto_rawDescGZIP(), []int{5}
}

func (x *QueryDeviceReq) GetAddr() string {
	if x != nil {
		return x.Addr
	}
	return ""
}

// 返回设备信息
type QueryDeviceRes struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Devices []*DeviceInfo `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` //设备列表
}

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

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

func (*QueryDeviceRes) ProtoMessage() {}

func (x *QueryDeviceRes) ProtoReflect() protoreflect.Message {
	mi := &file_device_im_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 QueryDeviceRes.ProtoReflect.Descriptor instead.
func (*QueryDeviceRes) Descriptor() ([]byte, []int) {
	return file_device_im_proto_rawDescGZIP(), []int{6}
}

func (x *QueryDeviceRes) GetDevices() []*DeviceInfo {
	if x != nil {
		return x.Devices
	}
	return nil
}

// 设备-上报上线，上报上线后，会触发推送逻辑
type UploadOnlineReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Addr    string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`       //用户地址
	Mid     string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"`         //MachineID
	Conver  int64  `protobuf:"varint,3,opt,name=conver,proto3" json:"conver,omitempty"`  //连接版本号
	ProxyId string `protobuf:"bytes,4,opt,name=proxyId,proto3" json:"proxyId,omitempty"` //代理节点地址
}

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

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

func (*UploadOnlineReq) ProtoMessage() {}

func (x *UploadOnlineReq) ProtoReflect() protoreflect.Message {
	mi := &file_device_im_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 UploadOnlineReq.ProtoReflect.Descriptor instead.
func (*UploadOnlineReq) Descriptor() ([]byte, []int) {
	return file_device_im_proto_rawDescGZIP(), []int{7}
}

func (x *UploadOnlineReq) GetAddr() string {
	if x != nil {
		return x.Addr
	}
	return ""
}

func (x *UploadOnlineReq) GetMid() string {
	if x != nil {
		return x.Mid
	}
	return ""
}

func (x *UploadOnlineReq) GetConver() int64 {
	if x != nil {
		return x.Conver
	}
	return 0
}

func (x *UploadOnlineReq) GetProxyId() string {
	if x != nil {
		return x.ProxyId
	}
	return ""
}

// 设备-设置消息通知状态
type UpdateNoticeVoiceConfigReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Addr            string      `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`                                                      //用户地址
	Mid             string      `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"`                                                        //MachineID
	RecvNewMsg      *EnumSwitch `protobuf:"varint,3,opt,name=recvNewMsg,proto3,enum=improto.EnumSwitch,oneof" json:"recvNewMsg,omitempty"`           //接收新消息通知
	RecvVoiceMsg    *EnumSwitch `protobuf:"varint,4,opt,name=recvVoiceMsg,proto3,enum=improto.EnumSwitch,oneof" json:"recvVoiceMsg,omitempty"`       //接收语音和视频通话通知
	VibrateNewMsg   *EnumSwitch `protobuf:"varint,5,opt,name=vibrateNewMsg,proto3,enum=improto.EnumSwitch,oneof" json:"vibrateNewMsg,omitempty"`     //新消息震动
	SoundNewMsg     *EnumSwitch `protobuf:"varint,6,opt,name=soundNewMsg,proto3,enum=improto.EnumSwitch,oneof" json:"soundNewMsg,omitempty"`         //新消息声音
	VibrateVoiceMsg *EnumSwitch `protobuf:"varint,7,opt,name=vibrateVoiceMsg,proto3,enum=improto.EnumSwitch,oneof" json:"vibrateVoiceMsg,omitempty"` //语音和视频通话震动
	SoundVoiceMsg   *EnumSwitch `protobuf:"varint,8,opt,name=soundVoiceMsg,proto3,enum=improto.EnumSwitch,oneof" json:"soundVoiceMsg,omitempty"`     //语音和视频通话声音
}

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

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

func (*UpdateNoticeVoiceConfigReq) ProtoMessage() {}

func (x *UpdateNoticeVoiceConfigReq) ProtoReflect() protoreflect.Message {
	mi := &file_device_im_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 UpdateNoticeVoiceConfigReq.ProtoReflect.Descriptor instead.
func (*UpdateNoticeVoiceConfigReq) Descriptor() ([]byte, []int) {
	return file_device_im_proto_rawDescGZIP(), []int{8}
}

func (x *UpdateNoticeVoiceConfigReq) GetAddr() string {
	if x != nil {
		return x.Addr
	}
	return ""
}

func (x *UpdateNoticeVoiceConfigReq) GetMid() string {
	if x != nil {
		return x.Mid
	}
	return ""
}

func (x *UpdateNoticeVoiceConfigReq) GetRecvNewMsg() EnumSwitch {
	if x != nil && x.RecvNewMsg != nil {
		return *x.RecvNewMsg
	}
	return EnumSwitch_SWITCH_ON
}

func (x *UpdateNoticeVoiceConfigReq) GetRecvVoiceMsg() EnumSwitch {
	if x != nil && x.RecvVoiceMsg != nil {
		return *x.RecvVoiceMsg
	}
	return EnumSwitch_SWITCH_ON
}

func (x *UpdateNoticeVoiceConfigReq) GetVibrateNewMsg() EnumSwitch {
	if x != nil && x.VibrateNewMsg != nil {
		return *x.VibrateNewMsg
	}
	return EnumSwitch_SWITCH_ON
}

func (x *UpdateNoticeVoiceConfigReq) GetSoundNewMsg() EnumSwitch {
	if x != nil && x.SoundNewMsg != nil {
		return *x.SoundNewMsg
	}
	return EnumSwitch_SWITCH_ON
}

func (x *UpdateNoticeVoiceConfigReq) GetVibrateVoiceMsg() EnumSwitch {
	if x != nil && x.VibrateVoiceMsg != nil {
		return *x.VibrateVoiceMsg
	}
	return EnumSwitch_SWITCH_ON
}

func (x *UpdateNoticeVoiceConfigReq) GetSoundVoiceMsg() EnumSwitch {
	if x != nil && x.SoundVoiceMsg != nil {
		return *x.SoundVoiceMsg
	}
	return EnumSwitch_SWITCH_ON
}

var File_device_im_proto protoreflect.FileDescriptor

var file_device_im_proto_rawDesc = []byte{
	0x0a, 0x0f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
	0x6f, 0x12, 0x08, 0x69, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x0f, 0x64, 0x61, 0x74,
	0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x02, 0x0a,
	0x0c, 0x41, 0x64, 0x64, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a,
	0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64,
	0x72, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
	0x6d, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03,
	0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a,
	0x07, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
	0x70, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x44, 0x12, 0x33, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66,
	0x6f, 0x72, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x69, 0x6d, 0x5f, 0x74,
	0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x48, 0x00, 0x52,
	0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x18, 0x0a, 0x07,
	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76,
	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x70, 0x70, 0x56, 0x65, 0x72,
	0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x56,
	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x55, 0x64, 0x69,
	0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x55, 0x64, 0x69, 0x64,
	0x12, 0x18, 0x0a, 0x07, 0x44, 0x65, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
	0x09, 0x52, 0x07, 0x44, 0x65, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70,
	0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0x51, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74,
	0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64,
	0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x10,
	0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x69, 0x64,
	0x12, 0x18, 0x0a, 0x07, 0x44, 0x65, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
	0x09, 0x52, 0x07, 0x44, 0x65, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x0f, 0x44, 0x65,
	0x6c, 0x65, 0x74, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a,
	0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64,
	0x72, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
	0x6d, 0x69, 0x64, 0x22, 0x3a, 0x0a, 0x12, 0x4f, 0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x4f, 0x74,
	0x68, 0x65, 0x72, 0x44, 0x65, 0x76, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64,
	0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x10, 0x0a,
	0x03, 0x6d, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x69, 0x64, 0x22,
	0xa1, 0x02, 0x0a, 0x0a, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12,
	0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64,
	0x64, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
	0x03, 0x6d, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18,
	0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x14,
	0x0a, 0x05, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63,
	0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69,
	0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6c, 0x61, 0x73,
	0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x08, 0x69, 0x73,
	0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x69,
	0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x44, 0x45, 0x56, 0x48, 0x00, 0x52, 0x08, 0x69,
	0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, 0x08, 0x70, 0x6c,
	0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x69,
	0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d,
	0x48, 0x01, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x88, 0x01, 0x01, 0x12,
	0x18, 0x0a, 0x07, 0x44, 0x65, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,
	0x52, 0x07, 0x44, 0x65, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x69, 0x73,
	0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x6c, 0x61, 0x74, 0x66,
	0x6f, 0x72, 0x6d, 0x22, 0x24, 0x0a, 0x0e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20,
	0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x22, 0x40, 0x0a, 0x0e, 0x51, 0x75, 0x65,
	0x72, 0x79, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x69,
	0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e,
	0x66, 0x6f, 0x52, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0x69, 0x0a, 0x0f, 0x55,
	0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x12, 0x12,
	0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64,
	0x64, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
	0x03, 0x6d, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x18, 0x03,
	0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07,
	0x70, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70,
	0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x22, 0xa2, 0x04, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74,
	0x65, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66,
	0x69, 0x67, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20,
	0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x64,
	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x0a, 0x72,
	0x65, 0x63, 0x76, 0x4e, 0x65, 0x77, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
	0x13, 0x2e, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x53, 0x77,
	0x69, 0x74, 0x63, 0x68, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x76, 0x4e, 0x65, 0x77, 0x4d,
	0x73, 0x67, 0x88, 0x01, 0x01, 0x12, 0x3c, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x76, 0x56, 0x6f, 0x69,
	0x63, 0x65, 0x4d, 0x73, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x69, 0x6d,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68,
	0x48, 0x01, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x76, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67,
	0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0d, 0x76, 0x69, 0x62, 0x72, 0x61, 0x74, 0x65, 0x4e, 0x65,
	0x77, 0x4d, 0x73, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x69, 0x6d, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x48,
	0x02, 0x52, 0x0d, 0x76, 0x69, 0x62, 0x72, 0x61, 0x74, 0x65, 0x4e, 0x65, 0x77, 0x4d, 0x73, 0x67,
	0x88, 0x01, 0x01, 0x12, 0x3a, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x4d,
	0x73, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x69, 0x6d, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x48, 0x03, 0x52,
	0x0b, 0x73, 0x6f, 0x75, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x4d, 0x73, 0x67, 0x88, 0x01, 0x01, 0x12,
	0x42, 0x0a, 0x0f, 0x76, 0x69, 0x62, 0x72, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x4d,
	0x73, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x69, 0x6d, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x48, 0x04, 0x52,
	0x0f, 0x76, 0x69, 0x62, 0x72, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67,
	0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x6f, 0x69, 0x63,
	0x65, 0x4d, 0x73, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x69, 0x6d, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x48,
	0x05, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67,
	0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x72, 0x65, 0x63, 0x76, 0x4e, 0x65, 0x77, 0x4d,
	0x73, 0x67, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x72, 0x65, 0x63, 0x76, 0x56, 0x6f, 0x69, 0x63, 0x65,
	0x4d, 0x73, 0x67, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x76, 0x69, 0x62, 0x72, 0x61, 0x74, 0x65, 0x4e,
	0x65, 0x77, 0x4d, 0x73, 0x67, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x6f, 0x75, 0x6e, 0x64, 0x4e,
	0x65, 0x77, 0x4d, 0x73, 0x67, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x76, 0x69, 0x62, 0x72, 0x61, 0x74,
	0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x73, 0x6f,
	0x75, 0x6e, 0x64, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67, 0x2a, 0x32, 0x0a, 0x03, 0x44,
	0x45, 0x56, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x56, 0x5f, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x00,
	0x12, 0x0c, 0x0a, 0x08, 0x49, 0x53, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0f,
	0x0a, 0x0b, 0x49, 0x53, 0x4e, 0x4f, 0x54, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x02, 0x2a,
	0x4b, 0x0a, 0x08, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x12, 0x12, 0x0a, 0x0e, 0x50,
	0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x50, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x00, 0x12,
	0x07, 0x0a, 0x03, 0x49, 0x4f, 0x53, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x44, 0x10,
	0x02, 0x12, 0x07, 0x0a, 0x03, 0x57, 0x49, 0x4e, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x41,
	0x43, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x41, 0x44, 0x10, 0x05, 0x42, 0x0b, 0x5a, 0x09,
	0x2e, 0x2f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
	0x33,
}

var (
	file_device_im_proto_rawDescOnce sync.Once
	file_device_im_proto_rawDescData = file_device_im_proto_rawDesc
)

func file_device_im_proto_rawDescGZIP() []byte {
	file_device_im_proto_rawDescOnce.Do(func() {
		file_device_im_proto_rawDescData = protoimpl.X.CompressGZIP(file_device_im_proto_rawDescData)
	})
	return file_device_im_proto_rawDescData
}

var file_device_im_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_device_im_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_device_im_proto_goTypes = []interface{}{
	(DEV)(0),                           // 0: im_types.DEV
	(PLATFORM)(0),                      // 1: im_types.PLATFORM
	(*AddDeviceReq)(nil),               // 2: im_types.AddDeviceReq
	(*UpdateDeviceReq)(nil),            // 3: im_types.UpdateDeviceReq
	(*DeleteDeviceReq)(nil),            // 4: im_types.DeleteDeviceReq
	(*OutLineOtherDevReq)(nil),         // 5: im_types.OutLineOtherDevReq
	(*DeviceInfo)(nil),                 // 6: im_types.DeviceInfo
	(*QueryDeviceReq)(nil),             // 7: im_types.QueryDeviceReq
	(*QueryDeviceRes)(nil),             // 8: im_types.QueryDeviceRes
	(*UploadOnlineReq)(nil),            // 9: im_types.UploadOnlineReq
	(*UpdateNoticeVoiceConfigReq)(nil), // 10: im_types.UpdateNoticeVoiceConfigReq
	(EnumSwitch)(0),                    // 11: improto.EnumSwitch
}
var file_device_im_proto_depIdxs = []int32{
	1,  // 0: im_types.AddDeviceReq.platform:type_name -> im_types.PLATFORM
	0,  // 1: im_types.DeviceInfo.isOnline:type_name -> im_types.DEV
	1,  // 2: im_types.DeviceInfo.platform:type_name -> im_types.PLATFORM
	6,  // 3: im_types.QueryDeviceRes.devices:type_name -> im_types.DeviceInfo
	11, // 4: im_types.UpdateNoticeVoiceConfigReq.recvNewMsg:type_name -> improto.EnumSwitch
	11, // 5: im_types.UpdateNoticeVoiceConfigReq.recvVoiceMsg:type_name -> improto.EnumSwitch
	11, // 6: im_types.UpdateNoticeVoiceConfigReq.vibrateNewMsg:type_name -> improto.EnumSwitch
	11, // 7: im_types.UpdateNoticeVoiceConfigReq.soundNewMsg:type_name -> improto.EnumSwitch
	11, // 8: im_types.UpdateNoticeVoiceConfigReq.vibrateVoiceMsg:type_name -> improto.EnumSwitch
	11, // 9: im_types.UpdateNoticeVoiceConfigReq.soundVoiceMsg:type_name -> improto.EnumSwitch
	10, // [10:10] is the sub-list for method output_type
	10, // [10:10] is the sub-list for method input_type
	10, // [10:10] is the sub-list for extension type_name
	10, // [10:10] is the sub-list for extension extendee
	0,  // [0:10] is the sub-list for field type_name
}

func init() { file_device_im_proto_init() }
func file_device_im_proto_init() {
	if File_device_im_proto != nil {
		return
	}
	file_data_type_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_device_im_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*AddDeviceReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_device_im_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*UpdateDeviceReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_device_im_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeleteDeviceReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_device_im_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*OutLineOtherDevReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_device_im_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeviceInfo); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_device_im_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*QueryDeviceReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_device_im_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*QueryDeviceRes); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_device_im_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*UploadOnlineReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_device_im_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*UpdateNoticeVoiceConfigReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_device_im_proto_msgTypes[0].OneofWrappers = []interface{}{}
	file_device_im_proto_msgTypes[4].OneofWrappers = []interface{}{}
	file_device_im_proto_msgTypes[8].OneofWrappers = []interface{}{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_device_im_proto_rawDesc,
			NumEnums:      2,
			NumMessages:   9,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_device_im_proto_goTypes,
		DependencyIndexes: file_device_im_proto_depIdxs,
		EnumInfos:         file_device_im_proto_enumTypes,
		MessageInfos:      file_device_im_proto_msgTypes,
	}.Build()
	File_device_im_proto = out.File
	file_device_im_proto_rawDesc = nil
	file_device_im_proto_goTypes = nil
	file_device_im_proto_depIdxs = nil
}
