jl-iot/dto/mqtt.pb.go

670 lines
20 KiB
Go
Raw Normal View History

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc v4.23.1
// source: proto/src/mqtt.proto
package dto
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 ServiceState int32
const (
ServiceState_Normal ServiceState = 0 // 正常
ServiceState_Error ServiceState = 2 // 错误
)
// Enum value maps for ServiceState.
var (
ServiceState_name = map[int32]string{
0: "Normal",
2: "Error",
}
ServiceState_value = map[string]int32{
"Normal": 0,
"Error": 2,
}
)
func (x ServiceState) Enum() *ServiceState {
p := new(ServiceState)
*p = x
return p
}
func (x ServiceState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ServiceState) Descriptor() protoreflect.EnumDescriptor {
return file_proto_src_mqtt_proto_enumTypes[0].Descriptor()
}
func (ServiceState) Type() protoreflect.EnumType {
return &file_proto_src_mqtt_proto_enumTypes[0]
}
func (x ServiceState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ServiceState.Descriptor instead.
func (ServiceState) EnumDescriptor() ([]byte, []int) {
return file_proto_src_mqtt_proto_rawDescGZIP(), []int{0}
}
// IOT服务状态
type IotServiceState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// string cliId = 1; // IOT服务mqtt客户端id
State ServiceState `protobuf:"varint,2,opt,name=state,proto3,enum=iot_dto.ServiceState" json:"state,omitempty"` // 服务状态
ErrMsg string `protobuf:"bytes,3,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // 当state为error时错误描述
}
func (x *IotServiceState) Reset() {
*x = IotServiceState{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_src_mqtt_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IotServiceState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IotServiceState) ProtoMessage() {}
func (x *IotServiceState) ProtoReflect() protoreflect.Message {
mi := &file_proto_src_mqtt_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 IotServiceState.ProtoReflect.Descriptor instead.
func (*IotServiceState) Descriptor() ([]byte, []int) {
return file_proto_src_mqtt_proto_rawDescGZIP(), []int{0}
}
func (x *IotServiceState) GetState() ServiceState {
if x != nil {
return x.State
}
return ServiceState_Normal
}
func (x *IotServiceState) GetErrMsg() string {
if x != nil {
return x.ErrMsg
}
return ""
}
type IotQcServiceStartReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// string cliId = 1; // IOT服务mqtt客户端id
Config *ModbusConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // 服务配置
Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"` // 是否强制启动(若存在旧的服务则停止重新启动)
}
func (x *IotQcServiceStartReq) Reset() {
*x = IotQcServiceStartReq{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_src_mqtt_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IotQcServiceStartReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IotQcServiceStartReq) ProtoMessage() {}
func (x *IotQcServiceStartReq) ProtoReflect() protoreflect.Message {
mi := &file_proto_src_mqtt_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 IotQcServiceStartReq.ProtoReflect.Descriptor instead.
func (*IotQcServiceStartReq) Descriptor() ([]byte, []int) {
return file_proto_src_mqtt_proto_rawDescGZIP(), []int{1}
}
func (x *IotQcServiceStartReq) GetConfig() *ModbusConfig {
if x != nil {
return x.Config
}
return nil
}
func (x *IotQcServiceStartReq) GetForce() bool {
if x != nil {
return x.Force
}
return false
}
type IotQcServiceStopReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *IotQcServiceStopReq) Reset() {
*x = IotQcServiceStopReq{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_src_mqtt_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IotQcServiceStopReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IotQcServiceStopReq) ProtoMessage() {}
func (x *IotQcServiceStopReq) ProtoReflect() protoreflect.Message {
mi := &file_proto_src_mqtt_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 IotQcServiceStopReq.ProtoReflect.Descriptor instead.
func (*IotQcServiceStopReq) Descriptor() ([]byte, []int) {
return file_proto_src_mqtt_proto_rawDescGZIP(), []int{2}
}
type IotQcServiceCommonResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// string cliId = 1; // IOT服务mqtt客户端id
Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // 错误码
Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // 错误信息
}
func (x *IotQcServiceCommonResp) Reset() {
*x = IotQcServiceCommonResp{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_src_mqtt_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IotQcServiceCommonResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IotQcServiceCommonResp) ProtoMessage() {}
func (x *IotQcServiceCommonResp) ProtoReflect() protoreflect.Message {
mi := &file_proto_src_mqtt_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 IotQcServiceCommonResp.ProtoReflect.Descriptor instead.
func (*IotQcServiceCommonResp) Descriptor() ([]byte, []int) {
return file_proto_src_mqtt_proto_rawDescGZIP(), []int{3}
}
func (x *IotQcServiceCommonResp) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
func (x *IotQcServiceCommonResp) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
// IOT服务获取日志请求
type IotServiceLogReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// string cliId = 1; // IOT服务mqtt客户端id
Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // 日志条数
}
func (x *IotServiceLogReq) Reset() {
*x = IotServiceLogReq{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_src_mqtt_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IotServiceLogReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IotServiceLogReq) ProtoMessage() {}
func (x *IotServiceLogReq) ProtoReflect() protoreflect.Message {
mi := &file_proto_src_mqtt_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 IotServiceLogReq.ProtoReflect.Descriptor instead.
func (*IotServiceLogReq) Descriptor() ([]byte, []int) {
return file_proto_src_mqtt_proto_rawDescGZIP(), []int{4}
}
func (x *IotServiceLogReq) GetCount() int32 {
if x != nil {
return x.Count
}
return 0
}
// IOT服务日志响应
type IotServiceLogResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// string cliId = 1; // IOT服务mqtt客户端id
Logs []string `protobuf:"bytes,4,rep,name=logs,proto3" json:"logs,omitempty"` // 日志
}
func (x *IotServiceLogResp) Reset() {
*x = IotServiceLogResp{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_src_mqtt_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IotServiceLogResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IotServiceLogResp) ProtoMessage() {}
func (x *IotServiceLogResp) ProtoReflect() protoreflect.Message {
mi := &file_proto_src_mqtt_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 IotServiceLogResp.ProtoReflect.Descriptor instead.
func (*IotServiceLogResp) Descriptor() ([]byte, []int) {
return file_proto_src_mqtt_proto_rawDescGZIP(), []int{5}
}
func (x *IotServiceLogResp) GetLogs() []string {
if x != nil {
return x.Logs
}
return nil
}
// IOT驱动数据
type IotQd struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// string cliId = 1; // IOT服务mqtt客户端id
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 驱动数据
}
func (x *IotQd) Reset() {
*x = IotQd{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_src_mqtt_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IotQd) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IotQd) ProtoMessage() {}
func (x *IotQd) ProtoReflect() protoreflect.Message {
mi := &file_proto_src_mqtt_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 IotQd.ProtoReflect.Descriptor instead.
func (*IotQd) Descriptor() ([]byte, []int) {
return file_proto_src_mqtt_proto_rawDescGZIP(), []int{6}
}
func (x *IotQd) GetData() []byte {
if x != nil {
return x.Data
}
return nil
}
// IOT采集数据
type IotCj struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// string cliId = 1; // IOT服务mqtt客户端id
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 采集数据
}
func (x *IotCj) Reset() {
*x = IotCj{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_src_mqtt_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IotCj) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IotCj) ProtoMessage() {}
func (x *IotCj) ProtoReflect() protoreflect.Message {
mi := &file_proto_src_mqtt_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 IotCj.ProtoReflect.Descriptor instead.
func (*IotCj) Descriptor() ([]byte, []int) {
return file_proto_src_mqtt_proto_rawDescGZIP(), []int{7}
}
func (x *IotCj) GetData() []byte {
if x != nil {
return x.Data
}
return nil
}
var File_proto_src_mqtt_proto protoreflect.FileDescriptor
var file_proto_src_mqtt_proto_rawDesc = []byte{
0x0a, 0x14, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x6d, 0x71, 0x74, 0x74,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x69, 0x6f, 0x74, 0x5f, 0x64, 0x74, 0x6f, 0x1a,
0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x64, 0x63, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x0f, 0x49, 0x6f, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x69, 0x6f, 0x74, 0x5f, 0x64, 0x74, 0x6f, 0x2e,
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74,
0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x5b, 0x0a, 0x14, 0x49,
0x6f, 0x74, 0x51, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74,
0x52, 0x65, 0x71, 0x12, 0x2d, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x69, 0x6f, 0x74, 0x5f, 0x64, 0x74, 0x6f, 0x2e, 0x4d, 0x6f,
0x64, 0x62, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x49, 0x6f, 0x74, 0x51,
0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x22,
0x3e, 0x0a, 0x16, 0x49, 0x6f, 0x74, 0x51, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43,
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a,
0x03, 0x6d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22,
0x28, 0x0a, 0x10, 0x49, 0x6f, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x67,
0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01,
0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x27, 0x0a, 0x11, 0x49, 0x6f, 0x74,
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12,
0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x6f,
0x67, 0x73, 0x22, 0x1b, 0x0a, 0x05, 0x49, 0x6f, 0x74, 0x51, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64,
0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
0x1b, 0x0a, 0x05, 0x49, 0x6f, 0x74, 0x43, 0x6a, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x2a, 0x25, 0x0a, 0x0c,
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x0a, 0x06,
0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f,
0x72, 0x10, 0x02, 0x42, 0x07, 0x5a, 0x05, 0x2e, 0x2f, 0x64, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (
file_proto_src_mqtt_proto_rawDescOnce sync.Once
file_proto_src_mqtt_proto_rawDescData = file_proto_src_mqtt_proto_rawDesc
)
func file_proto_src_mqtt_proto_rawDescGZIP() []byte {
file_proto_src_mqtt_proto_rawDescOnce.Do(func() {
file_proto_src_mqtt_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_src_mqtt_proto_rawDescData)
})
return file_proto_src_mqtt_proto_rawDescData
}
var file_proto_src_mqtt_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_proto_src_mqtt_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_proto_src_mqtt_proto_goTypes = []interface{}{
(ServiceState)(0), // 0: iot_dto.ServiceState
(*IotServiceState)(nil), // 1: iot_dto.IotServiceState
(*IotQcServiceStartReq)(nil), // 2: iot_dto.IotQcServiceStartReq
(*IotQcServiceStopReq)(nil), // 3: iot_dto.IotQcServiceStopReq
(*IotQcServiceCommonResp)(nil), // 4: iot_dto.IotQcServiceCommonResp
(*IotServiceLogReq)(nil), // 5: iot_dto.IotServiceLogReq
(*IotServiceLogResp)(nil), // 6: iot_dto.IotServiceLogResp
(*IotQd)(nil), // 7: iot_dto.IotQd
(*IotCj)(nil), // 8: iot_dto.IotCj
(*ModbusConfig)(nil), // 9: iot_dto.ModbusConfig
}
var file_proto_src_mqtt_proto_depIdxs = []int32{
0, // 0: iot_dto.IotServiceState.state:type_name -> iot_dto.ServiceState
9, // 1: iot_dto.IotQcServiceStartReq.config:type_name -> iot_dto.ModbusConfig
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_proto_src_mqtt_proto_init() }
func file_proto_src_mqtt_proto_init() {
if File_proto_src_mqtt_proto != nil {
return
}
file_proto_src_dc_proto_init()
if !protoimpl.UnsafeEnabled {
file_proto_src_mqtt_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IotServiceState); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_src_mqtt_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IotQcServiceStartReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_src_mqtt_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IotQcServiceStopReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_src_mqtt_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IotQcServiceCommonResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_src_mqtt_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IotServiceLogReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_src_mqtt_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IotServiceLogResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_src_mqtt_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IotQd); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_src_mqtt_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IotCj); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_proto_src_mqtt_proto_rawDesc,
NumEnums: 1,
NumMessages: 8,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_proto_src_mqtt_proto_goTypes,
DependencyIndexes: file_proto_src_mqtt_proto_depIdxs,
EnumInfos: file_proto_src_mqtt_proto_enumTypes,
MessageInfos: file_proto_src_mqtt_proto_msgTypes,
}.Build()
File_proto_src_mqtt_proto = out.File
file_proto_src_mqtt_proto_rawDesc = nil
file_proto_src_mqtt_proto_goTypes = nil
file_proto_src_mqtt_proto_depIdxs = nil
}