|
@@ -571,17 +571,10 @@ type DocGetCheckResp struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //响应代码
|
|
|
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` //响应消息
|
|
|
- DocName string `protobuf:"bytes,3,opt,name=docName,proto3" json:"docName,omitempty"` //文档名称
|
|
|
- DocType int32 `protobuf:"varint,4,opt,name=docType,proto3" json:"docType,omitempty"` //文档类型
|
|
|
- DocFileSize int32 `protobuf:"varint,5,opt,name=docFileSize,proto3" json:"docFileSize,omitempty"` //文档大小
|
|
|
- DocPageSize int32 `protobuf:"varint,6,opt,name=docPageSize,proto3" json:"docPageSize,omitempty"` //文档页码数
|
|
|
- Tags string `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags,omitempty"` //文档标签
|
|
|
- UserId string `protobuf:"bytes,8,opt,name=userId,proto3" json:"userId,omitempty"` //上传人id
|
|
|
- DocSummary string `protobuf:"bytes,9,opt,name=docSummary,proto3" json:"docSummary,omitempty"` //摘要
|
|
|
- PreviewImgId string `protobuf:"bytes,10,opt,name=previewImgId,proto3" json:"previewImgId,omitempty"` //缩略图
|
|
|
- IsBuy bool `protobuf:"varint,11,opt,name=isBuy,proto3" json:"isBuy,omitempty"` //是否购买
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //响应代码
|
|
|
+ Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` //响应消息
|
|
|
+ IsBuy bool `protobuf:"varint,3,opt,name=isBuy,proto3" json:"isBuy,omitempty"` //是否购买
|
|
|
+ DocDeail *DocInfo `protobuf:"bytes,4,opt,name=DocDeail,proto3" json:"DocDeail,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (x *DocGetCheckResp) Reset() {
|
|
@@ -616,7 +609,7 @@ func (*DocGetCheckResp) Descriptor() ([]byte, []int) {
|
|
|
return file_stdlib_proto_rawDescGZIP(), []int{7}
|
|
|
}
|
|
|
|
|
|
-func (x *DocGetCheckResp) GetCode() int32 {
|
|
|
+func (x *DocGetCheckResp) GetCode() int64 {
|
|
|
if x != nil {
|
|
|
return x.Code
|
|
|
}
|
|
@@ -630,67 +623,153 @@ func (x *DocGetCheckResp) GetMsg() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *DocGetCheckResp) GetDocName() string {
|
|
|
+func (x *DocGetCheckResp) GetIsBuy() bool {
|
|
|
+ if x != nil {
|
|
|
+ return x.IsBuy
|
|
|
+ }
|
|
|
+ return false
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) GetDocDeail() *DocInfo {
|
|
|
+ if x != nil {
|
|
|
+ return x.DocDeail
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type DocInfo struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ DocId string `protobuf:"bytes,1,opt,name=docId,proto3" json:"docId,omitempty"` //文档id
|
|
|
+ DocName string `protobuf:"bytes,2,opt,name=docName,proto3" json:"docName,omitempty"` //文档名称
|
|
|
+ Price int64 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"` //价格
|
|
|
+ DocFileSize int64 `protobuf:"varint,4,opt,name=docFileSize,proto3" json:"docFileSize,omitempty"` //文档大小
|
|
|
+ DocPageSize int64 `protobuf:"varint,5,opt,name=docPageSize,proto3" json:"docPageSize,omitempty"` //文档页码数
|
|
|
+ Tags string `protobuf:"bytes,6,opt,name=tags,proto3" json:"tags,omitempty"` //文档标签
|
|
|
+ DownTimes int64 `protobuf:"varint,7,opt,name=downTimes,proto3" json:"downTimes,omitempty"` //下载次数
|
|
|
+ ViewTimes int64 `protobuf:"varint,8,opt,name=viewTimes,proto3" json:"viewTimes,omitempty"` //浏览次数
|
|
|
+ UploadDate string `protobuf:"bytes,9,opt,name=uploadDate,proto3" json:"uploadDate,omitempty"` //上传时间
|
|
|
+ DocSummary string `protobuf:"bytes,10,opt,name=docSummary,proto3" json:"docSummary,omitempty"` //摘要
|
|
|
+ DocFileType int64 `protobuf:"varint,11,opt,name=docFileType,proto3" json:"docFileType,omitempty"` //文档类型
|
|
|
+ PreviewImgId string `protobuf:"bytes,12,opt,name=previewImgId,proto3" json:"previewImgId,omitempty"` //缩略图oss
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocInfo) Reset() {
|
|
|
+ *x = DocInfo{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[8]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocInfo) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DocInfo) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DocInfo) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[8]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use DocInfo.ProtoReflect.Descriptor instead.
|
|
|
+func (*DocInfo) Descriptor() ([]byte, []int) {
|
|
|
+ return file_stdlib_proto_rawDescGZIP(), []int{8}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocInfo) GetDocId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DocId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocInfo) GetDocName() string {
|
|
|
if x != nil {
|
|
|
return x.DocName
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *DocGetCheckResp) GetDocType() int32 {
|
|
|
+func (x *DocInfo) GetPrice() int64 {
|
|
|
if x != nil {
|
|
|
- return x.DocType
|
|
|
+ return x.Price
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *DocGetCheckResp) GetDocFileSize() int32 {
|
|
|
+func (x *DocInfo) GetDocFileSize() int64 {
|
|
|
if x != nil {
|
|
|
return x.DocFileSize
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *DocGetCheckResp) GetDocPageSize() int32 {
|
|
|
+func (x *DocInfo) GetDocPageSize() int64 {
|
|
|
if x != nil {
|
|
|
return x.DocPageSize
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *DocGetCheckResp) GetTags() string {
|
|
|
+func (x *DocInfo) GetTags() string {
|
|
|
if x != nil {
|
|
|
return x.Tags
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *DocGetCheckResp) GetUserId() string {
|
|
|
+func (x *DocInfo) GetDownTimes() int64 {
|
|
|
if x != nil {
|
|
|
- return x.UserId
|
|
|
+ return x.DownTimes
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocInfo) GetViewTimes() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ViewTimes
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocInfo) GetUploadDate() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UploadDate
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *DocGetCheckResp) GetDocSummary() string {
|
|
|
+func (x *DocInfo) GetDocSummary() string {
|
|
|
if x != nil {
|
|
|
return x.DocSummary
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *DocGetCheckResp) GetPreviewImgId() string {
|
|
|
+func (x *DocInfo) GetDocFileType() int64 {
|
|
|
if x != nil {
|
|
|
- return x.PreviewImgId
|
|
|
+ return x.DocFileType
|
|
|
}
|
|
|
- return ""
|
|
|
+ return 0
|
|
|
}
|
|
|
|
|
|
-func (x *DocGetCheckResp) GetIsBuy() bool {
|
|
|
+func (x *DocInfo) GetPreviewImgId() string {
|
|
|
if x != nil {
|
|
|
- return x.IsBuy
|
|
|
+ return x.PreviewImgId
|
|
|
}
|
|
|
- return false
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
type DocGetContentResp struct {
|
|
@@ -706,7 +785,7 @@ type DocGetContentResp struct {
|
|
|
func (x *DocGetContentResp) Reset() {
|
|
|
*x = DocGetContentResp{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_stdlib_proto_msgTypes[8]
|
|
|
+ mi := &file_stdlib_proto_msgTypes[9]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -719,7 +798,7 @@ func (x *DocGetContentResp) String() string {
|
|
|
func (*DocGetContentResp) ProtoMessage() {}
|
|
|
|
|
|
func (x *DocGetContentResp) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_stdlib_proto_msgTypes[8]
|
|
|
+ mi := &file_stdlib_proto_msgTypes[9]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -732,7 +811,7 @@ func (x *DocGetContentResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use DocGetContentResp.ProtoReflect.Descriptor instead.
|
|
|
func (*DocGetContentResp) Descriptor() ([]byte, []int) {
|
|
|
- return file_stdlib_proto_rawDescGZIP(), []int{8}
|
|
|
+ return file_stdlib_proto_rawDescGZIP(), []int{9}
|
|
|
}
|
|
|
|
|
|
func (x *DocGetContentResp) GetCode() int32 {
|
|
@@ -770,7 +849,7 @@ type DocActivityReq struct {
|
|
|
func (x *DocActivityReq) Reset() {
|
|
|
*x = DocActivityReq{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_stdlib_proto_msgTypes[9]
|
|
|
+ mi := &file_stdlib_proto_msgTypes[10]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -783,7 +862,7 @@ func (x *DocActivityReq) String() string {
|
|
|
func (*DocActivityReq) ProtoMessage() {}
|
|
|
|
|
|
func (x *DocActivityReq) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_stdlib_proto_msgTypes[9]
|
|
|
+ mi := &file_stdlib_proto_msgTypes[10]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -796,7 +875,7 @@ func (x *DocActivityReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use DocActivityReq.ProtoReflect.Descriptor instead.
|
|
|
func (*DocActivityReq) Descriptor() ([]byte, []int) {
|
|
|
- return file_stdlib_proto_rawDescGZIP(), []int{9}
|
|
|
+ return file_stdlib_proto_rawDescGZIP(), []int{10}
|
|
|
}
|
|
|
|
|
|
func (x *DocActivityReq) GetPageNum() int32 {
|
|
@@ -844,7 +923,7 @@ type DocActivity struct {
|
|
|
func (x *DocActivity) Reset() {
|
|
|
*x = DocActivity{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_stdlib_proto_msgTypes[10]
|
|
|
+ mi := &file_stdlib_proto_msgTypes[11]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -857,7 +936,7 @@ func (x *DocActivity) String() string {
|
|
|
func (*DocActivity) ProtoMessage() {}
|
|
|
|
|
|
func (x *DocActivity) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_stdlib_proto_msgTypes[10]
|
|
|
+ mi := &file_stdlib_proto_msgTypes[11]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -870,7 +949,7 @@ func (x *DocActivity) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use DocActivity.ProtoReflect.Descriptor instead.
|
|
|
func (*DocActivity) Descriptor() ([]byte, []int) {
|
|
|
- return file_stdlib_proto_rawDescGZIP(), []int{10}
|
|
|
+ return file_stdlib_proto_rawDescGZIP(), []int{11}
|
|
|
}
|
|
|
|
|
|
func (x *DocActivity) GetDocId() string {
|
|
@@ -936,7 +1015,7 @@ type DocActivityResp struct {
|
|
|
func (x *DocActivityResp) Reset() {
|
|
|
*x = DocActivityResp{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_stdlib_proto_msgTypes[11]
|
|
|
+ mi := &file_stdlib_proto_msgTypes[12]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -949,7 +1028,7 @@ func (x *DocActivityResp) String() string {
|
|
|
func (*DocActivityResp) ProtoMessage() {}
|
|
|
|
|
|
func (x *DocActivityResp) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_stdlib_proto_msgTypes[11]
|
|
|
+ mi := &file_stdlib_proto_msgTypes[12]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -962,7 +1041,7 @@ func (x *DocActivityResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use DocActivityResp.ProtoReflect.Descriptor instead.
|
|
|
func (*DocActivityResp) Descriptor() ([]byte, []int) {
|
|
|
- return file_stdlib_proto_rawDescGZIP(), []int{11}
|
|
|
+ return file_stdlib_proto_rawDescGZIP(), []int{12}
|
|
|
}
|
|
|
|
|
|
func (x *DocActivityResp) GetCode() int32 {
|
|
@@ -1060,26 +1139,37 @@ var file_stdlib_proto_rawDesc = []byte{
|
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x6f, 0x63, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73,
|
|
|
0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
|
|
|
0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
- 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x22, 0xb5, 0x02, 0x0a, 0x0f, 0x44, 0x6f, 0x63,
|
|
|
- 0x47, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04,
|
|
|
- 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
|
|
|
- 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d,
|
|
|
- 0x73, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6f, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
|
|
|
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x6f, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
|
|
|
- 0x64, 0x6f, 0x63, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64,
|
|
|
- 0x6f, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6f, 0x63, 0x46, 0x69, 0x6c,
|
|
|
- 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x64, 0x6f, 0x63,
|
|
|
+ 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x22, 0x7a, 0x0a, 0x0f, 0x44, 0x6f, 0x63, 0x47,
|
|
|
+ 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63,
|
|
|
+ 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12,
|
|
|
+ 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73,
|
|
|
+ 0x67, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x42, 0x75, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
|
|
|
+ 0x52, 0x05, 0x69, 0x73, 0x42, 0x75, 0x79, 0x12, 0x2b, 0x0a, 0x08, 0x44, 0x6f, 0x63, 0x44, 0x65,
|
|
|
+ 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x74, 0x64, 0x6c,
|
|
|
+ 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x44, 0x6f, 0x63, 0x44,
|
|
|
+ 0x65, 0x61, 0x69, 0x6c, 0x22, 0xe9, 0x02, 0x0a, 0x07, 0x44, 0x6f, 0x63, 0x49, 0x6e, 0x66, 0x6f,
|
|
|
+ 0x12, 0x14, 0x0a, 0x05, 0x64, 0x6f, 0x63, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x05, 0x64, 0x6f, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6f, 0x63, 0x4e, 0x61, 0x6d,
|
|
|
+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x6f, 0x63, 0x4e, 0x61, 0x6d, 0x65,
|
|
|
+ 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
+ 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6f, 0x63, 0x46, 0x69, 0x6c,
|
|
|
+ 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x64, 0x6f, 0x63,
|
|
|
0x46, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6f, 0x63, 0x50,
|
|
|
- 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x64,
|
|
|
+ 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x64,
|
|
|
0x6f, 0x63, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61,
|
|
|
- 0x67, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x16,
|
|
|
- 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
|
|
- 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x6f, 0x63, 0x53, 0x75, 0x6d,
|
|
|
- 0x6d, 0x61, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x6f, 0x63, 0x53,
|
|
|
- 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65,
|
|
|
- 0x77, 0x49, 0x6d, 0x67, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72,
|
|
|
- 0x65, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6d, 0x67, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73,
|
|
|
- 0x42, 0x75, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x42, 0x75, 0x79,
|
|
|
+ 0x67, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1c,
|
|
|
+ 0x0a, 0x09, 0x64, 0x6f, 0x77, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x09, 0x64, 0x6f, 0x77, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09,
|
|
|
+ 0x76, 0x69, 0x65, 0x77, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
+ 0x09, 0x76, 0x69, 0x65, 0x77, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x70,
|
|
|
+ 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
|
+ 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x6f,
|
|
|
+ 0x63, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
|
+ 0x64, 0x6f, 0x63, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6f,
|
|
|
+ 0x63, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
+ 0x0b, 0x64, 0x6f, 0x63, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0c,
|
|
|
+ 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6d, 0x67, 0x49, 0x64, 0x18, 0x0c, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6d, 0x67, 0x49, 0x64,
|
|
|
0x22, 0x59, 0x0a, 0x11, 0x44, 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
|
|
|
0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
|
|
|
0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67,
|
|
@@ -1157,7 +1247,7 @@ func file_stdlib_proto_rawDescGZIP() []byte {
|
|
|
return file_stdlib_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_stdlib_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
|
+var file_stdlib_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
|
var file_stdlib_proto_goTypes = []interface{}{
|
|
|
(*DocQueryRequest)(nil), // 0: stdlib.DocQueryRequest
|
|
|
(*DocQueryResponse)(nil), // 1: stdlib.DocQueryResponse
|
|
@@ -1167,33 +1257,35 @@ var file_stdlib_proto_goTypes = []interface{}{
|
|
|
(*DocStatisticsReq)(nil), // 5: stdlib.DocStatisticsReq
|
|
|
(*DocGetCheckReq)(nil), // 6: stdlib.DocGetCheckReq
|
|
|
(*DocGetCheckResp)(nil), // 7: stdlib.DocGetCheckResp
|
|
|
- (*DocGetContentResp)(nil), // 8: stdlib.DocGetContentResp
|
|
|
- (*DocActivityReq)(nil), // 9: stdlib.DocActivityReq
|
|
|
- (*DocActivity)(nil), // 10: stdlib.DocActivity
|
|
|
- (*DocActivityResp)(nil), // 11: stdlib.DocActivityResp
|
|
|
+ (*DocInfo)(nil), // 8: stdlib.DocInfo
|
|
|
+ (*DocGetContentResp)(nil), // 9: stdlib.DocGetContentResp
|
|
|
+ (*DocActivityReq)(nil), // 10: stdlib.DocActivityReq
|
|
|
+ (*DocActivity)(nil), // 11: stdlib.DocActivity
|
|
|
+ (*DocActivityResp)(nil), // 12: stdlib.DocActivityResp
|
|
|
}
|
|
|
var file_stdlib_proto_depIdxs = []int32{
|
|
|
2, // 0: stdlib.DocQueryResponse.docs:type_name -> stdlib.Doc
|
|
|
- 10, // 1: stdlib.DocActivityResp.docs:type_name -> stdlib.DocActivity
|
|
|
- 0, // 2: stdlib.Stdlib.DocQuery:input_type -> stdlib.DocQueryRequest
|
|
|
- 3, // 3: stdlib.Stdlib.DocOn:input_type -> stdlib.DocChangeReq
|
|
|
- 3, // 4: stdlib.Stdlib.DocOff:input_type -> stdlib.DocChangeReq
|
|
|
- 5, // 5: stdlib.Stdlib.DocStatistics:input_type -> stdlib.DocStatisticsReq
|
|
|
- 6, // 6: stdlib.Stdlib.DocGetCheck:input_type -> stdlib.DocGetCheckReq
|
|
|
- 6, // 7: stdlib.Stdlib.DocGetContent:input_type -> stdlib.DocGetCheckReq
|
|
|
- 9, // 8: stdlib.Stdlib.DocActivity:input_type -> stdlib.DocActivityReq
|
|
|
- 1, // 9: stdlib.Stdlib.DocQuery:output_type -> stdlib.DocQueryResponse
|
|
|
- 4, // 10: stdlib.Stdlib.DocOn:output_type -> stdlib.DocChangeResp
|
|
|
- 4, // 11: stdlib.Stdlib.DocOff:output_type -> stdlib.DocChangeResp
|
|
|
- 4, // 12: stdlib.Stdlib.DocStatistics:output_type -> stdlib.DocChangeResp
|
|
|
- 7, // 13: stdlib.Stdlib.DocGetCheck:output_type -> stdlib.DocGetCheckResp
|
|
|
- 8, // 14: stdlib.Stdlib.DocGetContent:output_type -> stdlib.DocGetContentResp
|
|
|
- 11, // 15: stdlib.Stdlib.DocActivity:output_type -> stdlib.DocActivityResp
|
|
|
- 9, // [9:16] is the sub-list for method output_type
|
|
|
- 2, // [2:9] is the sub-list for method input_type
|
|
|
- 2, // [2:2] is the sub-list for extension type_name
|
|
|
- 2, // [2:2] is the sub-list for extension extendee
|
|
|
- 0, // [0:2] is the sub-list for field type_name
|
|
|
+ 8, // 1: stdlib.DocGetCheckResp.DocDeail:type_name -> stdlib.DocInfo
|
|
|
+ 11, // 2: stdlib.DocActivityResp.docs:type_name -> stdlib.DocActivity
|
|
|
+ 0, // 3: stdlib.Stdlib.DocQuery:input_type -> stdlib.DocQueryRequest
|
|
|
+ 3, // 4: stdlib.Stdlib.DocOn:input_type -> stdlib.DocChangeReq
|
|
|
+ 3, // 5: stdlib.Stdlib.DocOff:input_type -> stdlib.DocChangeReq
|
|
|
+ 5, // 6: stdlib.Stdlib.DocStatistics:input_type -> stdlib.DocStatisticsReq
|
|
|
+ 6, // 7: stdlib.Stdlib.DocGetCheck:input_type -> stdlib.DocGetCheckReq
|
|
|
+ 6, // 8: stdlib.Stdlib.DocGetContent:input_type -> stdlib.DocGetCheckReq
|
|
|
+ 10, // 9: stdlib.Stdlib.DocActivity:input_type -> stdlib.DocActivityReq
|
|
|
+ 1, // 10: stdlib.Stdlib.DocQuery:output_type -> stdlib.DocQueryResponse
|
|
|
+ 4, // 11: stdlib.Stdlib.DocOn:output_type -> stdlib.DocChangeResp
|
|
|
+ 4, // 12: stdlib.Stdlib.DocOff:output_type -> stdlib.DocChangeResp
|
|
|
+ 4, // 13: stdlib.Stdlib.DocStatistics:output_type -> stdlib.DocChangeResp
|
|
|
+ 7, // 14: stdlib.Stdlib.DocGetCheck:output_type -> stdlib.DocGetCheckResp
|
|
|
+ 9, // 15: stdlib.Stdlib.DocGetContent:output_type -> stdlib.DocGetContentResp
|
|
|
+ 12, // 16: stdlib.Stdlib.DocActivity:output_type -> stdlib.DocActivityResp
|
|
|
+ 10, // [10:17] is the sub-list for method output_type
|
|
|
+ 3, // [3:10] is the sub-list for method input_type
|
|
|
+ 3, // [3:3] is the sub-list for extension type_name
|
|
|
+ 3, // [3:3] is the sub-list for extension extendee
|
|
|
+ 0, // [0:3] is the sub-list for field type_name
|
|
|
}
|
|
|
|
|
|
func init() { file_stdlib_proto_init() }
|
|
@@ -1299,7 +1391,7 @@ func file_stdlib_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
file_stdlib_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*DocGetContentResp); i {
|
|
|
+ switch v := v.(*DocInfo); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
|
case 1:
|
|
@@ -1311,7 +1403,7 @@ func file_stdlib_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
file_stdlib_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*DocActivityReq); i {
|
|
|
+ switch v := v.(*DocGetContentResp); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
|
case 1:
|
|
@@ -1323,7 +1415,7 @@ func file_stdlib_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
file_stdlib_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*DocActivity); i {
|
|
|
+ switch v := v.(*DocActivityReq); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
|
case 1:
|
|
@@ -1335,6 +1427,18 @@ func file_stdlib_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
file_stdlib_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DocActivity); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_stdlib_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*DocActivityResp); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
@@ -1353,7 +1457,7 @@ func file_stdlib_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_stdlib_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 12,
|
|
|
+ NumMessages: 13,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|