123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: device.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 DeviceAllTypeListRequest struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceAllTypeListRequest) Reset() { *m = DeviceAllTypeListRequest{} }
- func (m *DeviceAllTypeListRequest) String() string { return proto.CompactTextString(m) }
- func (*DeviceAllTypeListRequest) ProtoMessage() {}
- func (*DeviceAllTypeListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{0}
- }
- func (m *DeviceAllTypeListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceAllTypeListRequest.Unmarshal(m, b)
- }
- func (m *DeviceAllTypeListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceAllTypeListRequest.Marshal(b, m, deterministic)
- }
- func (m *DeviceAllTypeListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceAllTypeListRequest.Merge(m, src)
- }
- func (m *DeviceAllTypeListRequest) XXX_Size() int {
- return xxx_messageInfo_DeviceAllTypeListRequest.Size(m)
- }
- func (m *DeviceAllTypeListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceAllTypeListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceAllTypeListRequest proto.InternalMessageInfo
- type DeviceAllTypeItem struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- TypeCode int32 `protobuf:"varint,4,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
- TypeName string `protobuf:"bytes,5,opt,name=type_name,json=typeName,proto3" json:"type_name"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceAllTypeItem) Reset() { *m = DeviceAllTypeItem{} }
- func (m *DeviceAllTypeItem) String() string { return proto.CompactTextString(m) }
- func (*DeviceAllTypeItem) ProtoMessage() {}
- func (*DeviceAllTypeItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{1}
- }
- func (m *DeviceAllTypeItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceAllTypeItem.Unmarshal(m, b)
- }
- func (m *DeviceAllTypeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceAllTypeItem.Marshal(b, m, deterministic)
- }
- func (m *DeviceAllTypeItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceAllTypeItem.Merge(m, src)
- }
- func (m *DeviceAllTypeItem) XXX_Size() int {
- return xxx_messageInfo_DeviceAllTypeItem.Size(m)
- }
- func (m *DeviceAllTypeItem) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceAllTypeItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceAllTypeItem proto.InternalMessageInfo
- func (m *DeviceAllTypeItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *DeviceAllTypeItem) GetTypeCode() int32 {
- if m != nil {
- return m.TypeCode
- }
- return 0
- }
- func (m *DeviceAllTypeItem) GetTypeName() string {
- if m != nil {
- return m.TypeName
- }
- return ""
- }
- type DeviceAllTypeListReply struct {
- List []*DeviceAllTypeItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceAllTypeListReply) Reset() { *m = DeviceAllTypeListReply{} }
- func (m *DeviceAllTypeListReply) String() string { return proto.CompactTextString(m) }
- func (*DeviceAllTypeListReply) ProtoMessage() {}
- func (*DeviceAllTypeListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{2}
- }
- func (m *DeviceAllTypeListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceAllTypeListReply.Unmarshal(m, b)
- }
- func (m *DeviceAllTypeListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceAllTypeListReply.Marshal(b, m, deterministic)
- }
- func (m *DeviceAllTypeListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceAllTypeListReply.Merge(m, src)
- }
- func (m *DeviceAllTypeListReply) XXX_Size() int {
- return xxx_messageInfo_DeviceAllTypeListReply.Size(m)
- }
- func (m *DeviceAllTypeListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceAllTypeListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceAllTypeListReply proto.InternalMessageInfo
- func (m *DeviceAllTypeListReply) GetList() []*DeviceAllTypeItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- type DeviceTypeListRequest struct {
- Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter"`
- FilterStatus []int32 `protobuf:"varint,2,rep,packed,name=filter_status,json=filterStatus,proto3" json:"filter_status"`
- 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 *DeviceTypeListRequest) Reset() { *m = DeviceTypeListRequest{} }
- func (m *DeviceTypeListRequest) String() string { return proto.CompactTextString(m) }
- func (*DeviceTypeListRequest) ProtoMessage() {}
- func (*DeviceTypeListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{3}
- }
- func (m *DeviceTypeListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceTypeListRequest.Unmarshal(m, b)
- }
- func (m *DeviceTypeListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceTypeListRequest.Marshal(b, m, deterministic)
- }
- func (m *DeviceTypeListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceTypeListRequest.Merge(m, src)
- }
- func (m *DeviceTypeListRequest) XXX_Size() int {
- return xxx_messageInfo_DeviceTypeListRequest.Size(m)
- }
- func (m *DeviceTypeListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceTypeListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceTypeListRequest proto.InternalMessageInfo
- func (m *DeviceTypeListRequest) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
- }
- func (m *DeviceTypeListRequest) GetFilterStatus() []int32 {
- if m != nil {
- return m.FilterStatus
- }
- return nil
- }
- func (m *DeviceTypeListRequest) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- type DeviceTypeItem struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- ProviderName string `protobuf:"bytes,2,opt,name=provider_name,json=providerName,proto3" json:"provider_name"`
- SocialCode string `protobuf:"bytes,3,opt,name=social_code,json=socialCode,proto3" json:"social_code"`
- // 设备类型编码
- TypeCode int32 `protobuf:"varint,4,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
- TypeName string `protobuf:"bytes,5,opt,name=type_name,json=typeName,proto3" json:"type_name"`
- // 申请时间
- ApplyTime string `protobuf:"bytes,6,opt,name=apply_time,json=applyTime,proto3" json:"apply_time"`
- // 开发者建议
- Comment string `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment"`
- // 开发者审批时间
- DevelopApproveTime string `protobuf:"bytes,8,opt,name=develop_approve_time,json=developApproveTime,proto3" json:"develop_approve_time"`
- // 0 待审核 1 对接测试通过 2 对接测试未通过 3 政府审核通过 4 政府审核未通过
- Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status"`
- // 政府审批时间
- ApproveTime string `protobuf:"bytes,10,opt,name=approve_time,json=approveTime,proto3" json:"approve_time"`
- // 政府审批回复
- Feedback string `protobuf:"bytes,11,opt,name=feedback,proto3" json:"feedback"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceTypeItem) Reset() { *m = DeviceTypeItem{} }
- func (m *DeviceTypeItem) String() string { return proto.CompactTextString(m) }
- func (*DeviceTypeItem) ProtoMessage() {}
- func (*DeviceTypeItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{4}
- }
- func (m *DeviceTypeItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceTypeItem.Unmarshal(m, b)
- }
- func (m *DeviceTypeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceTypeItem.Marshal(b, m, deterministic)
- }
- func (m *DeviceTypeItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceTypeItem.Merge(m, src)
- }
- func (m *DeviceTypeItem) XXX_Size() int {
- return xxx_messageInfo_DeviceTypeItem.Size(m)
- }
- func (m *DeviceTypeItem) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceTypeItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceTypeItem proto.InternalMessageInfo
- func (m *DeviceTypeItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *DeviceTypeItem) GetProviderName() string {
- if m != nil {
- return m.ProviderName
- }
- return ""
- }
- func (m *DeviceTypeItem) GetSocialCode() string {
- if m != nil {
- return m.SocialCode
- }
- return ""
- }
- func (m *DeviceTypeItem) GetTypeCode() int32 {
- if m != nil {
- return m.TypeCode
- }
- return 0
- }
- func (m *DeviceTypeItem) GetTypeName() string {
- if m != nil {
- return m.TypeName
- }
- return ""
- }
- func (m *DeviceTypeItem) GetApplyTime() string {
- if m != nil {
- return m.ApplyTime
- }
- return ""
- }
- func (m *DeviceTypeItem) GetComment() string {
- if m != nil {
- return m.Comment
- }
- return ""
- }
- func (m *DeviceTypeItem) GetDevelopApproveTime() string {
- if m != nil {
- return m.DevelopApproveTime
- }
- return ""
- }
- func (m *DeviceTypeItem) GetStatus() int32 {
- if m != nil {
- return m.Status
- }
- return 0
- }
- func (m *DeviceTypeItem) GetApproveTime() string {
- if m != nil {
- return m.ApproveTime
- }
- return ""
- }
- func (m *DeviceTypeItem) GetFeedback() string {
- if m != nil {
- return m.Feedback
- }
- return ""
- }
- type DeviceTypeListReply struct {
- Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
- PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
- List []*DeviceTypeItem `protobuf:"bytes,4,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceTypeListReply) Reset() { *m = DeviceTypeListReply{} }
- func (m *DeviceTypeListReply) String() string { return proto.CompactTextString(m) }
- func (*DeviceTypeListReply) ProtoMessage() {}
- func (*DeviceTypeListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{5}
- }
- func (m *DeviceTypeListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceTypeListReply.Unmarshal(m, b)
- }
- func (m *DeviceTypeListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceTypeListReply.Marshal(b, m, deterministic)
- }
- func (m *DeviceTypeListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceTypeListReply.Merge(m, src)
- }
- func (m *DeviceTypeListReply) XXX_Size() int {
- return xxx_messageInfo_DeviceTypeListReply.Size(m)
- }
- func (m *DeviceTypeListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceTypeListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceTypeListReply proto.InternalMessageInfo
- func (m *DeviceTypeListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *DeviceTypeListReply) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *DeviceTypeListReply) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *DeviceTypeListReply) GetList() []*DeviceTypeItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- type DeviceListRequest struct {
- ProviderId int64 `protobuf:"varint,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id"`
- // 状态过滤 审核状态 0 待审核 1 项目通过 2 项目未通过
- StatusFilters []int32 `protobuf:"varint,2,rep,packed,name=status_filters,json=statusFilters,proto3" json:"status_filters"`
- Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
- ProjectId int64 `protobuf:"varint,4,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter"`
- TypeCode int32 `protobuf:"varint,6,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
- IsAll bool `protobuf:"varint,7,opt,name=is_all,json=isAll,proto3" json:"is_all"`
- CanDel bool `protobuf:"varint,8,opt,name=can_del,json=canDel,proto3" json:"can_del"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceListRequest) Reset() { *m = DeviceListRequest{} }
- func (m *DeviceListRequest) String() string { return proto.CompactTextString(m) }
- func (*DeviceListRequest) ProtoMessage() {}
- func (*DeviceListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{6}
- }
- func (m *DeviceListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceListRequest.Unmarshal(m, b)
- }
- func (m *DeviceListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceListRequest.Marshal(b, m, deterministic)
- }
- func (m *DeviceListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceListRequest.Merge(m, src)
- }
- func (m *DeviceListRequest) XXX_Size() int {
- return xxx_messageInfo_DeviceListRequest.Size(m)
- }
- func (m *DeviceListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceListRequest proto.InternalMessageInfo
- func (m *DeviceListRequest) GetProviderId() int64 {
- if m != nil {
- return m.ProviderId
- }
- return 0
- }
- func (m *DeviceListRequest) GetStatusFilters() []int32 {
- if m != nil {
- return m.StatusFilters
- }
- return nil
- }
- func (m *DeviceListRequest) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *DeviceListRequest) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *DeviceListRequest) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
- }
- func (m *DeviceListRequest) GetTypeCode() int32 {
- if m != nil {
- return m.TypeCode
- }
- return 0
- }
- func (m *DeviceListRequest) GetIsAll() bool {
- if m != nil {
- return m.IsAll
- }
- return false
- }
- func (m *DeviceListRequest) GetCanDel() bool {
- if m != nil {
- return m.CanDel
- }
- return false
- }
- type DeviceItem struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- SocialCode string `protobuf:"bytes,2,opt,name=social_code,json=socialCode,proto3" json:"social_code"`
- // 设备类型编码
- TypeCode int32 `protobuf:"varint,3,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
- TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName,proto3" json:"type_name"`
- // 申请时间
- ApplyTime string `protobuf:"bytes,5,opt,name=apply_time,json=applyTime,proto3" json:"apply_time"`
- // 审批时间
- ApproveTime string `protobuf:"bytes,6,opt,name=approve_time,json=approveTime,proto3" json:"approve_time"`
- // 0 待审核 1 项目通过 2 项目不通过
- Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status"`
- ProjectName string `protobuf:"bytes,8,opt,name=project_name,json=projectName,proto3" json:"project_name"`
- // 安检备案号
- SafetyRecordNo string `protobuf:"bytes,9,opt,name=safety_record_no,json=safetyRecordNo,proto3" json:"safety_record_no"`
- // 0 离线 1 在线
- State int32 `protobuf:"varint,10,opt,name=state,proto3" json:"state"`
- Sn string `protobuf:"bytes,11,opt,name=sn,proto3" json:"sn"`
- Key string `protobuf:"bytes,12,opt,name=key,proto3" json:"key"`
- ProviderName string `protobuf:"bytes,13,opt,name=provider_name,json=providerName,proto3" json:"provider_name"`
- Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name"`
- Lon float64 `protobuf:"fixed64,15,opt,name=lon,proto3" json:"lon"`
- Lat float64 `protobuf:"fixed64,16,opt,name=lat,proto3" json:"lat"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceItem) Reset() { *m = DeviceItem{} }
- func (m *DeviceItem) String() string { return proto.CompactTextString(m) }
- func (*DeviceItem) ProtoMessage() {}
- func (*DeviceItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{7}
- }
- func (m *DeviceItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceItem.Unmarshal(m, b)
- }
- func (m *DeviceItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceItem.Marshal(b, m, deterministic)
- }
- func (m *DeviceItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceItem.Merge(m, src)
- }
- func (m *DeviceItem) XXX_Size() int {
- return xxx_messageInfo_DeviceItem.Size(m)
- }
- func (m *DeviceItem) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceItem proto.InternalMessageInfo
- func (m *DeviceItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *DeviceItem) GetSocialCode() string {
- if m != nil {
- return m.SocialCode
- }
- return ""
- }
- func (m *DeviceItem) GetTypeCode() int32 {
- if m != nil {
- return m.TypeCode
- }
- return 0
- }
- func (m *DeviceItem) GetTypeName() string {
- if m != nil {
- return m.TypeName
- }
- return ""
- }
- func (m *DeviceItem) GetApplyTime() string {
- if m != nil {
- return m.ApplyTime
- }
- return ""
- }
- func (m *DeviceItem) GetApproveTime() string {
- if m != nil {
- return m.ApproveTime
- }
- return ""
- }
- func (m *DeviceItem) GetStatus() int32 {
- if m != nil {
- return m.Status
- }
- return 0
- }
- func (m *DeviceItem) GetProjectName() string {
- if m != nil {
- return m.ProjectName
- }
- return ""
- }
- func (m *DeviceItem) GetSafetyRecordNo() string {
- if m != nil {
- return m.SafetyRecordNo
- }
- return ""
- }
- func (m *DeviceItem) GetState() int32 {
- if m != nil {
- return m.State
- }
- return 0
- }
- func (m *DeviceItem) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *DeviceItem) GetKey() string {
- if m != nil {
- return m.Key
- }
- return ""
- }
- func (m *DeviceItem) GetProviderName() string {
- if m != nil {
- return m.ProviderName
- }
- return ""
- }
- func (m *DeviceItem) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *DeviceItem) GetLon() float64 {
- if m != nil {
- return m.Lon
- }
- return 0
- }
- func (m *DeviceItem) GetLat() float64 {
- if m != nil {
- return m.Lat
- }
- return 0
- }
- type DeviceListReply struct {
- Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
- PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
- List []*DeviceItem `protobuf:"bytes,4,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceListReply) Reset() { *m = DeviceListReply{} }
- func (m *DeviceListReply) String() string { return proto.CompactTextString(m) }
- func (*DeviceListReply) ProtoMessage() {}
- func (*DeviceListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{8}
- }
- func (m *DeviceListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceListReply.Unmarshal(m, b)
- }
- func (m *DeviceListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceListReply.Marshal(b, m, deterministic)
- }
- func (m *DeviceListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceListReply.Merge(m, src)
- }
- func (m *DeviceListReply) XXX_Size() int {
- return xxx_messageInfo_DeviceListReply.Size(m)
- }
- func (m *DeviceListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceListReply proto.InternalMessageInfo
- func (m *DeviceListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *DeviceListReply) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *DeviceListReply) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *DeviceListReply) GetList() []*DeviceItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- // 开发者审批对接设备
- type DockingApproveRequest struct {
- // 供应商设备类型id
- Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- // 开发者建议
- Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment"`
- // true 测试通过 false 测试不通过
- Status bool `protobuf:"varint,3,opt,name=status,proto3" json:"status"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DockingApproveRequest) Reset() { *m = DockingApproveRequest{} }
- func (m *DockingApproveRequest) String() string { return proto.CompactTextString(m) }
- func (*DockingApproveRequest) ProtoMessage() {}
- func (*DockingApproveRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{9}
- }
- func (m *DockingApproveRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DockingApproveRequest.Unmarshal(m, b)
- }
- func (m *DockingApproveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DockingApproveRequest.Marshal(b, m, deterministic)
- }
- func (m *DockingApproveRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DockingApproveRequest.Merge(m, src)
- }
- func (m *DockingApproveRequest) XXX_Size() int {
- return xxx_messageInfo_DockingApproveRequest.Size(m)
- }
- func (m *DockingApproveRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DockingApproveRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_DockingApproveRequest proto.InternalMessageInfo
- func (m *DockingApproveRequest) GetId() int32 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *DockingApproveRequest) GetComment() string {
- if m != nil {
- return m.Comment
- }
- return ""
- }
- func (m *DockingApproveRequest) GetStatus() bool {
- if m != nil {
- return m.Status
- }
- return false
- }
- type DockingApproveReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DockingApproveReply) Reset() { *m = DockingApproveReply{} }
- func (m *DockingApproveReply) String() string { return proto.CompactTextString(m) }
- func (*DockingApproveReply) ProtoMessage() {}
- func (*DockingApproveReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{10}
- }
- func (m *DockingApproveReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DockingApproveReply.Unmarshal(m, b)
- }
- func (m *DockingApproveReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DockingApproveReply.Marshal(b, m, deterministic)
- }
- func (m *DockingApproveReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DockingApproveReply.Merge(m, src)
- }
- func (m *DockingApproveReply) XXX_Size() int {
- return xxx_messageInfo_DockingApproveReply.Size(m)
- }
- func (m *DockingApproveReply) XXX_DiscardUnknown() {
- xxx_messageInfo_DockingApproveReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_DockingApproveReply proto.InternalMessageInfo
- type DeviceDelJobItem struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- SocialCode string `protobuf:"bytes,2,opt,name=social_code,json=socialCode,proto3" json:"social_code"`
- // 设备类型编码
- TypeCode int32 `protobuf:"varint,3,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
- TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName,proto3" json:"type_name"`
- // 申请时间
- ApplyTime string `protobuf:"bytes,5,opt,name=apply_time,json=applyTime,proto3" json:"apply_time"`
- // 审批时间
- ApproveTime string `protobuf:"bytes,6,opt,name=approve_time,json=approveTime,proto3" json:"approve_time"`
- // 0 待审核 1 通过 2 项目不通过
- Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status"`
- // 项目名称
- ProjectName string `protobuf:"bytes,8,opt,name=project_name,json=projectName,proto3" json:"project_name"`
- // 安检备案号
- SafetyRecordNo string `protobuf:"bytes,9,opt,name=safety_record_no,json=safetyRecordNo,proto3" json:"safety_record_no"`
- ProviderName string `protobuf:"bytes,10,opt,name=provider_name,json=providerName,proto3" json:"provider_name"`
- Sn string `protobuf:"bytes,11,opt,name=sn,proto3" json:"sn"`
- Reason string `protobuf:"bytes,12,opt,name=reason,proto3" json:"reason"`
- Feedback string `protobuf:"bytes,13,opt,name=feedback,proto3" json:"feedback"`
- Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceDelJobItem) Reset() { *m = DeviceDelJobItem{} }
- func (m *DeviceDelJobItem) String() string { return proto.CompactTextString(m) }
- func (*DeviceDelJobItem) ProtoMessage() {}
- func (*DeviceDelJobItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{11}
- }
- func (m *DeviceDelJobItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceDelJobItem.Unmarshal(m, b)
- }
- func (m *DeviceDelJobItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceDelJobItem.Marshal(b, m, deterministic)
- }
- func (m *DeviceDelJobItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceDelJobItem.Merge(m, src)
- }
- func (m *DeviceDelJobItem) XXX_Size() int {
- return xxx_messageInfo_DeviceDelJobItem.Size(m)
- }
- func (m *DeviceDelJobItem) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceDelJobItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceDelJobItem proto.InternalMessageInfo
- func (m *DeviceDelJobItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *DeviceDelJobItem) GetSocialCode() string {
- if m != nil {
- return m.SocialCode
- }
- return ""
- }
- func (m *DeviceDelJobItem) GetTypeCode() int32 {
- if m != nil {
- return m.TypeCode
- }
- return 0
- }
- func (m *DeviceDelJobItem) GetTypeName() string {
- if m != nil {
- return m.TypeName
- }
- return ""
- }
- func (m *DeviceDelJobItem) GetApplyTime() string {
- if m != nil {
- return m.ApplyTime
- }
- return ""
- }
- func (m *DeviceDelJobItem) GetApproveTime() string {
- if m != nil {
- return m.ApproveTime
- }
- return ""
- }
- func (m *DeviceDelJobItem) GetStatus() int32 {
- if m != nil {
- return m.Status
- }
- return 0
- }
- func (m *DeviceDelJobItem) GetProjectName() string {
- if m != nil {
- return m.ProjectName
- }
- return ""
- }
- func (m *DeviceDelJobItem) GetSafetyRecordNo() string {
- if m != nil {
- return m.SafetyRecordNo
- }
- return ""
- }
- func (m *DeviceDelJobItem) GetProviderName() string {
- if m != nil {
- return m.ProviderName
- }
- return ""
- }
- func (m *DeviceDelJobItem) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *DeviceDelJobItem) GetReason() string {
- if m != nil {
- return m.Reason
- }
- return ""
- }
- func (m *DeviceDelJobItem) GetFeedback() string {
- if m != nil {
- return m.Feedback
- }
- return ""
- }
- func (m *DeviceDelJobItem) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- type DeviceDelJobListRequest struct {
- ProviderId int64 `protobuf:"varint,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id"`
- // 状态过滤 审核状态 0 待审核 1 通过 2 未通过
- StatusFilters []int32 `protobuf:"varint,2,rep,packed,name=status_filters,json=statusFilters,proto3" json:"status_filters"`
- Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
- ProjectId int64 `protobuf:"varint,4,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceDelJobListRequest) Reset() { *m = DeviceDelJobListRequest{} }
- func (m *DeviceDelJobListRequest) String() string { return proto.CompactTextString(m) }
- func (*DeviceDelJobListRequest) ProtoMessage() {}
- func (*DeviceDelJobListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{12}
- }
- func (m *DeviceDelJobListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceDelJobListRequest.Unmarshal(m, b)
- }
- func (m *DeviceDelJobListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceDelJobListRequest.Marshal(b, m, deterministic)
- }
- func (m *DeviceDelJobListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceDelJobListRequest.Merge(m, src)
- }
- func (m *DeviceDelJobListRequest) XXX_Size() int {
- return xxx_messageInfo_DeviceDelJobListRequest.Size(m)
- }
- func (m *DeviceDelJobListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceDelJobListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceDelJobListRequest proto.InternalMessageInfo
- func (m *DeviceDelJobListRequest) GetProviderId() int64 {
- if m != nil {
- return m.ProviderId
- }
- return 0
- }
- func (m *DeviceDelJobListRequest) GetStatusFilters() []int32 {
- if m != nil {
- return m.StatusFilters
- }
- return nil
- }
- func (m *DeviceDelJobListRequest) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *DeviceDelJobListRequest) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *DeviceDelJobListRequest) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
- }
- type DeviceDelJobListReply struct {
- PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
- Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
- List []*DeviceDelJobItem `protobuf:"bytes,5,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceDelJobListReply) Reset() { *m = DeviceDelJobListReply{} }
- func (m *DeviceDelJobListReply) String() string { return proto.CompactTextString(m) }
- func (*DeviceDelJobListReply) ProtoMessage() {}
- func (*DeviceDelJobListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{13}
- }
- func (m *DeviceDelJobListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceDelJobListReply.Unmarshal(m, b)
- }
- func (m *DeviceDelJobListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceDelJobListReply.Marshal(b, m, deterministic)
- }
- func (m *DeviceDelJobListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceDelJobListReply.Merge(m, src)
- }
- func (m *DeviceDelJobListReply) XXX_Size() int {
- return xxx_messageInfo_DeviceDelJobListReply.Size(m)
- }
- func (m *DeviceDelJobListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceDelJobListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceDelJobListReply proto.InternalMessageInfo
- func (m *DeviceDelJobListReply) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *DeviceDelJobListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *DeviceDelJobListReply) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *DeviceDelJobListReply) GetList() []*DeviceDelJobItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- type ChannelListRequest struct {
- Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- Sn string `protobuf:"bytes,2,opt,name=sn,proto3" json:"sn"`
- ChannelNo string `protobuf:"bytes,3,opt,name=channel_no,json=channelNo,proto3" json:"channel_no"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ChannelListRequest) Reset() { *m = ChannelListRequest{} }
- func (m *ChannelListRequest) String() string { return proto.CompactTextString(m) }
- func (*ChannelListRequest) ProtoMessage() {}
- func (*ChannelListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{14}
- }
- func (m *ChannelListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ChannelListRequest.Unmarshal(m, b)
- }
- func (m *ChannelListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ChannelListRequest.Marshal(b, m, deterministic)
- }
- func (m *ChannelListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ChannelListRequest.Merge(m, src)
- }
- func (m *ChannelListRequest) XXX_Size() int {
- return xxx_messageInfo_ChannelListRequest.Size(m)
- }
- func (m *ChannelListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ChannelListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_ChannelListRequest proto.InternalMessageInfo
- func (m *ChannelListRequest) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *ChannelListRequest) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *ChannelListRequest) GetChannelNo() string {
- if m != nil {
- return m.ChannelNo
- }
- return ""
- }
- type ChannelItem struct {
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
- Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
- ChannelNo string `protobuf:"bytes,3,opt,name=channel_no,json=channelNo,proto3" json:"channel_no"`
- State int32 `protobuf:"varint,4,opt,name=state,proto3" json:"state"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ChannelItem) Reset() { *m = ChannelItem{} }
- func (m *ChannelItem) String() string { return proto.CompactTextString(m) }
- func (*ChannelItem) ProtoMessage() {}
- func (*ChannelItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{15}
- }
- func (m *ChannelItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ChannelItem.Unmarshal(m, b)
- }
- func (m *ChannelItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ChannelItem.Marshal(b, m, deterministic)
- }
- func (m *ChannelItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ChannelItem.Merge(m, src)
- }
- func (m *ChannelItem) XXX_Size() int {
- return xxx_messageInfo_ChannelItem.Size(m)
- }
- func (m *ChannelItem) XXX_DiscardUnknown() {
- xxx_messageInfo_ChannelItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_ChannelItem proto.InternalMessageInfo
- func (m *ChannelItem) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *ChannelItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *ChannelItem) GetChannelNo() string {
- if m != nil {
- return m.ChannelNo
- }
- return ""
- }
- func (m *ChannelItem) GetState() int32 {
- if m != nil {
- return m.State
- }
- return 0
- }
- type ChannelListReply struct {
- List []*ChannelItem `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 *ChannelListReply) Reset() { *m = ChannelListReply{} }
- func (m *ChannelListReply) String() string { return proto.CompactTextString(m) }
- func (*ChannelListReply) ProtoMessage() {}
- func (*ChannelListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{16}
- }
- func (m *ChannelListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ChannelListReply.Unmarshal(m, b)
- }
- func (m *ChannelListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ChannelListReply.Marshal(b, m, deterministic)
- }
- func (m *ChannelListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ChannelListReply.Merge(m, src)
- }
- func (m *ChannelListReply) XXX_Size() int {
- return xxx_messageInfo_ChannelListReply.Size(m)
- }
- func (m *ChannelListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_ChannelListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_ChannelListReply proto.InternalMessageInfo
- func (m *ChannelListReply) GetList() []*ChannelItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- func (m *ChannelListReply) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *ChannelListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *ChannelListReply) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- type DeviceChangeNotifyRequest struct {
- Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn"`
- DeviceCode int32 `protobuf:"varint,2,opt,name=device_code,json=deviceCode,proto3" json:"device_code"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceChangeNotifyRequest) Reset() { *m = DeviceChangeNotifyRequest{} }
- func (m *DeviceChangeNotifyRequest) String() string { return proto.CompactTextString(m) }
- func (*DeviceChangeNotifyRequest) ProtoMessage() {}
- func (*DeviceChangeNotifyRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{17}
- }
- func (m *DeviceChangeNotifyRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceChangeNotifyRequest.Unmarshal(m, b)
- }
- func (m *DeviceChangeNotifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceChangeNotifyRequest.Marshal(b, m, deterministic)
- }
- func (m *DeviceChangeNotifyRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceChangeNotifyRequest.Merge(m, src)
- }
- func (m *DeviceChangeNotifyRequest) XXX_Size() int {
- return xxx_messageInfo_DeviceChangeNotifyRequest.Size(m)
- }
- func (m *DeviceChangeNotifyRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceChangeNotifyRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceChangeNotifyRequest proto.InternalMessageInfo
- func (m *DeviceChangeNotifyRequest) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *DeviceChangeNotifyRequest) GetDeviceCode() int32 {
- if m != nil {
- return m.DeviceCode
- }
- return 0
- }
- type DeviceChangeNotifyReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceChangeNotifyReply) Reset() { *m = DeviceChangeNotifyReply{} }
- func (m *DeviceChangeNotifyReply) String() string { return proto.CompactTextString(m) }
- func (*DeviceChangeNotifyReply) ProtoMessage() {}
- func (*DeviceChangeNotifyReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{18}
- }
- func (m *DeviceChangeNotifyReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceChangeNotifyReply.Unmarshal(m, b)
- }
- func (m *DeviceChangeNotifyReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceChangeNotifyReply.Marshal(b, m, deterministic)
- }
- func (m *DeviceChangeNotifyReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceChangeNotifyReply.Merge(m, src)
- }
- func (m *DeviceChangeNotifyReply) XXX_Size() int {
- return xxx_messageInfo_DeviceChangeNotifyReply.Size(m)
- }
- func (m *DeviceChangeNotifyReply) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceChangeNotifyReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceChangeNotifyReply proto.InternalMessageInfo
- type VedioListRequest struct {
- ProviderId int64 `protobuf:"varint,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id"`
- // 状态过滤 审核状态 0 待审核 1 项目通过 2 项目未通过
- StatusFilters []int32 `protobuf:"varint,2,rep,packed,name=status_filters,json=statusFilters,proto3" json:"status_filters"`
- Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
- ProjectId int64 `protobuf:"varint,4,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter"`
- IsAll bool `protobuf:"varint,7,opt,name=is_all,json=isAll,proto3" json:"is_all"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VedioListRequest) Reset() { *m = VedioListRequest{} }
- func (m *VedioListRequest) String() string { return proto.CompactTextString(m) }
- func (*VedioListRequest) ProtoMessage() {}
- func (*VedioListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{19}
- }
- func (m *VedioListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VedioListRequest.Unmarshal(m, b)
- }
- func (m *VedioListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VedioListRequest.Marshal(b, m, deterministic)
- }
- func (m *VedioListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VedioListRequest.Merge(m, src)
- }
- func (m *VedioListRequest) XXX_Size() int {
- return xxx_messageInfo_VedioListRequest.Size(m)
- }
- func (m *VedioListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VedioListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VedioListRequest proto.InternalMessageInfo
- func (m *VedioListRequest) GetProviderId() int64 {
- if m != nil {
- return m.ProviderId
- }
- return 0
- }
- func (m *VedioListRequest) GetStatusFilters() []int32 {
- if m != nil {
- return m.StatusFilters
- }
- return nil
- }
- func (m *VedioListRequest) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *VedioListRequest) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *VedioListRequest) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
- }
- func (m *VedioListRequest) GetIsAll() bool {
- if m != nil {
- return m.IsAll
- }
- return false
- }
- type VedioItem struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- SocialCode string `protobuf:"bytes,2,opt,name=social_code,json=socialCode,proto3" json:"social_code"`
- // 设备类型编码
- TypeCode int32 `protobuf:"varint,3,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
- TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName,proto3" json:"type_name"`
- // 申请时间
- ApplyTime string `protobuf:"bytes,5,opt,name=apply_time,json=applyTime,proto3" json:"apply_time"`
- // 审批时间
- ApproveTime string `protobuf:"bytes,6,opt,name=approve_time,json=approveTime,proto3" json:"approve_time"`
- // 0 待审核 1 项目通过 2 项目不通过
- Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status"`
- ProjectName string `protobuf:"bytes,8,opt,name=project_name,json=projectName,proto3" json:"project_name"`
- // 安检备案号
- SafetyRecordNo string `protobuf:"bytes,9,opt,name=safety_record_no,json=safetyRecordNo,proto3" json:"safety_record_no"`
- // 0 离线 1 在线
- State int32 `protobuf:"varint,10,opt,name=state,proto3" json:"state"`
- Sn string `protobuf:"bytes,11,opt,name=sn,proto3" json:"sn"`
- Key string `protobuf:"bytes,12,opt,name=key,proto3" json:"key"`
- ProviderName string `protobuf:"bytes,13,opt,name=provider_name,json=providerName,proto3" json:"provider_name"`
- Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name"`
- Ip string `protobuf:"bytes,15,opt,name=ip,proto3" json:"ip"`
- Port int64 `protobuf:"varint,16,opt,name=port,proto3" json:"port"`
- MediaTransport string `protobuf:"bytes,17,opt,name=media_transport,json=mediaTransport,proto3" json:"media_transport"`
- ChannelCount int32 `protobuf:"varint,18,opt,name=channel_count,json=channelCount,proto3" json:"channel_count"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VedioItem) Reset() { *m = VedioItem{} }
- func (m *VedioItem) String() string { return proto.CompactTextString(m) }
- func (*VedioItem) ProtoMessage() {}
- func (*VedioItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{20}
- }
- func (m *VedioItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VedioItem.Unmarshal(m, b)
- }
- func (m *VedioItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VedioItem.Marshal(b, m, deterministic)
- }
- func (m *VedioItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VedioItem.Merge(m, src)
- }
- func (m *VedioItem) XXX_Size() int {
- return xxx_messageInfo_VedioItem.Size(m)
- }
- func (m *VedioItem) XXX_DiscardUnknown() {
- xxx_messageInfo_VedioItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_VedioItem proto.InternalMessageInfo
- func (m *VedioItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *VedioItem) GetSocialCode() string {
- if m != nil {
- return m.SocialCode
- }
- return ""
- }
- func (m *VedioItem) GetTypeCode() int32 {
- if m != nil {
- return m.TypeCode
- }
- return 0
- }
- func (m *VedioItem) GetTypeName() string {
- if m != nil {
- return m.TypeName
- }
- return ""
- }
- func (m *VedioItem) GetApplyTime() string {
- if m != nil {
- return m.ApplyTime
- }
- return ""
- }
- func (m *VedioItem) GetApproveTime() string {
- if m != nil {
- return m.ApproveTime
- }
- return ""
- }
- func (m *VedioItem) GetStatus() int32 {
- if m != nil {
- return m.Status
- }
- return 0
- }
- func (m *VedioItem) GetProjectName() string {
- if m != nil {
- return m.ProjectName
- }
- return ""
- }
- func (m *VedioItem) GetSafetyRecordNo() string {
- if m != nil {
- return m.SafetyRecordNo
- }
- return ""
- }
- func (m *VedioItem) GetState() int32 {
- if m != nil {
- return m.State
- }
- return 0
- }
- func (m *VedioItem) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *VedioItem) GetKey() string {
- if m != nil {
- return m.Key
- }
- return ""
- }
- func (m *VedioItem) GetProviderName() string {
- if m != nil {
- return m.ProviderName
- }
- return ""
- }
- func (m *VedioItem) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *VedioItem) GetIp() string {
- if m != nil {
- return m.Ip
- }
- return ""
- }
- func (m *VedioItem) GetPort() int64 {
- if m != nil {
- return m.Port
- }
- return 0
- }
- func (m *VedioItem) GetMediaTransport() string {
- if m != nil {
- return m.MediaTransport
- }
- return ""
- }
- func (m *VedioItem) GetChannelCount() int32 {
- if m != nil {
- return m.ChannelCount
- }
- return 0
- }
- type VedioListReply struct {
- List []*VedioItem `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 *VedioListReply) Reset() { *m = VedioListReply{} }
- func (m *VedioListReply) String() string { return proto.CompactTextString(m) }
- func (*VedioListReply) ProtoMessage() {}
- func (*VedioListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{21}
- }
- func (m *VedioListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VedioListReply.Unmarshal(m, b)
- }
- func (m *VedioListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VedioListReply.Marshal(b, m, deterministic)
- }
- func (m *VedioListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VedioListReply.Merge(m, src)
- }
- func (m *VedioListReply) XXX_Size() int {
- return xxx_messageInfo_VedioListReply.Size(m)
- }
- func (m *VedioListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VedioListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VedioListReply proto.InternalMessageInfo
- func (m *VedioListReply) GetList() []*VedioItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- func (m *VedioListReply) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *VedioListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *VedioListReply) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- type DeviceStatisticRequest struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceStatisticRequest) Reset() { *m = DeviceStatisticRequest{} }
- func (m *DeviceStatisticRequest) String() string { return proto.CompactTextString(m) }
- func (*DeviceStatisticRequest) ProtoMessage() {}
- func (*DeviceStatisticRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{22}
- }
- func (m *DeviceStatisticRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceStatisticRequest.Unmarshal(m, b)
- }
- func (m *DeviceStatisticRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceStatisticRequest.Marshal(b, m, deterministic)
- }
- func (m *DeviceStatisticRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceStatisticRequest.Merge(m, src)
- }
- func (m *DeviceStatisticRequest) XXX_Size() int {
- return xxx_messageInfo_DeviceStatisticRequest.Size(m)
- }
- func (m *DeviceStatisticRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceStatisticRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceStatisticRequest proto.InternalMessageInfo
- type DeviceStatisticReply struct {
- Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
- Increase int64 `protobuf:"varint,2,opt,name=increase,proto3" json:"increase"`
- Online int64 `protobuf:"varint,3,opt,name=online,proto3" json:"online"`
- Offline int64 `protobuf:"varint,4,opt,name=offline,proto3" json:"offline"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceStatisticReply) Reset() { *m = DeviceStatisticReply{} }
- func (m *DeviceStatisticReply) String() string { return proto.CompactTextString(m) }
- func (*DeviceStatisticReply) ProtoMessage() {}
- func (*DeviceStatisticReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{23}
- }
- func (m *DeviceStatisticReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceStatisticReply.Unmarshal(m, b)
- }
- func (m *DeviceStatisticReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceStatisticReply.Marshal(b, m, deterministic)
- }
- func (m *DeviceStatisticReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceStatisticReply.Merge(m, src)
- }
- func (m *DeviceStatisticReply) XXX_Size() int {
- return xxx_messageInfo_DeviceStatisticReply.Size(m)
- }
- func (m *DeviceStatisticReply) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceStatisticReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceStatisticReply proto.InternalMessageInfo
- func (m *DeviceStatisticReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *DeviceStatisticReply) GetIncrease() int64 {
- if m != nil {
- return m.Increase
- }
- return 0
- }
- func (m *DeviceStatisticReply) GetOnline() int64 {
- if m != nil {
- return m.Online
- }
- return 0
- }
- func (m *DeviceStatisticReply) GetOffline() int64 {
- if m != nil {
- return m.Offline
- }
- return 0
- }
- type DeviceTypeStatisticRequest struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceTypeStatisticRequest) Reset() { *m = DeviceTypeStatisticRequest{} }
- func (m *DeviceTypeStatisticRequest) String() string { return proto.CompactTextString(m) }
- func (*DeviceTypeStatisticRequest) ProtoMessage() {}
- func (*DeviceTypeStatisticRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{24}
- }
- func (m *DeviceTypeStatisticRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceTypeStatisticRequest.Unmarshal(m, b)
- }
- func (m *DeviceTypeStatisticRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceTypeStatisticRequest.Marshal(b, m, deterministic)
- }
- func (m *DeviceTypeStatisticRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceTypeStatisticRequest.Merge(m, src)
- }
- func (m *DeviceTypeStatisticRequest) XXX_Size() int {
- return xxx_messageInfo_DeviceTypeStatisticRequest.Size(m)
- }
- func (m *DeviceTypeStatisticRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceTypeStatisticRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceTypeStatisticRequest proto.InternalMessageInfo
- type DeviceTypeStatisticItem struct {
- DeviceType string `protobuf:"bytes,1,opt,name=device_type,json=deviceType,proto3" json:"device_type"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
- Online int64 `protobuf:"varint,3,opt,name=online,proto3" json:"online"`
- DeviceCode int32 `protobuf:"varint,4,opt,name=device_code,json=deviceCode,proto3" json:"device_code"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceTypeStatisticItem) Reset() { *m = DeviceTypeStatisticItem{} }
- func (m *DeviceTypeStatisticItem) String() string { return proto.CompactTextString(m) }
- func (*DeviceTypeStatisticItem) ProtoMessage() {}
- func (*DeviceTypeStatisticItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{25}
- }
- func (m *DeviceTypeStatisticItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceTypeStatisticItem.Unmarshal(m, b)
- }
- func (m *DeviceTypeStatisticItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceTypeStatisticItem.Marshal(b, m, deterministic)
- }
- func (m *DeviceTypeStatisticItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceTypeStatisticItem.Merge(m, src)
- }
- func (m *DeviceTypeStatisticItem) XXX_Size() int {
- return xxx_messageInfo_DeviceTypeStatisticItem.Size(m)
- }
- func (m *DeviceTypeStatisticItem) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceTypeStatisticItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceTypeStatisticItem proto.InternalMessageInfo
- func (m *DeviceTypeStatisticItem) GetDeviceType() string {
- if m != nil {
- return m.DeviceType
- }
- return ""
- }
- func (m *DeviceTypeStatisticItem) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *DeviceTypeStatisticItem) GetOnline() int64 {
- if m != nil {
- return m.Online
- }
- return 0
- }
- func (m *DeviceTypeStatisticItem) GetDeviceCode() int32 {
- if m != nil {
- return m.DeviceCode
- }
- return 0
- }
- type DeviceTypeStatisticReply struct {
- List []*DeviceTypeStatisticItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeviceTypeStatisticReply) Reset() { *m = DeviceTypeStatisticReply{} }
- func (m *DeviceTypeStatisticReply) String() string { return proto.CompactTextString(m) }
- func (*DeviceTypeStatisticReply) ProtoMessage() {}
- func (*DeviceTypeStatisticReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_870276a56ac00da5, []int{26}
- }
- func (m *DeviceTypeStatisticReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeviceTypeStatisticReply.Unmarshal(m, b)
- }
- func (m *DeviceTypeStatisticReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeviceTypeStatisticReply.Marshal(b, m, deterministic)
- }
- func (m *DeviceTypeStatisticReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeviceTypeStatisticReply.Merge(m, src)
- }
- func (m *DeviceTypeStatisticReply) XXX_Size() int {
- return xxx_messageInfo_DeviceTypeStatisticReply.Size(m)
- }
- func (m *DeviceTypeStatisticReply) XXX_DiscardUnknown() {
- xxx_messageInfo_DeviceTypeStatisticReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeviceTypeStatisticReply proto.InternalMessageInfo
- func (m *DeviceTypeStatisticReply) GetList() []*DeviceTypeStatisticItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- func init() {
- proto.RegisterType((*DeviceAllTypeListRequest)(nil), "v1.DeviceAllTypeListRequest")
- proto.RegisterType((*DeviceAllTypeItem)(nil), "v1.DeviceAllTypeItem")
- proto.RegisterType((*DeviceAllTypeListReply)(nil), "v1.DeviceAllTypeListReply")
- proto.RegisterType((*DeviceTypeListRequest)(nil), "v1.DeviceTypeListRequest")
- proto.RegisterType((*DeviceTypeItem)(nil), "v1.DeviceTypeItem")
- proto.RegisterType((*DeviceTypeListReply)(nil), "v1.DeviceTypeListReply")
- proto.RegisterType((*DeviceListRequest)(nil), "v1.DeviceListRequest")
- proto.RegisterType((*DeviceItem)(nil), "v1.DeviceItem")
- proto.RegisterType((*DeviceListReply)(nil), "v1.DeviceListReply")
- proto.RegisterType((*DockingApproveRequest)(nil), "v1.DockingApproveRequest")
- proto.RegisterType((*DockingApproveReply)(nil), "v1.DockingApproveReply")
- proto.RegisterType((*DeviceDelJobItem)(nil), "v1.DeviceDelJobItem")
- proto.RegisterType((*DeviceDelJobListRequest)(nil), "v1.DeviceDelJobListRequest")
- proto.RegisterType((*DeviceDelJobListReply)(nil), "v1.DeviceDelJobListReply")
- proto.RegisterType((*ChannelListRequest)(nil), "v1.ChannelListRequest")
- proto.RegisterType((*ChannelItem)(nil), "v1.ChannelItem")
- proto.RegisterType((*ChannelListReply)(nil), "v1.ChannelListReply")
- proto.RegisterType((*DeviceChangeNotifyRequest)(nil), "v1.DeviceChangeNotifyRequest")
- proto.RegisterType((*DeviceChangeNotifyReply)(nil), "v1.DeviceChangeNotifyReply")
- proto.RegisterType((*VedioListRequest)(nil), "v1.VedioListRequest")
- proto.RegisterType((*VedioItem)(nil), "v1.VedioItem")
- proto.RegisterType((*VedioListReply)(nil), "v1.VedioListReply")
- proto.RegisterType((*DeviceStatisticRequest)(nil), "v1.DeviceStatisticRequest")
- proto.RegisterType((*DeviceStatisticReply)(nil), "v1.DeviceStatisticReply")
- proto.RegisterType((*DeviceTypeStatisticRequest)(nil), "v1.DeviceTypeStatisticRequest")
- proto.RegisterType((*DeviceTypeStatisticItem)(nil), "v1.DeviceTypeStatisticItem")
- proto.RegisterType((*DeviceTypeStatisticReply)(nil), "v1.DeviceTypeStatisticReply")
- }
- func init() {
- proto.RegisterFile("device.proto", fileDescriptor_870276a56ac00da5)
- }
- var fileDescriptor_870276a56ac00da5 = []byte{
- // 1192 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcb, 0x6e, 0xe4, 0x44,
- 0x17, 0x96, 0xed, 0x76, 0xa7, 0xfb, 0xf4, 0x25, 0x3d, 0x35, 0x49, 0xc6, 0x93, 0xf9, 0x47, 0xe9,
- 0x38, 0x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