liuxiaolong
2019-07-05 65381a182a3cc478163846d592f3832c7e4739cc
add picDesc
2个文件已修改
98 ■■■■ 已修改文件
es.pb.go 97 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
es.proto 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
es.pb.go
@@ -36,6 +36,7 @@
    IdCard       string  `protobuf:"bytes,10,opt,name=idCard,proto3" json:"idCard,omitempty"`
    MonitorLevel string  `protobuf:"bytes,11,opt,name=monitorLevel,proto3" json:"monitorLevel,omitempty"`
    Content      string  `protobuf:"bytes,12,opt,name=content,proto3" json:"content,omitempty"`
    PicDesc      string  `protobuf:"bytes,13,opt,name=picDesc,proto3" json:"picDesc,omitempty"`
}
func (m *Baseinfo) Reset()         { *m = Baseinfo{} }
@@ -151,6 +152,13 @@
func (m *Baseinfo) GetContent() string {
    if m != nil {
        return m.Content
    }
    return ""
}
func (m *Baseinfo) GetPicDesc() string {
    if m != nil {
        return m.PicDesc
    }
    return ""
}
@@ -276,29 +284,30 @@
func init() { proto.RegisterFile("es.proto", fileDescriptor_718db5c20d0f3738) }
var fileDescriptor_718db5c20d0f3738 = []byte{
    // 344 bytes of a gzipped FileDescriptorProto
    0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xcf, 0x6a, 0xf2, 0x50,
    0x10, 0xc5, 0x4d, 0xa2, 0x31, 0x8e, 0xf2, 0xf1, 0x71, 0x17, 0x65, 0x28, 0x25, 0x84, 0xac, 0xb2,
    0x72, 0x61, 0xdf, 0xc0, 0xd2, 0x82, 0x50, 0xa4, 0x58, 0xfa, 0x00, 0x31, 0x19, 0xdb, 0x0b, 0x26,
    0x57, 0xee, 0x8d, 0xc5, 0xc7, 0xe8, 0x63, 0x75, 0xe9, 0xb2, 0xcb, 0xa2, 0xdb, 0x3e, 0x44, 0xc9,
    0x24, 0xa9, 0xff, 0x56, 0x77, 0xce, 0x6f, 0x2e, 0x33, 0xc3, 0x39, 0xe0, 0x91, 0x19, 0xae, 0xb4,
    0x2a, 0x94, 0xf0, 0xf8, 0xc9, 0xcc, 0x6b, 0xf8, 0x63, 0x83, 0x37, 0x8e, 0x0d, 0xc9, 0x7c, 0xa1,
    0x44, 0x00, 0xfd, 0x45, 0x9c, 0xd0, 0x03, 0xc5, 0xc5, 0x5a, 0x13, 0x5a, 0x81, 0x15, 0xf5, 0x66,
    0xc7, 0x48, 0x5c, 0x83, 0xb7, 0x22, 0x6d, 0x54, 0x3e, 0x49, 0xd1, 0xe6, 0xf6, 0x9f, 0x16, 0x08,
    0xdd, 0x22, 0x9e, 0x2f, 0x69, 0x92, 0xa2, 0xc3, 0xad, 0x46, 0x8a, 0x1b, 0xe8, 0x71, 0x39, 0x8d,
    0x33, 0xc2, 0x36, 0xf7, 0x0e, 0x40, 0x84, 0x30, 0x48, 0x54, 0xb6, 0x8a, 0x35, 0x3d, 0x27, 0x4a,
    0x13, 0x76, 0x02, 0x2b, 0xb2, 0x67, 0x27, 0x4c, 0xf8, 0x00, 0xd5, 0x1e, 0x1e, 0xe1, 0xf2, 0x88,
    0x23, 0x52, 0xce, 0xa8, 0xd4, 0x93, 0x4c, 0x5e, 0xf4, 0x12, 0xbb, 0xfc, 0xe3, 0x84, 0xf1, 0xed,
    0x6f, 0x2a, 0xa7, 0xe9, 0x3a, 0x43, 0xaf, 0xbe, 0xbd, 0xd6, 0xe2, 0x3f, 0x38, 0x86, 0x36, 0xd8,
    0x63, 0x5c, 0x96, 0xe2, 0x0a, 0x5c, 0x99, 0xde, 0xc5, 0x3a, 0x45, 0x60, 0x58, 0xab, 0x72, 0x53,
    0xa6, 0x72, 0x59, 0x28, 0xfd, 0x48, 0xef, 0xb4, 0xc4, 0x7e, 0xb5, 0xe9, 0x98, 0x95, 0x4e, 0x24,
    0x2a, 0x2f, 0x28, 0x2f, 0x70, 0x50, 0x39, 0x51, 0xcb, 0x70, 0x04, 0xee, 0xb8, 0xb4, 0xda, 0x88,
    0x08, 0x3a, 0x5c, 0xa0, 0x15, 0x38, 0x51, 0x7f, 0x24, 0x86, 0x4d, 0x24, 0xc3, 0x26, 0x8e, 0x59,
    0xf5, 0x21, 0xdc, 0x80, 0x7b, 0x6f, 0x38, 0x9f, 0x7f, 0x60, 0xcb, 0xb4, 0x8e, 0xc5, 0x96, 0x07,
    0xc7, 0x65, 0x13, 0x46, 0x23, 0xcf, 0x93, 0x74, 0x2e, 0x93, 0x3c, 0x77, 0xbd, 0x7d, 0xe9, 0xfa,
    0x18, 0x3f, 0x77, 0xbe, 0xb5, 0xdd, 0xf9, 0xd6, 0xf7, 0xce, 0xb7, 0x3e, 0xf6, 0x7e, 0x6b, 0xbb,
    0xf7, 0x5b, 0x5f, 0x7b, 0xbf, 0x35, 0x77, 0xf9, 0xda, 0xdb, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff,
    0xa3, 0x0c, 0xe4, 0x85, 0x53, 0x02, 0x00, 0x00,
    // 355 bytes of a gzipped FileDescriptorProto
    0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xcf, 0x6a, 0xfa, 0x40,
    0x10, 0xc7, 0x4d, 0xa2, 0x31, 0x8e, 0xfe, 0x7e, 0x94, 0x3d, 0x94, 0xa1, 0x94, 0x10, 0x72, 0xca,
    0xc9, 0x83, 0x7d, 0x03, 0xfb, 0x07, 0x84, 0x22, 0xc5, 0xd2, 0x07, 0x88, 0x9b, 0xb1, 0x5d, 0x30,
    0xd9, 0xb0, 0x1b, 0x8b, 0x4f, 0xd0, 0x73, 0x1f, 0xab, 0x47, 0x8f, 0x3d, 0x16, 0x7d, 0x91, 0x92,
    0x4d, 0x52, 0xff, 0x9d, 0x76, 0xbe, 0xdf, 0xef, 0x32, 0x33, 0xcc, 0x07, 0x3c, 0xd2, 0xc3, 0x5c,
    0xc9, 0x42, 0x32, 0xcf, 0x3c, 0xa9, 0x7e, 0x0d, 0x3f, 0x1c, 0xf0, 0xc6, 0xb1, 0x26, 0x91, 0x2d,
    0x24, 0x0b, 0xa0, 0xbf, 0x88, 0x39, 0x3d, 0x50, 0x5c, 0xac, 0x14, 0xa1, 0x15, 0x58, 0x51, 0x6f,
    0x76, 0x68, 0xb1, 0x2b, 0xf0, 0x72, 0x52, 0x5a, 0x66, 0x93, 0x04, 0x6d, 0x13, 0xff, 0x69, 0x86,
    0xd0, 0x2d, 0xe2, 0xf9, 0x92, 0x26, 0x09, 0x3a, 0x26, 0x6a, 0x24, 0xbb, 0x86, 0x9e, 0x29, 0xa7,
    0x71, 0x4a, 0xd8, 0x36, 0xd9, 0xde, 0x60, 0x21, 0x0c, 0xb8, 0x4c, 0xf3, 0x58, 0xd1, 0x33, 0x97,
    0x8a, 0xb0, 0x13, 0x58, 0x91, 0x3d, 0x3b, 0xf2, 0x98, 0x0f, 0x50, 0xcd, 0x31, 0x2d, 0x5c, 0xd3,
    0xe2, 0xc0, 0x29, 0x7b, 0x54, 0xea, 0x49, 0xf0, 0x17, 0xb5, 0xc4, 0xae, 0xf9, 0x71, 0xe4, 0x99,
    0xdd, 0xdf, 0x64, 0x46, 0xd3, 0x55, 0x8a, 0x5e, 0xbd, 0x7b, 0xad, 0xd9, 0x05, 0x38, 0x9a, 0xd6,
    0xd8, 0x33, 0x76, 0x59, 0xb2, 0x4b, 0x70, 0x45, 0x72, 0x1b, 0xab, 0x04, 0xc1, 0x98, 0xb5, 0x2a,
    0x27, 0xa5, 0x32, 0x13, 0x85, 0x54, 0x8f, 0xf4, 0x4e, 0x4b, 0xec, 0x57, 0x93, 0x0e, 0xbd, 0xf2,
    0x12, 0x5c, 0x66, 0x05, 0x65, 0x05, 0x0e, 0xaa, 0x4b, 0xd4, 0xb2, 0x4c, 0x72, 0xc1, 0xef, 0x48,
    0x73, 0xfc, 0x57, 0x25, 0xb5, 0x0c, 0x47, 0xe0, 0x8e, 0x4b, 0x08, 0x9a, 0x45, 0xd0, 0x31, 0x05,
    0x5a, 0x81, 0x13, 0xf5, 0x47, 0x6c, 0xd8, 0xc0, 0x1a, 0x36, 0xa0, 0x66, 0xd5, 0x87, 0x70, 0x0d,
    0xee, 0xbd, 0x36, 0xe4, 0xfe, 0x83, 0x2d, 0x92, 0x1a, 0x98, 0x2d, 0xf6, 0x2c, 0x44, 0x83, 0xa9,
    0x91, 0xa7, 0x8c, 0x9d, 0x73, 0xc6, 0xa7, 0x3c, 0xda, 0xe7, 0x3c, 0xc6, 0xf8, 0xb5, 0xf5, 0xad,
    0xcd, 0xd6, 0xb7, 0x7e, 0xb6, 0xbe, 0xf5, 0xb9, 0xf3, 0x5b, 0x9b, 0x9d, 0xdf, 0xfa, 0xde, 0xf9,
    0xad, 0xb9, 0x6b, 0xb6, 0xbd, 0xf9, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xe9, 0xe9, 0x42, 0x6d,
    0x02, 0x00, 0x00,
}
func (m *Baseinfo) Marshal() (dAtA []byte, err error) {
@@ -387,6 +396,12 @@
        i++
        i = encodeVarintEs(dAtA, i, uint64(len(m.Content)))
        i += copy(dAtA[i:], m.Content)
    }
    if len(m.PicDesc) > 0 {
        dAtA[i] = 0x6a
        i++
        i = encodeVarintEs(dAtA, i, uint64(len(m.PicDesc)))
        i += copy(dAtA[i:], m.PicDesc)
    }
    return i, nil
}
@@ -522,6 +537,10 @@
        n += 1 + l + sovEs(uint64(l))
    }
    l = len(m.Content)
    if l > 0 {
        n += 1 + l + sovEs(uint64(l))
    }
    l = len(m.PicDesc)
    if l > 0 {
        n += 1 + l + sovEs(uint64(l))
    }
@@ -965,6 +984,38 @@
            }
            m.Content = string(dAtA[iNdEx:postIndex])
            iNdEx = postIndex
        case 13:
            if wireType != 2 {
                return fmt.Errorf("proto: wrong wireType = %d for field PicDesc", wireType)
            }
            var stringLen uint64
            for shift := uint(0); ; shift += 7 {
                if shift >= 64 {
                    return ErrIntOverflowEs
                }
                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 ErrInvalidLengthEs
            }
            postIndex := iNdEx + intStringLen
            if postIndex < 0 {
                return ErrInvalidLengthEs
            }
            if postIndex > l {
                return io.ErrUnexpectedEOF
            }
            m.PicDesc = string(dAtA[iNdEx:postIndex])
            iNdEx = postIndex
        default:
            iNdEx = preIndex
            skippy, err := skipEs(dAtA[iNdEx:])
es.proto
@@ -15,6 +15,7 @@
    string idCard = 10;
   string monitorLevel  = 11;
    string content = 12;
    string picDesc = 13;
}
message Binfos{