// Code generated by protoc-gen-go. DO NOT EDIT. // source: alarm.proto // package声明符,用来防止不同的消息类型有命名冲突 package v1 import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type AlarmAddRequest struct { // 项目id ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id"` // 设备唯一编号 Sn string `protobuf:"bytes,2,opt,name=sn,proto3" json:"sn"` // 告警原因 AlarmReason string `protobuf:"bytes,3,opt,name=alarm_reason,json=alarmReason,proto3" json:"alarm_reason"` // 告警编码 AlarmCode string `protobuf:"bytes,4,opt,name=alarm_code,json=alarmCode,proto3" json:"alarm_code"` // 告警时间 Date string `protobuf:"bytes,5,opt,name=date,proto3" json:"date"` // 设备名 DeviceName string `protobuf:"bytes,6,opt,name=device_name,json=deviceName,proto3" json:"device_name"` // 设备类型 eg:扬尘设备 DeviceType string `protobuf:"bytes,7,opt,name=device_type,json=deviceType,proto3" json:"device_type"` DeviceCode int32 `protobuf:"varint,8,opt,name=device_code,json=deviceCode,proto3" json:"device_code"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *AlarmAddRequest) Reset() { *m = AlarmAddRequest{} } func (m *AlarmAddRequest) String() string { return proto.CompactTextString(m) } func (*AlarmAddRequest) ProtoMessage() {} func (*AlarmAddRequest) Descriptor() ([]byte, []int) { return fileDescriptor_4a4142572412ce8e, []int{0} } func (m *AlarmAddRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AlarmAddRequest.Unmarshal(m, b) } func (m *AlarmAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AlarmAddRequest.Marshal(b, m, deterministic) } func (m *AlarmAddRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_AlarmAddRequest.Merge(m, src) } func (m *AlarmAddRequest) XXX_Size() int { return xxx_messageInfo_AlarmAddRequest.Size(m) } func (m *AlarmAddRequest) XXX_DiscardUnknown() { xxx_messageInfo_AlarmAddRequest.DiscardUnknown(m) } var xxx_messageInfo_AlarmAddRequest proto.InternalMessageInfo func (m *AlarmAddRequest) GetProjectId() int64 { if m != nil { return m.ProjectId } return 0 } func (m *AlarmAddRequest) GetSn() string { if m != nil { return m.Sn } return "" } func (m *AlarmAddRequest) GetAlarmReason() string { if m != nil { return m.AlarmReason } return "" } func (m *AlarmAddRequest) GetAlarmCode() string { if m != nil { return m.AlarmCode } return "" } func (m *AlarmAddRequest) GetDate() string { if m != nil { return m.Date } return "" } func (m *AlarmAddRequest) GetDeviceName() string { if m != nil { return m.DeviceName } return "" } func (m *AlarmAddRequest) GetDeviceType() string { if m != nil { return m.DeviceType } return "" } func (m *AlarmAddRequest) GetDeviceCode() int32 { if m != nil { return m.DeviceCode } return 0 } type AlarmAddReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *AlarmAddReply) Reset() { *m = AlarmAddReply{} } func (m *AlarmAddReply) String() string { return proto.CompactTextString(m) } func (*AlarmAddReply) ProtoMessage() {} func (*AlarmAddReply) Descriptor() ([]byte, []int) { return fileDescriptor_4a4142572412ce8e, []int{1} } func (m *AlarmAddReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AlarmAddReply.Unmarshal(m, b) } func (m *AlarmAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AlarmAddReply.Marshal(b, m, deterministic) } func (m *AlarmAddReply) XXX_Merge(src proto.Message) { xxx_messageInfo_AlarmAddReply.Merge(m, src) } func (m *AlarmAddReply) XXX_Size() int { return xxx_messageInfo_AlarmAddReply.Size(m) } func (m *AlarmAddReply) XXX_DiscardUnknown() { xxx_messageInfo_AlarmAddReply.DiscardUnknown(m) } var xxx_messageInfo_AlarmAddReply proto.InternalMessageInfo func init() { proto.RegisterType((*AlarmAddRequest)(nil), "v1.AlarmAddRequest") proto.RegisterType((*AlarmAddReply)(nil), "v1.AlarmAddReply") } func init() { proto.RegisterFile("alarm.proto", fileDescriptor_4a4142572412ce8e) } var fileDescriptor_4a4142572412ce8e = []byte{ // 233 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xbd, 0x4e, 0xc3, 0x30, 0x14, 0x85, 0xe5, 0xf4, 0x07, 0x72, 0x0b, 0x54, 0x98, 0xc5, 0x0b, 0x22, 0x74, 0xca, 0x02, 0x55, 0xc5, 0x13, 0x14, 0x26, 0x16, 0x86, 0x88, 0x89, 0x25, 0x72, 0x73, 0xef, 0x50, 0x14, 0xff, 0x60, 0x9b, 0x48, 0x79, 0x74, 0x36, 0x94, 0x1b, 0x50, 0xb3, 0x59, 0xdf, 0xf9, 0x74, 0x8e, 0x6d, 0x58, 0xe9, 0x56, 0x07, 0xf3, 0xe8, 0x83, 0x4b, 0x4e, 0x66, 0xdd, 0x6e, 0xf3, 0x23, 0x60, 0xbd, 0x1f, 0xd8, 0x1e, 0xb1, 0xa2, 0xaf, 0x6f, 0x8a, 0x49, 0xde, 0x02, 0xf8, 0xe0, 0x3e, 0xa9, 0x49, 0xf5, 0x11, 0x95, 0x28, 0x44, 0x39, 0xab, 0xf2, 0x3f, 0xf2, 0x8a, 0xf2, 0x0a, 0xb2, 0x68, 0x55, 0x56, 0x88, 0x32, 0xaf, 0xb2, 0x68, 0xe5, 0x3d, 0x5c, 0x70, 0x6b, 0x1d, 0x48, 0x47, 0x67, 0xd5, 0x8c, 0x93, 0x71, 0xa9, 0x62, 0x34, 0x34, 0x8e, 0x4a, 0xe3, 0x90, 0xd4, 0x9c, 0x85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