From 00e972eaa26d8804b2ba1afc8edba0a1549132e2 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期六, 22 六月 2019 10:32:38 +0800 Subject: [PATCH] new sysset.proto --- sysset.proto | 0 sysset.pb.go | 176 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 176 insertions(+), 0 deletions(-) diff --git a/sysset.pb.go b/sysset.pb.go new file mode 100644 index 0000000..ce5bebf --- /dev/null +++ b/sysset.pb.go @@ -0,0 +1,176 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: sysset.proto + +package protomsg + +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 LocalConfig struct { + ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + ServerName string `protobuf:"bytes,2,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` + ServerType int32 `protobuf:"varint,3,opt,name=server_type,json=serverType,proto3" json:"server_type,omitempty"` + AlarmIp string `protobuf:"bytes,4,opt,name=alarm_ip,json=alarmIp,proto3" json:"alarm_ip,omitempty"` + AlarmPort int32 `protobuf:"varint,5,opt,name=alarm_port,json=alarmPort,proto3" json:"alarm_port,omitempty"` + WebPicIp string `protobuf:"bytes,6,opt,name=web_pic_ip,json=webPicIp,proto3" json:"web_pic_ip,omitempty"` + WebPicPort int32 `protobuf:"varint,7,opt,name=web_pic_port,json=webPicPort,proto3" json:"web_pic_port,omitempty"` + EsPicIp string `protobuf:"bytes,8,opt,name=es_pic_ip,json=esPicIp,proto3" json:"es_pic_ip,omitempty"` + EsPicPort int32 `protobuf:"varint,9,opt,name=es_pic_port,json=esPicPort,proto3" json:"es_pic_port,omitempty"` + CutMaxDuration int32 `protobuf:"varint,10,opt,name=cut_max_duration,json=cutMaxDuration,proto3" json:"cut_max_duration,omitempty"` + CutMinDuration int32 `protobuf:"varint,11,opt,name=cut_min_duration,json=cutMinDuration,proto3" json:"cut_min_duration,omitempty"` + Reserved string `protobuf:"bytes,12,opt,name=reserved,proto3" json:"reserved,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LocalConfig) Reset() { *m = LocalConfig{} } +func (m *LocalConfig) String() string { return proto.CompactTextString(m) } +func (*LocalConfig) ProtoMessage() {} +func (*LocalConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_5be590c6b2a0d755, []int{0} +} + +func (m *LocalConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocalConfig.Unmarshal(m, b) +} +func (m *LocalConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocalConfig.Marshal(b, m, deterministic) +} +func (m *LocalConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalConfig.Merge(m, src) +} +func (m *LocalConfig) XXX_Size() int { + return xxx_messageInfo_LocalConfig.Size(m) +} +func (m *LocalConfig) XXX_DiscardUnknown() { + xxx_messageInfo_LocalConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_LocalConfig proto.InternalMessageInfo + +func (m *LocalConfig) GetServerId() string { + if m != nil { + return m.ServerId + } + return "" +} + +func (m *LocalConfig) GetServerName() string { + if m != nil { + return m.ServerName + } + return "" +} + +func (m *LocalConfig) GetServerType() int32 { + if m != nil { + return m.ServerType + } + return 0 +} + +func (m *LocalConfig) GetAlarmIp() string { + if m != nil { + return m.AlarmIp + } + return "" +} + +func (m *LocalConfig) GetAlarmPort() int32 { + if m != nil { + return m.AlarmPort + } + return 0 +} + +func (m *LocalConfig) GetWebPicIp() string { + if m != nil { + return m.WebPicIp + } + return "" +} + +func (m *LocalConfig) GetWebPicPort() int32 { + if m != nil { + return m.WebPicPort + } + return 0 +} + +func (m *LocalConfig) GetEsPicIp() string { + if m != nil { + return m.EsPicIp + } + return "" +} + +func (m *LocalConfig) GetEsPicPort() int32 { + if m != nil { + return m.EsPicPort + } + return 0 +} + +func (m *LocalConfig) GetCutMaxDuration() int32 { + if m != nil { + return m.CutMaxDuration + } + return 0 +} + +func (m *LocalConfig) GetCutMinDuration() int32 { + if m != nil { + return m.CutMinDuration + } + return 0 +} + +func (m *LocalConfig) GetReserved() string { + if m != nil { + return m.Reserved + } + return "" +} + +func init() { + proto.RegisterType((*LocalConfig)(nil), "protomsg.LocalConfig") +} + +func init() { proto.RegisterFile("sysset.proto", fileDescriptor_5be590c6b2a0d755) } + +var fileDescriptor_5be590c6b2a0d755 = []byte{ + // 276 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x91, 0x4d, 0x4e, 0xc3, 0x30, + 0x10, 0x85, 0x55, 0x4a, 0xdb, 0x64, 0x12, 0x21, 0xe4, 0x95, 0x29, 0x7f, 0x11, 0xab, 0xac, 0xd8, + 0x70, 0x04, 0xd8, 0x44, 0x02, 0x54, 0x21, 0xf6, 0x91, 0x93, 0x0c, 0x95, 0xa5, 0x26, 0xb6, 0x6c, + 0x87, 0x36, 0xd7, 0xe0, 0xc4, 0x88, 0x99, 0xa4, 0x65, 0x15, 0xcd, 0x7b, 0xdf, 0xa7, 0x89, 0x6d, + 0x48, 0xfd, 0xe0, 0x3d, 0x86, 0x47, 0xeb, 0x4c, 0x30, 0x22, 0xa2, 0x4f, 0xeb, 0xb7, 0x0f, 0x3f, + 0x73, 0x48, 0x5e, 0x4d, 0xad, 0x76, 0xcf, 0xa6, 0xfb, 0xd2, 0x5b, 0x71, 0x0d, 0xb1, 0x47, 0xf7, + 0x8d, 0xae, 0xd4, 0x8d, 0x9c, 0x65, 0xb3, 0x3c, 0xfe, 0x88, 0x38, 0x28, 0x1a, 0x71, 0x0f, 0xc9, + 0x58, 0x76, 0xaa, 0x45, 0x79, 0x46, 0x35, 0x70, 0xf4, 0xae, 0x5a, 0xfc, 0x07, 0x84, 0xc1, 0xa2, + 0x9c, 0x67, 0xb3, 0x7c, 0x31, 0x01, 0x9f, 0x83, 0x45, 0x71, 0x05, 0x91, 0xda, 0x29, 0xd7, 0x96, + 0xda, 0xca, 0x73, 0xd2, 0x57, 0x34, 0x17, 0x56, 0xdc, 0x02, 0x70, 0x65, 0x8d, 0x0b, 0x72, 0x41, + 0x6a, 0x4c, 0xc9, 0xc6, 0xb8, 0x20, 0x6e, 0x00, 0xf6, 0x58, 0x95, 0x56, 0xd7, 0x7f, 0xee, 0x92, + 0xff, 0x6c, 0x8f, 0xd5, 0x46, 0xd7, 0x85, 0x15, 0x19, 0xa4, 0x53, 0x4b, 0xfa, 0x8a, 0x37, 0x73, + 0x4f, 0xfe, 0x1a, 0x62, 0xf4, 0x93, 0x1e, 0xf1, 0x6a, 0xf4, 0x6c, 0xdf, 0x41, 0x32, 0x76, 0x24, + 0xc7, 0xbc, 0x9b, 0x5a, 0x72, 0x73, 0xb8, 0xac, 0xfb, 0x50, 0xb6, 0xea, 0x50, 0x36, 0xbd, 0x53, + 0x41, 0x9b, 0x4e, 0x02, 0x41, 0x17, 0x75, 0x1f, 0xde, 0xd4, 0xe1, 0x65, 0x4c, 0x8f, 0xa4, 0xee, + 0x4e, 0x64, 0x72, 0x22, 0x75, 0x77, 0x24, 0xd7, 0x10, 0x39, 0xa4, 0x9b, 0x69, 0x64, 0xca, 0xa7, + 0x99, 0xe6, 0x6a, 0x49, 0xcf, 0xf3, 0xf4, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x00, 0xfc, 0xa0, 0x93, + 0xb5, 0x01, 0x00, 0x00, +} diff --git a/sysset.proto b/sysset.proto new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/sysset.proto -- Gitblit v1.8.0