|
|
|
@ -1045,6 +1045,90 @@ func (m *SearchDocumentRequest) GetExt() string {
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type DocumentScore struct {
|
|
|
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
|
DocumentId int64 `protobuf:"varint,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
|
|
|
|
|
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
|
|
|
Score int32 `protobuf:"varint,4,opt,name=score,proto3" json:"score,omitempty"`
|
|
|
|
|
CreatedAt *time.Time `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at,omitempty"`
|
|
|
|
|
UpdatedAt *time.Time `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *DocumentScore) Reset() { *m = DocumentScore{} }
|
|
|
|
|
func (m *DocumentScore) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*DocumentScore) ProtoMessage() {}
|
|
|
|
|
func (*DocumentScore) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_55a584ae3a7fc022, []int{13}
|
|
|
|
|
}
|
|
|
|
|
func (m *DocumentScore) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
}
|
|
|
|
|
func (m *DocumentScore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
if deterministic {
|
|
|
|
|
return xxx_messageInfo_DocumentScore.Marshal(b, m, deterministic)
|
|
|
|
|
} else {
|
|
|
|
|
b = b[:cap(b)]
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return b[:n], nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
func (m *DocumentScore) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_DocumentScore.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *DocumentScore) XXX_Size() int {
|
|
|
|
|
return m.Size()
|
|
|
|
|
}
|
|
|
|
|
func (m *DocumentScore) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_DocumentScore.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_DocumentScore proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *DocumentScore) GetId() int64 {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Id
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *DocumentScore) GetDocumentId() int64 {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.DocumentId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *DocumentScore) GetUserId() int64 {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.UserId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *DocumentScore) GetScore() int32 {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Score
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *DocumentScore) GetCreatedAt() *time.Time {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.CreatedAt
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *DocumentScore) GetUpdatedAt() *time.Time {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.UpdatedAt
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type SearchDocumentReply struct {
|
|
|
|
|
Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
|
|
|
|
Spend string `protobuf:"bytes,2,opt,name=spend,proto3" json:"spend,omitempty"`
|
|
|
|
@ -1055,7 +1139,7 @@ func (m *SearchDocumentReply) Reset() { *m = SearchDocumentReply{} }
|
|
|
|
|
func (m *SearchDocumentReply) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*SearchDocumentReply) ProtoMessage() {}
|
|
|
|
|
func (*SearchDocumentReply) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_55a584ae3a7fc022, []int{13}
|
|
|
|
|
return fileDescriptor_55a584ae3a7fc022, []int{14}
|
|
|
|
|
}
|
|
|
|
|
func (m *SearchDocumentReply) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -1113,7 +1197,7 @@ func (m *DownloadDocumentReply) Reset() { *m = DownloadDocumentReply{} }
|
|
|
|
|
func (m *DownloadDocumentReply) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*DownloadDocumentReply) ProtoMessage() {}
|
|
|
|
|
func (*DownloadDocumentReply) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_55a584ae3a7fc022, []int{14}
|
|
|
|
|
return fileDescriptor_55a584ae3a7fc022, []int{15}
|
|
|
|
|
}
|
|
|
|
|
func (m *DownloadDocumentReply) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -1163,6 +1247,7 @@ func init() {
|
|
|
|
|
proto.RegisterType((*ListDocumentForHomeItem)(nil), "api.v1.ListDocumentForHomeItem")
|
|
|
|
|
proto.RegisterType((*ListDocumentForHomeResponse)(nil), "api.v1.ListDocumentForHomeResponse")
|
|
|
|
|
proto.RegisterType((*SearchDocumentRequest)(nil), "api.v1.SearchDocumentRequest")
|
|
|
|
|
proto.RegisterType((*DocumentScore)(nil), "api.v1.DocumentScore")
|
|
|
|
|
proto.RegisterType((*SearchDocumentReply)(nil), "api.v1.SearchDocumentReply")
|
|
|
|
|
proto.RegisterType((*DownloadDocumentReply)(nil), "api.v1.DownloadDocumentReply")
|
|
|
|
|
}
|
|
|
|
@ -1170,102 +1255,107 @@ func init() {
|
|
|
|
|
func init() { proto.RegisterFile("api/v1/document.proto", fileDescriptor_55a584ae3a7fc022) }
|
|
|
|
|
|
|
|
|
|
var fileDescriptor_55a584ae3a7fc022 = []byte{
|
|
|
|
|
// 1515 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0xcd, 0x6e, 0xdb, 0xc6,
|
|
|
|
|
0x16, 0x0e, 0x45, 0xd9, 0x96, 0x8f, 0x64, 0xc5, 0x1e, 0x5b, 0x36, 0x4d, 0xd9, 0x92, 0x42, 0x5f,
|
|
|
|
|
0xdf, 0xab, 0x18, 0x17, 0x16, 0xe2, 0x8b, 0xdb, 0x45, 0xb3, 0x28, 0x1c, 0x27, 0x4d, 0x0d, 0x14,
|
|
|
|
|
0x45, 0xc0, 0x34, 0x08, 0x90, 0x8d, 0xc1, 0x88, 0x63, 0x89, 0x28, 0x25, 0xb2, 0xe4, 0xc8, 0xaa,
|
|
|
|
|
0x8d, 0x76, 0x53, 0x74, 0x5d, 0x04, 0x28, 0xd0, 0x37, 0xe8, 0x1b, 0x74, 0xd7, 0x17, 0xe8, 0x32,
|
|
|
|
|
0x40, 0x37, 0x05, 0xba, 0x68, 0x91, 0xf4, 0x41, 0x8a, 0x39, 0x33, 0x43, 0x51, 0x22, 0x65, 0x07,
|
|
|
|
|
0xd9, 0xf1, 0x9c, 0x39, 0xf3, 0x7d, 0x73, 0x7e, 0x67, 0x24, 0xa8, 0x39, 0xa1, 0xd7, 0xb9, 0xb8,
|
|
|
|
|
0xd7, 0x71, 0x83, 0xee, 0x68, 0x40, 0x87, 0xec, 0x30, 0x8c, 0x02, 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
|
|
|
0xec, 0x7b, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x18, 0x50, 0xbe, 0xb4, 0x12, 0x00, 0x00,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
@ -1290,6 +1380,10 @@ type DocumentAPIClient interface {
|
|
|
|
|
DownloadDocument(ctx context.Context, in *Document, opts ...grpc.CallOption) (*DownloadDocumentReply, error)
|
|
|
|
|
ListDocument(ctx context.Context, in *ListDocumentRequest, opts ...grpc.CallOption) (*ListDocumentReply, error)
|
|
|
|
|
SearchDocument(ctx context.Context, in *SearchDocumentRequest, opts ...grpc.CallOption) (*SearchDocumentReply, error)
|
|
|
|
|
// 设置文档评分
|
|
|
|
|
SetDocumentScore(ctx context.Context, in *DocumentScore, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
|
|
|
|
// 获取当前登录用户的文档评分
|
|
|
|
|
GetDocumentScore(ctx context.Context, in *DocumentScore, opts ...grpc.CallOption) (*DocumentScore, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type documentAPIClient struct {
|
|
|
|
@ -1390,6 +1484,24 @@ func (c *documentAPIClient) SearchDocument(ctx context.Context, in *SearchDocume
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *documentAPIClient) SetDocumentScore(ctx context.Context, in *DocumentScore, opts ...grpc.CallOption) (*emptypb.Empty, error) {
|
|
|
|
|
out := new(emptypb.Empty)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/api.v1.DocumentAPI/SetDocumentScore", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *documentAPIClient) GetDocumentScore(ctx context.Context, in *DocumentScore, opts ...grpc.CallOption) (*DocumentScore, error) {
|
|
|
|
|
out := new(DocumentScore)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/api.v1.DocumentAPI/GetDocumentScore", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// DocumentAPIServer is the server API for DocumentAPI service.
|
|
|
|
|
type DocumentAPIServer interface {
|
|
|
|
|
ListDocumentForHome(context.Context, *ListDocumentForHomeRequest) (*ListDocumentForHomeResponse, error)
|
|
|
|
@ -1402,6 +1514,10 @@ type DocumentAPIServer interface {
|
|
|
|
|
DownloadDocument(context.Context, *Document) (*DownloadDocumentReply, error)
|
|
|
|
|
ListDocument(context.Context, *ListDocumentRequest) (*ListDocumentReply, error)
|
|
|
|
|
SearchDocument(context.Context, *SearchDocumentRequest) (*SearchDocumentReply, error)
|
|
|
|
|
// 设置文档评分
|
|
|
|
|
SetDocumentScore(context.Context, *DocumentScore) (*emptypb.Empty, error)
|
|
|
|
|
// 获取当前登录用户的文档评分
|
|
|
|
|
GetDocumentScore(context.Context, *DocumentScore) (*DocumentScore, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnimplementedDocumentAPIServer can be embedded to have forward compatible implementations.
|
|
|
|
@ -1438,6 +1554,12 @@ func (*UnimplementedDocumentAPIServer) ListDocument(ctx context.Context, req *Li
|
|
|
|
|
func (*UnimplementedDocumentAPIServer) SearchDocument(ctx context.Context, req *SearchDocumentRequest) (*SearchDocumentReply, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SearchDocument not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedDocumentAPIServer) SetDocumentScore(ctx context.Context, req *DocumentScore) (*emptypb.Empty, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetDocumentScore not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedDocumentAPIServer) GetDocumentScore(ctx context.Context, req *DocumentScore) (*DocumentScore, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetDocumentScore not implemented")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func RegisterDocumentAPIServer(s *grpc.Server, srv DocumentAPIServer) {
|
|
|
|
|
s.RegisterService(&_DocumentAPI_serviceDesc, srv)
|
|
|
|
@ -1623,6 +1745,42 @@ func _DocumentAPI_SearchDocument_Handler(srv interface{}, ctx context.Context, d
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _DocumentAPI_SetDocumentScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(DocumentScore)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(DocumentAPIServer).SetDocumentScore(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/api.v1.DocumentAPI/SetDocumentScore",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(DocumentAPIServer).SetDocumentScore(ctx, req.(*DocumentScore))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _DocumentAPI_GetDocumentScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(DocumentScore)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(DocumentAPIServer).GetDocumentScore(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/api.v1.DocumentAPI/GetDocumentScore",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(DocumentAPIServer).GetDocumentScore(ctx, req.(*DocumentScore))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var _DocumentAPI_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
ServiceName: "api.v1.DocumentAPI",
|
|
|
|
|
HandlerType: (*DocumentAPIServer)(nil),
|
|
|
|
@ -1667,6 +1825,14 @@ var _DocumentAPI_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
MethodName: "SearchDocument",
|
|
|
|
|
Handler: _DocumentAPI_SearchDocument_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "SetDocumentScore",
|
|
|
|
|
Handler: _DocumentAPI_SetDocumentScore_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "GetDocumentScore",
|
|
|
|
|
Handler: _DocumentAPI_GetDocumentScore_Handler,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
|
Metadata: "api/v1/document.proto",
|
|
|
|
@ -2788,6 +2954,69 @@ func (m *SearchDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *DocumentScore) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return dAtA[:n], nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *DocumentScore) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *DocumentScore) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i := len(dAtA)
|
|
|
|
|
_ = i
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
if m.UpdatedAt != nil {
|
|
|
|
|
n25, err25 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):])
|
|
|
|
|
if err25 != nil {
|
|
|
|
|
return 0, err25
|
|
|
|
|
}
|
|
|
|
|
i -= n25
|
|
|
|
|
i = encodeVarintDocument(dAtA, i, uint64(n25))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x32
|
|
|
|
|
}
|
|
|
|
|
if m.CreatedAt != nil {
|
|
|
|
|
n26, err26 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):])
|
|
|
|
|
if err26 != nil {
|
|
|
|
|
return 0, err26
|
|
|
|
|
}
|
|
|
|
|
i -= n26
|
|
|
|
|
i = encodeVarintDocument(dAtA, i, uint64(n26))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x2a
|
|
|
|
|
}
|
|
|
|
|
if m.Score != 0 {
|
|
|
|
|
i = encodeVarintDocument(dAtA, i, uint64(m.Score))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x20
|
|
|
|
|
}
|
|
|
|
|
if m.UserId != 0 {
|
|
|
|
|
i = encodeVarintDocument(dAtA, i, uint64(m.UserId))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x18
|
|
|
|
|
}
|
|
|
|
|
if m.DocumentId != 0 {
|
|
|
|
|
i = encodeVarintDocument(dAtA, i, uint64(m.DocumentId))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x10
|
|
|
|
|
}
|
|
|
|
|
if m.Id != 0 {
|
|
|
|
|
i = encodeVarintDocument(dAtA, i, uint64(m.Id))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x8
|
|
|
|
|
}
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *SearchDocumentReply) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
@ -3272,6 +3501,35 @@ func (m *SearchDocumentRequest) Size() (n int) {
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *DocumentScore) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
if m.Id != 0 {
|
|
|
|
|
n += 1 + sovDocument(uint64(m.Id))
|
|
|
|
|
}
|
|
|
|
|
if m.DocumentId != 0 {
|
|
|
|
|
n += 1 + sovDocument(uint64(m.DocumentId))
|
|
|
|
|
}
|
|
|
|
|
if m.UserId != 0 {
|
|
|
|
|
n += 1 + sovDocument(uint64(m.UserId))
|
|
|
|
|
}
|
|
|
|
|
if m.Score != 0 {
|
|
|
|
|
n += 1 + sovDocument(uint64(m.Score))
|
|
|
|
|
}
|
|
|
|
|
if m.CreatedAt != nil {
|
|
|
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt)
|
|
|
|
|
n += 1 + l + sovDocument(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
if m.UpdatedAt != nil {
|
|
|
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt)
|
|
|
|
|
n += 1 + l + sovDocument(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *SearchDocumentReply) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
@ -6205,6 +6463,204 @@ func (m *SearchDocumentRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *DocumentScore) 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 ErrIntOverflowDocument
|
|
|
|
|
}
|
|
|
|
|
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: DocumentScore: wiretype end group for non-group")
|
|
|
|
|
}
|
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
|
return fmt.Errorf("proto: DocumentScore: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
|
}
|
|
|
|
|
switch fieldNum {
|
|
|
|
|
case 1:
|
|
|
|
|
if wireType != 0 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
|
|
|
|
|
}
|
|
|
|
|
m.Id = 0
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowDocument
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
m.Id |= int64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
case 2:
|
|
|
|
|
if wireType != 0 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DocumentId", wireType)
|
|
|
|
|
}
|
|
|
|
|
m.DocumentId = 0
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowDocument
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
m.DocumentId |= int64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
case 3:
|
|
|
|
|
if wireType != 0 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType)
|
|
|
|
|
}
|
|
|
|
|
m.UserId = 0
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowDocument
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
m.UserId |= int64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
case 4:
|
|
|
|
|
if wireType != 0 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType)
|
|
|
|
|
}
|
|
|
|
|
m.Score = 0
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowDocument
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
m.Score |= int32(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
case 5:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CreatedAt", wireType)
|
|
|
|
|
}
|
|
|
|
|
var msglen int
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowDocument
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
msglen |= int(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if msglen < 0 {
|
|
|
|
|
return ErrInvalidLengthDocument
|
|
|
|
|
}
|
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
|
if postIndex < 0 {
|
|
|
|
|
return ErrInvalidLengthDocument
|
|
|
|
|
}
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if m.CreatedAt == nil {
|
|
|
|
|
m.CreatedAt = new(time.Time)
|
|
|
|
|
}
|
|
|
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
case 6:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAt", wireType)
|
|
|
|
|
}
|
|
|
|
|
var msglen int
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowDocument
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
msglen |= int(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if msglen < 0 {
|
|
|
|
|
return ErrInvalidLengthDocument
|
|
|
|
|
}
|
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
|
if postIndex < 0 {
|
|
|
|
|
return ErrInvalidLengthDocument
|
|
|
|
|
}
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if m.UpdatedAt == nil {
|
|
|
|
|
m.UpdatedAt = new(time.Time)
|
|
|
|
|
}
|
|
|
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
default:
|
|
|
|
|
iNdEx = preIndex
|
|
|
|
|
skippy, err := skipDocument(dAtA[iNdEx:])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
|
|
|
return ErrInvalidLengthDocument
|
|
|
|
|
}
|
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
iNdEx += skippy
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *SearchDocumentReply) Unmarshal(dAtA []byte) error {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|