From 81334ff160875799e6b9e5ab4564caa862f11f17 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期一, 19 八月 2019 18:56:53 +0800 Subject: [PATCH] DbPersonCompCache --- es.pb.go | 383 ++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 340 insertions(+), 43 deletions(-) diff --git a/es.pb.go b/es.pb.go index 32bf8f8..5e62ff0 100644 --- a/es.pb.go +++ b/es.pb.go @@ -9,6 +9,7 @@ proto "github.com/gogo/protobuf/proto" io "io" math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. @@ -90,6 +91,74 @@ return 0 } +type DbPersonCompCache struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + TableId string `protobuf:"bytes,2,opt,name=tableId,proto3" json:"tableId,omitempty"` + FaceFeature string `protobuf:"bytes,3,opt,name=faceFeature,proto3" json:"faceFeature,omitempty"` + Enable int32 `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"` +} + +func (m *DbPersonCompCache) Reset() { *m = DbPersonCompCache{} } +func (m *DbPersonCompCache) String() string { return proto.CompactTextString(m) } +func (*DbPersonCompCache) ProtoMessage() {} +func (*DbPersonCompCache) Descriptor() ([]byte, []int) { + return fileDescriptor_718db5c20d0f3738, []int{1} +} +func (m *DbPersonCompCache) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DbPersonCompCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DbPersonCompCache.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 *DbPersonCompCache) XXX_Merge(src proto.Message) { + xxx_messageInfo_DbPersonCompCache.Merge(m, src) +} +func (m *DbPersonCompCache) XXX_Size() int { + return m.Size() +} +func (m *DbPersonCompCache) XXX_DiscardUnknown() { + xxx_messageInfo_DbPersonCompCache.DiscardUnknown(m) +} + +var xxx_messageInfo_DbPersonCompCache proto.InternalMessageInfo + +func (m *DbPersonCompCache) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *DbPersonCompCache) GetTableId() string { + if m != nil { + return m.TableId + } + return "" +} + +func (m *DbPersonCompCache) GetFaceFeature() string { + if m != nil { + return m.FaceFeature + } + return "" +} + +func (m *DbPersonCompCache) GetEnable() int32 { + if m != nil { + return m.Enable + } + return 0 +} + type Dbperson struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TableId string `protobuf:"bytes,2,opt,name=tableId,proto3" json:"tableId,omitempty"` @@ -114,7 +183,7 @@ func (m *Dbperson) String() string { return proto.CompactTextString(m) } func (*Dbperson) ProtoMessage() {} func (*Dbperson) Descriptor() ([]byte, []int) { - return fileDescriptor_718db5c20d0f3738, []int{1} + return fileDescriptor_718db5c20d0f3738, []int{2} } func (m *Dbperson) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -284,7 +353,7 @@ func (m *Dbtable) String() string { return proto.CompactTextString(m) } func (*Dbtable) ProtoMessage() {} func (*Dbtable) Descriptor() ([]byte, []int) { - return fileDescriptor_718db5c20d0f3738, []int{2} + return fileDescriptor_718db5c20d0f3738, []int{3} } func (m *Dbtable) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -420,6 +489,7 @@ func init() { proto.RegisterType((*Esinfo)(nil), "protomsg.Esinfo") + proto.RegisterType((*DbPersonCompCache)(nil), "protomsg.DbPersonCompCache") proto.RegisterType((*Dbperson)(nil), "protomsg.Dbperson") proto.RegisterType((*Dbtable)(nil), "protomsg.Dbtable") } @@ -427,39 +497,40 @@ func init() { proto.RegisterFile("es.proto", fileDescriptor_718db5c20d0f3738) } var fileDescriptor_718db5c20d0f3738 = []byte{ - // 500 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x41, 0x8e, 0x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 0x31, 0xad, 0x94, 0xbd, - 0x65, 0x4a, 0xae, 0x4b, 0x5c, 0x9e, 0xa3, 0xda, 0x18, 0x96, 0x18, 0xe4, 0x02, 0x33, 0xc7, 0xb7, - 0x96, 0x4f, 0xa8, 0x04, 0xff, 0xa0, 0x12, 0x9e, 0xa4, 0x42, 0x4e, 0x50, 0x19, 0x3d, 0xa1, 0x72, - 0x45, 0x42, 0x69, 0x6e, 0x94, 0x86, 0x0d, 0xe8, 0x0a, 0x76, 0x63, 0xb4, 0x78, 0x8c, 0x3b, 0x3c, - 0xec, 0x8b, 0x34, 0xab, 0x5d, 0x9e, 0x20, 0x65, 0xfb, 0x22, 0x51, 0xd1, 0xd7, 0x64, 0xcc, 0x73, - 0x9e, 0xee, 0x56, 0x16, 0x8d, 0x5e, 0x88, 0x0a, 0x72, 0xd7, 0xbc, 0x66, 0xdf, 0xf7, 0x91, 0xf7, - 0xb8, 0x8f, 0xbc, 0x5f, 0xfb, 0xc8, 0xfb, 0x7a, 0x88, 0x7a, 0x8f, 0x87, 0xa8, 0xf7, 0xe3, 0x10, - 0xf5, 0xe2, 0x01, 0xfe, 0x5d, 0xbc, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x22, 0xde, 0x39, 0x6b, - 0x41, 0x04, 0x00, 0x00, + // 523 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x41, 0x6e, 0xda, 0x40, + 0x14, 0x86, 0x63, 0x68, 0xc0, 0x7e, 0x40, 0x9a, 0x78, 0x51, 0x8d, 0xaa, 0xc8, 0x42, 0x56, 0x17, + 0x59, 0x75, 0xd3, 0x1b, 0x04, 0x1a, 0x09, 0xa9, 0x8a, 0x22, 0x48, 0x0f, 0x30, 0xb6, 0x5f, 0x92, + 0x91, 0xb0, 0xc7, 0x9a, 0x31, 0x04, 0x6e, 0xd1, 0x9b, 0xf4, 0x1a, 0x5d, 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xcf, 0xa8, 0xb8, 0x7f, 0xa1, 0xe2, 0xbd, 0x48, 0x05, + 0x5e, 0xa0, 0x32, 0x78, 0x46, 0xe5, 0x1c, 0x3c, 0xa1, 0xaf, 0xa4, 0xc2, 0x35, 0xaa, 0x12, 0x76, + 0x6d, 0x34, 0x78, 0x8c, 0x5a, 0x3c, 0xcc, 0x13, 0xa9, 0x17, 0xdb, 0x2c, 0x26, 0xca, 0xe6, 0x89, + 0x24, 0xe5, 0xbf, 0x83, 0x11, 0xcf, 0xf8, 0x72, 0xbb, 0x30, 0x68, 0xd4, 0x2c, 0x29, 0x21, 0xb7, + 0xcd, 0x4b, 0xf6, 0x6d, 0x17, 0x38, 0x4f, 0xbb, 0xc0, 0xf9, 0xb9, 0x0b, 0x9c, 0x2f, 0xfb, 0xe0, + 0xe8, 0x69, 0x1f, 0x1c, 0x7d, 0xdf, 0x07, 0x47, 0x51, 0x8f, 0xde, 0x53, 0x1f, 0x7e, 0x05, 0x00, + 0x00, 0xff, 0xff, 0x2e, 0x51, 0xfb, 0x32, 0xba, 0x04, 0x00, 0x00, } func (m *Esinfo) Marshal() (dAtA []byte, err error) { @@ -500,6 +571,47 @@ i++ encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CompareScore)))) i += 4 + } + return i, nil +} + +func (m *DbPersonCompCache) 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 *DbPersonCompCache) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Id) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintEs(dAtA, i, uint64(len(m.Id))) + i += copy(dAtA[i:], m.Id) + } + if len(m.TableId) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintEs(dAtA, i, uint64(len(m.TableId))) + i += copy(dAtA[i:], m.TableId) + } + if len(m.FaceFeature) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintEs(dAtA, i, uint64(len(m.FaceFeature))) + i += copy(dAtA[i:], m.FaceFeature) + } + if m.Enable != 0 { + dAtA[i] = 0x20 + i++ + i = encodeVarintEs(dAtA, i, uint64(m.Enable)) } return i, nil } @@ -765,6 +877,30 @@ return n } +func (m *DbPersonCompCache) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovEs(uint64(l)) + } + l = len(m.TableId) + if l > 0 { + n += 1 + l + sovEs(uint64(l)) + } + l = len(m.FaceFeature) + if l > 0 { + n += 1 + l + sovEs(uint64(l)) + } + if m.Enable != 0 { + n += 1 + sovEs(uint64(m.Enable)) + } + return n +} + func (m *Dbperson) Size() (n int) { if m == nil { return 0 @@ -908,14 +1044,7 @@ } func sovEs(x uint64) (n int) { - for { - n++ - x >>= 7 - if x == 0 { - break - } - } - return n + return (math_bits.Len64(x|1) + 6) / 7 } func sozEs(x uint64) (n int) { return sovEs(uint64((x << 1) ^ uint64((int64(x) >> 63)))) @@ -1080,6 +1209,174 @@ } return nil } +func (m *DbPersonCompCache) 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 ErrIntOverflowEs + } + 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: DbPersonCompCache: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DbPersonCompCache: 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 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.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableId", 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.TableId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FaceFeature", 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.FaceFeature = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType) + } + m.Enable = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Enable |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipEs(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthEs + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthEs + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *Dbperson) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 -- Gitblit v1.8.0