1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336 |
- // 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 AlarmListRequest struct {
- Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn"`
- Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
- ProjectId int64 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start"`
- End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end"`
- PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- Filter int32 `protobuf:"varint,7,opt,name=filter,proto3" json:"filter"`
- Timestamp int64 `protobuf:"varint,8,opt,name=timestamp,proto3" json:"timestamp"`
- DeviceCode int32 `protobuf:"varint,9,opt,name=device_code,json=deviceCode,proto3" json:"device_code"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmListRequest) Reset() { *m = AlarmListRequest{} }
- func (m *AlarmListRequest) String() string { return proto.CompactTextString(m) }
- func (*AlarmListRequest) ProtoMessage() {}
- func (*AlarmListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{0}
- }
- func (m *AlarmListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmListRequest.Unmarshal(m, b)
- }
- func (m *AlarmListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmListRequest.Marshal(b, m, deterministic)
- }
- func (m *AlarmListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmListRequest.Merge(m, src)
- }
- func (m *AlarmListRequest) XXX_Size() int {
- return xxx_messageInfo_AlarmListRequest.Size(m)
- }
- func (m *AlarmListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmListRequest proto.InternalMessageInfo
- func (m *AlarmListRequest) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *AlarmListRequest) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *AlarmListRequest) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *AlarmListRequest) GetStart() int64 {
- if m != nil {
- return m.Start
- }
- return 0
- }
- func (m *AlarmListRequest) GetEnd() int64 {
- if m != nil {
- return m.End
- }
- return 0
- }
- func (m *AlarmListRequest) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *AlarmListRequest) GetFilter() int32 {
- if m != nil {
- return m.Filter
- }
- return 0
- }
- func (m *AlarmListRequest) GetTimestamp() int64 {
- if m != nil {
- return m.Timestamp
- }
- return 0
- }
- func (m *AlarmListRequest) GetDeviceCode() int32 {
- if m != nil {
- return m.DeviceCode
- }
- return 0
- }
- type AlarmItem struct {
- Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn"`
- ProjectId int64 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason"`
- IsHandled bool `protobuf:"varint,4,opt,name=is_handled,json=isHandled,proto3" json:"is_handled"`
- Time string `protobuf:"bytes,5,opt,name=time,proto3" json:"time"`
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name"`
- TypeName string `protobuf:"bytes,7,opt,name=type_name,json=typeName,proto3" json:"type_name"`
- Id int64 `protobuf:"varint,8,opt,name=id,proto3" json:"id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmItem) Reset() { *m = AlarmItem{} }
- func (m *AlarmItem) String() string { return proto.CompactTextString(m) }
- func (*AlarmItem) ProtoMessage() {}
- func (*AlarmItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{1}
- }
- func (m *AlarmItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmItem.Unmarshal(m, b)
- }
- func (m *AlarmItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmItem.Marshal(b, m, deterministic)
- }
- func (m *AlarmItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmItem.Merge(m, src)
- }
- func (m *AlarmItem) XXX_Size() int {
- return xxx_messageInfo_AlarmItem.Size(m)
- }
- func (m *AlarmItem) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmItem proto.InternalMessageInfo
- func (m *AlarmItem) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *AlarmItem) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *AlarmItem) GetReason() string {
- if m != nil {
- return m.Reason
- }
- return ""
- }
- func (m *AlarmItem) GetIsHandled() bool {
- if m != nil {
- return m.IsHandled
- }
- return false
- }
- func (m *AlarmItem) GetTime() string {
- if m != nil {
- return m.Time
- }
- return ""
- }
- func (m *AlarmItem) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *AlarmItem) GetTypeName() string {
- if m != nil {
- return m.TypeName
- }
- return ""
- }
- func (m *AlarmItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- type AlarmListReply struct {
- Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
- Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
- PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- List []*AlarmItem `protobuf:"bytes,4,rep,name=list,proto3" json:"list"`
- HasMore bool `protobuf:"varint,5,opt,name=has_more,json=hasMore,proto3" json:"has_more"`
- Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmListReply) Reset() { *m = AlarmListReply{} }
- func (m *AlarmListReply) String() string { return proto.CompactTextString(m) }
- func (*AlarmListReply) ProtoMessage() {}
- func (*AlarmListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{2}
- }
- func (m *AlarmListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmListReply.Unmarshal(m, b)
- }
- func (m *AlarmListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmListReply.Marshal(b, m, deterministic)
- }
- func (m *AlarmListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmListReply.Merge(m, src)
- }
- func (m *AlarmListReply) XXX_Size() int {
- return xxx_messageInfo_AlarmListReply.Size(m)
- }
- func (m *AlarmListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmListReply proto.InternalMessageInfo
- func (m *AlarmListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *AlarmListReply) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *AlarmListReply) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *AlarmListReply) GetList() []*AlarmItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- func (m *AlarmListReply) GetHasMore() bool {
- if m != nil {
- return m.HasMore
- }
- return false
- }
- func (m *AlarmListReply) GetTimestamp() int64 {
- if m != nil {
- return m.Timestamp
- }
- return 0
- }
- type AlarmRule struct {
- 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"`
- AlarmCount int32 `protobuf:"varint,3,opt,name=alarm_count,json=alarmCount,proto3" json:"alarm_count"`
- SilencePeriod int32 `protobuf:"varint,4,opt,name=silence_period,json=silencePeriod,proto3" json:"silence_period"`
- IsOn bool `protobuf:"varint,5,opt,name=is_on,json=isOn,proto3" json:"is_on"`
- Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id"`
- ContinuePeriod int32 `protobuf:"varint,7,opt,name=continue_period,json=continuePeriod,proto3" json:"continue_period"`
- ProjectName string `protobuf:"bytes,8,opt,name=project_name,json=projectName,proto3" json:"project_name"`
- DeviceName string `protobuf:"bytes,9,opt,name=device_name,json=deviceName,proto3" json:"device_name"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmRule) Reset() { *m = AlarmRule{} }
- func (m *AlarmRule) String() string { return proto.CompactTextString(m) }
- func (*AlarmRule) ProtoMessage() {}
- func (*AlarmRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{3}
- }
- func (m *AlarmRule) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmRule.Unmarshal(m, b)
- }
- func (m *AlarmRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmRule.Marshal(b, m, deterministic)
- }
- func (m *AlarmRule) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmRule.Merge(m, src)
- }
- func (m *AlarmRule) XXX_Size() int {
- return xxx_messageInfo_AlarmRule.Size(m)
- }
- func (m *AlarmRule) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmRule.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmRule proto.InternalMessageInfo
- func (m *AlarmRule) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *AlarmRule) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *AlarmRule) GetAlarmCount() int32 {
- if m != nil {
- return m.AlarmCount
- }
- return 0
- }
- func (m *AlarmRule) GetSilencePeriod() int32 {
- if m != nil {
- return m.SilencePeriod
- }
- return 0
- }
- func (m *AlarmRule) GetIsOn() bool {
- if m != nil {
- return m.IsOn
- }
- return false
- }
- func (m *AlarmRule) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *AlarmRule) GetContinuePeriod() int32 {
- if m != nil {
- return m.ContinuePeriod
- }
- return 0
- }
- func (m *AlarmRule) GetProjectName() string {
- if m != nil {
- return m.ProjectName
- }
- return ""
- }
- func (m *AlarmRule) GetDeviceName() string {
- if m != nil {
- return m.DeviceName
- }
- return ""
- }
- type AlarmRuleAddRequest struct {
- 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"`
- AlarmCount int32 `protobuf:"varint,3,opt,name=alarm_count,json=alarmCount,proto3" json:"alarm_count"`
- SilencePeriod int32 `protobuf:"varint,4,opt,name=silence_period,json=silencePeriod,proto3" json:"silence_period"`
- IsOn bool `protobuf:"varint,5,opt,name=is_on,json=isOn,proto3" json:"is_on"`
- ContinuePeriod int32 `protobuf:"varint,7,opt,name=continue_period,json=continuePeriod,proto3" json:"continue_period"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmRuleAddRequest) Reset() { *m = AlarmRuleAddRequest{} }
- func (m *AlarmRuleAddRequest) String() string { return proto.CompactTextString(m) }
- func (*AlarmRuleAddRequest) ProtoMessage() {}
- func (*AlarmRuleAddRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{4}
- }
- func (m *AlarmRuleAddRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmRuleAddRequest.Unmarshal(m, b)
- }
- func (m *AlarmRuleAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmRuleAddRequest.Marshal(b, m, deterministic)
- }
- func (m *AlarmRuleAddRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmRuleAddRequest.Merge(m, src)
- }
- func (m *AlarmRuleAddRequest) XXX_Size() int {
- return xxx_messageInfo_AlarmRuleAddRequest.Size(m)
- }
- func (m *AlarmRuleAddRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmRuleAddRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmRuleAddRequest proto.InternalMessageInfo
- func (m *AlarmRuleAddRequest) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *AlarmRuleAddRequest) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *AlarmRuleAddRequest) GetAlarmCount() int32 {
- if m != nil {
- return m.AlarmCount
- }
- return 0
- }
- func (m *AlarmRuleAddRequest) GetSilencePeriod() int32 {
- if m != nil {
- return m.SilencePeriod
- }
- return 0
- }
- func (m *AlarmRuleAddRequest) GetIsOn() bool {
- if m != nil {
- return m.IsOn
- }
- return false
- }
- func (m *AlarmRuleAddRequest) GetContinuePeriod() int32 {
- if m != nil {
- return m.ContinuePeriod
- }
- return 0
- }
- type AlarmRuleAddReply struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmRuleAddReply) Reset() { *m = AlarmRuleAddReply{} }
- func (m *AlarmRuleAddReply) String() string { return proto.CompactTextString(m) }
- func (*AlarmRuleAddReply) ProtoMessage() {}
- func (*AlarmRuleAddReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{5}
- }
- func (m *AlarmRuleAddReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmRuleAddReply.Unmarshal(m, b)
- }
- func (m *AlarmRuleAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmRuleAddReply.Marshal(b, m, deterministic)
- }
- func (m *AlarmRuleAddReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmRuleAddReply.Merge(m, src)
- }
- func (m *AlarmRuleAddReply) XXX_Size() int {
- return xxx_messageInfo_AlarmRuleAddReply.Size(m)
- }
- func (m *AlarmRuleAddReply) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmRuleAddReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmRuleAddReply proto.InternalMessageInfo
- func (m *AlarmRuleAddReply) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- type AlarmRuleListRequest struct {
- 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"`
- Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmRuleListRequest) Reset() { *m = AlarmRuleListRequest{} }
- func (m *AlarmRuleListRequest) String() string { return proto.CompactTextString(m) }
- func (*AlarmRuleListRequest) ProtoMessage() {}
- func (*AlarmRuleListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{6}
- }
- func (m *AlarmRuleListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmRuleListRequest.Unmarshal(m, b)
- }
- func (m *AlarmRuleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmRuleListRequest.Marshal(b, m, deterministic)
- }
- func (m *AlarmRuleListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmRuleListRequest.Merge(m, src)
- }
- func (m *AlarmRuleListRequest) XXX_Size() int {
- return xxx_messageInfo_AlarmRuleListRequest.Size(m)
- }
- func (m *AlarmRuleListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmRuleListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmRuleListRequest proto.InternalMessageInfo
- func (m *AlarmRuleListRequest) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *AlarmRuleListRequest) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *AlarmRuleListRequest) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- type AlarmRuleListReply struct {
- List []*AlarmRule `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
- Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
- Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total"`
- PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmRuleListReply) Reset() { *m = AlarmRuleListReply{} }
- func (m *AlarmRuleListReply) String() string { return proto.CompactTextString(m) }
- func (*AlarmRuleListReply) ProtoMessage() {}
- func (*AlarmRuleListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{7}
- }
- func (m *AlarmRuleListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmRuleListReply.Unmarshal(m, b)
- }
- func (m *AlarmRuleListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmRuleListReply.Marshal(b, m, deterministic)
- }
- func (m *AlarmRuleListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmRuleListReply.Merge(m, src)
- }
- func (m *AlarmRuleListReply) XXX_Size() int {
- return xxx_messageInfo_AlarmRuleListReply.Size(m)
- }
- func (m *AlarmRuleListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmRuleListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmRuleListReply proto.InternalMessageInfo
- func (m *AlarmRuleListReply) GetList() []*AlarmRule {
- if m != nil {
- return m.List
- }
- return nil
- }
- func (m *AlarmRuleListReply) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *AlarmRuleListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *AlarmRuleListReply) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- type AlarmRuleDeleteRequest struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmRuleDeleteRequest) Reset() { *m = AlarmRuleDeleteRequest{} }
- func (m *AlarmRuleDeleteRequest) String() string { return proto.CompactTextString(m) }
- func (*AlarmRuleDeleteRequest) ProtoMessage() {}
- func (*AlarmRuleDeleteRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{8}
- }
- func (m *AlarmRuleDeleteRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmRuleDeleteRequest.Unmarshal(m, b)
- }
- func (m *AlarmRuleDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmRuleDeleteRequest.Marshal(b, m, deterministic)
- }
- func (m *AlarmRuleDeleteRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmRuleDeleteRequest.Merge(m, src)
- }
- func (m *AlarmRuleDeleteRequest) XXX_Size() int {
- return xxx_messageInfo_AlarmRuleDeleteRequest.Size(m)
- }
- func (m *AlarmRuleDeleteRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmRuleDeleteRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmRuleDeleteRequest proto.InternalMessageInfo
- func (m *AlarmRuleDeleteRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- type AlarmRuleDeleteReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmRuleDeleteReply) Reset() { *m = AlarmRuleDeleteReply{} }
- func (m *AlarmRuleDeleteReply) String() string { return proto.CompactTextString(m) }
- func (*AlarmRuleDeleteReply) ProtoMessage() {}
- func (*AlarmRuleDeleteReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{9}
- }
- func (m *AlarmRuleDeleteReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmRuleDeleteReply.Unmarshal(m, b)
- }
- func (m *AlarmRuleDeleteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmRuleDeleteReply.Marshal(b, m, deterministic)
- }
- func (m *AlarmRuleDeleteReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmRuleDeleteReply.Merge(m, src)
- }
- func (m *AlarmRuleDeleteReply) XXX_Size() int {
- return xxx_messageInfo_AlarmRuleDeleteReply.Size(m)
- }
- func (m *AlarmRuleDeleteReply) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmRuleDeleteReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmRuleDeleteReply proto.InternalMessageInfo
- type AlarmRuleOnOffRequest struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- IsOn bool `protobuf:"varint,2,opt,name=is_on,json=isOn,proto3" json:"is_on"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmRuleOnOffRequest) Reset() { *m = AlarmRuleOnOffRequest{} }
- func (m *AlarmRuleOnOffRequest) String() string { return proto.CompactTextString(m) }
- func (*AlarmRuleOnOffRequest) ProtoMessage() {}
- func (*AlarmRuleOnOffRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{10}
- }
- func (m *AlarmRuleOnOffRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmRuleOnOffRequest.Unmarshal(m, b)
- }
- func (m *AlarmRuleOnOffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmRuleOnOffRequest.Marshal(b, m, deterministic)
- }
- func (m *AlarmRuleOnOffRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmRuleOnOffRequest.Merge(m, src)
- }
- func (m *AlarmRuleOnOffRequest) XXX_Size() int {
- return xxx_messageInfo_AlarmRuleOnOffRequest.Size(m)
- }
- func (m *AlarmRuleOnOffRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmRuleOnOffRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmRuleOnOffRequest proto.InternalMessageInfo
- func (m *AlarmRuleOnOffRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *AlarmRuleOnOffRequest) GetIsOn() bool {
- if m != nil {
- return m.IsOn
- }
- return false
- }
- type AlarmRuleOnOffReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmRuleOnOffReply) Reset() { *m = AlarmRuleOnOffReply{} }
- func (m *AlarmRuleOnOffReply) String() string { return proto.CompactTextString(m) }
- func (*AlarmRuleOnOffReply) ProtoMessage() {}
- func (*AlarmRuleOnOffReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{11}
- }
- func (m *AlarmRuleOnOffReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmRuleOnOffReply.Unmarshal(m, b)
- }
- func (m *AlarmRuleOnOffReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmRuleOnOffReply.Marshal(b, m, deterministic)
- }
- func (m *AlarmRuleOnOffReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmRuleOnOffReply.Merge(m, src)
- }
- func (m *AlarmRuleOnOffReply) XXX_Size() int {
- return xxx_messageInfo_AlarmRuleOnOffReply.Size(m)
- }
- func (m *AlarmRuleOnOffReply) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmRuleOnOffReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmRuleOnOffReply proto.InternalMessageInfo
- type AlarmRuleUpdateRequest struct {
- Rule *AlarmRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmRuleUpdateRequest) Reset() { *m = AlarmRuleUpdateRequest{} }
- func (m *AlarmRuleUpdateRequest) String() string { return proto.CompactTextString(m) }
- func (*AlarmRuleUpdateRequest) ProtoMessage() {}
- func (*AlarmRuleUpdateRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{12}
- }
- func (m *AlarmRuleUpdateRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmRuleUpdateRequest.Unmarshal(m, b)
- }
- func (m *AlarmRuleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmRuleUpdateRequest.Marshal(b, m, deterministic)
- }
- func (m *AlarmRuleUpdateRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmRuleUpdateRequest.Merge(m, src)
- }
- func (m *AlarmRuleUpdateRequest) XXX_Size() int {
- return xxx_messageInfo_AlarmRuleUpdateRequest.Size(m)
- }
- func (m *AlarmRuleUpdateRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmRuleUpdateRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmRuleUpdateRequest proto.InternalMessageInfo
- func (m *AlarmRuleUpdateRequest) GetRule() *AlarmRule {
- if m != nil {
- return m.Rule
- }
- return nil
- }
- type AlarmRuleUpdateReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmRuleUpdateReply) Reset() { *m = AlarmRuleUpdateReply{} }
- func (m *AlarmRuleUpdateReply) String() string { return proto.CompactTextString(m) }
- func (*AlarmRuleUpdateReply) ProtoMessage() {}
- func (*AlarmRuleUpdateReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{13}
- }
- func (m *AlarmRuleUpdateReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmRuleUpdateReply.Unmarshal(m, b)
- }
- func (m *AlarmRuleUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmRuleUpdateReply.Marshal(b, m, deterministic)
- }
- func (m *AlarmRuleUpdateReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmRuleUpdateReply.Merge(m, src)
- }
- func (m *AlarmRuleUpdateReply) XXX_Size() int {
- return xxx_messageInfo_AlarmRuleUpdateReply.Size(m)
- }
- func (m *AlarmRuleUpdateReply) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmRuleUpdateReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmRuleUpdateReply proto.InternalMessageInfo
- type AlarmContact struct {
- // id
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- // 项目id
- ProjectId int64 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- // 告警联系人电话
- Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone"`
- // 告警联系人邮件
- Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmContact) Reset() { *m = AlarmContact{} }
- func (m *AlarmContact) String() string { return proto.CompactTextString(m) }
- func (*AlarmContact) ProtoMessage() {}
- func (*AlarmContact) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{14}
- }
- func (m *AlarmContact) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmContact.Unmarshal(m, b)
- }
- func (m *AlarmContact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmContact.Marshal(b, m, deterministic)
- }
- func (m *AlarmContact) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmContact.Merge(m, src)
- }
- func (m *AlarmContact) XXX_Size() int {
- return xxx_messageInfo_AlarmContact.Size(m)
- }
- func (m *AlarmContact) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmContact.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmContact proto.InternalMessageInfo
- func (m *AlarmContact) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *AlarmContact) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *AlarmContact) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- func (m *AlarmContact) GetEmail() string {
- if m != nil {
- return m.Email
- }
- return ""
- }
- type AlarmContactAddRequest struct {
- // 项目id
- ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- // 告警联系人电话
- Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
- // 告警联系人邮件
- Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmContactAddRequest) Reset() { *m = AlarmContactAddRequest{} }
- func (m *AlarmContactAddRequest) String() string { return proto.CompactTextString(m) }
- func (*AlarmContactAddRequest) ProtoMessage() {}
- func (*AlarmContactAddRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{15}
- }
- func (m *AlarmContactAddRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmContactAddRequest.Unmarshal(m, b)
- }
- func (m *AlarmContactAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmContactAddRequest.Marshal(b, m, deterministic)
- }
- func (m *AlarmContactAddRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmContactAddRequest.Merge(m, src)
- }
- func (m *AlarmContactAddRequest) XXX_Size() int {
- return xxx_messageInfo_AlarmContactAddRequest.Size(m)
- }
- func (m *AlarmContactAddRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmContactAddRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmContactAddRequest proto.InternalMessageInfo
- func (m *AlarmContactAddRequest) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *AlarmContactAddRequest) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- func (m *AlarmContactAddRequest) GetEmail() string {
- if m != nil {
- return m.Email
- }
- return ""
- }
- type AlarmContactAddReply struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmContactAddReply) Reset() { *m = AlarmContactAddReply{} }
- func (m *AlarmContactAddReply) String() string { return proto.CompactTextString(m) }
- func (*AlarmContactAddReply) ProtoMessage() {}
- func (*AlarmContactAddReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{16}
- }
- func (m *AlarmContactAddReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmContactAddReply.Unmarshal(m, b)
- }
- func (m *AlarmContactAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmContactAddReply.Marshal(b, m, deterministic)
- }
- func (m *AlarmContactAddReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmContactAddReply.Merge(m, src)
- }
- func (m *AlarmContactAddReply) XXX_Size() int {
- return xxx_messageInfo_AlarmContactAddReply.Size(m)
- }
- func (m *AlarmContactAddReply) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmContactAddReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmContactAddReply proto.InternalMessageInfo
- func (m *AlarmContactAddReply) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- type AlarmContactListRequest struct {
- // 项目id
- ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmContactListRequest) Reset() { *m = AlarmContactListRequest{} }
- func (m *AlarmContactListRequest) String() string { return proto.CompactTextString(m) }
- func (*AlarmContactListRequest) ProtoMessage() {}
- func (*AlarmContactListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{17}
- }
- func (m *AlarmContactListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmContactListRequest.Unmarshal(m, b)
- }
- func (m *AlarmContactListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmContactListRequest.Marshal(b, m, deterministic)
- }
- func (m *AlarmContactListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmContactListRequest.Merge(m, src)
- }
- func (m *AlarmContactListRequest) XXX_Size() int {
- return xxx_messageInfo_AlarmContactListRequest.Size(m)
- }
- func (m *AlarmContactListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmContactListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmContactListRequest proto.InternalMessageInfo
- func (m *AlarmContactListRequest) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- type AlarmContactListReply struct {
- List []*AlarmContact `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmContactListReply) Reset() { *m = AlarmContactListReply{} }
- func (m *AlarmContactListReply) String() string { return proto.CompactTextString(m) }
- func (*AlarmContactListReply) ProtoMessage() {}
- func (*AlarmContactListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{18}
- }
- func (m *AlarmContactListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmContactListReply.Unmarshal(m, b)
- }
- func (m *AlarmContactListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmContactListReply.Marshal(b, m, deterministic)
- }
- func (m *AlarmContactListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmContactListReply.Merge(m, src)
- }
- func (m *AlarmContactListReply) XXX_Size() int {
- return xxx_messageInfo_AlarmContactListReply.Size(m)
- }
- func (m *AlarmContactListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmContactListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmContactListReply proto.InternalMessageInfo
- func (m *AlarmContactListReply) GetList() []*AlarmContact {
- if m != nil {
- return m.List
- }
- return nil
- }
- type AlarmContactDeleteRequest struct {
- // 项目id
- ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- // id
- Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmContactDeleteRequest) Reset() { *m = AlarmContactDeleteRequest{} }
- func (m *AlarmContactDeleteRequest) String() string { return proto.CompactTextString(m) }
- func (*AlarmContactDeleteRequest) ProtoMessage() {}
- func (*AlarmContactDeleteRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{19}
- }
- func (m *AlarmContactDeleteRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmContactDeleteRequest.Unmarshal(m, b)
- }
- func (m *AlarmContactDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmContactDeleteRequest.Marshal(b, m, deterministic)
- }
- func (m *AlarmContactDeleteRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmContactDeleteRequest.Merge(m, src)
- }
- func (m *AlarmContactDeleteRequest) XXX_Size() int {
- return xxx_messageInfo_AlarmContactDeleteRequest.Size(m)
- }
- func (m *AlarmContactDeleteRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmContactDeleteRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmContactDeleteRequest proto.InternalMessageInfo
- func (m *AlarmContactDeleteRequest) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *AlarmContactDeleteRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- type AlarmContactDeleteReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmContactDeleteReply) Reset() { *m = AlarmContactDeleteReply{} }
- func (m *AlarmContactDeleteReply) String() string { return proto.CompactTextString(m) }
- func (*AlarmContactDeleteReply) ProtoMessage() {}
- func (*AlarmContactDeleteReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{20}
- }
- func (m *AlarmContactDeleteReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmContactDeleteReply.Unmarshal(m, b)
- }
- func (m *AlarmContactDeleteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmContactDeleteReply.Marshal(b, m, deterministic)
- }
- func (m *AlarmContactDeleteReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmContactDeleteReply.Merge(m, src)
- }
- func (m *AlarmContactDeleteReply) XXX_Size() int {
- return xxx_messageInfo_AlarmContactDeleteReply.Size(m)
- }
- func (m *AlarmContactDeleteReply) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmContactDeleteReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmContactDeleteReply proto.InternalMessageInfo
- type AlarmContactUpdateRequest struct {
- Contact *AlarmContact `protobuf:"bytes,1,opt,name=contact,proto3" json:"contact"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmContactUpdateRequest) Reset() { *m = AlarmContactUpdateRequest{} }
- func (m *AlarmContactUpdateRequest) String() string { return proto.CompactTextString(m) }
- func (*AlarmContactUpdateRequest) ProtoMessage() {}
- func (*AlarmContactUpdateRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{21}
- }
- func (m *AlarmContactUpdateRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmContactUpdateRequest.Unmarshal(m, b)
- }
- func (m *AlarmContactUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmContactUpdateRequest.Marshal(b, m, deterministic)
- }
- func (m *AlarmContactUpdateRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmContactUpdateRequest.Merge(m, src)
- }
- func (m *AlarmContactUpdateRequest) XXX_Size() int {
- return xxx_messageInfo_AlarmContactUpdateRequest.Size(m)
- }
- func (m *AlarmContactUpdateRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmContactUpdateRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmContactUpdateRequest proto.InternalMessageInfo
- func (m *AlarmContactUpdateRequest) GetContact() *AlarmContact {
- if m != nil {
- return m.Contact
- }
- return nil
- }
- type AlarmContactUpdateReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AlarmContactUpdateReply) Reset() { *m = AlarmContactUpdateReply{} }
- func (m *AlarmContactUpdateReply) String() string { return proto.CompactTextString(m) }
- func (*AlarmContactUpdateReply) ProtoMessage() {}
- func (*AlarmContactUpdateReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_4a4142572412ce8e, []int{22}
- }
- func (m *AlarmContactUpdateReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlarmContactUpdateReply.Unmarshal(m, b)
- }
- func (m *AlarmContactUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlarmContactUpdateReply.Marshal(b, m, deterministic)
- }
- func (m *AlarmContactUpdateReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlarmContactUpdateReply.Merge(m, src)
- }
- func (m *AlarmContactUpdateReply) XXX_Size() int {
- return xxx_messageInfo_AlarmContactUpdateReply.Size(m)
- }
- func (m *AlarmContactUpdateReply) XXX_DiscardUnknown() {
- xxx_messageInfo_AlarmContactUpdateReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_AlarmContactUpdateReply proto.InternalMessageInfo
- func init() {
- proto.RegisterType((*AlarmListRequest)(nil), "v1.AlarmListRequest")
- proto.RegisterType((*AlarmItem)(nil), "v1.AlarmItem")
- proto.RegisterType((*AlarmListReply)(nil), "v1.AlarmListReply")
- proto.RegisterType((*AlarmRule)(nil), "v1.AlarmRule")
- proto.RegisterType((*AlarmRuleAddRequest)(nil), "v1.AlarmRuleAddRequest")
- proto.RegisterType((*AlarmRuleAddReply)(nil), "v1.AlarmRuleAddReply")
- proto.RegisterType((*AlarmRuleListRequest)(nil), "v1.AlarmRuleListRequest")
- proto.RegisterType((*AlarmRuleListReply)(nil), "v1.AlarmRuleListReply")
- proto.RegisterType((*AlarmRuleDeleteRequest)(nil), "v1.AlarmRuleDeleteRequest")
- proto.RegisterType((*AlarmRuleDeleteReply)(nil), "v1.AlarmRuleDeleteReply")
- proto.RegisterType((*AlarmRuleOnOffRequest)(nil), "v1.AlarmRuleOnOffRequest")
- proto.RegisterType((*AlarmRuleOnOffReply)(nil), "v1.AlarmRuleOnOffReply")
- proto.RegisterType((*AlarmRuleUpdateRequest)(nil), "v1.AlarmRuleUpdateRequest")
- proto.RegisterType((*AlarmRuleUpdateReply)(nil), "v1.AlarmRuleUpdateReply")
- proto.RegisterType((*AlarmContact)(nil), "v1.AlarmContact")
- proto.RegisterType((*AlarmContactAddRequest)(nil), "v1.AlarmContactAddRequest")
- proto.RegisterType((*AlarmContactAddReply)(nil), "v1.AlarmContactAddReply")
- proto.RegisterType((*AlarmContactListRequest)(nil), "v1.AlarmContactListRequest")
- proto.RegisterType((*AlarmContactListReply)(nil), "v1.AlarmContactListReply")
- proto.RegisterType((*AlarmContactDeleteRequest)(nil), "v1.AlarmContactDeleteRequest")
- proto.RegisterType((*AlarmContactDeleteReply)(nil), "v1.AlarmContactDeleteReply")
- proto.RegisterType((*AlarmContactUpdateRequest)(nil), "v1.AlarmContactUpdateRequest")
- proto.RegisterType((*AlarmContactUpdateReply)(nil), "v1.AlarmContactUpdateReply")
- }
- func init() {
- proto.RegisterFile("alarm.proto", fileDescriptor_4a4142572412ce8e)
- }
- var fileDescriptor_4a4142572412ce8e = []byte{
- // 823 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xdd, 0x6e, 0xdc, 0x44,
- 0x14, 0x96, 0xed, 0xfd, 0xf3, 0xd9, 0x64, 0x09, 0x93, 0x64, 0x71, 0x04, 0x28, 0x89, 0x43, 0x60,
- 0x85, 0x94, 0x44, 0x81, 0x1b, 0x24, 0xe0, 0x22, 0x04, 0x09, 0x82, 0x80, 0x20, 0x23, 0x2e, 0xe8,
- 0x8d, 0x35, 0xb1, 0x27, 0xd9, 0xa9, 0xec, 0xb1, 0xeb, 0x99, 0xdd, 0x6a, 0x73, 0xd1, 0xa7, 0xe8,
- 0x9b, 0xf4, 0x1d, 0x7a, 0xd1, 0xb7, 0xe9, 0x1b, 0x54, 0xf3, 0x63, 0xaf, 0xed, 0xdd, 0x2a, 0xe9,
- 0x5d, 0xef, 0x3c, 0xdf, 0x9c, 0x39, 0xe7, 0x7c, 0xdf, 0xf9, 0x66, 0x64, 0x18, 0xe2, 0x04, 0x17,
- 0xe9, 0x69, 0x5e, 0x64, 0x22, 0x43, 0xf6, 0xfc, 0xdc, 0x7f, 0x6b, 0xc1, 0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