Merge branch 'master' of ssh://192.168.5.5:29418/pubsub/protomsg
New file |
| | |
| | | syntax = "proto3"; |
| | | |
| | | package protomsg; |
| | | |
| | | message EsDataBase { |
| | | string id =1; |
| | | string cameraId =2; |
| | | string cameraName =3; |
| | | string cameraAddr =4; |
| | | string analyServerId =5; |
| | | string analyServerName =6; |
| | | string analyServerIp =7; |
| | | string clusterId =8; |
| | | string taskId =9; |
| | | string taskName =10; |
| | | string sdkName =11; |
| | | repeated string picMaxUrl =12; |
| | | string videoUrl =13; |
| | | string picDate =14; |
| | | repeated TargetInfo targetInfo =15; |
| | | string otherLabels =16; |
| | | string showLabels =17; |
| | | string likeDate =18; |
| | | repeated BaseInfo baseInfo =19; |
| | | bool isAlarm =20; |
| | | bool isAckAlarm =21; |
| | | repeated AlarmRules alarmRules =22; |
| | | bool isCollect =23; |
| | | bool isDelete =24; |
| | | string content =25; |
| | | } |
| | | |
| | | message AIOcean { |
| | | string id =1; |
| | | string cameraId =2; |
| | | string cameraName =3; |
| | | string cameraAddr =4; |
| | | string analyServerId =5; |
| | | string analyServerName =6; |
| | | string analyServerIp =7; |
| | | string clusterId =8; |
| | | string taskId =9; |
| | | string taskName =10; |
| | | string sdkName =11; |
| | | repeated string picMaxUrl =12; |
| | | string videoUrl =13; |
| | | string picDate =14; |
| | | repeated TargetInfo targetInfo =15; |
| | | string otherLabels =16; |
| | | string showLabels =17; |
| | | string likeDate =18; |
| | | repeated BaseInfo baseInfo =19; |
| | | bool isAlarm =20; |
| | | bool isAckAlarm =21; |
| | | repeated AlarmRules alarmRules =22; |
| | | bool isCollect =23; |
| | | bool isDelete =24; |
| | | string content =25; |
| | | |
| | | string linkTag =26; |
| | | repeated EsDataBase linkTagInfo =27; |
| | | } |
| | | |
| | | message TargetInfo { |
| | | string targetId =1; |
| | | string targetType =2; |
| | | double targetScore =3; |
| | | string feature =4; |
| | | string picSmUrl =5; |
| | | TargetLocation targetLocation =6; |
| | | } |
| | | |
| | | message TargetLocation { |
| | | Location topLeft =1; |
| | | Location bottomRight =2; |
| | | } |
| | | |
| | | message Location { |
| | | double x =1; |
| | | double y =2; |
| | | } |
| | | |
| | | message AlarmRules { |
| | | string groupId =1; |
| | | string alarmLevel =2; |
| | | string ruleText =3; |
| | | bool defenceState =4; |
| | | bool isLink =5; |
| | | string linkInfo =6; |
| | | } |
| | | |
| | | message BaseInfo { |
| | | string tableId =1; |
| | | string tableName =2; |
| | | double compareScore =3; |
| | | string bwType =4; |
| | | string targetId =5; |
| | | string targetName =6; |
| | | string targetPicUrl =7; |
| | | string monitorLevel =8; |
| | | string labels =9; |
| | | string content =10; |
| | | } |
| | |
| | | // Code generated by protoc-gen-gogo. DO NOT EDIT. |
| | | // Code generated by protoc-gen-go. DO NOT EDIT. |
| | | // source: facedetect.proto |
| | | |
| | | package protomsg |
| | | |
| | | import ( |
| | | context "context" |
| | | fmt "fmt" |
| | | proto "github.com/gogo/protobuf/proto" |
| | | io "io" |
| | | proto "github.com/golang/protobuf/proto" |
| | | grpc "google.golang.org/grpc" |
| | | codes "google.golang.org/grpc/codes" |
| | | status "google.golang.org/grpc/status" |
| | | math "math" |
| | | ) |
| | | |
| | |
| | | // is compatible with the proto package it is being compiled against. |
| | | // A compilation error at this line likely means your copy of the |
| | | // proto package needs to be updated. |
| | | const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| | | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| | | |
| | | type FaceDetectRequest struct { |
| | | ReqParam []byte `protobuf:"bytes,1,opt,name=reqParam,proto3" json:"reqParam,omitempty"` |
| | | ReqParam []byte `protobuf:"bytes,1,opt,name=reqParam,proto3" json:"reqParam,omitempty"` |
| | | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| | | XXX_unrecognized []byte `json:"-"` |
| | | XXX_sizecache int32 `json:"-"` |
| | | } |
| | | |
| | | func (m *FaceDetectRequest) Reset() { *m = FaceDetectRequest{} } |
| | |
| | | func (*FaceDetectRequest) Descriptor() ([]byte, []int) { |
| | | return fileDescriptor_5314bd1755b5a080, []int{0} |
| | | } |
| | | |
| | | func (m *FaceDetectRequest) XXX_Unmarshal(b []byte) error { |
| | | return m.Unmarshal(b) |
| | | return xxx_messageInfo_FaceDetectRequest.Unmarshal(m, b) |
| | | } |
| | | func (m *FaceDetectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| | | if deterministic { |
| | | return xxx_messageInfo_FaceDetectRequest.Marshal(b, m, deterministic) |
| | | } else { |
| | | b = b[:cap(b)] |
| | | n, err := m.MarshalTo(b) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return b[:n], nil |
| | | } |
| | | return xxx_messageInfo_FaceDetectRequest.Marshal(b, m, deterministic) |
| | | } |
| | | func (m *FaceDetectRequest) XXX_Merge(src proto.Message) { |
| | | xxx_messageInfo_FaceDetectRequest.Merge(m, src) |
| | | } |
| | | func (m *FaceDetectRequest) XXX_Size() int { |
| | | return m.Size() |
| | | return xxx_messageInfo_FaceDetectRequest.Size(m) |
| | | } |
| | | func (m *FaceDetectRequest) XXX_DiscardUnknown() { |
| | | xxx_messageInfo_FaceDetectRequest.DiscardUnknown(m) |
| | |
| | | func init() { proto.RegisterFile("facedetect.proto", fileDescriptor_5314bd1755b5a080) } |
| | | |
| | | var fileDescriptor_5314bd1755b5a080 = []byte{ |
| | | // 157 bytes of a gzipped FileDescriptorProto |
| | | // 129 bytes of a gzipped FileDescriptorProto |
| | | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x48, 0x4b, 0x4c, 0x4e, |
| | | 0x4d, 0x49, 0x2d, 0x49, 0x4d, 0x2e, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, |
| | | 0xb9, 0xc5, 0xe9, 0x52, 0x9c, 0xc5, 0x29, 0xd9, 0x10, 0x41, 0x25, 0x7d, 0x2e, 0x41, 0xb7, 0xc4, |
| | | 0xe4, 0x54, 0x17, 0xb0, 0xc2, 0xa0, 0xd4, 0xc2, 0xd2, 0xd4, 0xe2, 0x12, 0x21, 0x29, 0x2e, 0x8e, |
| | | 0xa2, 0xd4, 0xc2, 0x80, 0xc4, 0xa2, 0xc4, 0x5c, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x9e, 0x20, 0x38, |
| | | 0xdf, 0x28, 0x90, 0x8b, 0x0b, 0xa1, 0x41, 0xc8, 0x19, 0x85, 0x27, 0xad, 0x07, 0xb3, 0x42, 0x0f, |
| | | 0xc3, 0x50, 0x29, 0x31, 0x84, 0x24, 0xd8, 0x24, 0x90, 0x8a, 0x80, 0xfc, 0x62, 0x25, 0x06, 0x27, |
| | | 0x89, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, |
| | | 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x48, 0x62, 0x03, 0x6b, 0x31, 0x06, |
| | | 0x04, 0x00, 0x00, 0xff, 0xff, 0x92, 0xe0, 0xfb, 0x5b, 0xcd, 0x00, 0x00, 0x00, |
| | | 0xc3, 0x50, 0x29, 0x31, 0x84, 0x24, 0xd8, 0x24, 0x90, 0x8a, 0x80, 0xfc, 0x62, 0x25, 0x86, 0x24, |
| | | 0x36, 0xb0, 0x84, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x63, 0xa0, 0x0f, 0x51, 0xb3, 0x00, 0x00, |
| | | 0x00, |
| | | } |
| | | |
| | | func (m *FaceDetectRequest) Marshal() (dAtA []byte, err error) { |
| | | size := m.Size() |
| | | dAtA = make([]byte, size) |
| | | n, err := m.MarshalTo(dAtA) |
| | | // Reference imports to suppress errors if they are not otherwise used. |
| | | var _ context.Context |
| | | var _ grpc.ClientConn |
| | | |
| | | // This is a compile-time assertion to ensure that this generated file |
| | | // is compatible with the grpc package it is being compiled against. |
| | | const _ = grpc.SupportPackageIsVersion4 |
| | | |
| | | // FaceDetectClient is the client API for FaceDetect service. |
| | | // |
| | | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| | | type FaceDetectClient interface { |
| | | FaceDetect(ctx context.Context, in *FaceDetectRequest, opts ...grpc.CallOption) (*ParamFacePos, error) |
| | | } |
| | | |
| | | type faceDetectClient struct { |
| | | cc *grpc.ClientConn |
| | | } |
| | | |
| | | func NewFaceDetectClient(cc *grpc.ClientConn) FaceDetectClient { |
| | | return &faceDetectClient{cc} |
| | | } |
| | | |
| | | func (c *faceDetectClient) FaceDetect(ctx context.Context, in *FaceDetectRequest, opts ...grpc.CallOption) (*ParamFacePos, error) { |
| | | out := new(ParamFacePos) |
| | | err := c.cc.Invoke(ctx, "/protomsg.FaceDetect/FaceDetect", in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return dAtA[:n], nil |
| | | return out, nil |
| | | } |
| | | |
| | | func (m *FaceDetectRequest) MarshalTo(dAtA []byte) (int, error) { |
| | | var i int |
| | | _ = i |
| | | var l int |
| | | _ = l |
| | | if len(m.ReqParam) > 0 { |
| | | dAtA[i] = 0xa |
| | | i++ |
| | | i = encodeVarintFacedetect(dAtA, i, uint64(len(m.ReqParam))) |
| | | i += copy(dAtA[i:], m.ReqParam) |
| | | } |
| | | return i, nil |
| | | // FaceDetectServer is the server API for FaceDetect service. |
| | | type FaceDetectServer interface { |
| | | FaceDetect(context.Context, *FaceDetectRequest) (*ParamFacePos, error) |
| | | } |
| | | |
| | | func encodeVarintFacedetect(dAtA []byte, offset int, v uint64) int { |
| | | for v >= 1<<7 { |
| | | dAtA[offset] = uint8(v&0x7f | 0x80) |
| | | v >>= 7 |
| | | offset++ |
| | | } |
| | | dAtA[offset] = uint8(v) |
| | | return offset + 1 |
| | | } |
| | | func (m *FaceDetectRequest) Size() (n int) { |
| | | if m == nil { |
| | | return 0 |
| | | } |
| | | var l int |
| | | _ = l |
| | | l = len(m.ReqParam) |
| | | if l > 0 { |
| | | n += 1 + l + sovFacedetect(uint64(l)) |
| | | } |
| | | return n |
| | | // UnimplementedFaceDetectServer can be embedded to have forward compatible implementations. |
| | | type UnimplementedFaceDetectServer struct { |
| | | } |
| | | |
| | | func sovFacedetect(x uint64) (n int) { |
| | | for { |
| | | n++ |
| | | x >>= 7 |
| | | if x == 0 { |
| | | break |
| | | } |
| | | } |
| | | return n |
| | | } |
| | | func sozFacedetect(x uint64) (n int) { |
| | | return sovFacedetect(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| | | } |
| | | func (m *FaceDetectRequest) 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 ErrIntOverflowFacedetect |
| | | } |
| | | 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: FaceDetectRequest: wiretype end group for non-group") |
| | | } |
| | | if fieldNum <= 0 { |
| | | return fmt.Errorf("proto: FaceDetectRequest: illegal tag %d (wire type %d)", fieldNum, wire) |
| | | } |
| | | switch fieldNum { |
| | | case 1: |
| | | if wireType != 2 { |
| | | return fmt.Errorf("proto: wrong wireType = %d for field ReqParam", wireType) |
| | | } |
| | | var byteLen int |
| | | for shift := uint(0); ; shift += 7 { |
| | | if shift >= 64 { |
| | | return ErrIntOverflowFacedetect |
| | | } |
| | | if iNdEx >= l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | b := dAtA[iNdEx] |
| | | iNdEx++ |
| | | byteLen |= int(b&0x7F) << shift |
| | | if b < 0x80 { |
| | | break |
| | | } |
| | | } |
| | | if byteLen < 0 { |
| | | return ErrInvalidLengthFacedetect |
| | | } |
| | | postIndex := iNdEx + byteLen |
| | | if postIndex < 0 { |
| | | return ErrInvalidLengthFacedetect |
| | | } |
| | | if postIndex > l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | m.ReqParam = append(m.ReqParam[:0], dAtA[iNdEx:postIndex]...) |
| | | if m.ReqParam == nil { |
| | | m.ReqParam = []byte{} |
| | | } |
| | | iNdEx = postIndex |
| | | default: |
| | | iNdEx = preIndex |
| | | skippy, err := skipFacedetect(dAtA[iNdEx:]) |
| | | if err != nil { |
| | | return err |
| | | } |
| | | if skippy < 0 { |
| | | return ErrInvalidLengthFacedetect |
| | | } |
| | | if (iNdEx + skippy) < 0 { |
| | | return ErrInvalidLengthFacedetect |
| | | } |
| | | if (iNdEx + skippy) > l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | iNdEx += skippy |
| | | } |
| | | } |
| | | |
| | | if iNdEx > l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | return nil |
| | | } |
| | | func skipFacedetect(dAtA []byte) (n int, err error) { |
| | | l := len(dAtA) |
| | | iNdEx := 0 |
| | | for iNdEx < l { |
| | | var wire uint64 |
| | | for shift := uint(0); ; shift += 7 { |
| | | if shift >= 64 { |
| | | return 0, ErrIntOverflowFacedetect |
| | | } |
| | | if iNdEx >= l { |
| | | return 0, io.ErrUnexpectedEOF |
| | | } |
| | | b := dAtA[iNdEx] |
| | | iNdEx++ |
| | | wire |= (uint64(b) & 0x7F) << shift |
| | | if b < 0x80 { |
| | | break |
| | | } |
| | | } |
| | | wireType := int(wire & 0x7) |
| | | switch wireType { |
| | | case 0: |
| | | for shift := uint(0); ; shift += 7 { |
| | | if shift >= 64 { |
| | | return 0, ErrIntOverflowFacedetect |
| | | } |
| | | if iNdEx >= l { |
| | | return 0, io.ErrUnexpectedEOF |
| | | } |
| | | iNdEx++ |
| | | if dAtA[iNdEx-1] < 0x80 { |
| | | break |
| | | } |
| | | } |
| | | return iNdEx, nil |
| | | case 1: |
| | | iNdEx += 8 |
| | | return iNdEx, nil |
| | | case 2: |
| | | var length int |
| | | for shift := uint(0); ; shift += 7 { |
| | | if shift >= 64 { |
| | | return 0, ErrIntOverflowFacedetect |
| | | } |
| | | if iNdEx >= l { |
| | | return 0, io.ErrUnexpectedEOF |
| | | } |
| | | b := dAtA[iNdEx] |
| | | iNdEx++ |
| | | length |= (int(b) & 0x7F) << shift |
| | | if b < 0x80 { |
| | | break |
| | | } |
| | | } |
| | | if length < 0 { |
| | | return 0, ErrInvalidLengthFacedetect |
| | | } |
| | | iNdEx += length |
| | | if iNdEx < 0 { |
| | | return 0, ErrInvalidLengthFacedetect |
| | | } |
| | | return iNdEx, nil |
| | | case 3: |
| | | for { |
| | | var innerWire uint64 |
| | | var start int = iNdEx |
| | | for shift := uint(0); ; shift += 7 { |
| | | if shift >= 64 { |
| | | return 0, ErrIntOverflowFacedetect |
| | | } |
| | | if iNdEx >= l { |
| | | return 0, io.ErrUnexpectedEOF |
| | | } |
| | | b := dAtA[iNdEx] |
| | | iNdEx++ |
| | | innerWire |= (uint64(b) & 0x7F) << shift |
| | | if b < 0x80 { |
| | | break |
| | | } |
| | | } |
| | | innerWireType := int(innerWire & 0x7) |
| | | if innerWireType == 4 { |
| | | break |
| | | } |
| | | next, err := skipFacedetect(dAtA[start:]) |
| | | if err != nil { |
| | | return 0, err |
| | | } |
| | | iNdEx = start + next |
| | | if iNdEx < 0 { |
| | | return 0, ErrInvalidLengthFacedetect |
| | | } |
| | | } |
| | | return iNdEx, nil |
| | | case 4: |
| | | return iNdEx, nil |
| | | case 5: |
| | | iNdEx += 4 |
| | | return iNdEx, nil |
| | | default: |
| | | return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| | | } |
| | | } |
| | | panic("unreachable") |
| | | func (*UnimplementedFaceDetectServer) FaceDetect(ctx context.Context, req *FaceDetectRequest) (*ParamFacePos, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method FaceDetect not implemented") |
| | | } |
| | | |
| | | var ( |
| | | ErrInvalidLengthFacedetect = fmt.Errorf("proto: negative length found during unmarshaling") |
| | | ErrIntOverflowFacedetect = fmt.Errorf("proto: integer overflow") |
| | | ) |
| | | func RegisterFaceDetectServer(s *grpc.Server, srv FaceDetectServer) { |
| | | s.RegisterService(&_FaceDetect_serviceDesc, srv) |
| | | } |
| | | |
| | | func _FaceDetect_FaceDetect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| | | in := new(FaceDetectRequest) |
| | | if err := dec(in); err != nil { |
| | | return nil, err |
| | | } |
| | | if interceptor == nil { |
| | | return srv.(FaceDetectServer).FaceDetect(ctx, in) |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/protomsg.FaceDetect/FaceDetect", |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(FaceDetectServer).FaceDetect(ctx, req.(*FaceDetectRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | var _FaceDetect_serviceDesc = grpc.ServiceDesc{ |
| | | ServiceName: "protomsg.FaceDetect", |
| | | HandlerType: (*FaceDetectServer)(nil), |
| | | Methods: []grpc.MethodDesc{ |
| | | { |
| | | MethodName: "FaceDetect", |
| | | Handler: _FaceDetect_FaceDetect_Handler, |
| | | }, |
| | | }, |
| | | Streams: []grpc.StreamDesc{}, |
| | | Metadata: "facedetect.proto", |
| | | } |
| | |
| | | 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. |
| | |
| | | Tasks []string `protobuf:"bytes,4,rep,name=tasks,proto3" json:"tasks,omitempty"` |
| | | TreeNodes []string `protobuf:"bytes,5,rep,name=treeNodes,proto3" json:"treeNodes,omitempty"` |
| | | Tabs []string `protobuf:"bytes,6,rep,name=tabs,proto3" json:"tabs,omitempty"` |
| | | AlarmLevel []int32 `protobuf:"varint,7,rep,packed,name=alarmLevel,proto3" json:"alarmLevel,omitempty"` |
| | | AlarmLevel string `protobuf:"bytes,7,opt,name=alarmLevel,proto3" json:"alarmLevel,omitempty"` |
| | | SearchTime []string `protobuf:"bytes,8,rep,name=searchTime,proto3" json:"searchTime,omitempty"` |
| | | InputValue string `protobuf:"bytes,9,opt,name=inputValue,proto3" json:"inputValue,omitempty"` |
| | | Collection string `protobuf:"bytes,10,opt,name=collection,proto3" json:"collection,omitempty"` |
| | |
| | | return nil |
| | | } |
| | | |
| | | func (m *CompareArgs) GetAlarmLevel() []int32 { |
| | | func (m *CompareArgs) GetAlarmLevel() string { |
| | | if m != nil { |
| | | return m.AlarmLevel |
| | | } |
| | | return nil |
| | | return "" |
| | | } |
| | | |
| | | func (m *CompareArgs) GetSearchTime() []string { |
| | |
| | | func init() { proto.RegisterFile("protomsg.proto", fileDescriptor_32de24555f916688) } |
| | | |
| | | var fileDescriptor_32de24555f916688 = []byte{ |
| | | // 2551 bytes of a gzipped FileDescriptorProto |
| | | // 2550 bytes of a gzipped FileDescriptorProto |
| | | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x38, 0xcb, 0x6e, 0x1c, 0xc7, |
| | | 0xb5, 0xec, 0x79, 0xcf, 0x99, 0x19, 0xaa, 0x55, 0xd2, 0xb5, 0x5b, 0xf2, 0x35, 0x4d, 0xf7, 0x95, |
| | | 0x61, 0x5d, 0xc1, 0xf6, 0xbd, 0x90, 0xbd, 0x08, 0xb2, 0x08, 0x30, 0xd6, 0x23, 0x18, 0xc0, 0x71, |
| | |
| | | 0x5c, 0x1a, 0x2d, 0x7a, 0xd1, 0x35, 0x3c, 0x3b, 0x84, 0xd9, 0x29, 0xdf, 0x88, 0xe7, 0x82, 0x97, |
| | | 0x95, 0x32, 0xfe, 0x9c, 0x47, 0x6d, 0x14, 0xea, 0x65, 0xb6, 0xbe, 0x01, 0x3d, 0x63, 0x00, 0xdc, |
| | | 0xdc, 0x4b, 0x25, 0xc4, 0xe7, 0x79, 0x22, 0x4c, 0x1b, 0x98, 0x46, 0x0d, 0x82, 0x34, 0xe0, 0x6b, |
| | | 0xa7, 0x17, 0x9d, 0xd9, 0x01, 0xb4, 0x46, 0x8f, 0x60, 0x7c, 0xd8, 0xdf, 0x19, 0x46, 0x0e, 0x00, |
| | | 0xb4, 0xe0, 0x6a, 0x73, 0x76, 0x62, 0xda, 0x00, 0x7e, 0xd9, 0xc2, 0x20, 0x3d, 0xcd, 0x8a, 0xca, |
| | | 0x24, 0xa4, 0xeb, 0x02, 0x0d, 0x06, 0xe9, 0x9b, 0x5c, 0x4a, 0x13, 0x2c, 0xb6, 0x0d, 0xb4, 0x30, |
| | | 0x64, 0xed, 0xbc, 0x52, 0x9b, 0xba, 0x11, 0x18, 0x88, 0x3d, 0x80, 0x05, 0xcf, 0xb8, 0xbc, 0x72, |
| | | 0x5b, 0xb2, 0x6d, 0xa8, 0x5d, 0x64, 0xb8, 0x86, 0xb9, 0x35, 0xff, 0xb3, 0x4b, 0x91, 0x95, 0xec, |
| | | 0x07, 0x30, 0x15, 0x78, 0xc0, 0x4e, 0x69, 0x33, 0xf8, 0x7e, 0x6b, 0x71, 0x6e, 0xb1, 0x22, 0x47, |
| | | 0xd4, 0x30, 0x53, 0x9a, 0xf0, 0x2b, 0x99, 0x73, 0xe3, 0x94, 0x79, 0xe4, 0xc0, 0xf0, 0x17, 0xb0, |
| | | 0x7f, 0x9c, 0x9c, 0xbb, 0x6f, 0xf9, 0xe6, 0xec, 0x5a, 0x4e, 0x06, 0x38, 0x80, 0xae, 0xa5, 0xa8, |
| | | 0x33, 0xd2, 0x81, 0x2c, 0x84, 0xb9, 0xf5, 0xed, 0xf1, 0x26, 0xb7, 0x8e, 0xec, 0x45, 0x1d, 0x5c, |
| | | 0x18, 0x81, 0xdf, 0xdc, 0x1f, 0x09, 0x5d, 0xc9, 0x92, 0xfd, 0x08, 0x16, 0x9b, 0x36, 0x82, 0x82, |
| | | 0x69, 0xf6, 0x38, 0xe8, 0x34, 0x92, 0x96, 0x48, 0x51, 0x97, 0x3d, 0xfc, 0x55, 0x1f, 0xa6, 0xa4, |
| | | 0xe6, 0x51, 0xa5, 0xcf, 0x5e, 0x6b, 0xc6, 0x7f, 0xdb, 0xee, 0x1e, 0x66, 0x7f, 0x30, 0x39, 0x44, |
| | | 0x6b, 0xc6, 0x31, 0xed, 0x10, 0xf7, 0x80, 0x56, 0x98, 0x18, 0x17, 0x09, 0x5b, 0x46, 0x10, 0x7e, |
| | | 0x96, 0xd1, 0xbc, 0x98, 0xea, 0x58, 0xf3, 0x32, 0xd5, 0xa7, 0x57, 0x31, 0x97, 0x26, 0xa3, 0x26, |
| | | 0xd1, 0x3c, 0xd5, 0xc7, 0x06, 0xb9, 0x94, 0x12, 0xeb, 0x16, 0xcd, 0x4f, 0x34, 0x13, 0x8f, 0xec, |
| | | 0xdf, 0x2f, 0x95, 0x14, 0x34, 0x12, 0x37, 0x3d, 0x7b, 0xdc, 0xe9, 0xd9, 0x6f, 0xc1, 0xd4, 0x6c, |
| | | 0x68, 0xcd, 0x34, 0x37, 0xa1, 0xf5, 0x0c, 0x3d, 0xf6, 0x0e, 0xcc, 0x88, 0x68, 0x37, 0xcc, 0x69, |
| | | 0xb3, 0xbd, 0xd9, 0x05, 0xf3, 0xff, 0x60, 0x92, 0x16, 0x71, 0x91, 0xab, 0x52, 0x07, 0xb0, 0xdb, |
| | | 0xf1, 0xd1, 0x30, 0xab, 0xe2, 0x28, 0x57, 0x65, 0x34, 0x4e, 0xe9, 0x57, 0xb3, 0xf7, 0x60, 0x50, |
| | | 0x29, 0xa9, 0x83, 0xd9, 0x6e, 0xd7, 0x46, 0xe6, 0x17, 0x4a, 0x46, 0x44, 0x66, 0x1f, 0xba, 0xee, |
| | | 0x3e, 0xdf, 0x5d, 0x59, 0x6a, 0x93, 0xb7, 0x7a, 0x7c, 0xf8, 0xb5, 0x07, 0x8b, 0x0e, 0xe1, 0x9a, |
| | | 0x3f, 0xd0, 0xf6, 0x79, 0x91, 0x6e, 0xda, 0x7f, 0x22, 0x4c, 0x09, 0x43, 0x8a, 0xe2, 0x3e, 0x49, |
| | | 0x64, 0xae, 0xb6, 0xf5, 0x3e, 0x89, 0x08, 0xec, 0xd1, 0xed, 0x76, 0x3f, 0xf8, 0xbe, 0x81, 0x78, |
| | | 0x78, 0xc3, 0x40, 0x4c, 0xff, 0x6d, 0x49, 0x61, 0xbb, 0xec, 0xc8, 0x2e, 0xf2, 0x95, 0x14, 0x26, |
| | | 0x7f, 0x43, 0x58, 0x50, 0x92, 0xc4, 0x45, 0xa5, 0xcf, 0xb0, 0xe7, 0x98, 0x1a, 0x3f, 0x13, 0x4e, |
| | | 0xa3, 0x55, 0x12, 0xbe, 0x00, 0x68, 0xcc, 0x89, 0xe2, 0xba, 0xbf, 0xbb, 0x0a, 0x57, 0xc2, 0x0d, |
| | | 0x62, 0xd5, 0xfc, 0xcd, 0xd7, 0x6b, 0xfd, 0xcd, 0xf7, 0xaa, 0x85, 0xeb, 0x63, 0x18, 0x5b, 0xc3, |
| | | 0xbb, 0xf9, 0xd4, 0x6b, 0xe6, 0xd3, 0x57, 0x8c, 0x79, 0xe1, 0xef, 0x3c, 0x23, 0xcc, 0xb2, 0x2c, |
| | | 0x31, 0x55, 0xdf, 0x84, 0xb1, 0x13, 0xdc, 0x8e, 0x89, 0x05, 0xc9, 0xcc, 0x42, 0xe8, 0x6f, 0xf8, |
| | | 0x05, 0x7d, 0x7c, 0xd3, 0x9f, 0x6b, 0x48, 0x6c, 0x6b, 0x52, 0xef, 0x38, 0x56, 0x93, 0x04, 0xc3, |
| | | 0xcf, 0x12, 0x5b, 0xa3, 0x38, 0x18, 0x14, 0x4d, 0xe3, 0xf7, 0x60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f, 0xd0, 0xf8, 0x13, 0x23, 0x93, 0x69, 0x31, 0xfe, 0xd4, |
| | | 0xc8, 0x74, 0x94, 0x4b, 0xf9, 0x24, 0xcf, 0x4e, 0xd3, 0xad, 0x0f, 0x8f, 0x3e, 0x82, 0x89, 0x53, |
| | | 0x18, 0x25, 0x59, 0x65, 0x5a, 0xa8, 0xd2, 0xdf, 0xc3, 0xf3, 0x0b, 0x5a, 0x7f, 0x7c, 0x0f, 0xcf, |
| | | 0x4f, 0x85, 0x14, 0xa5, 0xf0, 0x7b, 0x8f, 0x96, 0xe0, 0xef, 0x76, 0x1e, 0x76, 0x0b, 0x66, 0x91, |
| | | 0x58, 0x65, 0x69, 0x49, 0xae, 0xf3, 0xf7, 0x10, 0x61, 0x3e, 0x36, 0x08, 0x8f, 0xcd, 0x60, 0x6c, |
| | | 0xbf, 0xf2, 0x7b, 0x8f, 0x3e, 0x81, 0xfd, 0xae, 0x97, 0x8d, 0xda, 0x4f, 0xd7, 0x64, 0x4c, 0x7f, |
| | | 0xcf, 0x28, 0x66, 0x41, 0x13, 0x3a, 0xbe, 0xf7, 0x69, 0xf0, 0xc7, 0x6f, 0x0e, 0xbc, 0xaf, 0xbe, |
| | | 0x39, 0xf0, 0xfe, 0xfa, 0xcd, 0x81, 0xf7, 0x9b, 0x6f, 0x0f, 0xf6, 0xbe, 0xfa, 0xf6, 0x60, 0xef, |
| | | 0xcf, 0xdf, 0x1e, 0xec, 0xad, 0x47, 0xe4, 0xba, 0x8f, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0xb7, |
| | | 0x29, 0x90, 0xe3, 0xe8, 0x18, 0x00, 0x00, |
| | | 0xa7, 0x17, 0x9d, 0xd9, 0x01, 0xb4, 0x46, 0x0f, 0xeb, 0xc0, 0xf6, 0x30, 0x72, 0x00, 0xa0, 0x05, |
| | | 0x57, 0x9b, 0xb3, 0x13, 0xd3, 0x06, 0xf0, 0xcb, 0x16, 0x06, 0xe9, 0x69, 0x56, 0x54, 0x26, 0x21, |
| | | 0x5d, 0x17, 0x68, 0x30, 0x48, 0xdf, 0xe4, 0x52, 0x9a, 0x60, 0xb1, 0x6d, 0xa0, 0x85, 0x21, 0x6b, |
| | | 0xe7, 0x95, 0xda, 0xd4, 0x8d, 0xc0, 0x40, 0xec, 0x01, 0x2c, 0x78, 0xc6, 0xe5, 0x95, 0xdb, 0x92, |
| | | 0x6d, 0x43, 0xed, 0x22, 0xc3, 0x35, 0xcc, 0xad, 0xf9, 0x9f, 0x5d, 0x8a, 0xac, 0x64, 0x3f, 0x80, |
| | | 0xa9, 0xc0, 0x03, 0x76, 0x4a, 0x9b, 0xc1, 0xf7, 0x5b, 0x8b, 0x73, 0x8b, 0x15, 0x39, 0xa2, 0x86, |
| | | 0x99, 0xd2, 0x84, 0x5f, 0xc9, 0x9c, 0x1b, 0xa7, 0xcc, 0x23, 0x07, 0x86, 0xbf, 0x80, 0xfd, 0xe3, |
| | | 0xe4, 0xdc, 0x7d, 0xcb, 0x37, 0x67, 0xd7, 0x72, 0x32, 0xc0, 0x01, 0x74, 0x2d, 0x45, 0x9d, 0x91, |
| | | 0x0e, 0x64, 0x21, 0xcc, 0xad, 0x6f, 0x8f, 0x37, 0xb9, 0x75, 0x64, 0x2f, 0xea, 0xe0, 0xc2, 0x08, |
| | | 0xfc, 0xe6, 0xfe, 0x48, 0xe8, 0x4a, 0x96, 0xec, 0x47, 0xb0, 0xd8, 0xb4, 0x11, 0x14, 0x4c, 0xb3, |
| | | 0xc7, 0x41, 0xa7, 0x91, 0xb4, 0x44, 0x8a, 0xba, 0xec, 0xe1, 0xaf, 0xfa, 0x30, 0x25, 0x35, 0x8f, |
| | | 0x2a, 0x7d, 0xf6, 0x5a, 0x33, 0xfe, 0xdb, 0x76, 0xf7, 0x30, 0xfb, 0x83, 0xc9, 0x21, 0x5a, 0x33, |
| | | 0x8e, 0x69, 0x87, 0xb8, 0x07, 0xb4, 0xc2, 0xc4, 0xb8, 0x48, 0xd8, 0x32, 0x82, 0xf0, 0xb3, 0x8c, |
| | | 0xe6, 0xc5, 0x54, 0xc7, 0x9a, 0x97, 0xa9, 0x3e, 0xbd, 0x8a, 0xb9, 0x34, 0x19, 0x35, 0x89, 0xe6, |
| | | 0xa9, 0x3e, 0x36, 0xc8, 0xa5, 0x94, 0x58, 0xb7, 0x68, 0x7e, 0xa2, 0x99, 0x78, 0x64, 0xff, 0x7e, |
| | | 0xa9, 0xa4, 0xa0, 0x91, 0xb8, 0xe9, 0xd9, 0xe3, 0x4e, 0xcf, 0x7e, 0x0b, 0xa6, 0x66, 0x43, 0x6b, |
| | | 0xa6, 0xb9, 0x09, 0xad, 0x67, 0xe8, 0xb1, 0x77, 0x60, 0x46, 0x44, 0xbb, 0x61, 0x4e, 0x9b, 0xed, |
| | | 0xcd, 0x2e, 0x98, 0xff, 0x07, 0x93, 0xb4, 0x88, 0x8b, 0x5c, 0x95, 0x3a, 0x80, 0xdd, 0x8e, 0x8f, |
| | | 0x86, 0x59, 0x15, 0x47, 0xb9, 0x2a, 0xa3, 0x71, 0x4a, 0xbf, 0x9a, 0xbd, 0x07, 0x83, 0x4a, 0x49, |
| | | 0x1d, 0xcc, 0x76, 0xbb, 0x36, 0x32, 0xbf, 0x50, 0x32, 0x22, 0x32, 0xfb, 0xd0, 0x75, 0xf7, 0xf9, |
| | | 0xee, 0xca, 0x52, 0x9b, 0xbc, 0xd5, 0xe3, 0xc3, 0xaf, 0x3d, 0x58, 0x74, 0x08, 0xd7, 0xfc, 0x81, |
| | | 0xb6, 0xcf, 0x8b, 0x74, 0xd3, 0xfe, 0x13, 0x61, 0x4a, 0x18, 0x52, 0x14, 0xf7, 0x49, 0x22, 0x73, |
| | | 0xb5, 0xad, 0xf7, 0x49, 0x44, 0x60, 0x8f, 0x6e, 0xb7, 0xfb, 0xc1, 0xf7, 0x0d, 0xc4, 0xc3, 0x1b, |
| | | 0x06, 0x62, 0xfa, 0x6f, 0x4b, 0x0a, 0xdb, 0x65, 0x47, 0x76, 0x91,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x9d, 0xbf, 0x87, 0x08, 0xf3, 0xb1, 0x41, 0x78, 0x6c, 0x06, 0x63, 0xfb, 0x95, |
| | | 0xdf, 0x7b, 0xf4, 0x09, 0xec, 0x77, 0xbd, 0x6c, 0xd4, 0x7e, 0xba, 0x26, 0x63, 0xfa, 0x7b, 0x46, |
| | | 0x31, 0x0b, 0x9a, 0xd0, 0xf1, 0xbd, 0x4f, 0x83, 0x3f, 0x7e, 0x73, 0xe0, 0x7d, 0xf5, 0xcd, 0x81, |
| | | 0xf7, 0xd7, 0x6f, 0x0e, 0xbc, 0xdf, 0x7c, 0x7b, 0xb0, 0xf7, 0xd5, 0xb7, 0x07, 0x7b, 0x7f, 0xfe, |
| | | 0xf6, 0x60, 0x6f, 0x3d, 0x22, 0xd7, 0x7d, 0xfc, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x89, 0xae, |
| | | 0x59, 0xd6, 0xe8, 0x18, 0x00, 0x00, |
| | | } |
| | | |
| | | func (m *Area) Marshal() (dAtA []byte, err error) { |
| | |
| | | } |
| | | } |
| | | if len(m.AlarmLevel) > 0 { |
| | | dAtA5 := make([]byte, len(m.AlarmLevel)*10) |
| | | var j4 int |
| | | for _, num1 := range m.AlarmLevel { |
| | | num := uint64(num1) |
| | | for num >= 1<<7 { |
| | | dAtA5[j4] = uint8(uint64(num)&0x7f | 0x80) |
| | | num >>= 7 |
| | | j4++ |
| | | } |
| | | dAtA5[j4] = uint8(num) |
| | | j4++ |
| | | } |
| | | dAtA[i] = 0x3a |
| | | i++ |
| | | i = encodeVarintProtomsg(dAtA, i, uint64(j4)) |
| | | i += copy(dAtA[i:], dAtA5[:j4]) |
| | | i = encodeVarintProtomsg(dAtA, i, uint64(len(m.AlarmLevel))) |
| | | i += copy(dAtA[i:], m.AlarmLevel) |
| | | } |
| | | if len(m.SearchTime) > 0 { |
| | | for _, s := range m.SearchTime { |
| | |
| | | dAtA[i] = 0x12 |
| | | i++ |
| | | i = encodeVarintProtomsg(dAtA, i, uint64(m.Cam.Size())) |
| | | n6, err6 := m.Cam.MarshalTo(dAtA[i:]) |
| | | if err6 != nil { |
| | | return 0, err6 |
| | | n4, err4 := m.Cam.MarshalTo(dAtA[i:]) |
| | | if err4 != nil { |
| | | return 0, err4 |
| | | } |
| | | i += n6 |
| | | i += n4 |
| | | } |
| | | if len(m.ServerId) > 0 { |
| | | dAtA[i] = 0x1a |
| | |
| | | n += 1 + l + sovProtomsg(uint64(l)) |
| | | } |
| | | } |
| | | if len(m.AlarmLevel) > 0 { |
| | | l = 0 |
| | | for _, e := range m.AlarmLevel { |
| | | l += sovProtomsg(uint64(e)) |
| | | } |
| | | n += 1 + sovProtomsg(uint64(l)) + l |
| | | l = len(m.AlarmLevel) |
| | | if l > 0 { |
| | | n += 1 + l + sovProtomsg(uint64(l)) |
| | | } |
| | | if len(m.SearchTime) > 0 { |
| | | for _, s := range m.SearchTime { |
| | |
| | | } |
| | | |
| | | func sovProtomsg(x uint64) (n int) { |
| | | for { |
| | | n++ |
| | | x >>= 7 |
| | | if x == 0 { |
| | | break |
| | | } |
| | | } |
| | | return n |
| | | return (math_bits.Len64(x|1) + 6) / 7 |
| | | } |
| | | func sozProtomsg(x uint64) (n int) { |
| | | return sovProtomsg(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| | |
| | | m.Tabs = append(m.Tabs, string(dAtA[iNdEx:postIndex])) |
| | | iNdEx = postIndex |
| | | case 7: |
| | | if wireType == 0 { |
| | | var v int32 |
| | | for shift := uint(0); ; shift += 7 { |
| | | if shift >= 64 { |
| | | return ErrIntOverflowProtomsg |
| | | } |
| | | if iNdEx >= l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | b := dAtA[iNdEx] |
| | | iNdEx++ |
| | | v |= int32(b&0x7F) << shift |
| | | if b < 0x80 { |
| | | break |
| | | } |
| | | } |
| | | m.AlarmLevel = append(m.AlarmLevel, v) |
| | | } else if wireType == 2 { |
| | | var packedLen int |
| | | for shift := uint(0); ; shift += 7 { |
| | | if shift >= 64 { |
| | | return ErrIntOverflowProtomsg |
| | | } |
| | | if iNdEx >= l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | b := dAtA[iNdEx] |
| | | iNdEx++ |
| | | packedLen |= int(b&0x7F) << shift |
| | | if b < 0x80 { |
| | | break |
| | | } |
| | | } |
| | | if packedLen < 0 { |
| | | return ErrInvalidLengthProtomsg |
| | | } |
| | | postIndex := iNdEx + packedLen |
| | | if postIndex < 0 { |
| | | return ErrInvalidLengthProtomsg |
| | | } |
| | | if postIndex > l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | var elementCount int |
| | | var count int |
| | | for _, integer := range dAtA[iNdEx:postIndex] { |
| | | if integer < 128 { |
| | | count++ |
| | | } |
| | | } |
| | | elementCount = count |
| | | if elementCount != 0 && len(m.AlarmLevel) == 0 { |
| | | m.AlarmLevel = make([]int32, 0, elementCount) |
| | | } |
| | | for iNdEx < postIndex { |
| | | var v int32 |
| | | for shift := uint(0); ; shift += 7 { |
| | | if shift >= 64 { |
| | | return ErrIntOverflowProtomsg |
| | | } |
| | | if iNdEx >= l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | b := dAtA[iNdEx] |
| | | iNdEx++ |
| | | v |= int32(b&0x7F) << shift |
| | | if b < 0x80 { |
| | | break |
| | | } |
| | | } |
| | | m.AlarmLevel = append(m.AlarmLevel, v) |
| | | } |
| | | } else { |
| | | if wireType != 2 { |
| | | return fmt.Errorf("proto: wrong wireType = %d for field AlarmLevel", wireType) |
| | | } |
| | | var stringLen uint64 |
| | | for shift := uint(0); ; shift += 7 { |
| | | if shift >= 64 { |
| | | return ErrIntOverflowProtomsg |
| | | } |
| | | 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 ErrInvalidLengthProtomsg |
| | | } |
| | | postIndex := iNdEx + intStringLen |
| | | if postIndex < 0 { |
| | | return ErrInvalidLengthProtomsg |
| | | } |
| | | if postIndex > l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | m.AlarmLevel = string(dAtA[iNdEx:postIndex]) |
| | | iNdEx = postIndex |
| | | case 8: |
| | | if wireType != 2 { |
| | | return fmt.Errorf("proto: wrong wireType = %d for field SearchTime", wireType) |
| | |
| | | repeated string tasks = 4; |
| | | repeated string treeNodes = 5; |
| | | repeated string tabs = 6; |
| | | repeated int32 alarmLevel = 7; |
| | | string alarmLevel = 7; |
| | | repeated string searchTime = 8; |
| | | string inputValue = 9; |
| | | string collection = 10; |