|
@@ -34,8 +34,14 @@ type DocQueryRequest struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- KeyWords string `protobuf:"bytes,1,opt,name=keyWords,proto3" json:"keyWords,omitempty"` //检索词
|
|
|
- PageNum int32 `protobuf:"varint,2,opt,name=pageNum,proto3" json:"pageNum,omitempty"` //页码
|
|
|
+ PageNum int32 `protobuf:"varint,1,opt,name=pageNum,proto3" json:"pageNum,omitempty"` //页码
|
|
|
+ PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` //每页数量
|
|
|
+ KeyWords string `protobuf:"bytes,3,opt,name=keyWords,proto3" json:"keyWords,omitempty"` //检索词 文档名检索 模糊
|
|
|
+ ItemArr []string `protobuf:"bytes,4,rep,name=itemArr,proto3" json:"itemArr,omitempty"` // 分类 []string
|
|
|
+ TagArr []string `protobuf:"bytes,5,rep,name=tagArr,proto3" json:"tagArr,omitempty"` // 标签 []string
|
|
|
+ PublishTimeSort int32 `protobuf:"varint,6,opt,name=publishTimeSort,proto3" json:"publishTimeSort,omitempty"` // 发布时间排序 1正序 2倒序
|
|
|
+ DownloadSort int32 `protobuf:"varint,7,opt,name=downloadSort,proto3" json:"downloadSort,omitempty"` // 下载次数排序 1正序 2倒序
|
|
|
+ ViewSort int32 `protobuf:"varint,8,opt,name=viewSort,proto3" json:"viewSort,omitempty"` // 浏览量排序 1正序 2倒序
|
|
|
}
|
|
|
|
|
|
func (x *DocQueryRequest) Reset() {
|
|
@@ -70,6 +76,20 @@ func (*DocQueryRequest) Descriptor() ([]byte, []int) {
|
|
|
return file_stdlib_proto_rawDescGZIP(), []int{0}
|
|
|
}
|
|
|
|
|
|
+func (x *DocQueryRequest) GetPageNum() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PageNum
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocQueryRequest) GetPageSize() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PageSize
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
func (x *DocQueryRequest) GetKeyWords() string {
|
|
|
if x != nil {
|
|
|
return x.KeyWords
|
|
@@ -77,9 +97,37 @@ func (x *DocQueryRequest) GetKeyWords() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *DocQueryRequest) GetPageNum() int32 {
|
|
|
+func (x *DocQueryRequest) GetItemArr() []string {
|
|
|
if x != nil {
|
|
|
- return x.PageNum
|
|
|
+ return x.ItemArr
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocQueryRequest) GetTagArr() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.TagArr
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocQueryRequest) GetPublishTimeSort() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PublishTimeSort
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocQueryRequest) GetDownloadSort() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.DownloadSort
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocQueryRequest) GetViewSort() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ViewSort
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
@@ -89,10 +137,10 @@ type DocQueryResponse struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //响应代码
|
|
|
- Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
- Docs []*Doc `protobuf:"bytes,3,rep,name=docs,proto3" json:"docs,omitempty"` //文档列表集合,没有分页参数
|
|
|
- Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` //总数
|
|
|
+ Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //响应代码
|
|
|
+ Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` //响应消息
|
|
|
+ Docs []*Doc `protobuf:"bytes,3,rep,name=docs,proto3" json:"docs,omitempty"` //文档列表集合,没有分页参数
|
|
|
+ Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` //总数
|
|
|
}
|
|
|
|
|
|
func (x *DocQueryResponse) Reset() {
|
|
@@ -134,9 +182,9 @@ func (x *DocQueryResponse) GetCode() int32 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *DocQueryResponse) GetMessage() string {
|
|
|
+func (x *DocQueryResponse) GetMsg() string {
|
|
|
if x != nil {
|
|
|
- return x.Message
|
|
|
+ return x.Msg
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
@@ -160,13 +208,14 @@ type Doc struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //文档id
|
|
|
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` //文档名称
|
|
|
- Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` //文档类型
|
|
|
- FileSize int32 `protobuf:"varint,4,opt,name=fileSize,proto3" json:"fileSize,omitempty"` //文档大小
|
|
|
- PageSize int32 `protobuf:"varint,5,opt,name=pageSize,proto3" json:"pageSize,omitempty"` //文档页码数
|
|
|
- Tags string `protobuf:"bytes,6,opt,name=tags,proto3" json:"tags,omitempty"` //文档标签
|
|
|
- UserId string `protobuf:"bytes,7,opt,name=userId,proto3" json:"userId,omitempty"` //上传人id
|
|
|
+ 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"` //文档名称
|
|
|
+ DocType int32 `protobuf:"varint,3,opt,name=docType,proto3" json:"docType,omitempty"` //文档类型
|
|
|
+ DocFileSize int32 `protobuf:"varint,4,opt,name=docFileSize,proto3" json:"docFileSize,omitempty"` //文档大小
|
|
|
+ DocPageSize int32 `protobuf:"varint,5,opt,name=docPageSize,proto3" json:"docPageSize,omitempty"` //文档页码数
|
|
|
+ Tags string `protobuf:"bytes,6,opt,name=tags,proto3" json:"tags,omitempty"` //文档标签
|
|
|
+ UserId string `protobuf:"bytes,7,opt,name=userId,proto3" json:"userId,omitempty"` //上传人id
|
|
|
+ DocSummary string `protobuf:"bytes,8,opt,name=docSummary,proto3" json:"docSummary,omitempty"` //摘要
|
|
|
}
|
|
|
|
|
|
func (x *Doc) Reset() {
|
|
@@ -201,37 +250,37 @@ func (*Doc) Descriptor() ([]byte, []int) {
|
|
|
return file_stdlib_proto_rawDescGZIP(), []int{2}
|
|
|
}
|
|
|
|
|
|
-func (x *Doc) GetId() string {
|
|
|
+func (x *Doc) GetDocId() string {
|
|
|
if x != nil {
|
|
|
- return x.Id
|
|
|
+ return x.DocId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *Doc) GetName() string {
|
|
|
+func (x *Doc) GetDocName() string {
|
|
|
if x != nil {
|
|
|
- return x.Name
|
|
|
+ return x.DocName
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *Doc) GetType() int32 {
|
|
|
+func (x *Doc) GetDocType() int32 {
|
|
|
if x != nil {
|
|
|
- return x.Type
|
|
|
+ return x.DocType
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *Doc) GetFileSize() int32 {
|
|
|
+func (x *Doc) GetDocFileSize() int32 {
|
|
|
if x != nil {
|
|
|
- return x.FileSize
|
|
|
+ return x.DocFileSize
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *Doc) GetPageSize() int32 {
|
|
|
+func (x *Doc) GetDocPageSize() int32 {
|
|
|
if x != nil {
|
|
|
- return x.PageSize
|
|
|
+ return x.DocPageSize
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
@@ -250,6 +299,13 @@ func (x *Doc) GetUserId() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
+func (x *Doc) GetDocSummary() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DocSummary
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
type DocChangeReq struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -407,45 +463,374 @@ func (x *DocStatisticsReq) GetDocStatisticsType() int32 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
+type DocGetCheckReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ DocId string `protobuf:"bytes,1,opt,name=docId,proto3" json:"docId,omitempty"` //文档id
|
|
|
+ UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` //用户id
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckReq) Reset() {
|
|
|
+ *x = DocGetCheckReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[6]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DocGetCheckReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DocGetCheckReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[6]
|
|
|
+ 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 DocGetCheckReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*DocGetCheckReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_stdlib_proto_rawDescGZIP(), []int{6}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckReq) GetDocId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DocId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckReq) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type DocGetCheckResp struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ 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"` //摘要
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) Reset() {
|
|
|
+ *x = DocGetCheckResp{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[7]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DocGetCheckResp) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[7]
|
|
|
+ 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 DocGetCheckResp.ProtoReflect.Descriptor instead.
|
|
|
+func (*DocGetCheckResp) Descriptor() ([]byte, []int) {
|
|
|
+ return file_stdlib_proto_rawDescGZIP(), []int{7}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) GetCode() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) GetMsg() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Msg
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) GetDocName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DocName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) GetDocType() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.DocType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) GetDocFileSize() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.DocFileSize
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) GetDocPageSize() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.DocPageSize
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) GetTags() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Tags
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetCheckResp) GetDocSummary() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DocSummary
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type DocGetContentResp struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ 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"` //响应消息
|
|
|
+ DocContent []byte `protobuf:"bytes,3,opt,name=docContent,proto3" json:"docContent,omitempty"` //文件内容
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetContentResp) Reset() {
|
|
|
+ *x = DocGetContentResp{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[8]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetContentResp) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DocGetContentResp) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DocGetContentResp) 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 DocGetContentResp.ProtoReflect.Descriptor instead.
|
|
|
+func (*DocGetContentResp) Descriptor() ([]byte, []int) {
|
|
|
+ return file_stdlib_proto_rawDescGZIP(), []int{8}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetContentResp) GetCode() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetContentResp) GetMsg() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Msg
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocGetContentResp) GetDocContent() []byte {
|
|
|
+ if x != nil {
|
|
|
+ return x.DocContent
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type DocActivityReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ PageNum int32 `protobuf:"varint,1,opt,name=pageNum,proto3" json:"pageNum,omitempty"` //页码
|
|
|
+ PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` //每页数量
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocActivityReq) Reset() {
|
|
|
+ *x = DocActivityReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[9]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocActivityReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DocActivityReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DocActivityReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[9]
|
|
|
+ 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 DocActivityReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*DocActivityReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_stdlib_proto_rawDescGZIP(), []int{9}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocActivityReq) GetPageNum() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PageNum
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocActivityReq) GetPageSize() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PageSize
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
var File_stdlib_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_stdlib_proto_rawDesc = []byte{
|
|
|
0x0a, 0x0c, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
|
|
|
- 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x22, 0x47, 0x0a, 0x0f, 0x44, 0x6f, 0x63, 0x51, 0x75, 0x65,
|
|
|
- 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79,
|
|
|
- 0x57, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79,
|
|
|
- 0x57, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d,
|
|
|
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x70, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x22,
|
|
|
- 0x77, 0x0a, 0x10, 0x44, 0x6f, 0x63, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
- 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
- 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
- 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
- 0x65, 0x12, 0x1f, 0x0a, 0x04, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
- 0x0b, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x52, 0x04, 0x64, 0x6f,
|
|
|
- 0x63, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
- 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0xa1, 0x01, 0x0a, 0x03, 0x44, 0x6f, 0x63,
|
|
|
- 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
|
|
|
- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
|
- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
|
- 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65,
|
|
|
- 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65,
|
|
|
- 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
|
|
|
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
|
|
|
- 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
|
- 0x74, 0x61, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x07,
|
|
|
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x0c,
|
|
|
- 0x44, 0x6f, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02,
|
|
|
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06,
|
|
|
- 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x65,
|
|
|
- 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x25, 0x0a, 0x0d, 0x44, 0x6f, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67,
|
|
|
- 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01,
|
|
|
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x56, 0x0a, 0x10, 0x44,
|
|
|
- 0x6f, 0x63, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x12,
|
|
|
- 0x14, 0x0a, 0x05, 0x64, 0x6f, 0x63, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
|
- 0x64, 0x6f, 0x63, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x44, 0x6f, 0x63, 0x53, 0x74, 0x61, 0x74,
|
|
|
- 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
|
- 0x52, 0x11, 0x44, 0x6f, 0x63, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x54,
|
|
|
- 0x79, 0x70, 0x65, 0x32, 0xf6, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x12, 0x3d,
|
|
|
+ 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x22, 0xff, 0x01, 0x0a, 0x0f, 0x44, 0x6f, 0x63, 0x51, 0x75,
|
|
|
+ 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61,
|
|
|
+ 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x70, 0x61, 0x67,
|
|
|
+ 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
|
|
|
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
|
|
|
+ 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x57, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x57, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x18, 0x0a, 0x07,
|
|
|
+ 0x69, 0x74, 0x65, 0x6d, 0x41, 0x72, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x69,
|
|
|
+ 0x74, 0x65, 0x6d, 0x41, 0x72, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x67, 0x41, 0x72, 0x72,
|
|
|
+ 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x67, 0x41, 0x72, 0x72, 0x12, 0x28,
|
|
|
+ 0x0a, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x6f, 0x72,
|
|
|
+ 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
|
|
|
+ 0x54, 0x69, 0x6d, 0x65, 0x53, 0x6f, 0x72, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x6f, 0x77, 0x6e,
|
|
|
+ 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x6f, 0x72, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c,
|
|
|
+ 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08,
|
|
|
+ 0x76, 0x69, 0x65, 0x77, 0x53, 0x6f, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
|
|
|
+ 0x76, 0x69, 0x65, 0x77, 0x53, 0x6f, 0x72, 0x74, 0x22, 0x6f, 0x0a, 0x10, 0x44, 0x6f, 0x63, 0x51,
|
|
|
+ 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x1f, 0x0a, 0x04, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
|
|
+ 0x32, 0x0b, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x52, 0x04, 0x64,
|
|
|
+ 0x6f, 0x63, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01,
|
|
|
+ 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0xdf, 0x01, 0x0a, 0x03, 0x44, 0x6f,
|
|
|
+ 0x63, 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, 0x18, 0x0a, 0x07, 0x64, 0x6f, 0x63, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 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, 0x04, 0x20, 0x01, 0x28, 0x05,
|
|
|
+ 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, 0x05, 0x20, 0x01,
|
|
|
+ 0x28, 0x05, 0x52, 0x0b, 0x64, 0x6f, 0x63, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
|
|
|
+ 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
|
|
|
+ 0x61, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x07, 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, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x0a, 0x64, 0x6f, 0x63, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x36, 0x0a, 0x0c, 0x44,
|
|
|
+ 0x6f, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
|
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72,
|
|
|
+ 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x65, 0x61,
|
|
|
+ 0x73, 0x6f, 0x6e, 0x22, 0x25, 0x0a, 0x0d, 0x44, 0x6f, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
|
|
+ 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20,
|
|
|
+ 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x56, 0x0a, 0x10, 0x44, 0x6f,
|
|
|
+ 0x63, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x12, 0x14,
|
|
|
+ 0x0a, 0x05, 0x64, 0x6f, 0x63, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64,
|
|
|
+ 0x6f, 0x63, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x44, 0x6f, 0x63, 0x53, 0x74, 0x61, 0x74, 0x69,
|
|
|
+ 0x73, 0x74, 0x69, 0x63, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
+ 0x11, 0x44, 0x6f, 0x63, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x54, 0x79,
|
|
|
+ 0x70, 0x65, 0x22, 0x3e, 0x0a, 0x0e, 0x44, 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63,
|
|
|
+ 0x6b, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x6f, 0x63, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
|
+ 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, 0x22, 0xfb, 0x01, 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, 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, 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,
|
|
|
+ 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,
|
|
|
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x64,
|
|
|
+ 0x6f, 0x63, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
|
+ 0x0a, 0x64, 0x6f, 0x63, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x46, 0x0a, 0x0e, 0x44,
|
|
|
+ 0x6f, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a,
|
|
|
+ 0x07, 0x70, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
|
|
+ 0x70, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53,
|
|
|
+ 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53,
|
|
|
+ 0x69, 0x7a, 0x65, 0x32, 0xbb, 0x03, 0x0a, 0x06, 0x53, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x12, 0x3d,
|
|
|
0x0a, 0x08, 0x44, 0x6f, 0x63, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x17, 0x2e, 0x73, 0x74, 0x64,
|
|
|
0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
|
|
|
0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63,
|
|
@@ -460,8 +845,20 @@ var file_stdlib_proto_rawDesc = []byte{
|
|
|
0x63, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x18, 0x2e, 0x73, 0x74,
|
|
|
0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69,
|
|
|
0x63, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44,
|
|
|
- 0x6f, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x62, 0x06, 0x70, 0x72,
|
|
|
- 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x6f, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3e, 0x0a, 0x0b,
|
|
|
+ 0x44, 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x73, 0x74,
|
|
|
+ 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
|
|
+ 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63,
|
|
|
+ 0x47, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0d,
|
|
|
+ 0x44, 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x2e,
|
|
|
+ 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x68, 0x65,
|
|
|
+ 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44,
|
|
|
+ 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
|
|
|
+ 0x12, 0x3f, 0x0a, 0x0b, 0x44, 0x6f, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12,
|
|
|
+ 0x16, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x41, 0x63, 0x74, 0x69,
|
|
|
+ 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62,
|
|
|
+ 0x2e, 0x44, 0x6f, 0x63, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
+ 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
@@ -476,14 +873,18 @@ func file_stdlib_proto_rawDescGZIP() []byte {
|
|
|
return file_stdlib_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_stdlib_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
|
+var file_stdlib_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
|
var file_stdlib_proto_goTypes = []interface{}{
|
|
|
- (*DocQueryRequest)(nil), // 0: stdlib.DocQueryRequest
|
|
|
- (*DocQueryResponse)(nil), // 1: stdlib.DocQueryResponse
|
|
|
- (*Doc)(nil), // 2: stdlib.Doc
|
|
|
- (*DocChangeReq)(nil), // 3: stdlib.DocChangeReq
|
|
|
- (*DocChangeResp)(nil), // 4: stdlib.DocChangeResp
|
|
|
- (*DocStatisticsReq)(nil), // 5: stdlib.DocStatisticsReq
|
|
|
+ (*DocQueryRequest)(nil), // 0: stdlib.DocQueryRequest
|
|
|
+ (*DocQueryResponse)(nil), // 1: stdlib.DocQueryResponse
|
|
|
+ (*Doc)(nil), // 2: stdlib.Doc
|
|
|
+ (*DocChangeReq)(nil), // 3: stdlib.DocChangeReq
|
|
|
+ (*DocChangeResp)(nil), // 4: stdlib.DocChangeResp
|
|
|
+ (*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
|
|
|
}
|
|
|
var file_stdlib_proto_depIdxs = []int32{
|
|
|
2, // 0: stdlib.DocQueryResponse.docs:type_name -> stdlib.Doc
|
|
@@ -491,12 +892,18 @@ var file_stdlib_proto_depIdxs = []int32{
|
|
|
3, // 2: stdlib.Stdlib.DocOn:input_type -> stdlib.DocChangeReq
|
|
|
3, // 3: stdlib.Stdlib.DocOff:input_type -> stdlib.DocChangeReq
|
|
|
5, // 4: stdlib.Stdlib.DocStatistics:input_type -> stdlib.DocStatisticsReq
|
|
|
- 1, // 5: stdlib.Stdlib.DocQuery:output_type -> stdlib.DocQueryResponse
|
|
|
- 4, // 6: stdlib.Stdlib.DocOn:output_type -> stdlib.DocChangeResp
|
|
|
- 4, // 7: stdlib.Stdlib.DocOff:output_type -> stdlib.DocChangeResp
|
|
|
- 4, // 8: stdlib.Stdlib.DocStatistics:output_type -> stdlib.DocChangeResp
|
|
|
- 5, // [5:9] is the sub-list for method output_type
|
|
|
- 1, // [1:5] is the sub-list for method input_type
|
|
|
+ 6, // 5: stdlib.Stdlib.DocGetCheck:input_type -> stdlib.DocGetCheckReq
|
|
|
+ 6, // 6: stdlib.Stdlib.DocGetContent:input_type -> stdlib.DocGetCheckReq
|
|
|
+ 9, // 7: stdlib.Stdlib.DocActivity:input_type -> stdlib.DocActivityReq
|
|
|
+ 1, // 8: stdlib.Stdlib.DocQuery:output_type -> stdlib.DocQueryResponse
|
|
|
+ 4, // 9: stdlib.Stdlib.DocOn:output_type -> stdlib.DocChangeResp
|
|
|
+ 4, // 10: stdlib.Stdlib.DocOff:output_type -> stdlib.DocChangeResp
|
|
|
+ 4, // 11: stdlib.Stdlib.DocStatistics:output_type -> stdlib.DocChangeResp
|
|
|
+ 7, // 12: stdlib.Stdlib.DocGetCheck:output_type -> stdlib.DocGetCheckResp
|
|
|
+ 8, // 13: stdlib.Stdlib.DocGetContent:output_type -> stdlib.DocGetContentResp
|
|
|
+ 1, // 14: stdlib.Stdlib.DocActivity:output_type -> stdlib.DocQueryResponse
|
|
|
+ 8, // [8:15] is the sub-list for method output_type
|
|
|
+ 1, // [1:8] is the sub-list for method input_type
|
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
|
0, // [0:1] is the sub-list for field type_name
|
|
@@ -580,6 +987,54 @@ func file_stdlib_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
+ file_stdlib_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DocGetCheckReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_stdlib_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DocGetCheckResp); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_stdlib_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DocGetContentResp); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_stdlib_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DocActivityReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
@@ -587,7 +1042,7 @@ func file_stdlib_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_stdlib_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 6,
|
|
|
+ NumMessages: 10,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|
|
@@ -617,6 +1072,9 @@ type StdlibClient interface {
|
|
|
DocOn(ctx context.Context, in *DocChangeReq, opts ...grpc.CallOption) (*DocChangeResp, error)
|
|
|
DocOff(ctx context.Context, in *DocChangeReq, opts ...grpc.CallOption) (*DocChangeResp, error)
|
|
|
DocStatistics(ctx context.Context, in *DocStatisticsReq, opts ...grpc.CallOption) (*DocChangeResp, error)
|
|
|
+ DocGetCheck(ctx context.Context, in *DocGetCheckReq, opts ...grpc.CallOption) (*DocGetCheckResp, error)
|
|
|
+ DocGetContent(ctx context.Context, in *DocGetCheckReq, opts ...grpc.CallOption) (*DocGetContentResp, error)
|
|
|
+ DocActivity(ctx context.Context, in *DocActivityReq, opts ...grpc.CallOption) (*DocQueryResponse, error)
|
|
|
}
|
|
|
|
|
|
type stdlibClient struct {
|
|
@@ -663,12 +1121,42 @@ func (c *stdlibClient) DocStatistics(ctx context.Context, in *DocStatisticsReq,
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
+func (c *stdlibClient) DocGetCheck(ctx context.Context, in *DocGetCheckReq, opts ...grpc.CallOption) (*DocGetCheckResp, error) {
|
|
|
+ out := new(DocGetCheckResp)
|
|
|
+ err := c.cc.Invoke(ctx, "/stdlib.Stdlib/DocGetCheck", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *stdlibClient) DocGetContent(ctx context.Context, in *DocGetCheckReq, opts ...grpc.CallOption) (*DocGetContentResp, error) {
|
|
|
+ out := new(DocGetContentResp)
|
|
|
+ err := c.cc.Invoke(ctx, "/stdlib.Stdlib/DocGetContent", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *stdlibClient) DocActivity(ctx context.Context, in *DocActivityReq, opts ...grpc.CallOption) (*DocQueryResponse, error) {
|
|
|
+ out := new(DocQueryResponse)
|
|
|
+ err := c.cc.Invoke(ctx, "/stdlib.Stdlib/DocActivity", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
// StdlibServer is the server API for Stdlib service.
|
|
|
type StdlibServer interface {
|
|
|
DocQuery(context.Context, *DocQueryRequest) (*DocQueryResponse, error)
|
|
|
DocOn(context.Context, *DocChangeReq) (*DocChangeResp, error)
|
|
|
DocOff(context.Context, *DocChangeReq) (*DocChangeResp, error)
|
|
|
DocStatistics(context.Context, *DocStatisticsReq) (*DocChangeResp, error)
|
|
|
+ DocGetCheck(context.Context, *DocGetCheckReq) (*DocGetCheckResp, error)
|
|
|
+ DocGetContent(context.Context, *DocGetCheckReq) (*DocGetContentResp, error)
|
|
|
+ DocActivity(context.Context, *DocActivityReq) (*DocQueryResponse, error)
|
|
|
}
|
|
|
|
|
|
// UnimplementedStdlibServer can be embedded to have forward compatible implementations.
|
|
@@ -687,6 +1175,15 @@ func (*UnimplementedStdlibServer) DocOff(context.Context, *DocChangeReq) (*DocCh
|
|
|
func (*UnimplementedStdlibServer) DocStatistics(context.Context, *DocStatisticsReq) (*DocChangeResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DocStatistics not implemented")
|
|
|
}
|
|
|
+func (*UnimplementedStdlibServer) DocGetCheck(context.Context, *DocGetCheckReq) (*DocGetCheckResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method DocGetCheck not implemented")
|
|
|
+}
|
|
|
+func (*UnimplementedStdlibServer) DocGetContent(context.Context, *DocGetCheckReq) (*DocGetContentResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method DocGetContent not implemented")
|
|
|
+}
|
|
|
+func (*UnimplementedStdlibServer) DocActivity(context.Context, *DocActivityReq) (*DocQueryResponse, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method DocActivity not implemented")
|
|
|
+}
|
|
|
|
|
|
func RegisterStdlibServer(s *grpc.Server, srv StdlibServer) {
|
|
|
s.RegisterService(&_Stdlib_serviceDesc, srv)
|
|
@@ -764,6 +1261,60 @@ func _Stdlib_DocStatistics_Handler(srv interface{}, ctx context.Context, dec fun
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
+func _Stdlib_DocGetCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(DocGetCheckReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(StdlibServer).DocGetCheck(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/stdlib.Stdlib/DocGetCheck",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(StdlibServer).DocGetCheck(ctx, req.(*DocGetCheckReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Stdlib_DocGetContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(DocGetCheckReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(StdlibServer).DocGetContent(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/stdlib.Stdlib/DocGetContent",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(StdlibServer).DocGetContent(ctx, req.(*DocGetCheckReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Stdlib_DocActivity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(DocActivityReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(StdlibServer).DocActivity(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/stdlib.Stdlib/DocActivity",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(StdlibServer).DocActivity(ctx, req.(*DocActivityReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
var _Stdlib_serviceDesc = grpc.ServiceDesc{
|
|
|
ServiceName: "stdlib.Stdlib",
|
|
|
HandlerType: (*StdlibServer)(nil),
|
|
@@ -784,6 +1335,18 @@ var _Stdlib_serviceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "DocStatistics",
|
|
|
Handler: _Stdlib_DocStatistics_Handler,
|
|
|
},
|
|
|
+ {
|
|
|
+ MethodName: "DocGetCheck",
|
|
|
+ Handler: _Stdlib_DocGetCheck_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "DocGetContent",
|
|
|
+ Handler: _Stdlib_DocGetContent_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "DocActivity",
|
|
|
+ Handler: _Stdlib_DocActivity_Handler,
|
|
|
+ },
|
|
|
},
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
Metadata: "stdlib.proto",
|