From 3e7fd5950d794150c2045b6fc2d764f72602c94e Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期二, 19 十一月 2019 17:33:50 +0800 Subject: [PATCH] update BaseInfo --- aiocean.proto | 16 +- aiocean.pb.go | 378 +++++++++++++++++++---------------------------------- 2 files changed, 145 insertions(+), 249 deletions(-) diff --git a/aiocean.pb.go b/aiocean.pb.go index a5af9b3..f41ed47 100644 --- a/aiocean.pb.go +++ b/aiocean.pb.go @@ -779,15 +779,13 @@ TableId string `protobuf:"bytes,1,opt,name=tableId,proto3" json:"tableId,omitempty"` TableName string `protobuf:"bytes,2,opt,name=tableName,proto3" json:"tableName,omitempty"` CompareScore float32 `protobuf:"fixed32,3,opt,name=compareScore,proto3" json:"compareScore,omitempty"` - PersonId string `protobuf:"bytes,4,opt,name=personId,proto3" json:"personId,omitempty"` - PersonName string `protobuf:"bytes,5,opt,name=personName,proto3" json:"personName,omitempty"` - PersonPicUrl string `protobuf:"bytes,6,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"` - PhoneNum string `protobuf:"bytes,7,opt,name=phoneNum,proto3" json:"phoneNum,omitempty"` - Sex string `protobuf:"bytes,8,opt,name=sex,proto3" json:"sex,omitempty"` - IdCard string `protobuf:"bytes,9,opt,name=idCard,proto3" json:"idCard,omitempty"` - MonitorLevel string `protobuf:"bytes,10,opt,name=monitorLevel,proto3" json:"monitorLevel,omitempty"` - Content string `protobuf:"bytes,11,opt,name=content,proto3" json:"content,omitempty"` - BwType string `protobuf:"bytes,12,opt,name=bwType,proto3" json:"bwType,omitempty"` + BwType string `protobuf:"bytes,4,opt,name=bwType,proto3" json:"bwType,omitempty"` + TargetId string `protobuf:"bytes,5,opt,name=targetId,proto3" json:"targetId,omitempty"` + TargetName string `protobuf:"bytes,6,opt,name=targetName,proto3" json:"targetName,omitempty"` + TargetPicUrl string `protobuf:"bytes,7,opt,name=targetPicUrl,proto3" json:"targetPicUrl,omitempty"` + MonitorLevel string `protobuf:"bytes,8,opt,name=monitorLevel,proto3" json:"monitorLevel,omitempty"` + Labels string `protobuf:"bytes,9,opt,name=labels,proto3" json:"labels,omitempty"` + Content string `protobuf:"bytes,10,opt,name=content,proto3" json:"content,omitempty"` } func (m *BaseInfo) Reset() { *m = BaseInfo{} } @@ -844,44 +842,30 @@ return 0 } -func (m *BaseInfo) GetPersonId() string { +func (m *BaseInfo) GetBwType() string { if m != nil { - return m.PersonId + return m.BwType } return "" } -func (m *BaseInfo) GetPersonName() string { +func (m *BaseInfo) GetTargetId() string { if m != nil { - return m.PersonName + return m.TargetId } return "" } -func (m *BaseInfo) GetPersonPicUrl() string { +func (m *BaseInfo) GetTargetName() string { if m != nil { - return m.PersonPicUrl + return m.TargetName } return "" } -func (m *BaseInfo) GetPhoneNum() string { +func (m *BaseInfo) GetTargetPicUrl() string { if m != nil { - return m.PhoneNum - } - return "" -} - -func (m *BaseInfo) GetSex() string { - if m != nil { - return m.Sex - } - return "" -} - -func (m *BaseInfo) GetIdCard() string { - if m != nil { - return m.IdCard + return m.TargetPicUrl } return "" } @@ -893,16 +877,16 @@ return "" } -func (m *BaseInfo) GetContent() string { +func (m *BaseInfo) GetLabels() string { if m != nil { - return m.Content + return m.Labels } return "" } -func (m *BaseInfo) GetBwType() string { +func (m *BaseInfo) GetContent() string { if m != nil { - return m.BwType + return m.Content } return "" } @@ -920,61 +904,59 @@ func init() { proto.RegisterFile("aiocean.proto", fileDescriptor_e7fb370e860fe148) } var fileDescriptor_e7fb370e860fe148 = []byte{ - // 856 bytes of a gzipped FileDescriptorProto + // 829 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x55, 0xcd, 0x6e, 0x23, 0x45, - 0x10, 0xce, 0x38, 0x8b, 0xed, 0xb4, 0x93, 0xec, 0xd2, 0x2c, 0xa1, 0x59, 0x90, 0x15, 0x59, 0x08, - 0xe5, 0x80, 0x72, 0x58, 0x56,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(dAtA []byte, err error) { @@ -1658,59 +1640,47 @@ encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CompareScore)))) i += 4 } - if len(m.PersonId) > 0 { + if len(m.BwType) > 0 { dAtA[i] = 0x22 i++ - i = encodeVarintAiocean(dAtA, i, uint64(len(m.PersonId))) - i += copy(dAtA[i:], m.PersonId) + i = encodeVarintAiocean(dAtA, i, uint64(len(m.BwType))) + i += copy(dAtA[i:], m.BwType) } - if len(m.PersonName) > 0 { + if len(m.TargetId) > 0 { dAtA[i] = 0x2a i++ - i = encodeVarintAiocean(dAtA, i, uint64(len(m.PersonName))) - i += copy(dAtA[i:], m.PersonName) + i = encodeVarintAiocean(dAtA, i, uint64(len(m.TargetId))) + i += copy(dAtA[i:], m.TargetId) } - if len(m.PersonPicUrl) > 0 { + if len(m.TargetName) > 0 { dAtA[i] = 0x32 i++ - i = encodeVarintAiocean(dAtA, i, uint64(len(m.PersonPicUrl))) - i += copy(dAtA[i:], m.PersonPicUrl) + i = encodeVarintAiocean(dAtA, i, uint64(len(m.TargetName))) + i += copy(dAtA[i:], m.TargetName) } - if len(m.PhoneNum) > 0 { + if len(m.TargetPicUrl) > 0 { dAtA[i] = 0x3a i++ - i = encodeVarintAiocean(dAtA, i, uint64(len(m.PhoneNum))) - i += copy(dAtA[i:], m.PhoneNum) - } - if len(m.Sex) > 0 { - dAtA[i] = 0x42 - i++ - i = encodeVarintAiocean(dAtA, i, uint64(len(m.Sex))) - i += copy(dAtA[i:], m.Sex) - } - if len(m.IdCard) > 0 { - dAtA[i] = 0x4a - i++ - i = encodeVarintAiocean(dAtA, i, uint64(len(m.IdCard))) - i += copy(dAtA[i:], m.IdCard) + i = encodeVarintAiocean(dAtA, i, uint64(len(m.TargetPicUrl))) + i += copy(dAtA[i:], m.TargetPicUrl) } if len(m.MonitorLevel) > 0 { - dAtA[i] = 0x52 + dAtA[i] = 0x42 i++ i = encodeVarintAiocean(dAtA, i, uint64(len(m.MonitorLevel))) i += copy(dAtA[i:], m.MonitorLevel) } + if len(m.Labels) > 0 { + dAtA[i] = 0x4a + i++ + i = encodeVarintAiocean(dAtA, i, uint64(len(m.Labels))) + i += copy(dAtA[i:], m.Labels) + } if len(m.Content) > 0 { - dAtA[i] = 0x5a + dAtA[i] = 0x52 i++ i = encodeVarintAiocean(dAtA, i, uint64(len(m.Content))) i += copy(dAtA[i:], m.Content) - } - if len(m.BwType) > 0 { - dAtA[i] = 0x62 - i++ - i = encodeVarintAiocean(dAtA, i, uint64(len(m.BwType))) - i += copy(dAtA[i:], m.BwType) } return i, nil } @@ -2064,27 +2034,19 @@ if m.CompareScore != 0 { n += 5 } - l = len(m.PersonId) + l = len(m.BwType) if l > 0 { n += 1 + l + sovAiocean(uint64(l)) } - l = len(m.PersonName) + l = len(m.TargetId) if l > 0 { n += 1 + l + sovAiocean(uint64(l)) } - l = len(m.PersonPicUrl) + l = len(m.TargetName) if l > 0 { n += 1 + l + sovAiocean(uint64(l)) } - l = len(m.PhoneNum) - if l > 0 { - n += 1 + l + sovAiocean(uint64(l)) - } - l = len(m.Sex) - if l > 0 { - n += 1 + l + sovAiocean(uint64(l)) - } - l = len(m.IdCard) + l = len(m.TargetPicUrl) if l > 0 { n += 1 + l + sovAiocean(uint64(l)) } @@ -2092,11 +2054,11 @@ if l > 0 { n += 1 + l + sovAiocean(uint64(l)) } - l = len(m.Content) + l = len(m.Labels) if l > 0 { n += 1 + l + sovAiocean(uint64(l)) } - l = len(m.BwType) + l = len(m.Content) if l > 0 { n += 1 + l + sovAiocean(uint64(l)) } @@ -4520,7 +4482,7 @@ m.CompareScore = float32(math.Float32frombits(v)) case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PersonId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BwType", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4548,11 +4510,11 @@ if postIndex > l { return io.ErrUnexpectedEOF } - m.PersonId = string(dAtA[iNdEx:postIndex]) + m.BwType = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PersonName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TargetId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4580,11 +4542,11 @@ if postIndex > l { return io.ErrUnexpectedEOF } - m.PersonName = string(dAtA[iNdEx:postIndex]) + m.TargetId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PersonPicUrl", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TargetName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4612,11 +4574,11 @@ if postIndex > l { return io.ErrUnexpectedEOF } - m.PersonPicUrl = string(dAtA[iNdEx:postIndex]) + m.TargetName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PhoneNum", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TargetPicUrl", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4644,73 +4606,9 @@ if postIndex > l { return io.ErrUnexpectedEOF } - m.PhoneNum = string(dAtA[iNdEx:postIndex]) + m.TargetPicUrl = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sex", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAiocean - } - 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 ErrInvalidLengthAiocean - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAiocean - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sex = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IdCard", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAiocean - } - 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 ErrInvalidLengthAiocean - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAiocean - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IdCard = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 10: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field MonitorLevel", wireType) } @@ -4742,7 +4640,39 @@ } m.MonitorLevel = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 11: + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAiocean + } + 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 ErrInvalidLengthAiocean + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAiocean + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Labels = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType) } @@ -4773,38 +4703,6 @@ return io.ErrUnexpectedEOF } m.Content = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BwType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAiocean - } - 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 ErrInvalidLengthAiocean - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAiocean - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BwType = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/aiocean.proto b/aiocean.proto index 5c21469..5d4b6f5 100644 --- a/aiocean.proto +++ b/aiocean.proto @@ -92,13 +92,11 @@ string tableId =1; string tableName =2; float compareScore =3; - string personId =4; - string personName =5; - string personPicUrl =6; - string phoneNum =7; - string sex =8; - string idCard =9; - string monitorLevel =10; - string content =11; - string bwType =12; + string bwType =4; + string targetId =5; + string targetName =6; + string targetPicUrl =7; + string monitorLevel =8; + string labels =9; + string content =10; } -- Gitblit v1.8.0