liuxiaolong
2020-02-24 7674970610969d6f03aea933699821349601a463
add FileStack
2个文件已修改
574 ■■■■■ 已修改文件
fileanalysis.pb.go 562 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fileanalysis.proto 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fileanalysis.pb.go
@@ -254,41 +254,154 @@
    return 0
}
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"`
}
func (m *FileStack) Reset()         { *m = FileStack{} }
func (m *FileStack) String() string { return proto.CompactTextString(m) }
func (*FileStack) ProtoMessage()    {}
func (*FileStack) Descriptor() ([]byte, []int) {
    return fileDescriptor_4bee17140da7bca9, []int{2}
}
func (m *FileStack) XXX_Unmarshal(b []byte) error {
    return m.Unmarshal(b)
}
func (m *FileStack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    if deterministic {
        return xxx_messageInfo_FileStack.Marshal(b, m, deterministic)
    } else {
        b = b[:cap(b)]
        n, err := m.MarshalTo(b)
        if err != nil {
            return nil, err
        }
        return b[:n], nil
    }
}
func (m *FileStack) XXX_Merge(src proto.Message) {
    xxx_messageInfo_FileStack.Merge(m, src)
}
func (m *FileStack) XXX_Size() int {
    return m.Size()
}
func (m *FileStack) XXX_DiscardUnknown() {
    xxx_messageInfo_FileStack.DiscardUnknown(m)
}
var xxx_messageInfo_FileStack proto.InternalMessageInfo
func (m *FileStack) GetId() string {
    if m != nil {
        return m.Id
    }
    return ""
}
func (m *FileStack) GetName() string {
    if m != nil {
        return m.Name
    }
    return ""
}
func (m *FileStack) GetType() int32 {
    if m != nil {
        return m.Type
    }
    return 0
}
func (m *FileStack) GetEnable() bool {
    if m != nil {
        return m.Enable
    }
    return false
}
func (m *FileStack) GetIsAutoDelFile() bool {
    if m != nil {
        return m.IsAutoDelFile
    }
    return false
}
func (m *FileStack) GetStatus() int32 {
    if m != nil {
        return m.Status
    }
    return 0
}
func (m *FileStack) GetCreateTime() string {
    if m != nil {
        return m.CreateTime
    }
    return ""
}
func (m *FileStack) GetUpdateTime() string {
    if m != nil {
        return m.UpdateTime
    }
    return ""
}
func (m *FileStack) GetSort() int32 {
    if m != nil {
        return m.Sort
    }
    return 0
}
func init() {
    proto.RegisterType((*FileAnalysis)(nil), "protomsg.FileAnalysis")
    proto.RegisterType((*FileAnalysisSetting)(nil), "protomsg.FileAnalysisSetting")
    proto.RegisterType((*FileStack)(nil), "protomsg.FileStack")
}
func init() { proto.RegisterFile("fileanalysis.proto", fileDescriptor_4bee17140da7bca9) }
var fileDescriptor_4bee17140da7bca9 = []byte{
    // 404 bytes of a gzipped FileDescriptorProto
    0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x92, 0xcf, 0x6e, 0x13, 0x31,
    0x10, 0x87, 0xe3, 0xb4, 0x09, 0x9b, 0x49, 0xda, 0x0a, 0x83, 0x90, 0x85, 0xc4, 0x2a, 0x54, 0x1c,
    0xf6, 0x80, 0xb8, 0xf0, 0x04, 0x50, 0xe0, 0x01, 0x96, 0x72, 0xae, 0xdc, 0xee, 0x74, 0x33, 0x92,
    0xd7, 0x5e, 0xf9, 0x0f, 0x52, 0xde, 0x02, 0xf1, 0x54, 0x1c, 0x7b, 0xe4, 0x88, 0xb2, 0x2f, 0x82,
    0x6c, 0x27, 0x6d, 0xd2, 0x9e, 0x76, 0xe6, 0xfb, 0x3c, 0xd6, 0xac, 0x7e, 0x06, 0x7e, 0x4b, 0x0a,
    0xa5, 0x96, 0x6a, 0xed, 0xc8, 0x7d, 0xe8, 0xad, 0xf1, 0x86, 0x17, 0xe9, 0xd3, 0xb9, 0xf6, 0xfc,
    0xf7, 0x11, 0x2c, 0xbe, 0x91, 0xc2, 0x4f, 0xdb, 0x03, 0xfc, 0x14, 0xc6, 0xd4, 0x08, 0xb6, 0x64,
    0xd5, 0xac, 0x1e, 0x53, 0xc3, 0x39, 0x1c, 0x6b, 0xd9, 0xa1, 0x18, 0x27, 0x92, 0xea, 0xc8, 0x7a,
    0xe9, 0x57, 0xe2, 0x28, 0xb3, 0x58, 0x47, 0xe6, 0xd7, 0x3d, 0x8a, 0xe3, 0x25, 0xab, 0x26, 0x75,
    0xaa, 0x23, 0x73, 0xc6, 0x7a, 0x31, 0xc9, 0x2c, 0xd6, 0xfc, 0x25, 0x4c, 0xa4, 0x22, 0xe9, 0xc4,
    0x34, 0x0d, 0xe7, 0x86, 0xbf, 0x85, 0x85, 0xd3, 0xb2, 0x77, 0x2b, 0xe3, 0xaf, 0x82, 0x55, 0xe2,
    0x59, 0x92, 0xf3, 0x1d, 0xfb, 0x61, 0x15, 0x7f, 0x0d, 0x45, 0x13, 0xac, 0xf4, 0x64, 0xb4, 0x28,
    0x92, 0xbe, 0xef, 0xf9, 0x1b, 0x00, 0x72, 0x57, 0x36, 0x68, 0x4d, 0xba, 0x15, 0xb3, 0x25, 0xab,
    0x8a, 0x7a, 0x46, 0xae, 0xce, 0x20, 0x8e, 0xf6, 0xd6, 0xb4, 0x16, 0x9d, 0x13, 0x90, 0x76, 0xb9,
    0xef, 0xa3, 0xb3, 0x41, 0xe1, 0x65, 0xdc, 0x7d, 0x9e, 0xdd, 0xae, 0xe7, 0xaf, 0x60, 0xea, 0xbc,
    0xf4, 0xc1, 0x89, 0x45, 0x32, 0xdb, 0x8e, 0x97, 0x00, 0x37, 0x16, 0xa5, 0xc7, 0x4b, 0xea, 0x50,
    0x9c, 0xa4, 0x65, 0xf6, 0x48, 0xf4, 0xa1, 0x6f, 0x76, 0xfe, 0x34, 0xfb, 0x07, 0x12, 0x3d, 0x35,
    0xa8, 0x3d, 0xdd, 0x12, 0x5a, 0x71, 0x96, 0xfd, 0x03, 0x39, 0x1f, 0x18, 0xbc, 0xd8, 0x0f, 0xe5,
    0x3b, 0x7a, 0x1f, 0xff, 0x63, 0x09, 0xf3, 0x9f, 0xd4, 0xa0, 0xf9, 0xaa, 0xe5, 0xb5, 0xc2, 0x14,
    0x52, 0x51, 0xef, 0x23, 0xfe, 0x0e, 0x4e, 0x62, 0xdc, 0x5f, 0xc8, 0xe2, 0x8d, 0x37, 0x76, 0xbd,
    0x8d, 0xed, 0x10, 0xf2, 0xf7, 0xf0, 0x3c, 0x0d, 0x5d, 0xac, 0xa4, 0xd6, 0xa8, 0x2e, 0x4c, 0xd0,
    0x3e, 0x85, 0x39, 0xa9, 0x9f, 0x0a, 0x5e, 0xc1, 0x19, 0x75, 0xed, 0xc1, 0xd9, 0x1c, 0xf2, 0x63,
    0x1c, 0xef, 0x95, 0xa1, 0xa1, 0xc3, 0x7b, 0x73, 0xf8, 0x4f, 0xc5, 0x67, 0xf1, 0x67, 0x53, 0xb2,
    0xbb, 0x4d, 0xc9, 0xfe, 0x6d, 0x4a, 0xf6, 0x6b, 0x28, 0x47, 0x77, 0x43, 0x39, 0xfa, 0x3b, 0x94,
    0xa3, 0xeb, 0x69, 0x7a, 0x9e, 0x1f, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0xc1, 0xcf, 0x3a, 0x33,
    0xbb, 0x02, 0x00, 0x00,
    // 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,
}
func (m *FileAnalysis) Marshal() (dAtA []byte, err error) {
@@ -447,6 +560,83 @@
    return i, nil
}
func (m *FileStack) Marshal() (dAtA []byte, err error) {
    size := m.Size()
    dAtA = make([]byte, size)
    n, err := m.MarshalTo(dAtA)
    if err != nil {
        return nil, err
    }
    return dAtA[:n], nil
}
func (m *FileStack) MarshalTo(dAtA []byte) (int, error) {
    var i int
    _ = i
    var l int
    _ = l
    if len(m.Id) > 0 {
        dAtA[i] = 0xa
        i++
        i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.Id)))
        i += copy(dAtA[i:], m.Id)
    }
    if len(m.Name) > 0 {
        dAtA[i] = 0x12
        i++
        i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.Name)))
        i += copy(dAtA[i:], m.Name)
    }
    if m.Type != 0 {
        dAtA[i] = 0x18
        i++
        i = encodeVarintFileanalysis(dAtA, i, uint64(m.Type))
    }
    if m.Enable {
        dAtA[i] = 0x20
        i++
        if m.Enable {
            dAtA[i] = 1
        } else {
            dAtA[i] = 0
        }
        i++
    }
    if m.IsAutoDelFile {
        dAtA[i] = 0x28
        i++
        if m.IsAutoDelFile {
            dAtA[i] = 1
        } else {
            dAtA[i] = 0
        }
        i++
    }
    if m.Status != 0 {
        dAtA[i] = 0x30
        i++
        i = encodeVarintFileanalysis(dAtA, i, uint64(m.Status))
    }
    if len(m.CreateTime) > 0 {
        dAtA[i] = 0x3a
        i++
        i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.CreateTime)))
        i += copy(dAtA[i:], m.CreateTime)
    }
    if len(m.UpdateTime) > 0 {
        dAtA[i] = 0x42
        i++
        i = encodeVarintFileanalysis(dAtA, i, uint64(len(m.UpdateTime)))
        i += copy(dAtA[i:], m.UpdateTime)
    }
    if m.Sort != 0 {
        dAtA[i] = 0x48
        i++
        i = encodeVarintFileanalysis(dAtA, i, uint64(m.Sort))
    }
    return i, nil
}
func encodeVarintFileanalysis(dAtA []byte, offset int, v uint64) int {
    for v >= 1<<7 {
        dAtA[offset] = uint8(v&0x7f | 0x80)
@@ -540,6 +730,46 @@
    }
    if m.AudioChannelCount != 0 {
        n += 1 + sovFileanalysis(uint64(m.AudioChannelCount))
    }
    return n
}
func (m *FileStack) Size() (n int) {
    if m == nil {
        return 0
    }
    var l int
    _ = l
    l = len(m.Id)
    if l > 0 {
        n += 1 + l + sovFileanalysis(uint64(l))
    }
    l = len(m.Name)
    if l > 0 {
        n += 1 + l + sovFileanalysis(uint64(l))
    }
    if m.Type != 0 {
        n += 1 + sovFileanalysis(uint64(m.Type))
    }
    if m.Enable {
        n += 2
    }
    if m.IsAutoDelFile {
        n += 2
    }
    if m.Status != 0 {
        n += 1 + sovFileanalysis(uint64(m.Status))
    }
    l = len(m.CreateTime)
    if l > 0 {
        n += 1 + l + sovFileanalysis(uint64(l))
    }
    l = len(m.UpdateTime)
    if l > 0 {
        n += 1 + l + sovFileanalysis(uint64(l))
    }
    if m.Sort != 0 {
        n += 1 + sovFileanalysis(uint64(m.Sort))
    }
    return n
}
@@ -1168,6 +1398,284 @@
    }
    return nil
}
func (m *FileStack) Unmarshal(dAtA []byte) error {
    l := len(dAtA)
    iNdEx := 0
    for iNdEx < l {
        preIndex := iNdEx
        var wire uint64
        for shift := uint(0); ; shift += 7 {
            if shift >= 64 {
                return ErrIntOverflowFileanalysis
            }
            if iNdEx >= l {
                return io.ErrUnexpectedEOF
            }
            b := dAtA[iNdEx]
            iNdEx++
            wire |= uint64(b&0x7F) << shift
            if b < 0x80 {
                break
            }
        }
        fieldNum := int32(wire >> 3)
        wireType := int(wire & 0x7)
        if wireType == 4 {
            return fmt.Errorf("proto: FileStack: wiretype end group for non-group")
        }
        if fieldNum <= 0 {
            return fmt.Errorf("proto: FileStack: illegal tag %d (wire type %d)", fieldNum, wire)
        }
        switch fieldNum {
        case 1:
            if wireType != 2 {
                return fmt.Errorf("proto: wrong wireType = %d for field Id", 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.Id = string(dAtA[iNdEx:postIndex])
            iNdEx = postIndex
        case 2:
            if wireType != 2 {
                return fmt.Errorf("proto: wrong wireType = %d for field Name", 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.Name = string(dAtA[iNdEx:postIndex])
            iNdEx = postIndex
        case 3:
            if wireType != 0 {
                return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
            }
            m.Type = 0
            for shift := uint(0); ; shift += 7 {
                if shift >= 64 {
                    return ErrIntOverflowFileanalysis
                }
                if iNdEx >= l {
                    return io.ErrUnexpectedEOF
                }
                b := dAtA[iNdEx]
                iNdEx++
                m.Type |= int32(b&0x7F) << shift
                if b < 0x80 {
                    break
                }
            }
        case 4:
            if wireType != 0 {
                return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType)
            }
            var v int
            for shift := uint(0); ; shift += 7 {
                if shift >= 64 {
                    return ErrIntOverflowFileanalysis
                }
                if iNdEx >= l {
                    return io.ErrUnexpectedEOF
                }
                b := dAtA[iNdEx]
                iNdEx++
                v |= int(b&0x7F) << shift
                if b < 0x80 {
                    break
                }
            }
            m.Enable = bool(v != 0)
        case 5:
            if wireType != 0 {
                return fmt.Errorf("proto: wrong wireType = %d for field IsAutoDelFile", wireType)
            }
            var v int
            for shift := uint(0); ; shift += 7 {
                if shift >= 64 {
                    return ErrIntOverflowFileanalysis
                }
                if iNdEx >= l {
                    return io.ErrUnexpectedEOF
                }
                b := dAtA[iNdEx]
                iNdEx++
                v |= int(b&0x7F) << shift
                if b < 0x80 {
                    break
                }
            }
            m.IsAutoDelFile = bool(v != 0)
        case 6:
            if wireType != 0 {
                return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
            }
            m.Status = 0
            for shift := uint(0); ; shift += 7 {
                if shift >= 64 {
                    return ErrIntOverflowFileanalysis
                }
                if iNdEx >= l {
                    return io.ErrUnexpectedEOF
                }
                b := dAtA[iNdEx]
                iNdEx++
                m.Status |= int32(b&0x7F) << shift
                if b < 0x80 {
                    break
                }
            }
        case 7:
            if wireType != 2 {
                return fmt.Errorf("proto: wrong wireType = %d for field CreateTime", 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.CreateTime = string(dAtA[iNdEx:postIndex])
            iNdEx = postIndex
        case 8:
            if wireType != 2 {
                return fmt.Errorf("proto: wrong wireType = %d for field UpdateTime", 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.UpdateTime = string(dAtA[iNdEx:postIndex])
            iNdEx = postIndex
        case 9:
            if wireType != 0 {
                return fmt.Errorf("proto: wrong wireType = %d for field Sort", wireType)
            }
            m.Sort = 0
            for shift := uint(0); ; shift += 7 {
                if shift >= 64 {
                    return ErrIntOverflowFileanalysis
                }
                if iNdEx >= l {
                    return io.ErrUnexpectedEOF
                }
                b := dAtA[iNdEx]
                iNdEx++
                m.Sort |= int32(b&0x7F) << shift
                if b < 0x80 {
                    break
                }
            }
        default:
            iNdEx = preIndex
            skippy, err := skipFileanalysis(dAtA[iNdEx:])
            if err != nil {
                return err
            }
            if skippy < 0 {
                return ErrInvalidLengthFileanalysis
            }
            if (iNdEx + skippy) < 0 {
                return ErrInvalidLengthFileanalysis
            }
            if (iNdEx + skippy) > l {
                return io.ErrUnexpectedEOF
            }
            iNdEx += skippy
        }
    }
    if iNdEx > l {
        return io.ErrUnexpectedEOF
    }
    return nil
}
func skipFileanalysis(dAtA []byte) (n int, err error) {
    l := len(dAtA)
    iNdEx := 0
fileanalysis.proto
@@ -26,4 +26,16 @@
    int32 videoChannelCount      =3;
    int32 imgChannelCount        =4;
    int32 audioChannelCount      =5;
}
message FileStack {
    string id       = 1;
    string name     = 2;
    int32 type      = 3;
    bool enable     = 4;
    bool isAutoDelFile = 5;
    int32 status    = 6;
    string createTime = 7;
    string updateTime = 8;
    int32 sort        = 9;
}