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
---
es.pb.go | 415 ++++++++++++++--------------------------------------------
1 files changed, 102 insertions(+), 313 deletions(-)
diff --git a/es.pb.go b/es.pb.go
index 5e62ff0..f048aed 100644
--- a/es.pb.go
+++ b/es.pb.go
@@ -9,7 +9,6 @@
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.
@@ -24,10 +23,12 @@
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
type Esinfo 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"`
- CompareScore float32 `protobuf:"fixed32,4,opt,name=compareScore,proto3" json:"compareScore,omitempty"`
+ 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"`
+ CompareScore float32 `protobuf:"fixed32,4,opt,name=compareScore,proto3" json:"compareScore,omitempty"`
+ Enable int32 `protobuf:"varint,5,opt,name=enable,proto3" json:"enable,omitempty"`
+ AnalyServerId string `protobuf:"bytes,6,opt,name=analyServerId,proto3" json:"analyServerId,omitempty"`
}
func (m *Esinfo) Reset() { *m = Esinfo{} }
@@ -91,72 +92,18 @@
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 {
+func (m *Esinfo) GetEnable() int32 {
if m != nil {
return m.Enable
}
return 0
+}
+
+func (m *Esinfo) GetAnalyServerId() string {
+ if m != nil {
+ return m.AnalyServerId
+ }
+ return ""
}
type Dbperson struct {
@@ -183,7 +130,7 @@
func (m *Dbperson) String() string { return proto.CompactTextString(m) }
func (*Dbperson) ProtoMessage() {}
func (*Dbperson) Descriptor() ([]byte, []int) {
- return fileDescriptor_718db5c20d0f3738, []int{2}
+ return fileDescriptor_718db5c20d0f3738, []int{1}
}
func (m *Dbperson) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -353,7 +300,7 @@
func (m *Dbtable) String() string { return proto.CompactTextString(m) }
func (*Dbtable) ProtoMessage() {}
func (*Dbtable) Descriptor() ([]byte, []int) {
- return fileDescriptor_718db5c20d0f3738, []int{3}
+ return fileDescriptor_718db5c20d0f3738, []int{2}
}
func (m *Dbtable) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -489,7 +436,6 @@
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")
}
@@ -497,40 +443,40 @@
func init() { proto.RegisterFile("es.proto", fileDescriptor_718db5c20d0f3738) }
var fileDescriptor_718db5c20d0f3738 = []byte{
- // 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, 0x66, 0xd9, 0x45, 0x17,
- 0x15, 0x5c, 0xa4, 0x9a, 0x37, 0x36, 0xb6, 0x53, 0x35, 0xed, 0xa2, 0x2b, 0xf8, 0xff,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 0x05, 0x6b, 0x50, 0x15,
+ 0xec, 0xc6, 0x68, 0xf1, 0x18, 0x77, 0x78, 0x98, 0x13, 0xa9, 0x97, 0x9b, 0x3c, 0x46, 0xca, 0xe6,
+ 0x44, 0xa2, 0x7a, 0x7a, 0x21, 0x4f, 0xff, 0x72, 0x21, 0x2f, 0xd9, 0x8f, 0x6d, 0xe0, 0x3c, 0x6c,
+ 0x03, 0xe7, 0xf7, 0x36, 0x70, 0xbe, 0xee, 0x82, 0xde, 0xc3, 0x2e, 0xe8, 0xfd, 0xdc, 0x05, 0xbd,
+ 0x68, 0x80, 0x4f, 0x9b, 0xb7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xae, 0xb9, 0xb1, 0xa6, 0x80,
+ 0x04, 0x00, 0x00,
}
func (m *Esinfo) Marshal() (dAtA []byte, err error) {
@@ -572,46 +518,16 @@
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
+ dAtA[i] = 0x28
i++
i = encodeVarintEs(dAtA, i, uint64(m.Enable))
+ }
+ if len(m.AnalyServerId) > 0 {
+ dAtA[i] = 0x32
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.AnalyServerId)))
+ i += copy(dAtA[i:], m.AnalyServerId)
}
return i, nil
}
@@ -874,29 +790,12 @@
if m.CompareScore != 0 {
n += 5
}
- 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))
+ }
+ l = len(m.AnalyServerId)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
}
return n
}
@@ -1044,7 +943,14 @@
}
func sovEs(x uint64) (n int) {
- return (math_bits.Len64(x|1) + 6) / 7
+ for {
+ n++
+ x >>= 7
+ if x == 0 {
+ break
+ }
+ }
+ return n
}
func sozEs(x uint64) (n int) {
return sovEs(uint64((x << 1) ^ uint64((int64(x) >> 63))))
@@ -1185,156 +1091,7 @@
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
iNdEx += 4
m.CompareScore = float32(math.Float32frombits(v))
- 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 *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:
+ case 5:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType)
}
@@ -1353,6 +1110,38 @@
break
}
}
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AnalyServerId", 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.AnalyServerId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipEs(dAtA[iNdEx:])
--
Gitblit v1.8.0