zhangzengfei
2024-05-08 80ae7958a17a492098f18f31fa21804f37b6cbaa
fileanalysis.pb.go
@@ -38,6 +38,8 @@
   CreateTime  string `protobuf:"bytes,13,opt,name=createTime,proto3" json:"createTime,omitempty"`
   UpdateTime  string `protobuf:"bytes,14,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
   Identifier  string `protobuf:"bytes,15,opt,name=identifier,proto3" json:"identifier,omitempty"`
   StackId     string `protobuf:"bytes,16,opt,name=stack_id,json=stackId,proto3" json:"stack_id,omitempty"`
   Size_       int64  `protobuf:"varint,17,opt,name=size,proto3" json:"size,omitempty"`
}
func (m *FileAnalysis) Reset()         { *m = FileAnalysis{} }
@@ -178,6 +180,20 @@
   return ""
}
func (m *FileAnalysis) GetStackId() string {
   if m != nil {
      return m.StackId
   }
   return ""
}
func (m *FileAnalysis) GetSize_() int64 {
   if m != nil {
      return m.Size_
   }
   return 0
}
type FileAnalysisSetting struct {
   VideoEnable       bool   `protobuf:"varint,1,opt,name=videoEnable,proto3" json:"videoEnable,omitempty"`
   FileDirectory     string `protobuf:"bytes,2,opt,name=fileDirectory,proto3" json:"fileDirectory,omitempty"`
@@ -255,15 +271,17 @@
}
type FileStack 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"`
   Type          int32  `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
   Enable        bool   `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"`
   IsAutoDelFile bool   `protobuf:"varint,5,opt,name=isAutoDelFile,proto3" json:"isAutoDelFile,omitempty"`
   Status        int32  `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
   CreateTime    string `protobuf:"bytes,7,opt,name=createTime,proto3" json:"createTime,omitempty"`
   UpdateTime    string `protobuf:"bytes,8,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
   Sort          int32  `protobuf:"varint,9,opt,name=sort,proto3" json:"sort,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"`
   Type             int32  `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
   Enable           bool   `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"`
   IsAutoDelFile    bool   `protobuf:"varint,5,opt,name=isAutoDelFile,proto3" json:"isAutoDelFile,omitempty"`
   Status           int32  `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
   CreateTime       string `protobuf:"bytes,7,opt,name=createTime,proto3" json:"createTime,omitempty"`
   UpdateTime       string `protobuf:"bytes,8,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
   Sort             int32  `protobuf:"varint,9,opt,name=sort,proto3" json:"sort,omitempty"`
   ResolutionWidth  int32  `protobuf:"varint,21,opt,name=resolution_width,json=resolutionWidth,proto3" json:"resolution_width,omitempty"`
   ResolutionHeight int32  `protobuf:"varint,22,opt,name=resolution_height,json=resolutionHeight,proto3" json:"resolution_height,omitempty"`
}
func (m *FileStack) Reset()         { *m = FileStack{} }
@@ -362,6 +380,20 @@
   return 0
}
func (m *FileStack) GetResolutionWidth() int32 {
   if m != nil {
      return m.ResolutionWidth
   }
   return 0
}
func (m *FileStack) GetResolutionHeight() int32 {
   if m != nil {
      return m.ResolutionHeight
   }
   return 0
}
func init() {
   proto.RegisterType((*FileAnalysis)(nil), "protomsg.FileAnalysis")
   proto.RegisterType((*FileAnalysisSetting)(nil), "protomsg.FileAnalysisSetting")
@@ -371,37 +403,41 @@
func init() { proto.RegisterFile("fileanalysis.proto", fileDescriptor_4bee17140da7bca9) }
var fileDescriptor_4bee17140da7bca9 = []byte{
   // 473 bytes of a gzipped FileDescriptorProto
   0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0x6e, 0x13, 0x3d,
   0x14, 0xc5, 0x33, 0xf9, 0x33, 0x9d, 0xb9, 0x49, 0x5b, 0x7d, 0xfe, 0x50, 0x65, 0x21, 0x31, 0x0a,
   0x11, 0x8b, 0x2c, 0x10, 0x1b, 0x9e, 0xa0, 0xb4, 0xf0, 0x00, 0xd3, 0xb2, 0xae, 0xdc, 0xcc, 0x6d,
   0x72, 0x85, 0x63, 0x8f, 0x6c, 0x0f, 0x52, 0xde, 0x02, 0xf1, 0x54, 0x2c, 0xbb, 0x64, 0x89, 0x92,
   0x35, 0xef, 0x80, 0x6c, 0x27, 0xcd, 0x84, 0x48, 0xc0, 0x2a, 0xf7, 0xfc, 0x8e, 0xed, 0x5c, 0xfb,
   0xdc, 0x01, 0xf6, 0x40, 0x12, 0x85, 0x12, 0x72, 0x65, 0xc9, 0xbe, 0xa9, 0x8d, 0x76, 0x9a, 0x65,
   0xe1, 0x67, 0x69, 0xe7, 0x93, 0xaf, 0x3d, 0x18, 0x7d, 0x20, 0x89, 0x97, 0xdb, 0x05, 0xec, 0x0c,
   0xba, 0x54, 0xf1, 0x64, 0x9c, 0x4c, 0xf3, 0xb2, 0x4b, 0x15, 0x63, 0xd0, 0x57, 0x62, 0x89, 0xbc,
   0x1b, 0x48, 0xa8, 0x3d, 0xab, 0x85, 0x5b, 0xf0, 0x5e, 0x64, 0xbe, 0xf6, 0xcc, 0xad, 0x6a, 0xe4,
   0xfd, 0x71, 0x32, 0x1d, 0x94, 0xa1, 0xf6, 0xcc, 0x6a, 0xe3, 0xf8, 0x20, 0x32, 0x5f, 0xb3, 0x67,
   0x30, 0x10, 0x92, 0x84, 0xe5, 0x69, 0xd8, 0x1c, 0x05, 0x7b, 0x09, 0x23, 0xab, 0x44, 0x6d, 0x17,
   0xda, 0xdd, 0x35, 0x46, 0xf2, 0x93, 0x60, 0x0e, 0x77, 0xec, 0xa3, 0x91, 0xec, 0x39, 0x64, 0x55,
   0x63, 0x84, 0x23, 0xad, 0x78, 0x16, 0xec, 0x27, 0xcd, 0x5e, 0x00, 0x90, 0xbd, 0x33, 0x8d, 0x52,
   0xa4, 0xe6, 0x3c, 0x1f, 0x27, 0xd3, 0xac, 0xcc, 0xc9, 0x96, 0x11, 0xf8, 0xad, 0xb5, 0xd1, 0x73,
   0x83, 0xd6, 0x72, 0x08, 0xbd, 0x3c, 0x69, 0xef, 0x99, 0x46, 0xe2, 0xad, 0xef, 0x7d, 0x18, 0xbd,
   0x9d, 0x66, 0x17, 0x90, 0x5a, 0x27, 0x5c, 0x63, 0xf9, 0x28, 0x38, 0x5b, 0xc5, 0x0a, 0x80, 0x99,
   0x41, 0xe1, 0xf0, 0x96, 0x96, 0xc8, 0x4f, 0x43, 0x33, 0x2d, 0xe2, 0xfd, 0xa6, 0xae, 0x76, 0xfe,
   0x59, 0xf4, 0xf7, 0xc4, 0xfb, 0x54, 0xa1, 0x72, 0xf4, 0x40, 0x68, 0xf8, 0x79, 0xf4, 0xf7, 0x64,
   0xb2, 0x49, 0xe0, 0xff, 0x76, 0x28, 0x37, 0xe8, 0x9c, 0xbf, 0xc7, 0x18, 0x86, 0x9f, 0xa9, 0x42,
   0xfd, 0x5e, 0x89, 0x7b, 0x89, 0x21, 0xa4, 0xac, 0x6c, 0x23, 0xf6, 0x0a, 0x4e, 0x7d, 0xdc, 0xd7,
   0x64, 0x70, 0xe6, 0xb4, 0x59, 0x6d, 0x63, 0x3b, 0x84, 0xec, 0x35, 0xfc, 0x17, 0x36, 0x5d, 0x2d,
   0x84, 0x52, 0x28, 0xaf, 0x74, 0xa3, 0x5c, 0x08, 0x73, 0x50, 0x1e, 0x1b, 0x6c, 0x0a, 0xe7, 0xb4,
   0x9c, 0x1f, 0xac, 0x8d, 0x21, 0xff, 0x8e, 0xfd, 0xb9, 0xa2, 0xa9, 0xe8, 0xf0, 0xdc, 0x18, 0xfe,
   0xb1, 0x31, 0xf9, 0x99, 0x40, 0xee, 0x6f, 0x79, 0xe3, 0xc4, 0xec, 0xd3, 0xbf, 0xce, 0x5d, 0x98,
   0xb1, 0x5e, 0x6b, 0xc6, 0x2e, 0x20, 0xc5, 0xf8, 0x1c, 0xfd, 0xf0, 0x1c, 0x5b, 0xe5, 0x5f, 0x82,
   0xec, 0x65, 0xe3, 0xf4, 0x35, 0x4a, 0xff, 0x2f, 0xa1, 0x8f, 0xac, 0x3c, 0x84, 0xad, 0x84, 0xd3,
   0x3f, 0x24, 0x7c, 0xf2, 0x97, 0x84, 0xb3, 0xa3, 0x84, 0x77, 0x93, 0x9f, 0xef, 0x27, 0xff, 0x1d,
   0xff, 0xb6, 0x2e, 0x92, 0xc7, 0x75, 0x91, 0xfc, 0x58, 0x17, 0xc9, 0x97, 0x4d, 0xd1, 0x79, 0xdc,
   0x14, 0x9d, 0xef, 0x9b, 0xa2, 0x73, 0x9f, 0x86, 0xcf, 0xf1, 0xed, 0xaf, 0x00, 0x00, 0x00, 0xff,
   0xff, 0x50, 0xa8, 0x3c, 0x9a, 0xab, 0x03, 0x00, 0x00,
   // 541 bytes of a gzipped FileDescriptorProto
   0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xcf, 0x8e, 0xd3, 0x3e,
   0x10, 0xc7, 0x9b, 0xfe, 0x4d, 0xa7, 0xdd, 0x3f, 0xf5, 0xef, 0x47, 0x65, 0x90, 0x88, 0x4a, 0xc5,
   0xa1, 0x08, 0xc4, 0x85, 0x27, 0x58, 0x76, 0x41, 0x70, 0xcd, 0x2e, 0xe2, 0x58, 0x79, 0x1b, 0x6f,
   0x33, 0x22, 0x75, 0x22, 0xdb, 0x01, 0x95, 0xa7, 0xe0, 0x95, 0x38, 0x20, 0x71, 0xdc, 0x23, 0x47,
   0xd4, 0xbe, 0x08, 0xf2, 0xb8, 0xdd, 0xa6, 0x54, 0x02, 0x4e, 0x9d, 0xf9, 0x7c, 0xc7, 0xee, 0x64,
   0xe6, 0x9b, 0x00, 0xbb, 0xc1, 0x4c, 0x0a, 0x25, 0xb2, 0xa5, 0x41, 0xf3, 0xbc, 0xd0, 0xb9, 0xcd,
   0x59, 0x48, 0x3f, 0x0b, 0x33, 0x1f, 0x7f, 0x6d, 0x40, 0xff, 0x35, 0x66, 0xf2, 0x6c, 0x53, 0xc0,
   0x8e, 0xa1, 0x8e, 0x09, 0x0f, 0x46, 0xc1, 0xa4, 0x1b, 0xd7, 0x31, 0x61, 0x0c, 0x9a, 0x4a, 0x2c,
   0x24, 0xaf, 0x13, 0xa1, 0xd8, 0xb1, 0x42, 0xd8, 0x94, 0x37, 0x3c, 0x73, 0xb1, 0x63, 0x76, 0x59,
   0x48, 0xde, 0x1c, 0x05, 0x93, 0x56, 0x4c, 0xb1, 0x63, 0x26, 0xd7, 0x96, 0xb7, 0x3c, 0x73, 0x31,
   0xfb, 0x1f, 0x5a, 0x22, 0x43, 0x61, 0x78, 0x9b, 0x0e, 0xfb, 0x84, 0x3d, 0x82, 0xbe, 0x51, 0xa2,
   0x30, 0x69, 0x6e, 0xa7, 0xa5, 0xce, 0x78, 0x87, 0xc4, 0xde, 0x96, 0xbd, 0xd3, 0x19, 0x7b, 0x00,
   0x61, 0x52, 0x6a, 0x61, 0x31, 0x57, 0x3c, 0x24, 0xf9, 0x2e, 0x67, 0x0f, 0x01, 0xd0, 0x4c, 0x75,
   0xa9, 0x14, 0xaa, 0x39, 0xef, 0x8e, 0x82, 0x49, 0x18, 0x77, 0xd1, 0xc4, 0x1e, 0xb8, 0xa3, 0x85,
   0xce, 0xe7, 0x5a, 0x1a, 0xc3, 0x81, 0x7a, 0xb9, 0xcb, 0x9d, 0xa6, 0xcb, 0x4c, 0x5e, 0xb9, 0xde,
   0x7b, 0x5e, 0xdb, 0xe6, 0x6c, 0x08, 0x6d, 0x63, 0x85, 0x2d, 0x0d, 0xef, 0x93, 0xb2, 0xc9, 0x58,
   0x04, 0x30, 0xd3, 0x52, 0x58, 0x79, 0x85, 0x0b, 0xc9, 0x8f, 0xa8, 0x99, 0x0a, 0x71, 0x7a, 0x59,
   0x24, 0x5b, 0xfd, 0xd8, 0xeb, 0x3b, 0xe2, 0x74, 0x4c, 0xa4, 0xb2, 0x78, 0x83, 0x52, 0xf3, 0x13,
   0xaf, 0xef, 0x08, 0xbb, 0x0f, 0xa1, 0xb1, 0x62, 0xf6, 0x61, 0x8a, 0x09, 0x3f, 0x25, 0xb5, 0x43,
   0xf9, 0x5b, 0x5a, 0x87, 0xc1, 0xcf, 0x92, 0x0f, 0x46, 0xc1, 0xa4, 0x11, 0x53, 0x3c, 0x5e, 0x07,
   0xf0, 0x5f, 0x75, 0x87, 0x97, 0xd2, 0x5a, 0xf7, 0xd8, 0x23, 0xe8, 0x7d, 0xc4, 0x44, 0xe6, 0xaf,
   0x94, 0xb8, 0xce, 0x24, 0xed, 0x34, 0x8c, 0xab, 0x88, 0x3d, 0x86, 0x23, 0xe7, 0x8e, 0x0b, 0xd4,
   0x72, 0x66, 0x73, 0xbd, 0xdc, 0x6c, 0x79, 0x1f, 0xb2, 0x67, 0x30, 0xa0, 0x43, 0xe7, 0xa9, 0x50,
   0x4a, 0x66, 0xe7, 0x79, 0xa9, 0x2c, 0xed, 0xbe, 0x15, 0x1f, 0x0a, 0x6c, 0x02, 0x27, 0xb8, 0x98,
   0xef, 0xd5, 0x7a, 0x4f, 0xfc, 0x8e, 0xdd, 0xbd, 0xa2, 0x4c, 0x70, 0xff, 0x5e, 0xef, 0x95, 0x43,
   0x61, 0xfc, 0xad, 0x0e, 0x5d, 0xf7, 0x94, 0x97, 0x6e, 0x12, 0xff, 0x6a, 0x53, 0xb2, 0x64, 0xa3,
   0x62, 0xc9, 0x21, 0xb4, 0xa5, 0x1f, 0x47, 0x93, 0xc6, 0xb1, 0xc9, 0xdc, 0x24, 0xd0, 0x9c, 0x95,
   0x36, 0xbf, 0x90, 0x99, 0xfb, 0x17, 0xea, 0x23, 0x8c, 0xf7, 0x61, 0xc5, 0x10, 0xed, 0x3f, 0x18,
   0xa2, 0xf3, 0x17, 0x43, 0x84, 0x07, 0x86, 0xd8, 0xbe, 0x28, 0xdd, 0xca, 0x8b, 0xf2, 0x04, 0x4e,
   0xb5, 0x34, 0x79, 0x56, 0x3a, 0x87, 0x4f, 0x3f, 0x61, 0x62, 0x53, 0x7e, 0xcf, 0x0f, 0x72, 0xc7,
   0xdf, 0x3b, 0xcc, 0x9e, 0xc2, 0xa0, 0x52, 0x9a, 0x4a, 0x9c, 0xa7, 0x96, 0x0f, 0xa9, 0xb6, 0x72,
   0xc7, 0x1b, 0xe2, 0x2f, 0xf9, 0xf7, 0x55, 0x14, 0xdc, 0xae, 0xa2, 0xe0, 0xe7, 0x2a, 0x0a, 0xbe,
   0xac, 0xa3, 0xda, 0xed, 0x3a, 0xaa, 0xfd, 0x58, 0x47, 0xb5, 0xeb, 0x36, 0x7d, 0x15, 0x5e, 0xfc,
   0x0a, 0x00, 0x00, 0xff, 0xff, 0x5a, 0x25, 0x2d, 0x0a, 0x32, 0x04, 0x00, 0x00,
}
func (m *FileAnalysis) Marshal() (dAtA []byte, err error) {
@@ -507,6 +543,21 @@
      i++
      i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.Identifier)))
      i += copy(dAtA[i:], m.Identifier)
   }
   if len(m.StackId) > 0 {
      dAtA[i] = 0x82
      i++
      dAtA[i] = 0x1
      i++
      i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.StackId)))
      i += copy(dAtA[i:], m.StackId)
   }
   if m.Size_ != 0 {
      dAtA[i] = 0x88
      i++
      dAtA[i] = 0x1
      i++
      i = encodeVarintFileanalysis(dAtA, i, uint64(m.Size_))
   }
   return i, nil
}
@@ -634,6 +685,20 @@
      i++
      i = encodeVarintFileanalysis(dAtA, i, uint64(m.Sort))
   }
   if m.ResolutionWidth != 0 {
      dAtA[i] = 0xa8
      i++
      dAtA[i] = 0x1
      i++
      i = encodeVarintFileanalysis(dAtA, i, uint64(m.ResolutionWidth))
   }
   if m.ResolutionHeight != 0 {
      dAtA[i] = 0xb0
      i++
      dAtA[i] = 0x1
      i++
      i = encodeVarintFileanalysis(dAtA, i, uint64(m.ResolutionHeight))
   }
   return i, nil
}
@@ -706,6 +771,13 @@
   if l > 0 {
      n += 1 + l + sovFileanalysis(uint64(l))
   }
   l = len(m.StackId)
   if l > 0 {
      n += 2 + l + sovFileanalysis(uint64(l))
   }
   if m.Size_ != 0 {
      n += 2 + sovFileanalysis(uint64(m.Size_))
   }
   return n
}
@@ -770,6 +842,12 @@
   }
   if m.Sort != 0 {
      n += 1 + sovFileanalysis(uint64(m.Sort))
   }
   if m.ResolutionWidth != 0 {
      n += 2 + sovFileanalysis(uint64(m.ResolutionWidth))
   }
   if m.ResolutionHeight != 0 {
      n += 2 + sovFileanalysis(uint64(m.ResolutionHeight))
   }
   return n
}
@@ -1212,6 +1290,57 @@
         }
         m.Identifier = string(dAtA[iNdEx:postIndex])
         iNdEx = postIndex
      case 16:
         if wireType != 2 {
            return fmt.Errorf("proto: wrong wireType = %d for field StackId", 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.StackId = string(dAtA[iNdEx:postIndex])
         iNdEx = postIndex
      case 17:
         if wireType != 0 {
            return fmt.Errorf("proto: wrong wireType = %d for field Size_", wireType)
         }
         m.Size_ = 0
         for shift := uint(0); ; shift += 7 {
            if shift >= 64 {
               return ErrIntOverflowFileanalysis
            }
            if iNdEx >= l {
               return io.ErrUnexpectedEOF
            }
            b := dAtA[iNdEx]
            iNdEx++
            m.Size_ |= int64(b&0x7F) << shift
            if b < 0x80 {
               break
            }
         }
      default:
         iNdEx = preIndex
         skippy, err := skipFileanalysis(dAtA[iNdEx:])
@@ -1652,6 +1781,44 @@
               break
            }
         }
      case 21:
         if wireType != 0 {
            return fmt.Errorf("proto: wrong wireType = %d for field ResolutionWidth", wireType)
         }
         m.ResolutionWidth = 0
         for shift := uint(0); ; shift += 7 {
            if shift >= 64 {
               return ErrIntOverflowFileanalysis
            }
            if iNdEx >= l {
               return io.ErrUnexpectedEOF
            }
            b := dAtA[iNdEx]
            iNdEx++
            m.ResolutionWidth |= int32(b&0x7F) << shift
            if b < 0x80 {
               break
            }
         }
      case 22:
         if wireType != 0 {
            return fmt.Errorf("proto: wrong wireType = %d for field ResolutionHeight", wireType)
         }
         m.ResolutionHeight = 0
         for shift := uint(0); ; shift += 7 {
            if shift >= 64 {
               return ErrIntOverflowFileanalysis
            }
            if iNdEx >= l {
               return io.ErrUnexpectedEOF
            }
            b := dAtA[iNdEx]
            iNdEx++
            m.ResolutionHeight |= int32(b&0x7F) << shift
            if b < 0x80 {
               break
            }
         }
      default:
         iNdEx = preIndex
         skippy, err := skipFileanalysis(dAtA[iNdEx:])