From 950d89112665bead13fa79ae7e37b8addc188ca8 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期二, 13 十月 2020 10:47:43 +0800
Subject: [PATCH] isTriggerByPreSdk set 0:非触发,1:必要触发,2:非必要触发
---
es.pb.go | 355 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 312 insertions(+), 43 deletions(-)
diff --git a/es.pb.go b/es.pb.go
index a590c45..014f371 100644
--- a/es.pb.go
+++ b/es.pb.go
@@ -30,6 +30,7 @@
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"`
+ CarNo string `protobuf:"bytes,7,opt,name=carNo,proto3" json:"carNo,omitempty"`
}
func (m *Esinfo) Reset() { *m = Esinfo{} }
@@ -103,6 +104,13 @@
func (m *Esinfo) GetAnalyServerId() string {
if m != nil {
return m.AnalyServerId
+ }
+ return ""
+}
+
+func (m *Esinfo) GetCarNo() string {
+ if m != nil {
+ return m.CarNo
}
return ""
}
@@ -269,6 +277,11 @@
MonitorLevel string `protobuf:"bytes,15,opt,name=monitorLevel,proto3" json:"monitorLevel,omitempty"`
Enable int32 `protobuf:"varint,16,opt,name=enable,proto3" json:"enable,omitempty"`
Reserved string `protobuf:"bytes,17,opt,name=reserved,proto3" json:"reserved,omitempty"`
+ CarNo string `protobuf:"bytes,18,opt,name=carNo,proto3" json:"carNo,omitempty"`
+ CarPicUrls string `protobuf:"bytes,19,opt,name=carPicUrls,proto3" json:"carPicUrls,omitempty"`
+ CarType int32 `protobuf:"varint,20,opt,name=carType,proto3" json:"carType,omitempty"`
+ CarBrand int32 `protobuf:"varint,21,opt,name=carBrand,proto3" json:"carBrand,omitempty"`
+ CarColor int32 `protobuf:"varint,22,opt,name=carColor,proto3" json:"carColor,omitempty"`
}
func (m *Dbperson) Reset() { *m = Dbperson{} }
@@ -421,6 +434,41 @@
return m.Reserved
}
return ""
+}
+
+func (m *Dbperson) GetCarNo() string {
+ if m != nil {
+ return m.CarNo
+ }
+ return ""
+}
+
+func (m *Dbperson) GetCarPicUrls() string {
+ if m != nil {
+ return m.CarPicUrls
+ }
+ return ""
+}
+
+func (m *Dbperson) GetCarType() int32 {
+ if m != nil {
+ return m.CarType
+ }
+ return 0
+}
+
+func (m *Dbperson) GetCarBrand() int32 {
+ if m != nil {
+ return m.CarBrand
+ }
+ return 0
+}
+
+func (m *Dbperson) GetCarColor() int32 {
+ if m != nil {
+ return m.CarColor
+ }
+ return 0
}
type Dbtable struct {
@@ -590,49 +638,53 @@
func init() { proto.RegisterFile("es.proto", fileDescriptor_718db5c20d0f3738) }
var fileDescriptor_718db5c20d0f3738 = []byte{
- // 669 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x41, 0x4e, 0xdb, 0x40,
- 0x14, 0x86, 0x71, 0x0c, 0x89, 0xfd, 0x42, 0x80, 0x5a, 0x55, 0x35, 0x42, 0xc8, 0x8a, 0xa2, 0x2e,
- 0xb2, 0x62, 0x41, 0x7b, 0x80, 0x0a, 0x02, 0x52, 0x24, 0x8a, 0x2a, 0x43, 0x0f, 0x30, 0xb1, 0x5f,
- 0x60, 0x54, 0xdb, 0x63, 0x8d, 0x27, 0x94, 0xdc, 0xa2, 0xe7, 0xe8, 0xa6, 0xbb, 0x9e, 0xa1, 0x4b,
- 0x96, 0x5d, 0x74, 0x51, 0x91, 0x23, 0xf4, 0x02, 0xd5, 0xcc, 0xd8, 0xb1, 0x9d, 0x50, 0xda, 0xae,
- 0x92, 0xff, 0xff, 0xed, 0x99, 0xf7, 0xe6, 0x7b, 0x63, 0x70, 0x30, 0x3f, 0xcc, 0x04, 0x97, 0xdc,
- 0x73, 0xf4, 0x4f, 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xfd, 0x8b, 0xbe, 0xf3, 0xc4, 0x17, 0xfd,
+ 0x84, 0x7f, 0x7a, 0xe8, 0x7a, 0xf7, 0x0f, 0x5d, 0xef, 0xeb, 0x43, 0xd7, 0x7b, 0xff, 0xd8, 0xdd,
+ 0xb8, 0x7f, 0xec, 0x6e, 0x7c, 0x79, 0xec, 0x6e, 0x8c, 0xeb, 0xf4, 0x6d, 0xf9, 0xef, 0x47, 0x00,
+ 0x00, 0x00, 0xff, 0xff, 0x61, 0x99, 0xc4, 0x66, 0xd0, 0x06, 0x00, 0x00,
}
func (m *Esinfo) Marshal() (dAtA []byte, err error) {
@@ -684,6 +736,12 @@
i++
i = encodeVarintEs(dAtA, i, uint64(len(m.AnalyServerId)))
i += copy(dAtA[i:], m.AnalyServerId)
+ }
+ if len(m.CarNo) > 0 {
+ dAtA[i] = 0x3a
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.CarNo)))
+ i += copy(dAtA[i:], m.CarNo)
}
return i, nil
}
@@ -915,6 +973,43 @@
i = encodeVarintEs(dAtA, i, uint64(len(m.Reserved)))
i += copy(dAtA[i:], m.Reserved)
}
+ if len(m.CarNo) > 0 {
+ dAtA[i] = 0x92
+ i++
+ dAtA[i] = 0x1
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.CarNo)))
+ i += copy(dAtA[i:], m.CarNo)
+ }
+ if len(m.CarPicUrls) > 0 {
+ dAtA[i] = 0x9a
+ i++
+ dAtA[i] = 0x1
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.CarPicUrls)))
+ i += copy(dAtA[i:], m.CarPicUrls)
+ }
+ if m.CarType != 0 {
+ dAtA[i] = 0xa0
+ i++
+ dAtA[i] = 0x1
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(m.CarType))
+ }
+ if m.CarBrand != 0 {
+ dAtA[i] = 0xa8
+ i++
+ dAtA[i] = 0x1
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(m.CarBrand))
+ }
+ if m.CarColor != 0 {
+ dAtA[i] = 0xb0
+ i++
+ dAtA[i] = 0x1
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(m.CarColor))
+ }
return i, nil
}
@@ -1061,6 +1156,10 @@
if l > 0 {
n += 1 + l + sovEs(uint64(l))
}
+ l = len(m.CarNo)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
return n
}
@@ -1191,6 +1290,23 @@
l = len(m.Reserved)
if l > 0 {
n += 2 + l + sovEs(uint64(l))
+ }
+ l = len(m.CarNo)
+ if l > 0 {
+ n += 2 + l + sovEs(uint64(l))
+ }
+ l = len(m.CarPicUrls)
+ if l > 0 {
+ n += 2 + l + sovEs(uint64(l))
+ }
+ if m.CarType != 0 {
+ n += 2 + sovEs(uint64(m.CarType))
+ }
+ if m.CarBrand != 0 {
+ n += 2 + sovEs(uint64(m.CarBrand))
+ }
+ if m.CarColor != 0 {
+ n += 2 + sovEs(uint64(m.CarColor))
}
return n
}
@@ -1454,6 +1570,38 @@
return io.ErrUnexpectedEOF
}
m.AnalyServerId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CarNo", 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.CarNo = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
default:
iNdEx = preIndex
@@ -2434,6 +2582,127 @@
}
m.Reserved = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
+ case 18:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CarNo", 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.CarNo = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 19:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CarPicUrls", 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.CarPicUrls = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 20:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CarType", wireType)
+ }
+ m.CarType = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.CarType |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 21:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CarBrand", wireType)
+ }
+ m.CarBrand = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.CarBrand |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 22:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CarColor", wireType)
+ }
+ m.CarColor = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.CarColor |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
default:
iNdEx = preIndex
skippy, err := skipEs(dAtA[iNdEx:])
--
Gitblit v1.8.0