From abd6d2381b39009f8bd9faf47ddf4535a1596fdc Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 04 十二月 2019 13:24:47 +0800
Subject: [PATCH] add pollChannelCount to PollConfig
---
fileanalysis.pb.go | 307 +++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 248 insertions(+), 59 deletions(-)
diff --git a/fileanalysis.pb.go b/fileanalysis.pb.go
index d4b487d..d58f292 100644
--- a/fileanalysis.pb.go
+++ b/fileanalysis.pb.go
@@ -23,17 +23,20 @@
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
type FileAnalysis struct {
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
- Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
- Sort int32 `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"`
- IsRunning bool `protobuf:"varint,6,opt,name=is_running,json=isRunning,proto3" json:"is_running,omitempty"`
- Progress int32 `protobuf:"varint,7,opt,name=progress,proto3" json:"progress,omitempty"`
- RuleType int32 `protobuf:"varint,8,opt,name=ruleType,proto3" json:"ruleType,omitempty"`
- Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"`
- CreateTime string `protobuf:"bytes,10,opt,name=createTime,proto3" json:"createTime,omitempty"`
- UpdateTime string `protobuf:"bytes,11,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
+ Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
+ Sort int32 `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"`
+ Alias string `protobuf:"bytes,6,opt,name=alias,proto3" json:"alias,omitempty"`
+ SnapshotUrl string `protobuf:"bytes,7,opt,name=snapshot_url,json=snapshotUrl,proto3" json:"snapshot_url,omitempty"`
+ Duration string `protobuf:"bytes,8,opt,name=duration,proto3" json:"duration,omitempty"`
+ IsRunning bool `protobuf:"varint,9,opt,name=is_running,json=isRunning,proto3" json:"is_running,omitempty"`
+ Progress int32 `protobuf:"varint,10,opt,name=progress,proto3" json:"progress,omitempty"`
+ RuleType int32 `protobuf:"varint,11,opt,name=ruleType,proto3" json:"ruleType,omitempty"`
+ Status int32 `protobuf:"varint,12,opt,name=status,proto3" json:"status,omitempty"`
+ CreateTime string `protobuf:"bytes,13,opt,name=createTime,proto3" json:"createTime,omitempty"`
+ UpdateTime string `protobuf:"bytes,14,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
}
func (m *FileAnalysis) Reset() { *m = FileAnalysis{} }
@@ -104,6 +107,27 @@
return 0
}
+func (m *FileAnalysis) GetAlias() string {
+ if m != nil {
+ return m.Alias
+ }
+ return ""
+}
+
+func (m *FileAnalysis) GetSnapshotUrl() string {
+ if m != nil {
+ return m.SnapshotUrl
+ }
+ return ""
+}
+
+func (m *FileAnalysis) GetDuration() string {
+ if m != nil {
+ return m.Duration
+ }
+ return ""
+}
+
func (m *FileAnalysis) GetIsRunning() bool {
if m != nil {
return m.IsRunning
@@ -147,8 +171,9 @@
}
type FileAnalysisSetting struct {
- VideoFileEnable bool `protobuf:"varint,1,opt,name=videoFileEnable,proto3" json:"videoFileEnable,omitempty"`
- VideoDirectory string `protobuf:"bytes,2,opt,name=videoDirectory,proto3" json:"videoDirectory,omitempty"`
+ VideoEnable bool `protobuf:"varint,1,opt,name=videoEnable,proto3" json:"videoEnable,omitempty"`
+ FileDirectory string `protobuf:"bytes,2,opt,name=fileDirectory,proto3" json:"fileDirectory,omitempty"`
+ ChannelCount int32 `protobuf:"varint,3,opt,name=channelCount,proto3" json:"channelCount,omitempty"`
}
func (m *FileAnalysisSetting) Reset() { *m = FileAnalysisSetting{} }
@@ -184,18 +209,25 @@
var xxx_messageInfo_FileAnalysisSetting proto.InternalMessageInfo
-func (m *FileAnalysisSetting) GetVideoFileEnable() bool {
+func (m *FileAnalysisSetting) GetVideoEnable() bool {
if m != nil {
- return m.VideoFileEnable
+ return m.VideoEnable
}
return false
}
-func (m *FileAnalysisSetting) GetVideoDirectory() string {
+func (m *FileAnalysisSetting) GetFileDirectory() string {
if m != nil {
- return m.VideoDirectory
+ return m.FileDirectory
}
return ""
+}
+
+func (m *FileAnalysisSetting) GetChannelCount() int32 {
+ if m != nil {
+ return m.ChannelCount
+ }
+ return 0
}
func init() {
@@ -206,26 +238,30 @@
func init() { proto.RegisterFile("fileanalysis.proto", fileDescriptor_4bee17140da7bca9) }
var fileDescriptor_4bee17140da7bca9 = []byte{
- // 302 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0x41, 0x4a, 0xc4, 0x30,
- 0x14, 0x86, 0x27, 0x75, 0x66, 0x6c, 0x9f, 0x32, 0x42, 0x04, 0x09, 0x82, 0xa1, 0xcc, 0x42, 0xba,
- 0x72, 0xe3, 0x09, 0x14, 0xf5, 0x00, 0x75, 0xf6, 0x92, 0x99, 0x3e, 0x6b, 0xa0, 0x4d, 0x4b, 0x92,
- 0x0a, 0xbd, 0x85, 0x17, 0xf0, 0x3e, 0x2e, 0x67, 0xe9, 0x52, 0xda, 0x8b, 0x48, 0xd2, 0x8e, 0x0e,
- 0xb3, 0xea, 0xff, 0xbe, 0xaf, 0x21, 0x8f, 0x3f, 0x40, 0x5f, 0x65, 0x81, 0x42, 0x89, 0xa2, 0x35,
- 0xd2, 0xdc, 0xd4, 0xba, 0xb2, 0x15, 0x0d, 0xfd, 0xa7, 0x34, 0xf9, 0xf2, 0x33, 0x80, 0xd3, 0x27,
- 0x59, 0xe0, 0xdd, 0x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xbe, 0x7b, 0x3e, 0x59, 0xcf, 0xfd, 0x63, 0xdd,
- 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x25, 0x54, 0x13, 0xc9, 0x01, 0x00, 0x00,
+ // 366 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x92, 0x4f, 0x6e, 0xe2, 0x30,
+ 0x14, 0xc6, 0x71, 0x86, 0x30, 0xe1, 0x11, 0x58, 0x78, 0x46, 0x23, 0x6b, 0xa4, 0x46, 0x29, 0xea,
+ 0x82, 0x55, 0x37, 0x3d, 0x41, 0xff, 0x1e, 0x20, 0xa5, 0x6b, 0x64, 0xc8, 0x2b, 0x58, 0x32, 0x76,
+ 0x64, 0x3b, 0x95, 0x58, 0xf6, 0x06, 0x3d, 0x56, 0x97, 0x2c, 0xbb, 0xac, 0xe0, 0x06, 0x3d, 0x41,
+ 0x65, 0x07, 0x28, 0xac, 0xf2, 0xbe, 0xdf, 0x2f, 0x4f, 0x7a, 0xca, 0x17, 0xa0, 0xcf, 0x42, 0x22,
+ 0x57, 0x5c, 0xae, 0xac, 0xb0, 0x97, 0x95, 0xd1, 0x4e, 0xd3, 0x24, 0x3c, 0x96, 0x76, 0x3e, 0xfc,
+ 0x8a, 0x20, 0x7d, 0x10, 0x12, 0xaf, 0x77, 0x2f, 0xd0, 0x01, 0x44, 0xa2, 0x64, 0x24, 0x27, 0xa3,
+ 0x6e, 0x11, 0x89, 0x92, 0x52, 0x68, 0x2b, 0xbe, 0x44, 0x16, 0x05, 0x12, 0x66, 0xcf, 0x2a, 0xee,
+ 0x16, 0xec, 0x57, 0xc3, 0xfc, 0xec, 0x99, 0x5b, 0x55, 0xc8, 0xda, 0x39, 0x19, 0xc5, 0x45, 0x98,
+ 0x3d, 0xb3, 0xda, 0x38, 0x16, 0x37, 0xcc, 0xcf, 0xf4, 0x2f, 0xc4, 0x5c, 0x0a, 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x26,
+ 0x23, 0x6f, 0xdb, 0xac, 0xb5, 0xde, 0x66, 0xad, 0x8f, 0x6d, 0xd6, 0x9a, 0x76, 0xc2, 0xcf, 0x71,
+ 0xf5, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xab, 0xd3, 0x66, 0x3e, 0x39, 0x02, 0x00, 0x00,
}
func (m *FileAnalysis) Marshal() (dAtA []byte, err error) {
@@ -271,8 +307,26 @@
i++
i = encodeVarintFileanalysis(dAtA, i, uint64(m.Sort))
}
+ if len(m.Alias) > 0 {
+ dAtA[i] = 0x32
+ i++
+ i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.Alias)))
+ i += copy(dAtA[i:], m.Alias)
+ }
+ if len(m.SnapshotUrl) > 0 {
+ dAtA[i] = 0x3a
+ i++
+ i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.SnapshotUrl)))
+ i += copy(dAtA[i:], m.SnapshotUrl)
+ }
+ if len(m.Duration) > 0 {
+ dAtA[i] = 0x42
+ i++
+ i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.Duration)))
+ i += copy(dAtA[i:], m.Duration)
+ }
if m.IsRunning {
- dAtA[i] = 0x30
+ dAtA[i] = 0x48
i++
if m.IsRunning {
dAtA[i] = 1
@@ -282,28 +336,28 @@
i++
}
if m.Progress != 0 {
- dAtA[i] = 0x38
+ dAtA[i] = 0x50
i++
i = encodeVarintFileanalysis(dAtA, i, uint64(m.Progress))
}
if m.RuleType != 0 {
- dAtA[i] = 0x40
+ dAtA[i] = 0x58
i++
i = encodeVarintFileanalysis(dAtA, i, uint64(m.RuleType))
}
if m.Status != 0 {
- dAtA[i] = 0x48
+ dAtA[i] = 0x60
i++
i = encodeVarintFileanalysis(dAtA, i, uint64(m.Status))
}
if len(m.CreateTime) > 0 {
- dAtA[i] = 0x52
+ dAtA[i] = 0x6a
i++
i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.CreateTime)))
i += copy(dAtA[i:], m.CreateTime)
}
if len(m.UpdateTime) > 0 {
- dAtA[i] = 0x5a
+ dAtA[i] = 0x72
i++
i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.UpdateTime)))
i += copy(dAtA[i:], m.UpdateTime)
@@ -326,21 +380,26 @@
_ = i
var l int
_ = l
- if m.VideoFileEnable {
+ if m.VideoEnable {
dAtA[i] = 0x8
i++
- if m.VideoFileEnable {
+ if m.VideoEnable {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i++
}
- if len(m.VideoDirectory) > 0 {
+ if len(m.FileDirectory) > 0 {
dAtA[i] = 0x12
i++
- i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.VideoDirectory)))
- i += copy(dAtA[i:], m.VideoDirectory)
+ i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.FileDirectory)))
+ i += copy(dAtA[i:], m.FileDirectory)
+ }
+ if m.ChannelCount != 0 {
+ dAtA[i] = 0x18
+ i++
+ i = encodeVarintFileanalysis(dAtA, i, uint64(m.ChannelCount))
}
return i, nil
}
@@ -378,6 +437,18 @@
if m.Sort != 0 {
n += 1 + sovFileanalysis(uint64(m.Sort))
}
+ l = len(m.Alias)
+ if l > 0 {
+ n += 1 + l + sovFileanalysis(uint64(l))
+ }
+ l = len(m.SnapshotUrl)
+ if l > 0 {
+ n += 1 + l + sovFileanalysis(uint64(l))
+ }
+ l = len(m.Duration)
+ if l > 0 {
+ n += 1 + l + sovFileanalysis(uint64(l))
+ }
if m.IsRunning {
n += 2
}
@@ -407,12 +478,15 @@
}
var l int
_ = l
- if m.VideoFileEnable {
+ if m.VideoEnable {
n += 2
}
- l = len(m.VideoDirectory)
+ l = len(m.FileDirectory)
if l > 0 {
n += 1 + l + sovFileanalysis(uint64(l))
+ }
+ if m.ChannelCount != 0 {
+ n += 1 + sovFileanalysis(uint64(m.ChannelCount))
}
return n
}
@@ -587,6 +661,102 @@
}
}
case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowFileanalysis
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthFileanalysis
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthFileanalysis
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Alias = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SnapshotUrl", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowFileanalysis
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthFileanalysis
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthFileanalysis
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SnapshotUrl = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowFileanalysis
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthFileanalysis
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthFileanalysis
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Duration = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 9:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field IsRunning", wireType)
}
@@ -606,7 +776,7 @@
}
}
m.IsRunning = bool(v != 0)
- case 7:
+ case 10:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Progress", wireType)
}
@@ -625,7 +795,7 @@
break
}
}
- case 8:
+ case 11:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field RuleType", wireType)
}
@@ -644,7 +814,7 @@
break
}
}
- case 9:
+ case 12:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
}
@@ -663,7 +833,7 @@
break
}
}
- case 10:
+ case 13:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field CreateTime", wireType)
}
@@ -695,7 +865,7 @@
}
m.CreateTime = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 11:
+ case 14:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field UpdateTime", wireType)
}
@@ -782,7 +952,7 @@
switch fieldNum {
case 1:
if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field VideoFileEnable", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field VideoEnable", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
@@ -799,10 +969,10 @@
break
}
}
- m.VideoFileEnable = bool(v != 0)
+ m.VideoEnable = bool(v != 0)
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field VideoDirectory", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field FileDirectory", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -830,8 +1000,27 @@
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.VideoDirectory = string(dAtA[iNdEx:postIndex])
+ m.FileDirectory = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ChannelCount", wireType)
+ }
+ m.ChannelCount = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowFileanalysis
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.ChannelCount |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
default:
iNdEx = preIndex
skippy, err := skipFileanalysis(dAtA[iNdEx:])
--
Gitblit v1.8.0