Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: remove node definition
Steven2f0b0e0071b4
diff --git a/api/v2/apidocs.swagger.md b/api/v2/apidocs.swagger.mdindex cac7f8523..1d0fe24a3 100644--- a/api/v2/apidocs.swagger.md+++ b/api/v2/apidocs.swagger.md@@ -4,9 +4,92 @@---## AuthService+### /api/v2/auth/signin++#### POST+##### Summary++SignIn signs in the user with the given username and password.++##### Parameters++| Name | Located in | Description | Required | Schema |+| ---- | ---------- | ----------- | -------- | ------ |+| username | query | | No | string |+| password | query | | No | string |+| neverExpire | query | | No | boolean |++##### Responses++| Code | Description | Schema |+| ---- | ----------- | ------ |+| 200 | A successful response. | [v2SignInResponse](#v2signinresponse) |+| default | An unexpected error response. | [googlerpcStatus](#googlerpcstatus) |++### /api/v2/auth/signin/sso++#### POST+##### Summary++SignInWithSSO signs in the user with the given SSO code.++##### Parameters++| Name | Located in | Description | Required | Schema |+| ---- | ---------- | ----------- | -------- | ------ |+| idpId | query | | No | integer |+| code | query | | No | string |+| redirectUri | query | | No | string |++##### Responses++| Code | Description | Schema |+| ---- | ----------- | ------ |+| 200 | A successful response. | [v2SignInWithSSOResponse](#v2signinwithssoresponse) |+| default | An unexpected error response. | [googlerpcStatus](#googlerpcstatus) |++### /api/v2/auth/signout++#### POST+##### Summary++SignOut signs out the user.++##### Responses++| Code | Description | Schema |+| ---- | ----------- | ------ |+| 200 | A successful response. | [v2SignOutResponse](#v2signoutresponse) |+| default | An unexpected error response. | [googlerpcStatus](#googlerpcstatus) |++### /api/v2/auth/signup++#### POST+##### Summary++SignUp signs up the user with the given username and password.++##### Parameters++| Name | Located in | Description | Required | Schema |+| ---- | ---------- | ----------- | -------- | ------ |+| username | query | | No | string |+| password | query | | No | string |++##### Responses++| Code | Description | Schema |+| ---- | ----------- | ------ |+| 200 | A successful response. | [v2SignUpResponse](#v2signupresponse) |+| default | An unexpected error response. | [googlerpcStatus](#googlerpcstatus) |+### /api/v2/auth/status#### POST+##### Summary++GetAuthStatus returns the current auth status of the user.+##### Responses| Code | Description | Schema |@@ -65,25 +148,6 @@| 200 | A successful response. | [v2DeleteInboxResponse](#v2deleteinboxresponse) || default | An unexpected error response. | [googlerpcStatus](#googlerpcstatus) |-----## MarkdownService--### /api/v2/markdown--#### POST-##### Parameters--| Name | Located in | Description | Required | Schema |-| ---- | ---------- | ----------- | -------- | ------ |-| body | body | | Yes | [v2ParseMarkdownRequest](#v2parsemarkdownrequest) |--##### Responses--| Code | Description | Schema |-| ---- | ----------- | ------ |-| 200 | A successful response. | [v2ParseMarkdownResponse](#v2parsemarkdownresponse) |-| default | An unexpected error response. | [googlerpcStatus](#googlerpcstatus) |----## MemoService@@ -344,6 +408,26 @@ GetMemoByName gets a memo by name.| 200 | A successful response. | [v2GetMemoByNameResponse](#v2getmemobynameresponse) || default | An unexpected error response. | [googlerpcStatus](#googlerpcstatus) |+### /api/v2/memos:export++#### POST+##### Summary++ExportMemos exports memos.++##### Parameters++| Name | Located in | Description | Required | Schema |+| ---- | ---------- | ----------- | -------- | ------ |+| filter | query | Same as ListMemosRequest.filter | No | string |++##### Responses++| Code | Description | Schema |+| ---- | ----------- | ------ |+| 200 | A successful response.(streaming responses) | { **"result"**: [v2ExportMemosResponse](#v2exportmemosresponse), **"error"**: [googlerpcStatus](#googlerpcstatus) } |+| default | An unexpected error response. | [googlerpcStatus](#googlerpcstatus) |+---## ResourceService@@ -856,12 +940,6 @@ CreateUser creates a new user.| memo | [v2Memo](#v2memo) | | No || updateMask | string | | No |-#### TableNodeRow--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| cells | [ string ] | | No |-#### UserRole| Name | Type | Description | Required |@@ -955,46 +1033,6 @@ CreateUser creates a new user.| createTime | dateTime | | No || payload | [apiv2ActivityPayload](#apiv2activitypayload) | | No |-#### v2AutoLinkNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| url | string | | No |-| isRawText | boolean | | No |--#### v2BlockquoteNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| children | [ [v2Node](#v2node) ] | | No |--#### v2BoldItalicNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| symbol | string | | No |-| content | string | | No |--#### v2BoldNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| symbol | string | | No |-| children | [ [v2Node](#v2node) ] | | No |--#### v2CodeBlockNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| language | string | | No |-| content | string | | No |--#### v2CodeNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| content | string | | No |-#### v2CreateMemoCommentResponse| Name | Type | Description | Required |@@ -1087,18 +1125,11 @@ CreateUser creates a new user.| ---- | ---- | ----------- | -------- || v2DeleteWebhookResponse | object | | |-#### v2EmbeddedContentNode+#### v2ExportMemosResponse| Name | Type | Description | Required || ---- | ---- | ----------- | -------- |-| resourceName | string | | No |-| params | string | | No |--#### v2EscapingCharacterNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| symbol | string | | No |+| file | byte | | No |#### v2GetActivityResponse@@ -1172,32 +1203,6 @@ CreateUser creates a new user.| ---- | ---- | ----------- | -------- || workspaceProfile | [v2WorkspaceProfile](#v2workspaceprofile) | | No |-#### v2HeadingNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| level | integer | | No |-| children | [ [v2Node](#v2node) ] | | No |--#### v2HighlightNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| content | string | | No |--#### v2HorizontalRuleNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| symbol | string | | No |--#### v2ImageNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| altText | string | | No |-| url | string | | No |-#### v2Inbox| Name | Type | Description | Required |@@ -1222,26 +1227,6 @@ CreateUser creates a new user.| ---- | ---- | ----------- | -------- || v2InboxType | string | | |-#### v2ItalicNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| symbol | string | | No |-| content | string | | No |--#### v2LineBreakNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| v2LineBreakNode | object | | |--#### v2LinkNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| text | string | | No |-| url | string | | No |-#### v2ListInboxesResponse| Name | Type | Description | Required |@@ -1303,18 +1288,6 @@ CreateUser creates a new user.| ---- | ---- | ----------- | -------- || webhooks | [ [apiv2Webhook](#apiv2webhook) ] | | No |-#### v2MathBlockNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| content | string | | No |--#### v2MathNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| content | string | | No |-#### v2Memo| Name | Type | Description | Required |@@ -1328,7 +1301,6 @@ CreateUser creates a new user.| updateTime | dateTime | | No || displayTime | dateTime | | No || content | string | | No |-| nodes | [ [v2Node](#v2node) ] | | No || visibility | [v2Visibility](#v2visibility) | | No || pinned | boolean | | No || parentId | integer | | No |@@ -1349,79 +1321,6 @@ CreateUser creates a new user.| ---- | ---- | ----------- | -------- || v2MemoRelationType | string | | |-#### v2Node--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| type | [v2NodeType](#v2nodetype) | | No |-| lineBreakNode | [v2LineBreakNode](#v2linebreaknode) | | No |-| paragraphNode | [v2ParagraphNode](#v2paragraphnode) | | No |-| codeBlockNode | [v2CodeBlockNode](#v2codeblocknode) | | No |-| headingNode | [v2HeadingNode](#v2headingnode) | | No |-| horizontalRuleNode | [v2HorizontalRuleNode](#v2horizontalrulenode) | | No |-| blockquoteNode | [v2BlockquoteNode](#v2blockquotenode) | | No |-| orderedListNode | [v2OrderedListNode](#v2orderedlistnode) | | No |-| unorderedListNode | [v2UnorderedListNode](#v2unorderedlistnode) | | No |-| taskListNode | [v2TaskListNode](#v2tasklistnode) | | No |-| mathBlockNode | [v2MathBlockNode](#v2mathblocknode) | | No |-| tableNode | [v2TableNode](#v2tablenode) | | No |-| embeddedContentNode | [v2EmbeddedContentNode](#v2embeddedcontentnode) | | No |-| textNode | [v2TextNode](#v2textnode) | | No |-| boldNode | [v2BoldNode](#v2boldnode) | | No |-| italicNode | [v2ItalicNode](#v2italicnode) | | No |-| boldItalicNode | [v2BoldItalicNode](#v2bolditalicnode) | | No |-| codeNode | [v2CodeNode](#v2codenode) | | No |-| imageNode | [v2ImageNode](#v2imagenode) | | No |-| linkNode | [v2LinkNode](#v2linknode) | | No |-| autoLinkNode | [v2AutoLinkNode](#v2autolinknode) | | No |-| tagNode | [v2TagNode](#v2tagnode) | | No |-| strikethroughNode | [v2StrikethroughNode](#v2strikethroughnode) | | No |-| escapingCharacterNode | [v2EscapingCharacterNode](#v2escapingcharacternode) | | No |-| mathNode | [v2MathNode](#v2mathnode) | | No |-| highlightNode | [v2HighlightNode](#v2highlightnode) | | No |-| subscriptNode | [v2SubscriptNode](#v2subscriptnode) | | No |-| superscriptNode | [v2SuperscriptNode](#v2superscriptnode) | | No |-| referencedContentNode | [v2ReferencedContentNode](#v2referencedcontentnode) | | No |--#### v2NodeType--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| v2NodeType | string | | |--#### v2OrderedListNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| number | string | | No |-| indent | integer | | No |-| children | [ [v2Node](#v2node) ] | | No |--#### v2ParagraphNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| children | [ [v2Node](#v2node) ] | | No |--#### v2ParseMarkdownRequest--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| markdown | string | | No |--#### v2ParseMarkdownResponse--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| nodes | [ [v2Node](#v2node) ] | | No |--#### v2ReferencedContentNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| resourceName | string | | No |-| params | string | | No |-#### v2RenameTagResponse| Name | Type | Description | Required |@@ -1453,31 +1352,29 @@ CreateUser creates a new user.| ---- | ---- | ----------- | -------- || v2SetMemoResourcesResponse | object | | |-#### v2StrikethroughNode+#### v2SignInResponse| Name | Type | Description | Required || ---- | ---- | ----------- | -------- |-| content | string | | No |+| user | [v2User](#v2user) | | No |-#### v2SubscriptNode+#### v2SignInWithSSOResponse| Name | Type | Description | Required || ---- | ---- | ----------- | -------- |-| content | string | | No |+| user | [v2User](#v2user) | | No |-#### v2SuperscriptNode+#### v2SignOutResponse| Name | Type | Description | Required || ---- | ---- | ----------- | -------- |-| content | string | | No |+| v2SignOutResponse | object | | |-#### v2TableNode+#### v2SignUpResponse| Name | Type | Description | Required || ---- | ---- | ----------- | -------- |-| header | [ string ] | | No |-| delimiter | [ string ] | | No |-| rows | [ [TableNodeRow](#tablenoderow) ] | | No |+| user | [v2User](#v2user) | | No |#### v2Tag@@ -1486,35 +1383,6 @@ CreateUser creates a new user.| name | string | | No || creator | string | | No |-#### v2TagNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| content | string | | No |--#### v2TaskListNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| symbol | string | | No |-| indent | integer | | No |-| complete | boolean | | No |-| children | [ [v2Node](#v2node) ] | | No |--#### v2TextNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| content | string | | No |--#### v2UnorderedListNode--| Name | Type | Description | Required |-| ---- | ---- | ----------- | -------- |-| symbol | string | | No |-| indent | integer | | No |-| children | [ [v2Node](#v2node) ] | | No |-#### v2UpdateInboxResponse| Name | Type | Description | Required |diff --git a/api/v2/apidocs.swagger.yaml b/api/v2/apidocs.swagger.yamlindex 2e469bf2c..e5c5c882b 100644--- a/api/v2/apidocs.swagger.yaml+++ b/api/v2/apidocs.swagger.yaml@@ -501,26 +501,6 @@ paths:type: stringtags:- MemoService- /api/v2/memos:preview:- post:- summary: PreviewMemoContent previews memo content.- operationId: MemoService_PreviewMemoContent- responses:- "200":- description: A successful response.- schema:- $ref: '#/definitions/v2PreviewMemoContentResponse'- default:- description: An unexpected error response.- schema:- $ref: '#/definitions/googlerpcStatus'- parameters:- - name: content- in: query- required: false- type: string- tags:- - MemoService/api/v2/resources:get:operationId: ResourceService_ListResources@@ -1291,13 +1271,6 @@ definitions:$ref: '#/definitions/v2Memo'updateMask:type: string- TableNodeRow:- type: object- properties:- cells:- type: array- items:- type: stringUserRole:type: stringenum:@@ -1443,50 +1416,6 @@ definitions:format: date-timepayload:$ref: '#/definitions/apiv2ActivityPayload'- v2AutoLinkNode:- type: object- properties:- url:- type: string- isRawText:- type: boolean- v2BlockquoteNode:- type: object- properties:- children:- type: array- items:- type: object- $ref: '#/definitions/v2Node'- v2BoldItalicNode:- type: object- properties:- symbol:- type: string- content:- type: string- v2BoldNode:- type: object- properties:- symbol:- type: string- children:- type: array- items:- type: object- $ref: '#/definitions/v2Node'- v2CodeBlockNode:- type: object- properties:- language:- type: string- content:- type: string- v2CodeNode:- type: object- properties:- content:- type: stringv2CreateMemoCommentResponse:type: objectproperties:@@ -1545,18 +1474,6 @@ definitions:type: objectv2DeleteWebhookResponse:type: object- v2EmbeddedContentNode:- type: object- properties:- resourceName:- type: string- params:- type: string- v2EscapingCharacterNode:- type: object- properties:- symbol:- type: stringv2ExportMemosResponse:type: objectproperties:@@ -1631,34 +1548,6 @@ definitions:properties:workspaceProfile:$ref: '#/definitions/v2WorkspaceProfile'- v2HeadingNode:- type: object- properties:- level:- type: integer- format: int32- children:- type: array- items:- type: object- $ref: '#/definitions/v2Node'- v2HighlightNode:- type: object- properties:- content:- type: string- v2HorizontalRuleNode:- type: object- properties:- symbol:- type: string- v2ImageNode:- type: object- properties:- altText:- type: string- url:- type: stringv2Inbox:type: objectproperties:@@ -1697,22 +1586,6 @@ definitions:- TYPE_MEMO_COMMENT- TYPE_VERSION_UPDATEdefault: TYPE_UNSPECIFIED- v2ItalicNode:- type: object- properties:- symbol:- type: string- content:- type: string- v2LineBreakNode:- type: object- v2LinkNode:- type: object- properties:- text:- type: string- url:- type: stringv2ListInboxesResponse:type: objectproperties:@@ -1798,16 +1671,6 @@ definitions:items:type: object$ref: '#/definitions/apiv2Webhook'- v2MathBlockNode:- type: object- properties:- content:- type: string- v2MathNode:- type: object- properties:- content:- type: stringv2Memo:type: objectproperties:@@ -1839,11 +1702,6 @@ definitions:format: date-timecontent:type: string- nodes:- type: array- items:- type: object- $ref: '#/definitions/v2Node'visibility:$ref: '#/definitions/v2Visibility'pinned:@@ -1882,136 +1740,6 @@ definitions:- REFERENCE- COMMENTdefault: TYPE_UNSPECIFIED- v2Node:- type: object- properties:- type:- $ref: '#/definitions/v2NodeType'- lineBreakNode:- $ref: '#/definitions/v2LineBreakNode'- paragraphNode:- $ref: '#/definitions/v2ParagraphNode'- codeBlockNode:- $ref: '#/definitions/v2CodeBlockNode'- headingNode:- $ref: '#/definitions/v2HeadingNode'- horizontalRuleNode:- $ref: '#/definitions/v2HorizontalRuleNode'- blockquoteNode:- $ref: '#/definitions/v2BlockquoteNode'- orderedListNode:- $ref: '#/definitions/v2OrderedListNode'- unorderedListNode:- $ref: '#/definitions/v2UnorderedListNode'- taskListNode:- $ref: '#/definitions/v2TaskListNode'- mathBlockNode:- $ref: '#/definitions/v2MathBlockNode'- tableNode:- $ref: '#/definitions/v2TableNode'- embeddedContentNode:- $ref: '#/definitions/v2EmbeddedContentNode'- textNode:- $ref: '#/definitions/v2TextNode'- boldNode:- $ref: '#/definitions/v2BoldNode'- italicNode:- $ref: '#/definitions/v2ItalicNode'- boldItalicNode:- $ref: '#/definitions/v2BoldItalicNode'- codeNode:- $ref: '#/definitions/v2CodeNode'- imageNode:- $ref: '#/definitions/v2ImageNode'- linkNode:- $ref: '#/definitions/v2LinkNode'- autoLinkNode:- $ref: '#/definitions/v2AutoLinkNode'- tagNode:- $ref: '#/definitions/v2TagNode'- strikethroughNode:- $ref: '#/definitions/v2StrikethroughNode'- escapingCharacterNode:- $ref: '#/definitions/v2EscapingCharacterNode'- mathNode:- $ref: '#/definitions/v2MathNode'- highlightNode:- $ref: '#/definitions/v2HighlightNode'- subscriptNode:- $ref: '#/definitions/v2SubscriptNode'- superscriptNode:- $ref: '#/definitions/v2SuperscriptNode'- referencedContentNode:- $ref: '#/definitions/v2ReferencedContentNode'- v2NodeType:- type: string- enum:- - NODE_UNSPECIFIED- - LINE_BREAK- - PARAGRAPH- - CODE_BLOCK- - HEADING- - HORIZONTAL_RULE- - BLOCKQUOTE- - ORDERED_LIST- - UNORDERED_LIST- - TASK_LIST- - MATH_BLOCK- - TABLE- - EMBEDDED_CONTENT- - TEXT- - BOLD- - ITALIC- - BOLD_ITALIC- - CODE- - IMAGE- - LINK- - AUTO_LINK- - TAG- - STRIKETHROUGH- - ESCAPING_CHARACTER- - MATH- - HIGHLIGHT- - SUBSCRIPT- - SUPERSCRIPT- - REFERENCED_CONTENT- default: NODE_UNSPECIFIED- v2OrderedListNode:- type: object- properties:- number:- type: string- indent:- type: integer- format: int32- children:- type: array- items:- type: object- $ref: '#/definitions/v2Node'- v2ParagraphNode:- type: object- properties:- children:- type: array- items:- type: object- $ref: '#/definitions/v2Node'- v2PreviewMemoContentResponse:- type: object- properties:- nodes:- type: array- items:- type: object- $ref: '#/definitions/v2Node'- v2ReferencedContentNode:- type: object- properties:- resourceName:- type: string- params:- type: stringv2RenameTagResponse:type: objectproperties:@@ -2063,37 +1791,6 @@ definitions:properties:user:$ref: '#/definitions/v2User'- v2StrikethroughNode:- type: object- properties:- content:- type: string- v2SubscriptNode:- type: object- properties:- content:- type: string- v2SuperscriptNode:- type: object- properties:- content:- type: string- v2TableNode:- type: object- properties:- header:- type: array- items:- type: string- delimiter:- type: array- items:- type: string- rows:- type: array- items:- type: object- $ref: '#/definitions/TableNodeRow'v2Tag:type: objectproperties:@@ -2104,44 +1801,6 @@ definitions:title: |-The creator of tags.Format: users/{username}- v2TagNode:- type: object- properties:- content:- type: string- v2TaskListNode:- type: object- properties:- symbol:- type: string- indent:- type: integer- format: int32- complete:- type: boolean- children:- type: array- items:- type: object- $ref: '#/definitions/v2Node'- v2TextNode:- type: object- properties:- content:- type: string- v2UnorderedListNode:- type: object- properties:- symbol:- type: string- indent:- type: integer- format: int32- children:- type: array- items:- type: object- $ref: '#/definitions/v2Node'v2UpdateInboxResponse:type: objectproperties:diff --git a/api/v2/markdown_service_test.go b/api/v2/markdown_service_test.godeleted file mode 100644index d301e4ce0..000000000--- a/api/v2/markdown_service_test.go+++ /dev/null@@ -1,30 +0,0 @@-package v2--import (- "testing"-- "github.com/stretchr/testify/require"- "github.com/yourselfhosted/gomark/ast"-- apiv2pb "github.com/usememos/memos/proto/gen/api/v2"-)--func TestConvertFromASTNodes(t *testing.T) {- tests := []struct {- name string- rawNodes []ast.Node- want []*apiv2pb.Node- }{- {- name: "empty",- want: []*apiv2pb.Node{},- },- }-- for _, tt := range tests {- t.Run(tt.name, func(t *testing.T) {- got := convertFromASTNodes(tt.rawNodes)- require.Equal(t, tt.want, got)- })- }-}diff --git a/api/v2/memo_service.go b/api/v2/memo_service.goindex d39e90d84..318492bf9 100644--- a/api/v2/memo_service.go+++ b/api/v2/memo_service.go@@ -14,7 +14,6 @@ import ("github.com/yourselfhosted/gomark/ast""github.com/yourselfhosted/gomark/parser""github.com/yourselfhosted/gomark/parser/tokenizer"- "github.com/yourselfhosted/gomark/restore""go.uber.org/zap"expr "google.golang.org/genproto/googleapis/api/expr/v1alpha1""google.golang.org/grpc/codes"@@ -267,10 +266,6 @@ func (s *APIV2Service) UpdateMemo(ctx context.Context, request *apiv2pb.UpdateMe}}})- } else if path == "nodes" {- nodes := convertToASTNodes(request.Memo.Nodes)- content := restore.Restore(nodes)- update.Content = &content} else if path == "resource_name" {update.ResourceName = &request.Memo.Nameif !util.ResourceNameMatcher.MatchString(*update.ResourceName) {@@ -549,18 +544,6 @@ func (s *APIV2Service) GetUserMemosStats(ctx context.Context, request *apiv2pb.Greturn response, nil}-func (*APIV2Service) PreviewMemoContent(_ context.Context, request *apiv2pb.PreviewMemoContentRequest) (*apiv2pb.PreviewMemoContentResponse, error) {- rawNodes, err := parser.Parse(tokenizer.Tokenize(request.Content))- if err != nil {- return nil, errors.Wrap(err, "failed to parse memo content")- }-- nodes := convertFromASTNodes(rawNodes)- return &apiv2pb.PreviewMemoContentResponse{- Nodes: nodes,- }, nil-}-func (s *APIV2Service) ExportMemos(request *apiv2pb.ExportMemosRequest, srv apiv2pb.MemoService_ExportMemosServer) error {ctx := srv.Context()fmt.Printf("%+v\n", ctx)@@ -617,10 +600,6 @@ func (s *APIV2Service) ExportMemos(request *apiv2pb.ExportMemosRequest, srv apiv}func (s *APIV2Service) convertMemoFromStore(ctx context.Context, memo *store.Memo) (*apiv2pb.Memo, error) {- rawNodes, err := parser.Parse(tokenizer.Tokenize(memo.Content))- if err != nil {- return nil, errors.Wrap(err, "failed to parse memo content")- }displayTs := memo.CreatedTsif displayWithUpdatedTs, err := s.getMemoDisplayWithUpdatedTsSettingValue(ctx); err == nil && displayWithUpdatedTs {displayTs = memo.UpdatedTs@@ -651,7 +630,6 @@ func (s *APIV2Service) convertMemoFromStore(ctx context.Context, memo *store.MemUpdateTime: timestamppb.New(time.Unix(memo.UpdatedTs, 0)),DisplayTime: timestamppb.New(time.Unix(displayTs, 0)),Content: memo.Content,- Nodes: convertFromASTNodes(rawNodes),Visibility: convertVisibilityFromStore(memo.Visibility),Pinned: memo.Pinned,ParentId: memo.ParentID,diff --git a/api/v2/node.go b/api/v2/node.goindex 78d9760d6..c04e95754 100644--- a/api/v2/node.go+++ b/api/v2/node.go@@ -2,196 +2,8 @@ package v2import ("github.com/yourselfhosted/gomark/ast"-- apiv2pb "github.com/usememos/memos/proto/gen/api/v2")-func convertFromASTNodes(rawNodes []ast.Node) []*apiv2pb.Node {- nodes := []*apiv2pb.Node{}- for _, rawNode := range rawNodes {- node := convertFromASTNode(rawNode)- nodes = append(nodes, node)- }- return nodes-}--func convertFromASTNode(rawNode ast.Node) *apiv2pb.Node {- node := &apiv2pb.Node{- Type: apiv2pb.NodeType(rawNode.Type()),- }-- switch n := rawNode.(type) {- case *ast.LineBreak:- node.Node = &apiv2pb.Node_LineBreakNode{}- case *ast.Paragraph:- children := convertFromASTNodes(n.Children)- node.Node = &apiv2pb.Node_ParagraphNode{ParagraphNode: &apiv2pb.ParagraphNode{Children: children}}- case *ast.CodeBlock:- node.Node = &apiv2pb.Node_CodeBlockNode{CodeBlockNode: &apiv2pb.CodeBlockNode{Language: n.Language, Content: n.Content}}- case *ast.Heading:- children := convertFromASTNodes(n.Children)- node.Node = &apiv2pb.Node_HeadingNode{HeadingNode: &apiv2pb.HeadingNode{Level: int32(n.Level), Children: children}}- case *ast.HorizontalRule:- node.Node = &apiv2pb.Node_HorizontalRuleNode{HorizontalRuleNode: &apiv2pb.HorizontalRuleNode{Symbol: n.Symbol}}- case *ast.Blockquote:- children := convertFromASTNodes(n.Children)- node.Node = &apiv2pb.Node_BlockquoteNode{BlockquoteNode: &apiv2pb.BlockquoteNode{Children: children}}- case *ast.OrderedList:- children := convertFromASTNodes(n.Children)- node.Node = &apiv2pb.Node_OrderedListNode{OrderedListNode: &apiv2pb.OrderedListNode{Number: n.Number, Indent: int32(n.Indent), Children: children}}- case *ast.UnorderedList:- children := convertFromASTNodes(n.Children)- node.Node = &apiv2pb.Node_UnorderedListNode{UnorderedListNode: &apiv2pb.UnorderedListNode{Symbol: n.Symbol, Indent: int32(n.Indent), Children: children}}- case *ast.TaskList:- children := convertFromASTNodes(n.Children)- node.Node = &apiv2pb.Node_TaskListNode{TaskListNode: &apiv2pb.TaskListNode{Symbol: n.Symbol, Indent: int32(n.Indent), Complete: n.Complete, Children: children}}- case *ast.MathBlock:- node.Node = &apiv2pb.Node_MathBlockNode{MathBlockNode: &apiv2pb.MathBlockNode{Content: n.Content}}- case *ast.Table:- node.Node = &apiv2pb.Node_TableNode{TableNode: convertTableFromASTNode(n)}- case *ast.EmbeddedContent:- node.Node = &apiv2pb.Node_EmbeddedContentNode{EmbeddedContentNode: &apiv2pb.EmbeddedContentNode{ResourceName: n.ResourceName, Params: n.Params}}- case *ast.Text:- node.Node = &apiv2pb.Node_TextNode{TextNode: &apiv2pb.TextNode{Content: n.Content}}- case *ast.Bold:- children := convertFromASTNodes(n.Children)- node.Node = &apiv2pb.Node_BoldNode{BoldNode: &apiv2pb.BoldNode{Symbol: n.Symbol, Children: children}}- case *ast.Italic:- node.Node = &apiv2pb.Node_ItalicNode{ItalicNode: &apiv2pb.ItalicNode{Symbol: n.Symbol, Content: n.Content}}- case *ast.BoldItalic:- node.Node = &apiv2pb.Node_BoldItalicNode{BoldItalicNode: &apiv2pb.BoldItalicNode{Symbol: n.Symbol, Content: n.Content}}- case *ast.Code:- node.Node = &apiv2pb.Node_CodeNode{CodeNode: &apiv2pb.CodeNode{Content: n.Content}}- case *ast.Image:- node.Node = &apiv2pb.Node_ImageNode{ImageNode: &apiv2pb.ImageNode{AltText: n.AltText, Url: n.URL}}- case *ast.Link:- node.Node = &apiv2pb.Node_LinkNode{LinkNode: &apiv2pb.LinkNode{Text: n.Text, Url: n.URL}}- case *ast.AutoLink:- node.Node = &apiv2pb.Node_AutoLinkNode{AutoLinkNode: &apiv2pb.AutoLinkNode{Url: n.URL, IsRawText: n.IsRawText}}- case *ast.Tag:- node.Node = &apiv2pb.Node_TagNode{TagNode: &apiv2pb.TagNode{Content: n.Content}}- case *ast.Strikethrough:- node.Node = &apiv2pb.Node_StrikethroughNode{StrikethroughNode: &apiv2pb.StrikethroughNode{Content: n.Content}}- case *ast.EscapingCharacter:- node.Node = &apiv2pb.Node_EscapingCharacterNode{EscapingCharacterNode: &apiv2pb.EscapingCharacterNode{Symbol: n.Symbol}}- case *ast.Math:- node.Node = &apiv2pb.Node_MathNode{MathNode: &apiv2pb.MathNode{Content: n.Content}}- case *ast.Highlight:- node.Node = &apiv2pb.Node_HighlightNode{HighlightNode: &apiv2pb.HighlightNode{Content: n.Content}}- case *ast.Subscript:- node.Node = &apiv2pb.Node_SubscriptNode{SubscriptNode: &apiv2pb.SubscriptNode{Content: n.Content}}- case *ast.Superscript:- node.Node = &apiv2pb.Node_SuperscriptNode{SuperscriptNode: &apiv2pb.SuperscriptNode{Content: n.Content}}- case *ast.ReferencedContent:- node.Node = &apiv2pb.Node_ReferencedContentNode{ReferencedContentNode: &apiv2pb.ReferencedContentNode{ResourceName: n.ResourceName, Params: n.Params}}- default:- node.Node = &apiv2pb.Node_TextNode{TextNode: &apiv2pb.TextNode{}}- }-- return node-}--func convertTableFromASTNode(node *ast.Table) *apiv2pb.TableNode {- table := &apiv2pb.TableNode{- Header: node.Header,- Delimiter: node.Delimiter,- }- for _, row := range node.Rows {- table.Rows = append(table.Rows, &apiv2pb.TableNode_Row{Cells: row})- }- return table-}--func convertToASTNodes(nodes []*apiv2pb.Node) []ast.Node {- rawNodes := []ast.Node{}- for _, node := range nodes {- rawNode := convertToASTNode(node)- rawNodes = append(rawNodes, rawNode)- }- return rawNodes-}--func convertToASTNode(node *apiv2pb.Node) ast.Node {- switch n := node.Node.(type) {- case *apiv2pb.Node_LineBreakNode:- return &ast.LineBreak{}- case *apiv2pb.Node_ParagraphNode:- children := convertToASTNodes(n.ParagraphNode.Children)- return &ast.Paragraph{Children: children}- case *apiv2pb.Node_CodeBlockNode:- return &ast.CodeBlock{Language: n.CodeBlockNode.Language, Content: n.CodeBlockNode.Content}- case *apiv2pb.Node_HeadingNode:- children := convertToASTNodes(n.HeadingNode.Children)- return &ast.Heading{Level: int(n.HeadingNode.Level), Children: children}- case *apiv2pb.Node_HorizontalRuleNode:- return &ast.HorizontalRule{Symbol: n.HorizontalRuleNode.Symbol}- case *apiv2pb.Node_BlockquoteNode:- children := convertToASTNodes(n.BlockquoteNode.Children)- return &ast.Blockquote{Children: children}- case *apiv2pb.Node_OrderedListNode:- children := convertToASTNodes(n.OrderedListNode.Children)- return &ast.OrderedList{Number: n.OrderedListNode.Number, Indent: int(n.OrderedListNode.Indent), Children: children}- case *apiv2pb.Node_UnorderedListNode:- children := convertToASTNodes(n.UnorderedListNode.Children)- return &ast.UnorderedList{Symbol: n.UnorderedListNode.Symbol, Indent: int(n.UnorderedListNode.Indent), Children: children}- case *apiv2pb.Node_TaskListNode:- children := convertToASTNodes(n.TaskListNode.Children)- return &ast.TaskList{Symbol: n.TaskListNode.Symbol, Indent: int(n.TaskListNode.Indent), Complete: n.TaskListNode.Complete, Children: children}- case *apiv2pb.Node_MathBlockNode:- return &ast.MathBlock{Content: n.MathBlockNode.Content}- case *apiv2pb.Node_TableNode:- return convertTableToASTNode(node)- case *apiv2pb.Node_EmbeddedContentNode:- return &ast.EmbeddedContent{ResourceName: n.EmbeddedContentNode.ResourceName, Params: n.EmbeddedContentNode.Params}- case *apiv2pb.Node_TextNode:- return &ast.Text{Content: n.TextNode.Content}- case *apiv2pb.Node_BoldNode:- children := convertToASTNodes(n.BoldNode.Children)- return &ast.Bold{Symbol: n.BoldNode.Symbol, Children: children}- case *apiv2pb.Node_ItalicNode:- return &ast.Italic{Symbol: n.ItalicNode.Symbol, Content: n.ItalicNode.Content}- case *apiv2pb.Node_BoldItalicNode:- return &ast.BoldItalic{Symbol: n.BoldItalicNode.Symbol, Content: n.BoldItalicNode.Content}- case *apiv2pb.Node_CodeNode:- return &ast.Code{Content: n.CodeNode.Content}- case *apiv2pb.Node_ImageNode:- return &ast.Image{AltText: n.ImageNode.AltText, URL: n.ImageNode.Url}- case *apiv2pb.Node_LinkNode:- return &ast.Link{Text: n.LinkNode.Text, URL: n.LinkNode.Url}- case *apiv2pb.Node_AutoLinkNode:- return &ast.AutoLink{URL: n.AutoLinkNode.Url, IsRawText: n.AutoLinkNode.IsRawText}- case *apiv2pb.Node_TagNode:- return &ast.Tag{Content: n.TagNode.Content}- case *apiv2pb.Node_StrikethroughNode:- return &ast.Strikethrough{Content: n.StrikethroughNode.Content}- case *apiv2pb.Node_EscapingCharacterNode:- return &ast.EscapingCharacter{Symbol: n.EscapingCharacterNode.Symbol}- case *apiv2pb.Node_MathNode:- return &ast.Math{Content: n.MathNode.Content}- case *apiv2pb.Node_HighlightNode:- return &ast.Highlight{Content: n.HighlightNode.Content}- case *apiv2pb.Node_SubscriptNode:- return &ast.Subscript{Content: n.SubscriptNode.Content}- case *apiv2pb.Node_SuperscriptNode:- return &ast.Superscript{Content: n.SuperscriptNode.Content}- case *apiv2pb.Node_ReferencedContentNode:- return &ast.ReferencedContent{ResourceName: n.ReferencedContentNode.ResourceName, Params: n.ReferencedContentNode.Params}- default:- return &ast.Text{}- }-}--func convertTableToASTNode(node *apiv2pb.Node) *ast.Table {- table := &ast.Table{- Header: node.GetTableNode().Header,- Delimiter: node.GetTableNode().Delimiter,- }- for _, row := range node.GetTableNode().Rows {- table.Rows = append(table.Rows, row.Cells)- }- return table-}-func traverseASTNodes(nodes []ast.Node, fn func(ast.Node)) {for _, node := range nodes {fn(node)diff --git a/go.mod b/go.modindex 1050ccd8c..226b3f648 100644--- a/go.mod+++ b/go.mod@@ -25,7 +25,7 @@ require (github.com/spf13/viper v1.18.2github.com/stretchr/testify v1.8.4github.com/swaggo/swag v1.16.2- github.com/yourselfhosted/gomark v0.0.0-20240131105606-5333db6f5616+ github.com/yourselfhosted/gomark v0.0.0-20240131133943-224a9a6d90fcgo.uber.org/zap v1.26.0golang.org/x/crypto v0.18.0golang.org/x/exp v0.0.0-20240119083558-1b970713d09adiff --git a/go.sum b/go.sumindex 42cb16ced..c701671ff 100644--- a/go.sum+++ b/go.sum@@ -464,8 +464,8 @@ github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCgithub.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo=github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=-github.com/yourselfhosted/gomark v0.0.0-20240131105606-5333db6f5616 h1:0CGKgsvZTYP54XexlxytlNesG0wNITs65B6yB1WfEy8=-github.com/yourselfhosted/gomark v0.0.0-20240131105606-5333db6f5616/go.mod h1:3CnrFK/H9I9D3ZHgjHQNcsh848Fv/FJUoC2vDMLYtt4=+github.com/yourselfhosted/gomark v0.0.0-20240131133943-224a9a6d90fc h1:JDF1cKZQjAH6CB2dViFscv88jS4LFt+BawCNDY+zpms=+github.com/yourselfhosted/gomark v0.0.0-20240131133943-224a9a6d90fc/go.mod h1:dfl9FHGIw1oISjPc16u8n6/H/dngiVfdVRtS5+WJ4Js=github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg=diff --git a/proto/api/v2/memo_service.proto b/proto/api/v2/memo_service.protoindex 53b1add38..500cf9e69 100644--- a/proto/api/v2/memo_service.proto+++ b/proto/api/v2/memo_service.proto@@ -4,7 +4,6 @@ package memos.api.v2;import "api/v2/common.proto";import "api/v2/memo_relation_service.proto";-import "api/v2/node.proto";import "api/v2/resource_service.proto";import "google/api/annotations.proto";import "google/api/client.proto";@@ -85,10 +84,6 @@ service MemoService {option (google.api.http) = {get: "/api/v2/memos/{id}/comments"};option (google.api.method_signature) = "id";}- // PreviewMemoContent previews memo content.- rpc PreviewMemoContent(PreviewMemoContentRequest) returns (PreviewMemoContentResponse) {- option (google.api.http) = {post: "/api/v2/memos:preview"};- }// ExportMemos exports memos.rpc ExportMemos(ExportMemosRequest) returns (stream ExportMemosResponse) {option (google.api.http) = {post: "/api/v2/memos:export"};@@ -133,17 +128,15 @@ message Memo {string content = 9;- repeated Node nodes = 10;-- Visibility visibility = 11;+ Visibility visibility = 10;- bool pinned = 12;+ bool pinned = 11;- optional int32 parent_id = 13 [(google.api.field_behavior) = OUTPUT_ONLY];+ optional int32 parent_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY];- repeated Resource resources = 14 [(google.api.field_behavior) = OUTPUT_ONLY];+ repeated Resource resources = 13 [(google.api.field_behavior) = OUTPUT_ONLY];- repeated MemoRelation relations = 15 [(google.api.field_behavior) = OUTPUT_ONLY];+ repeated MemoRelation relations = 14 [(google.api.field_behavior) = OUTPUT_ONLY];}message CreateMemoRequest {@@ -282,14 +275,6 @@ message GetUserMemosStatsResponse {map<string, int32> stats = 1;}-message PreviewMemoContentRequest {- string content = 1;-}--message PreviewMemoContentResponse {- repeated Node nodes = 1;-}-message ExportMemosRequest {// Same as ListMemosRequest.filterstring filter = 1;diff --git a/proto/api/v2/node.proto b/proto/api/v2/node.protodeleted file mode 100644index 2f828b3e2..000000000--- a/proto/api/v2/node.proto+++ /dev/null@@ -1,204 +0,0 @@-syntax = "proto3";--package memos.api.v2;--option go_package = "gen/api/v2";--enum NodeType {- NODE_UNSPECIFIED = 0;- LINE_BREAK = 1;- PARAGRAPH = 2;- CODE_BLOCK = 3;- HEADING = 4;- HORIZONTAL_RULE = 5;- BLOCKQUOTE = 6;- ORDERED_LIST = 7;- UNORDERED_LIST = 8;- TASK_LIST = 9;- MATH_BLOCK = 10;- TABLE = 11;- EMBEDDED_CONTENT = 12;- TEXT = 13;- BOLD = 14;- ITALIC = 15;- BOLD_ITALIC = 16;- CODE = 17;- IMAGE = 18;- LINK = 19;- AUTO_LINK = 20;- TAG = 21;- STRIKETHROUGH = 22;- ESCAPING_CHARACTER = 23;- MATH = 24;- HIGHLIGHT = 25;- SUBSCRIPT = 26;- SUPERSCRIPT = 27;- REFERENCED_CONTENT = 28;-}--message Node {- NodeType type = 1;- oneof node {- LineBreakNode line_break_node = 2;- ParagraphNode paragraph_node = 3;- CodeBlockNode code_block_node = 4;- HeadingNode heading_node = 5;- HorizontalRuleNode horizontal_rule_node = 6;- BlockquoteNode blockquote_node = 7;- OrderedListNode ordered_list_node = 8;- UnorderedListNode unordered_list_node = 9;- TaskListNode task_list_node = 10;- MathBlockNode math_block_node = 11;- TableNode table_node = 12;- EmbeddedContentNode embedded_content_node = 13;- TextNode text_node = 14;- BoldNode bold_node = 15;- ItalicNode italic_node = 16;- BoldItalicNode bold_italic_node = 17;- CodeNode code_node = 18;- ImageNode image_node = 19;- LinkNode link_node = 20;- AutoLinkNode auto_link_node = 21;- TagNode tag_node = 22;- StrikethroughNode strikethrough_node = 23;- EscapingCharacterNode escaping_character_node = 24;- MathNode math_node = 25;- HighlightNode highlight_node = 26;- SubscriptNode subscript_node = 27;- SuperscriptNode superscript_node = 28;- ReferencedContentNode referenced_content_node = 29;- }-}--message LineBreakNode {}--message ParagraphNode {- repeated Node children = 1;-}--message CodeBlockNode {- string language = 1;- string content = 2;-}--message HeadingNode {- int32 level = 1;- repeated Node children = 2;-}--message HorizontalRuleNode {- string symbol = 1;-}--message BlockquoteNode {- repeated Node children = 1;-}--message OrderedListNode {- string number = 1;- int32 indent = 2;- repeated Node children = 3;-}--message UnorderedListNode {- string symbol = 1;- int32 indent = 2;- repeated Node children = 3;-}--message TaskListNode {- string symbol = 1;- int32 indent = 2;- bool complete = 3;- repeated Node children = 4;-}--message MathBlockNode {- string content = 1;-}--message TableNode {- repeated string header = 1;- repeated string delimiter = 2;-- message Row {- repeated string cells = 1;- }- repeated Row rows = 3;-}--message EmbeddedContentNode {- string resource_name = 1;- string params = 2;-}--message TextNode {- string content = 1;-}--message BoldNode {- string symbol = 1;- repeated Node children = 2;-}--message ItalicNode {- string symbol = 1;- string content = 2;-}--message BoldItalicNode {- string symbol = 1;- string content = 2;-}--message CodeNode {- string content = 1;-}--message ImageNode {- string alt_text = 1;- string url = 2;-}--message LinkNode {- string text = 1;- string url = 2;-}--message AutoLinkNode {- string url = 1;- bool is_raw_text = 2;-}--message TagNode {- string content = 1;-}--message StrikethroughNode {- string content = 1;-}--message EscapingCharacterNode {- string symbol = 1;-}--message MathNode {- string content = 1;-}--message HighlightNode {- string content = 1;-}--message SubscriptNode {- string content = 1;-}--message SuperscriptNode {- string content = 1;-}--message ReferencedContentNode {- string resource_name = 1;- string params = 2;-}diff --git a/proto/gen/api/v2/README.md b/proto/gen/api/v2/README.mdindex c16d07c1f..36392c284 100644--- a/proto/gen/api/v2/README.md+++ b/proto/gen/api/v2/README.md@@ -80,40 +80,6 @@- [MemoRelation.Type](#memos-api-v2-MemoRelation-Type)-- [api/v2/node.proto](#api_v2_node-proto)- - [AutoLinkNode](#memos-api-v2-AutoLinkNode)- - [BlockquoteNode](#memos-api-v2-BlockquoteNode)- - [BoldItalicNode](#memos-api-v2-BoldItalicNode)- - [BoldNode](#memos-api-v2-BoldNode)- - [CodeBlockNode](#memos-api-v2-CodeBlockNode)- - [CodeNode](#memos-api-v2-CodeNode)- - [EmbeddedContentNode](#memos-api-v2-EmbeddedContentNode)- - [EscapingCharacterNode](#memos-api-v2-EscapingCharacterNode)- - [HeadingNode](#memos-api-v2-HeadingNode)- - [HighlightNode](#memos-api-v2-HighlightNode)- - [HorizontalRuleNode](#memos-api-v2-HorizontalRuleNode)- - [ImageNode](#memos-api-v2-ImageNode)- - [ItalicNode](#memos-api-v2-ItalicNode)- - [LineBreakNode](#memos-api-v2-LineBreakNode)- - [LinkNode](#memos-api-v2-LinkNode)- - [MathBlockNode](#memos-api-v2-MathBlockNode)- - [MathNode](#memos-api-v2-MathNode)- - [Node](#memos-api-v2-Node)- - [OrderedListNode](#memos-api-v2-OrderedListNode)- - [ParagraphNode](#memos-api-v2-ParagraphNode)- - [ReferencedContentNode](#memos-api-v2-ReferencedContentNode)- - [StrikethroughNode](#memos-api-v2-StrikethroughNode)- - [SubscriptNode](#memos-api-v2-SubscriptNode)- - [SuperscriptNode](#memos-api-v2-SuperscriptNode)- - [TableNode](#memos-api-v2-TableNode)- - [TableNode.Row](#memos-api-v2-TableNode-Row)- - [TagNode](#memos-api-v2-TagNode)- - [TaskListNode](#memos-api-v2-TaskListNode)- - [TextNode](#memos-api-v2-TextNode)- - [UnorderedListNode](#memos-api-v2-UnorderedListNode)-- - [NodeType](#memos-api-v2-NodeType)-- [api/v2/resource_service.proto](#api_v2_resource_service-proto)- [CreateResourceRequest](#memos-api-v2-CreateResourceRequest)- [CreateResourceResponse](#memos-api-v2-CreateResourceResponse)@@ -156,8 +122,6 @@- [ListMemosRequest](#memos-api-v2-ListMemosRequest)- [ListMemosResponse](#memos-api-v2-ListMemosResponse)- [Memo](#memos-api-v2-Memo)- - [PreviewMemoContentRequest](#memos-api-v2-PreviewMemoContentRequest)- - [PreviewMemoContentResponse](#memos-api-v2-PreviewMemoContentResponse)- [SetMemoRelationsRequest](#memos-api-v2-SetMemoRelationsRequest)- [SetMemoRelationsResponse](#memos-api-v2-SetMemoRelationsResponse)- [SetMemoResourcesRequest](#memos-api-v2-SetMemoResourcesRequest)@@ -1158,553 +1122,6 @@ Used internally for obfuscating the page token.-<a name="api_v2_node-proto"></a>-<p align="right"><a href="#top">Top</a></p>--## api/v2/node.proto----<a name="memos-api-v2-AutoLinkNode"></a>--### AutoLinkNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| url | [string](#string) | | |-| is_raw_text | [bool](#bool) | | |-------<a name="memos-api-v2-BlockquoteNode"></a>--### BlockquoteNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| children | [Node](#memos-api-v2-Node) | repeated | |-------<a name="memos-api-v2-BoldItalicNode"></a>--### BoldItalicNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| symbol | [string](#string) | | |-| content | [string](#string) | | |-------<a name="memos-api-v2-BoldNode"></a>--### BoldNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| symbol | [string](#string) | | |-| children | [Node](#memos-api-v2-Node) | repeated | |-------<a name="memos-api-v2-CodeBlockNode"></a>--### CodeBlockNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| language | [string](#string) | | |-| content | [string](#string) | | |-------<a name="memos-api-v2-CodeNode"></a>--### CodeNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| content | [string](#string) | | |-------<a name="memos-api-v2-EmbeddedContentNode"></a>--### EmbeddedContentNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| resource_name | [string](#string) | | |-| params | [string](#string) | | |-------<a name="memos-api-v2-EscapingCharacterNode"></a>--### EscapingCharacterNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| symbol | [string](#string) | | |-------<a name="memos-api-v2-HeadingNode"></a>--### HeadingNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| level | [int32](#int32) | | |-| children | [Node](#memos-api-v2-Node) | repeated | |-------<a name="memos-api-v2-HighlightNode"></a>--### HighlightNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| content | [string](#string) | | |-------<a name="memos-api-v2-HorizontalRuleNode"></a>--### HorizontalRuleNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| symbol | [string](#string) | | |-------<a name="memos-api-v2-ImageNode"></a>--### ImageNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| alt_text | [string](#string) | | |-| url | [string](#string) | | |-------<a name="memos-api-v2-ItalicNode"></a>--### ItalicNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| symbol | [string](#string) | | |-| content | [string](#string) | | |-------<a name="memos-api-v2-LineBreakNode"></a>--### LineBreakNode--------<a name="memos-api-v2-LinkNode"></a>--### LinkNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| text | [string](#string) | | |-| url | [string](#string) | | |-------<a name="memos-api-v2-MathBlockNode"></a>--### MathBlockNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| content | [string](#string) | | |-------<a name="memos-api-v2-MathNode"></a>--### MathNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| content | [string](#string) | | |-------<a name="memos-api-v2-Node"></a>--### Node----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| type | [NodeType](#memos-api-v2-NodeType) | | |-| line_break_node | [LineBreakNode](#memos-api-v2-LineBreakNode) | | |-| paragraph_node | [ParagraphNode](#memos-api-v2-ParagraphNode) | | |-| code_block_node | [CodeBlockNode](#memos-api-v2-CodeBlockNode) | | |-| heading_node | [HeadingNode](#memos-api-v2-HeadingNode) | | |-| horizontal_rule_node | [HorizontalRuleNode](#memos-api-v2-HorizontalRuleNode) | | |-| blockquote_node | [BlockquoteNode](#memos-api-v2-BlockquoteNode) | | |-| ordered_list_node | [OrderedListNode](#memos-api-v2-OrderedListNode) | | |-| unordered_list_node | [UnorderedListNode](#memos-api-v2-UnorderedListNode) | | |-| task_list_node | [TaskListNode](#memos-api-v2-TaskListNode) | | |-| math_block_node | [MathBlockNode](#memos-api-v2-MathBlockNode) | | |-| table_node | [TableNode](#memos-api-v2-TableNode) | | |-| embedded_content_node | [EmbeddedContentNode](#memos-api-v2-EmbeddedContentNode) | | |-| text_node | [TextNode](#memos-api-v2-TextNode) | | |-| bold_node | [BoldNode](#memos-api-v2-BoldNode) | | |-| italic_node | [ItalicNode](#memos-api-v2-ItalicNode) | | |-| bold_italic_node | [BoldItalicNode](#memos-api-v2-BoldItalicNode) | | |-| code_node | [CodeNode](#memos-api-v2-CodeNode) | | |-| image_node | [ImageNode](#memos-api-v2-ImageNode) | | |-| link_node | [LinkNode](#memos-api-v2-LinkNode) | | |-| auto_link_node | [AutoLinkNode](#memos-api-v2-AutoLinkNode) | | |-| tag_node | [TagNode](#memos-api-v2-TagNode) | | |-| strikethrough_node | [StrikethroughNode](#memos-api-v2-StrikethroughNode) | | |-| escaping_character_node | [EscapingCharacterNode](#memos-api-v2-EscapingCharacterNode) | | |-| math_node | [MathNode](#memos-api-v2-MathNode) | | |-| highlight_node | [HighlightNode](#memos-api-v2-HighlightNode) | | |-| subscript_node | [SubscriptNode](#memos-api-v2-SubscriptNode) | | |-| superscript_node | [SuperscriptNode](#memos-api-v2-SuperscriptNode) | | |-| referenced_content_node | [ReferencedContentNode](#memos-api-v2-ReferencedContentNode) | | |-------<a name="memos-api-v2-OrderedListNode"></a>--### OrderedListNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| number | [string](#string) | | |-| indent | [int32](#int32) | | |-| children | [Node](#memos-api-v2-Node) | repeated | |-------<a name="memos-api-v2-ParagraphNode"></a>--### ParagraphNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| children | [Node](#memos-api-v2-Node) | repeated | |-------<a name="memos-api-v2-ReferencedContentNode"></a>--### ReferencedContentNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| resource_name | [string](#string) | | |-| params | [string](#string) | | |-------<a name="memos-api-v2-StrikethroughNode"></a>--### StrikethroughNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| content | [string](#string) | | |-------<a name="memos-api-v2-SubscriptNode"></a>--### SubscriptNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| content | [string](#string) | | |-------<a name="memos-api-v2-SuperscriptNode"></a>--### SuperscriptNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| content | [string](#string) | | |-------<a name="memos-api-v2-TableNode"></a>--### TableNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| header | [string](#string) | repeated | |-| delimiter | [string](#string) | repeated | |-| rows | [TableNode.Row](#memos-api-v2-TableNode-Row) | repeated | |-------<a name="memos-api-v2-TableNode-Row"></a>--### TableNode.Row----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| cells | [string](#string) | repeated | |-------<a name="memos-api-v2-TagNode"></a>--### TagNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| content | [string](#string) | | |-------<a name="memos-api-v2-TaskListNode"></a>--### TaskListNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| symbol | [string](#string) | | |-| indent | [int32](#int32) | | |-| complete | [bool](#bool) | | |-| children | [Node](#memos-api-v2-Node) | repeated | |-------<a name="memos-api-v2-TextNode"></a>--### TextNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| content | [string](#string) | | |-------<a name="memos-api-v2-UnorderedListNode"></a>--### UnorderedListNode----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| symbol | [string](#string) | | |-| indent | [int32](#int32) | | |-| children | [Node](#memos-api-v2-Node) | repeated | |---------<a name="memos-api-v2-NodeType"></a>--### NodeType---| Name | Number | Description |-| ---- | ------ | ----------- |-| NODE_UNSPECIFIED | 0 | |-| LINE_BREAK | 1 | |-| PARAGRAPH | 2 | |-| CODE_BLOCK | 3 | |-| HEADING | 4 | |-| HORIZONTAL_RULE | 5 | |-| BLOCKQUOTE | 6 | |-| ORDERED_LIST | 7 | |-| UNORDERED_LIST | 8 | |-| TASK_LIST | 9 | |-| MATH_BLOCK | 10 | |-| TABLE | 11 | |-| EMBEDDED_CONTENT | 12 | |-| TEXT | 13 | |-| BOLD | 14 | |-| ITALIC | 15 | |-| BOLD_ITALIC | 16 | |-| CODE | 17 | |-| IMAGE | 18 | |-| LINK | 19 | |-| AUTO_LINK | 20 | |-| TAG | 21 | |-| STRIKETHROUGH | 22 | |-| ESCAPING_CHARACTER | 23 | |-| MATH | 24 | |-| HIGHLIGHT | 25 | |-| SUBSCRIPT | 26 | |-| SUPERSCRIPT | 27 | |-| REFERENCED_CONTENT | 28 | |----------<a name="api_v2_resource_service-proto"></a><p align="right"><a href="#top">Top</a></p>@@ -2304,7 +1721,6 @@ Used internally for obfuscating the page token.| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | || display_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | || content | [string](#string) | | |-| nodes | [Node](#memos-api-v2-Node) | repeated | || visibility | [Visibility](#memos-api-v2-Visibility) | | || pinned | [bool](#bool) | | || parent_id | [int32](#int32) | optional | |@@ -2316,36 +1732,6 @@ Used internally for obfuscating the page token.-<a name="memos-api-v2-PreviewMemoContentRequest"></a>--### PreviewMemoContentRequest----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| content | [string](#string) | | |-------<a name="memos-api-v2-PreviewMemoContentResponse"></a>--### PreviewMemoContentResponse----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| nodes | [Node](#memos-api-v2-Node) | repeated | |------<a name="memos-api-v2-SetMemoRelationsRequest"></a>### SetMemoRelationsRequest@@ -2469,7 +1855,6 @@ Used internally for obfuscating the page token.| ListMemoRelations | [ListMemoRelationsRequest](#memos-api-v2-ListMemoRelationsRequest) | [ListMemoRelationsResponse](#memos-api-v2-ListMemoRelationsResponse) | ListMemoRelations lists relations for a memo. || CreateMemoComment | [CreateMemoCommentRequest](#memos-api-v2-CreateMemoCommentRequest) | [CreateMemoCommentResponse](#memos-api-v2-CreateMemoCommentResponse) | CreateMemoComment creates a comment for a memo. || ListMemoComments | [ListMemoCommentsRequest](#memos-api-v2-ListMemoCommentsRequest) | [ListMemoCommentsResponse](#memos-api-v2-ListMemoCommentsResponse) | ListMemoComments lists comments for a memo. |-| PreviewMemoContent | [PreviewMemoContentRequest](#memos-api-v2-PreviewMemoContentRequest) | [PreviewMemoContentResponse](#memos-api-v2-PreviewMemoContentResponse) | PreviewMemoContent previews memo content. || ExportMemos | [ExportMemosRequest](#memos-api-v2-ExportMemosRequest) | [ExportMemosResponse](#memos-api-v2-ExportMemosResponse) stream | ExportMemos exports memos. || GetUserMemosStats | [GetUserMemosStatsRequest](#memos-api-v2-GetUserMemosStatsRequest) | [GetUserMemosStatsResponse](#memos-api-v2-GetUserMemosStatsResponse) | GetUserMemosStats gets stats of memos for a user. |diff --git a/proto/gen/api/v2/memo_service.pb.go b/proto/gen/api/v2/memo_service.pb.goindex 0ac6fbc16..4ae3a6ead 100644--- a/proto/gen/api/v2/memo_service.pb.go+++ b/proto/gen/api/v2/memo_service.pb.go@@ -93,12 +93,11 @@ type Memo struct {UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`DisplayTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=display_time,json=displayTime,proto3" json:"display_time,omitempty"`Content string `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"`- Nodes []*Node `protobuf:"bytes,10,rep,name=nodes,proto3" json:"nodes,omitempty"`- Visibility Visibility `protobuf:"varint,11,opt,name=visibility,proto3,enum=memos.api.v2.Visibility" json:"visibility,omitempty"`- Pinned bool `protobuf:"varint,12,opt,name=pinned,proto3" json:"pinned,omitempty"`- ParentId *int32 `protobuf:"varint,13,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`- Resources []*Resource `protobuf:"bytes,14,rep,name=resources,proto3" json:"resources,omitempty"`- Relations []*MemoRelation `protobuf:"bytes,15,rep,name=relations,proto3" json:"relations,omitempty"`+ Visibility Visibility `protobuf:"varint,10,opt,name=visibility,proto3,enum=memos.api.v2.Visibility" json:"visibility,omitempty"`+ Pinned bool `protobuf:"varint,11,opt,name=pinned,proto3" json:"pinned,omitempty"`+ ParentId *int32 `protobuf:"varint,12,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`+ Resources []*Resource `protobuf:"bytes,13,rep,name=resources,proto3" json:"resources,omitempty"`+ Relations []*MemoRelation `protobuf:"bytes,14,rep,name=relations,proto3" json:"relations,omitempty"`}func (x *Memo) Reset() {@@ -196,13 +195,6 @@ func (x *Memo) GetContent() string {return ""}-func (x *Memo) GetNodes() []*Node {- if x != nil {- return x.Nodes- }- return nil-}-func (x *Memo) GetVisibility() Visibility {if x != nil {return x.Visibility@@ -1537,100 +1529,6 @@ func (x *GetUserMemosStatsResponse) GetStats() map[string]int32 {return nil}-type PreviewMemoContentRequest struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`-}--func (x *PreviewMemoContentRequest) Reset() {- *x = PreviewMemoContentRequest{}- if protoimpl.UnsafeEnabled {- mi := &file_api_v2_memo_service_proto_msgTypes[27]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *PreviewMemoContentRequest) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*PreviewMemoContentRequest) ProtoMessage() {}--func (x *PreviewMemoContentRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v2_memo_service_proto_msgTypes[27]- 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 PreviewMemoContentRequest.ProtoReflect.Descriptor instead.-func (*PreviewMemoContentRequest) Descriptor() ([]byte, []int) {- return file_api_v2_memo_service_proto_rawDescGZIP(), []int{27}-}--func (x *PreviewMemoContentRequest) GetContent() string {- if x != nil {- return x.Content- }- return ""-}--type PreviewMemoContentResponse struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`-}--func (x *PreviewMemoContentResponse) Reset() {- *x = PreviewMemoContentResponse{}- if protoimpl.UnsafeEnabled {- mi := &file_api_v2_memo_service_proto_msgTypes[28]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *PreviewMemoContentResponse) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*PreviewMemoContentResponse) ProtoMessage() {}--func (x *PreviewMemoContentResponse) ProtoReflect() protoreflect.Message {- mi := &file_api_v2_memo_service_proto_msgTypes[28]- 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 PreviewMemoContentResponse.ProtoReflect.Descriptor instead.-func (*PreviewMemoContentResponse) Descriptor() ([]byte, []int) {- return file_api_v2_memo_service_proto_rawDescGZIP(), []int{28}-}--func (x *PreviewMemoContentResponse) GetNodes() []*Node {- if x != nil {- return x.Nodes- }- return nil-}-type ExportMemosRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -1643,7 +1541,7 @@ type ExportMemosRequest struct {func (x *ExportMemosRequest) Reset() {*x = ExportMemosRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v2_memo_service_proto_msgTypes[29]+ mi := &file_api_v2_memo_service_proto_msgTypes[27]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1656,7 +1554,7 @@ func (x *ExportMemosRequest) String() string {func (*ExportMemosRequest) ProtoMessage() {}func (x *ExportMemosRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v2_memo_service_proto_msgTypes[29]+ mi := &file_api_v2_memo_service_proto_msgTypes[27]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1669,7 +1567,7 @@ func (x *ExportMemosRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ExportMemosRequest.ProtoReflect.Descriptor instead.func (*ExportMemosRequest) Descriptor() ([]byte, []int) {- return file_api_v2_memo_service_proto_rawDescGZIP(), []int{29}+ return file_api_v2_memo_service_proto_rawDescGZIP(), []int{27}}func (x *ExportMemosRequest) GetFilter() string {@@ -1690,7 +1588,7 @@ type ExportMemosResponse struct {func (x *ExportMemosResponse) Reset() {*x = ExportMemosResponse{}if protoimpl.UnsafeEnabled {- mi := &file_api_v2_memo_service_proto_msgTypes[30]+ mi := &file_api_v2_memo_service_proto_msgTypes[28]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1703,7 +1601,7 @@ func (x *ExportMemosResponse) String() string {func (*ExportMemosResponse) ProtoMessage() {}func (x *ExportMemosResponse) ProtoReflect() protoreflect.Message {- mi := &file_api_v2_memo_service_proto_msgTypes[30]+ mi := &file_api_v2_memo_service_proto_msgTypes[28]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1716,7 +1614,7 @@ func (x *ExportMemosResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ExportMemosResponse.ProtoReflect.Descriptor instead.func (*ExportMemosResponse) Descriptor() ([]byte, []int) {- return file_api_v2_memo_service_proto_rawDescGZIP(), []int{30}+ return file_api_v2_memo_service_proto_rawDescGZIP(), []int{28}}func (x *ExportMemosResponse) GetFile() []byte {@@ -1735,332 +1633,312 @@ var file_api_v2_memo_service_proto_rawDesc = []byte{0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22,0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x5f, 0x72, 0x65, 0x6c, 0x61,0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,- 0x74, 0x6f, 0x1a, 0x11, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2e,- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65,- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70,- 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,- 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f,- 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63,- 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,- 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,- 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f,- 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69,- 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,- 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,- 0x99, 0x05, 0x0a, 0x04, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x05, 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, 0x36, 0x0a, 0x0a,- 0x72, 0x6f, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,- 0x32, 0x17, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,- 0x52, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x72, 0x6f, 0x77, 0x53, 0x74,- 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18,- 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1d,- 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01,- 0x28, 0x05, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x3b, 0x0a,- 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,- 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a,- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,+ 0x74, 0x6f, 0x1a, 0x1d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,+ 0x72, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,+ 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,+ 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,+ 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65,+ 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,+ 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,+ 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c,+ 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,+ 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,+ 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d,+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xef, 0x04, 0x0a,+ 0x04, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x05, 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, 0x36, 0x0a, 0x0a, 0x72, 0x6f, 0x77,+ 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e,+ 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x77,+ 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x72, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75,+ 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63,+ 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,+ 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72,+ 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,- 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c,- 0x61, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,- 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c,- 0x61, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,- 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,- 0x12, 0x28, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4e,- 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x0a, 0x76, 0x69,- 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18,- 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x69,- 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69,- 0x6c, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x0c,- 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x09,- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x42,- 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64,- 0x88, 0x01, 0x01, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,- 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,- 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x03,- 0xe0, 0x41, 0x03, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x3d,- 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28,- 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,- 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0,- 0x41, 0x03, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0c, 0x0a,- 0x0a, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x67, 0x0a, 0x11, 0x43,- 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,- 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x76, 0x69,- 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18,- 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x69,- 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69,- 0x6c, 0x69, 0x74, 0x79, 0x22, 0x3c, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65,- 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x6d, 0x65,- 0x6d, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x04, 0x6d, 0x65,- 0x6d, 0x6f, 0x22, 0x66, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73,- 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53,- 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,- 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,- 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x65, 0x0a, 0x11, 0x4c, 0x69,- 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,- 0x28, 0x0a, 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,- 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65,- 0x6d, 0x6f, 0x52, 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78,- 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,- 0x6e, 0x22, 0x20, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,- 0x02, 0x69, 0x64, 0x22, 0x39, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,- 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x2a,- 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3f, 0x0a, 0x15, 0x47, 0x65,- 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,- 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65,+ 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,+ 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,+ 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f,+ 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x54,+ 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x09,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x38, 0x0a,+ 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28,+ 0x0e, 0x32, 0x18, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,+ 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73,+ 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65,+ 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x12,+ 0x25, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01,+ 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e,+ 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,+ 0x63, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,+ 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,+ 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,+ 0x73, 0x12, 0x3d, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0e,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,+ 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,+ 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,+ 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x67,+ 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x38, 0x0a,+ 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,+ 0x0e, 0x32, 0x18, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,+ 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73,+ 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x3c, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74,+ 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a,+ 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65,+ 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52,+ 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x66, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d,+ 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,+ 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,+ 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,+ 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65,+ 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18,+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x65, 0x0a,+ 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,- 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x11,- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69,- 0x64, 0x12, 0x26, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,- 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d,- 0x65, 0x6d, 0x6f, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,- 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,- 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x3c, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x04,- 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d,- 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x04,- 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x23, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65,- 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c,- 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,- 0x5f, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,- 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x34, 0x0a, 0x09, 0x72, 0x65,- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e,- 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73,- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,- 0x22, 0x1a, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75,- 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x0a, 0x18,- 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x51, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74,- 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73,- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,- 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,- 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x63, 0x0a, 0x17, 0x53,- 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,+ 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x26, 0x0a, 0x0f,+ 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54,+ 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x20, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52,0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69,- 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,- 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c,- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,- 0x22, 0x1a, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74,- 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x0a, 0x18,- 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x55, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74,- 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73,- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f,- 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61,- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,- 0x63, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d,- 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x06, 0x63,- 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x65,- 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,- 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x06, 0x63, 0x72,- 0x65, 0x61, 0x74, 0x65, 0x22, 0x43, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65,- 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,- 0x65, 0x12, 0x26, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,- 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d,- 0x65, 0x6d, 0x6f, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x29, 0x0a, 0x17, 0x4c, 0x69, 0x73,- 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71,+ 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x39, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d,+ 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x6d, 0x65, 0x6d,+ 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,+ 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x04, 0x6d, 0x65, 0x6d,+ 0x6f, 0x22, 0x2a, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x42, 0x79, 0x4e, 0x61,+ 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3f, 0x0a,+ 0x15, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65,+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,+ 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x88,+ 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71,0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,- 0x52, 0x02, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f,- 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,- 0x12, 0x28, 0x0a, 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d,- 0x65, 0x6d, 0x6f, 0x52, 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x22, 0x62, 0x0a, 0x18, 0x47, 0x65,+ 0x52, 0x02, 0x69, 0x64, 0x12, 0x26, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,+ 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x3b, 0x0a, 0x0b,+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28,+ 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,+ 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x3c, 0x0a, 0x12, 0x55, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,+ 0x26, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,+ 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d,+ 0x6f, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x23, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74,+ 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12,+ 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x22, 0x5f, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73,+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,+ 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x34, 0x0a,+ 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,+ 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,+ 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,+ 0x63, 0x65, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65,+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,+ 0x2a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75,+ 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x51, 0x0a, 0x19, 0x4c,+ 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f,+ 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x65,+ 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75,+ 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x63,+ 0x0a, 0x17, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f,+ 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x09, 0x72, 0x65, 0x6c,+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d,+ 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f,+ 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69,+ 0x6f, 0x6e, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65,+ 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,+ 0x2a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74,+ 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x55, 0x0a, 0x19, 0x4c,+ 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x61,+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x65,+ 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52,+ 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f,+ 0x6e, 0x73, 0x22, 0x63, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f,+ 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e,+ 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x37,+ 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f,+ 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72,+ 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,+ 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x22, 0x43, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74,+ 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,+ 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x29, 0x0a, 0x17,+ 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d,+ 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,+ 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03,+ 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,+ 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x22, 0x62, 0x0a,+ 0x18, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x53, 0x74, 0x61,+ 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,+ 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c,+ 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65,+ 0x72, 0x22, 0x9f, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6d,+ 0x6f, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,+ 0x48, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32,+ 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65,0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69,- 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x69,- 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x9f,- 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x53,- 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x05,- 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6d, 0x65,- 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73,- 0x65, 0x72, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,- 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,- 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x73, 0x45,- 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,- 0x22, 0x35, 0x0a, 0x19, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x6d, 0x6f, 0x43,- 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,- 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,- 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x46, 0x0a, 0x1a, 0x50, 0x72, 0x65, 0x76, 0x69,- 0x65, 0x77, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73,- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01,- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,- 0x2e, 0x76, 0x32, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22,- 0x2c, 0x0a, 0x12, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x29, 0x0a,- 0x13, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70,- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x0c, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x2a, 0x50, 0x0a, 0x0a, 0x56, 0x69, 0x73, 0x69,- 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49,- 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,- 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12,- 0x0d, 0x0a, 0x09, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0a,- 0x0a, 0x06, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x03, 0x32, 0xad, 0x0f, 0x0a, 0x0b, 0x4d,- 0x65, 0x6d, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x69, 0x0a, 0x0a, 0x43, 0x72,- 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65,- 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,- 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d,- 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x12, 0x3a, 0x01, 0x2a, 0x22, 0x0d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f,- 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x63, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d,- 0x6f, 0x73, 0x12, 0x1e, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,- 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,- 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,- 0x6e, 0x73, 0x65, 0x22, 0x15, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x12, 0x0d, 0x2f, 0x61, 0x70,- 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x67, 0x0a, 0x07, 0x47, 0x65,- 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x1c, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,- 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,- 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,- 0x73, 0x65, 0x22, 0x1f, 0xda, 0x41, 0x02, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12,- 0x12, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x7b,- 0x69, 0x64, 0x7d, 0x12, 0x7d, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x42, 0x79,- 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,- 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x42, 0x79, 0x4e, 0x61, 0x6d,- 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x42,- 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0xda,- 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x61,- 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,- 0x65, 0x7d, 0x12, 0x80, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d,- 0x6f, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,- 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,- 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x70,- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0xda, 0x41, 0x0f, 0x69, 0x64, 0x2c, 0x20, 0x75, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a, 0x01,- 0x2a, 0x32, 0x12, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x70, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d,- 0x65, 0x6d, 0x6f, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,- 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,- 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65,+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x45, 0x6e, 0x74,+ 0x72, 0x79, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x74, 0x61,+ 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,+ 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,+ 0x02, 0x38, 0x01, 0x22, 0x2c, 0x0a, 0x12, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x6d,+ 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c,+ 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65,+ 0x72, 0x22, 0x29, 0x0a, 0x13, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x2a, 0x50, 0x0a, 0x0a,+ 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x56, 0x49,+ 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,+ 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54,+ 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54, 0x45, 0x44,+ 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x03, 0x32, 0xa4,+ 0x0e, 0x0a, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x69,+ 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x1f, 0x2e, 0x6d,+ 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61,+ 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e,+ 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65,+ 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,+ 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x3a, 0x01, 0x2a, 0x22, 0x0d, 0x2f, 0x61, 0x70, 0x69,+ 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x63, 0x0a, 0x09, 0x4c, 0x69, 0x73,+ 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x1e, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,+ 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,+ 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52,+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x12,+ 0x0d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x67,+ 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x1c, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,+ 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,+ 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65,0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0xda, 0x41, 0x02, 0x69, 0x64, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x14, 0x2a, 0x12, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d,- 0x6f, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x8f, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x4d,- 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x25, 0x2e, 0x6d,- 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x4d,- 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,- 0x76, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,- 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0xda, 0x41, 0x02,- 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x3a, 0x01, 0x2a, 0x22, 0x1c, 0x2f, 0x61, 0x70,- 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f,- 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x8f, 0x01, 0x0a, 0x11, 0x4c, 0x69,- 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12,- 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4c,- 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52,- 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,- 0x22, 0x29, 0xda, 0x41, 0x02, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f,- 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x7b, 0x69, 0x64,- 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x8f, 0x01, 0x0a, 0x10,- 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,+ 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d,+ 0x6f, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x7d, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x65,+ 0x6d, 0x6f, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x42,+ 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d,+ 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4d,+ 0x65, 0x6d, 0x6f, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,+ 0x65, 0x22, 0x23, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16,+ 0x12, 0x14, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f,+ 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x80, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74,+ 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,+ 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,+ 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0xda, 0x41, 0x0f, 0x69, 0x64, 0x2c,+ 0x20, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x17, 0x3a, 0x01, 0x2a, 0x32, 0x12, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d,+ 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x70, 0x0a, 0x0a, 0x44, 0x65, 0x6c,+ 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,+ 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d,+ 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65,+ 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0xda, 0x41, 0x02, 0x69,+ 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x2a, 0x12, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32,+ 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x8f, 0x01, 0x0a, 0x10,+ 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,0x12, 0x25, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,- 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,+ 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65,- 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,0x2c, 0xda, 0x41, 0x02, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x3a, 0x01, 0x2a, 0x22,0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x7b,- 0x69, 0x64, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x8f, 0x01,- 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69,- 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,- 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74,- 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x65,+ 0x69, 0x64, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x8f, 0x01,+ 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,+ 0x63, 0x65, 0x73, 0x12, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,+ 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75,+ 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x65,0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d,- 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,+ 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0xda, 0x41, 0x02, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02,0x1e, 0x12, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,- 0x8e, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f,- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,- 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x43,- 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e,- 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65,- 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0xda, 0x41, 0x02, 0x69, 0x64, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x1d, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d,- 0x6f, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73,- 0x12, 0x8b, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d,- 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,- 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d,- 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d,- 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74,- 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0xda, 0x41, 0x02, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x1d, 0x12, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x86,- 0x01, 0x0a, 0x12, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f,- 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,- 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x6d, 0x6f,- 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28,- 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72,- 0x65, 0x76, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17,- 0x22, 0x15, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x3a,- 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x72, 0x0a, 0x0b, 0x45, 0x78, 0x70, 0x6f, 0x72,- 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,- 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x6d, 0x6f,- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65,- 0x6d, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x16, 0x22, 0x14, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d,- 0x6f, 0x73, 0x3a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x30, 0x01, 0x12, 0x8c, 0x01, 0x0a, 0x11,- 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x53, 0x74, 0x61, 0x74,- 0x73, 0x12, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,- 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x53, 0x74, 0x61,- 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,- 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72,- 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,- 0x73, 0x65, 0x22, 0x26, 0xda, 0x41, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d,- 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x42, 0xa8, 0x01, 0x0a, 0x10, 0x63,- 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x42,- 0x10, 0x4d, 0x65, 0x6d, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74,- 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,- 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70,- 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x3b,- 0x61, 0x70, 0x69, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x4d, 0x41, 0x58, 0xaa, 0x02, 0x0c, 0x4d, 0x65,- 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x0c, 0x4d, 0x65, 0x6d,- 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x18, 0x4d, 0x65, 0x6d, 0x6f,- 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61,- 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70,- 0x69, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,+ 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12,+ 0x8f, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74,+ 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,+ 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74,+ 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x65,+ 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x65,+ 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,+ 0x6e, 0x73, 0x65, 0x22, 0x2c, 0xda, 0x41, 0x02, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21,+ 0x3a, 0x01, 0x2a, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d,+ 0x6f, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,+ 0x73, 0x12, 0x8f, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65,+ 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,+ 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52,+ 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,+ 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4c,+ 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0xda, 0x41, 0x02, 0x69, 0x64, 0x82,+ 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d,+ 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69,+ 0x6f, 0x6e, 0x73, 0x12, 0x8e, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65,+ 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,+ 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d,+ 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,+ 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65,+ 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0xda, 0x41, 0x02, 0x69,+ 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32,+ 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,+ 0x65, 0x6e, 0x74, 0x73, 0x12, 0x8b, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d,+ 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,+ 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d,+ 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,+ 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0xda, 0x41, 0x02, 0x69, 0x64, 0x82,+ 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d,+ 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,+ 0x74, 0x73, 0x12, 0x72, 0x0a, 0x0b, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x6d, 0x6f,+ 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,+ 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,+ 0x76, 0x32, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52, 0x65,+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x22, 0x14,+ 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x65, 0x78,+ 0x70, 0x6f, 0x72, 0x74, 0x30, 0x01, 0x12, 0x8c, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x55, 0x73,+ 0x65, 0x72, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x26, 0x2e, 0x6d,+ 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x55,+ 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,+ 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6d, 0x6f, 0x73,+ 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0xda,+ 0x41, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15,+ 0x12, 0x13, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f,+ 0x73, 0x74, 0x61, 0x74, 0x73, 0x42, 0xa8, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65,+ 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x42, 0x10, 0x4d, 0x65, 0x6d, 0x6f,+ 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30,+ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x73, 0x65, 0x6d, 0x65,+ 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,+ 0x67, 0x65, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x32,+ 0xa2, 0x02, 0x03, 0x4d, 0x41, 0x58, 0xaa, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x41,+ 0x70, 0x69, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70,+ 0x69, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x18, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69,+ 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea,+ 0x02, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x32,+ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,}var (@@ -2076,109 +1954,102 @@ func file_api_v2_memo_service_proto_rawDescGZIP() []byte {}var file_api_v2_memo_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)-var file_api_v2_memo_service_proto_msgTypes = make([]protoimpl.MessageInfo, 32)+var file_api_v2_memo_service_proto_msgTypes = make([]protoimpl.MessageInfo, 30)var file_api_v2_memo_service_proto_goTypes = []interface{}{- (Visibility)(0), // 0: memos.api.v2.Visibility- (*Memo)(nil), // 1: memos.api.v2.Memo- (*CreateMemoRequest)(nil), // 2: memos.api.v2.CreateMemoRequest- (*CreateMemoResponse)(nil), // 3: memos.api.v2.CreateMemoResponse- (*ListMemosRequest)(nil), // 4: memos.api.v2.ListMemosRequest- (*ListMemosResponse)(nil), // 5: memos.api.v2.ListMemosResponse- (*GetMemoRequest)(nil), // 6: memos.api.v2.GetMemoRequest- (*GetMemoResponse)(nil), // 7: memos.api.v2.GetMemoResponse- (*GetMemoByNameRequest)(nil), // 8: memos.api.v2.GetMemoByNameRequest- (*GetMemoByNameResponse)(nil), // 9: memos.api.v2.GetMemoByNameResponse- (*UpdateMemoRequest)(nil), // 10: memos.api.v2.UpdateMemoRequest- (*UpdateMemoResponse)(nil), // 11: memos.api.v2.UpdateMemoResponse- (*DeleteMemoRequest)(nil), // 12: memos.api.v2.DeleteMemoRequest- (*DeleteMemoResponse)(nil), // 13: memos.api.v2.DeleteMemoResponse- (*SetMemoResourcesRequest)(nil), // 14: memos.api.v2.SetMemoResourcesRequest- (*SetMemoResourcesResponse)(nil), // 15: memos.api.v2.SetMemoResourcesResponse- (*ListMemoResourcesRequest)(nil), // 16: memos.api.v2.ListMemoResourcesRequest- (*ListMemoResourcesResponse)(nil), // 17: memos.api.v2.ListMemoResourcesResponse- (*SetMemoRelationsRequest)(nil), // 18: memos.api.v2.SetMemoRelationsRequest- (*SetMemoRelationsResponse)(nil), // 19: memos.api.v2.SetMemoRelationsResponse- (*ListMemoRelationsRequest)(nil), // 20: memos.api.v2.ListMemoRelationsRequest- (*ListMemoRelationsResponse)(nil), // 21: memos.api.v2.ListMemoRelationsResponse- (*CreateMemoCommentRequest)(nil), // 22: memos.api.v2.CreateMemoCommentRequest- (*CreateMemoCommentResponse)(nil), // 23: memos.api.v2.CreateMemoCommentResponse- (*ListMemoCommentsRequest)(nil), // 24: memos.api.v2.ListMemoCommentsRequest- (*ListMemoCommentsResponse)(nil), // 25: memos.api.v2.ListMemoCommentsResponse- (*GetUserMemosStatsRequest)(nil), // 26: memos.api.v2.GetUserMemosStatsRequest- (*GetUserMemosStatsResponse)(nil), // 27: memos.api.v2.GetUserMemosStatsResponse- (*PreviewMemoContentRequest)(nil), // 28: memos.api.v2.PreviewMemoContentRequest- (*PreviewMemoContentResponse)(nil), // 29: memos.api.v2.PreviewMemoContentResponse- (*ExportMemosRequest)(nil), // 30: memos.api.v2.ExportMemosRequest- (*ExportMemosResponse)(nil), // 31: memos.api.v2.ExportMemosResponse- nil, // 32: memos.api.v2.GetUserMemosStatsResponse.StatsEntry- (RowStatus)(0), // 33: memos.api.v2.RowStatus- (*timestamppb.Timestamp)(nil), // 34: google.protobuf.Timestamp- (*Node)(nil), // 35: memos.api.v2.Node- (*Resource)(nil), // 36: memos.api.v2.Resource- (*MemoRelation)(nil), // 37: memos.api.v2.MemoRelation- (*fieldmaskpb.FieldMask)(nil), // 38: google.protobuf.FieldMask+ (Visibility)(0), // 0: memos.api.v2.Visibility+ (*Memo)(nil), // 1: memos.api.v2.Memo+ (*CreateMemoRequest)(nil), // 2: memos.api.v2.CreateMemoRequest+ (*CreateMemoResponse)(nil), // 3: memos.api.v2.CreateMemoResponse+ (*ListMemosRequest)(nil), // 4: memos.api.v2.ListMemosRequest+ (*ListMemosResponse)(nil), // 5: memos.api.v2.ListMemosResponse+ (*GetMemoRequest)(nil), // 6: memos.api.v2.GetMemoRequest+ (*GetMemoResponse)(nil), // 7: memos.api.v2.GetMemoResponse+ (*GetMemoByNameRequest)(nil), // 8: memos.api.v2.GetMemoByNameRequest+ (*GetMemoByNameResponse)(nil), // 9: memos.api.v2.GetMemoByNameResponse+ (*UpdateMemoRequest)(nil), // 10: memos.api.v2.UpdateMemoRequest+ (*UpdateMemoResponse)(nil), // 11: memos.api.v2.UpdateMemoResponse+ (*DeleteMemoRequest)(nil), // 12: memos.api.v2.DeleteMemoRequest+ (*DeleteMemoResponse)(nil), // 13: memos.api.v2.DeleteMemoResponse+ (*SetMemoResourcesRequest)(nil), // 14: memos.api.v2.SetMemoResourcesRequest+ (*SetMemoResourcesResponse)(nil), // 15: memos.api.v2.SetMemoResourcesResponse+ (*ListMemoResourcesRequest)(nil), // 16: memos.api.v2.ListMemoResourcesRequest+ (*ListMemoResourcesResponse)(nil), // 17: memos.api.v2.ListMemoResourcesResponse+ (*SetMemoRelationsRequest)(nil), // 18: memos.api.v2.SetMemoRelationsRequest+ (*SetMemoRelationsResponse)(nil), // 19: memos.api.v2.SetMemoRelationsResponse+ (*ListMemoRelationsRequest)(nil), // 20: memos.api.v2.ListMemoRelationsRequest+ (*ListMemoRelationsResponse)(nil), // 21: memos.api.v2.ListMemoRelationsResponse+ (*CreateMemoCommentRequest)(nil), // 22: memos.api.v2.CreateMemoCommentRequest+ (*CreateMemoCommentResponse)(nil), // 23: memos.api.v2.CreateMemoCommentResponse+ (*ListMemoCommentsRequest)(nil), // 24: memos.api.v2.ListMemoCommentsRequest+ (*ListMemoCommentsResponse)(nil), // 25: memos.api.v2.ListMemoCommentsResponse+ (*GetUserMemosStatsRequest)(nil), // 26: memos.api.v2.GetUserMemosStatsRequest+ (*GetUserMemosStatsResponse)(nil), // 27: memos.api.v2.GetUserMemosStatsResponse+ (*ExportMemosRequest)(nil), // 28: memos.api.v2.ExportMemosRequest+ (*ExportMemosResponse)(nil), // 29: memos.api.v2.ExportMemosResponse+ nil, // 30: memos.api.v2.GetUserMemosStatsResponse.StatsEntry+ (RowStatus)(0), // 31: memos.api.v2.RowStatus+ (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp+ (*Resource)(nil), // 33: memos.api.v2.Resource+ (*MemoRelation)(nil), // 34: memos.api.v2.MemoRelation+ (*fieldmaskpb.FieldMask)(nil), // 35: google.protobuf.FieldMask}var file_api_v2_memo_service_proto_depIdxs = []int32{- 33, // 0: memos.api.v2.Memo.row_status:type_name -> memos.api.v2.RowStatus- 34, // 1: memos.api.v2.Memo.create_time:type_name -> google.protobuf.Timestamp- 34, // 2: memos.api.v2.Memo.update_time:type_name -> google.protobuf.Timestamp- 34, // 3: memos.api.v2.Memo.display_time:type_name -> google.protobuf.Timestamp- 35, // 4: memos.api.v2.Memo.nodes:type_name -> memos.api.v2.Node- 0, // 5: memos.api.v2.Memo.visibility:type_name -> memos.api.v2.Visibility- 36, // 6: memos.api.v2.Memo.resources:type_name -> memos.api.v2.Resource- 37, // 7: memos.api.v2.Memo.relations:type_name -> memos.api.v2.MemoRelation- 0, // 8: memos.api.v2.CreateMemoRequest.visibility:type_name -> memos.api.v2.Visibility- 1, // 9: memos.api.v2.CreateMemoResponse.memo:type_name -> memos.api.v2.Memo- 1, // 10: memos.api.v2.ListMemosResponse.memos:type_name -> memos.api.v2.Memo- 1, // 11: memos.api.v2.GetMemoResponse.memo:type_name -> memos.api.v2.Memo- 1, // 12: memos.api.v2.GetMemoByNameResponse.memo:type_name -> memos.api.v2.Memo- 1, // 13: memos.api.v2.UpdateMemoRequest.memo:type_name -> memos.api.v2.Memo- 38, // 14: memos.api.v2.UpdateMemoRequest.update_mask:type_name -> google.protobuf.FieldMask- 1, // 15: memos.api.v2.UpdateMemoResponse.memo:type_name -> memos.api.v2.Memo- 36, // 16: memos.api.v2.SetMemoResourcesRequest.resources:type_name -> memos.api.v2.Resource- 36, // 17: memos.api.v2.ListMemoResourcesResponse.resources:type_name -> memos.api.v2.Resource- 37, // 18: memos.api.v2.SetMemoRelationsRequest.relations:type_name -> memos.api.v2.MemoRelation- 37, // 19: memos.api.v2.ListMemoRelationsResponse.relations:type_name -> memos.api.v2.MemoRelation- 2, // 20: memos.api.v2.CreateMemoCommentRequest.create:type_name -> memos.api.v2.CreateMemoRequest- 1, // 21: memos.api.v2.CreateMemoCommentResponse.memo:type_name -> memos.api.v2.Memo- 1, // 22: memos.api.v2.ListMemoCommentsResponse.memos:type_name -> memos.api.v2.Memo- 32, // 23: memos.api.v2.GetUserMemosStatsResponse.stats:type_name -> memos.api.v2.GetUserMemosStatsResponse.StatsEntry- 35, // 24: memos.api.v2.PreviewMemoContentResponse.nodes:type_name -> memos.api.v2.Node- 2, // 25: memos.api.v2.MemoService.CreateMemo:input_type -> memos.api.v2.CreateMemoRequest- 4, // 26: memos.api.v2.MemoService.ListMemos:input_type -> memos.api.v2.ListMemosRequest- 6, // 27: memos.api.v2.MemoService.GetMemo:input_type -> memos.api.v2.GetMemoRequest- 8, // 28: memos.api.v2.MemoService.GetMemoByName:input_type -> memos.api.v2.GetMemoByNameRequest- 10, // 29: memos.api.v2.MemoService.UpdateMemo:input_type -> memos.api.v2.UpdateMemoRequest- 12, // 30: memos.api.v2.MemoService.DeleteMemo:input_type -> memos.api.v2.DeleteMemoRequest- 14, // 31: memos.api.v2.MemoService.SetMemoResources:input_type -> memos.api.v2.SetMemoResourcesRequest- 16, // 32: memos.api.v2.MemoService.ListMemoResources:input_type -> memos.api.v2.ListMemoResourcesRequest- 18, // 33: memos.api.v2.MemoService.SetMemoRelations:input_type -> memos.api.v2.SetMemoRelationsRequest- 20, // 34: memos.api.v2.MemoService.ListMemoRelations:input_type -> memos.api.v2.ListMemoRelationsRequest- 22, // 35: memos.api.v2.MemoService.CreateMemoComment:input_type -> memos.api.v2.CreateMemoCommentRequest- 24, // 36: memos.api.v2.MemoService.ListMemoComments:input_type -> memos.api.v2.ListMemoCommentsRequest- 28, // 37: memos.api.v2.MemoService.PreviewMemoContent:input_type -> memos.api.v2.PreviewMemoContentRequest- 30, // 38: memos.api.v2.MemoService.ExportMemos:input_type -> memos.api.v2.ExportMemosRequest- 26, // 39: memos.api.v2.MemoService.GetUserMemosStats:input_type -> memos.api.v2.GetUserMemosStatsRequest- 3, // 40: memos.api.v2.MemoService.CreateMemo:output_type -> memos.api.v2.CreateMemoResponse- 5, // 41: memos.api.v2.MemoService.ListMemos:output_type -> memos.api.v2.ListMemosResponse- 7, // 42: memos.api.v2.MemoService.GetMemo:output_type -> memos.api.v2.GetMemoResponse- 9, // 43: memos.api.v2.MemoService.GetMemoByName:output_type -> memos.api.v2.GetMemoByNameResponse- 11, // 44: memos.api.v2.MemoService.UpdateMemo:output_type -> memos.api.v2.UpdateMemoResponse- 13, // 45: memos.api.v2.MemoService.DeleteMemo:output_type -> memos.api.v2.DeleteMemoResponse- 15, // 46: memos.api.v2.MemoService.SetMemoResources:output_type -> memos.api.v2.SetMemoResourcesResponse- 17, // 47: memos.api.v2.MemoService.ListMemoResources:output_type -> memos.api.v2.ListMemoResourcesResponse- 19, // 48: memos.api.v2.MemoService.SetMemoRelations:output_type -> memos.api.v2.SetMemoRelationsResponse- 21, // 49: memos.api.v2.MemoService.ListMemoRelations:output_type -> memos.api.v2.ListMemoRelationsResponse- 23, // 50: memos.api.v2.MemoService.CreateMemoComment:output_type -> memos.api.v2.CreateMemoCommentResponse- 25, // 51: memos.api.v2.MemoService.ListMemoComments:output_type -> memos.api.v2.ListMemoCommentsResponse- 29, // 52: memos.api.v2.MemoService.PreviewMemoContent:output_type -> memos.api.v2.PreviewMemoContentResponse- 31, // 53: memos.api.v2.MemoService.ExportMemos:output_type -> memos.api.v2.ExportMemosResponse- 27, // 54: memos.api.v2.MemoService.GetUserMemosStats:output_type -> memos.api.v2.GetUserMemosStatsResponse- 40, // [40:55] is the sub-list for method output_type- 25, // [25:40] is the sub-list for method input_type- 25, // [25:25] is the sub-list for extension type_name- 25, // [25:25] is the sub-list for extension extendee- 0, // [0:25] is the sub-list for field type_name+ 31, // 0: memos.api.v2.Memo.row_status:type_name -> memos.api.v2.RowStatus+ 32, // 1: memos.api.v2.Memo.create_time:type_name -> google.protobuf.Timestamp+ 32, // 2: memos.api.v2.Memo.update_time:type_name -> google.protobuf.Timestamp+ 32, // 3: memos.api.v2.Memo.display_time:type_name -> google.protobuf.Timestamp+ 0, // 4: memos.api.v2.Memo.visibility:type_name -> memos.api.v2.Visibility+ 33, // 5: memos.api.v2.Memo.resources:type_name -> memos.api.v2.Resource+ 34, // 6: memos.api.v2.Memo.relations:type_name -> memos.api.v2.MemoRelation+ 0, // 7: memos.api.v2.CreateMemoRequest.visibility:type_name -> memos.api.v2.Visibility+ 1, // 8: memos.api.v2.CreateMemoResponse.memo:type_name -> memos.api.v2.Memo+ 1, // 9: memos.api.v2.ListMemosResponse.memos:type_name -> memos.api.v2.Memo+ 1, // 10: memos.api.v2.GetMemoResponse.memo:type_name -> memos.api.v2.Memo+ 1, // 11: memos.api.v2.GetMemoByNameResponse.memo:type_name -> memos.api.v2.Memo+ 1, // 12: memos.api.v2.UpdateMemoRequest.memo:type_name -> memos.api.v2.Memo+ 35, // 13: memos.api.v2.UpdateMemoRequest.update_mask:type_name -> google.protobuf.FieldMask+ 1, // 14: memos.api.v2.UpdateMemoResponse.memo:type_name -> memos.api.v2.Memo+ 33, // 15: memos.api.v2.SetMemoResourcesRequest.resources:type_name -> memos.api.v2.Resource+ 33, // 16: memos.api.v2.ListMemoResourcesResponse.resources:type_name -> memos.api.v2.Resource+ 34, // 17: memos.api.v2.SetMemoRelationsRequest.relations:type_name -> memos.api.v2.MemoRelation+ 34, // 18: memos.api.v2.ListMemoRelationsResponse.relations:type_name -> memos.api.v2.MemoRelation+ 2, // 19: memos.api.v2.CreateMemoCommentRequest.create:type_name -> memos.api.v2.CreateMemoRequest+ 1, // 20: memos.api.v2.CreateMemoCommentResponse.memo:type_name -> memos.api.v2.Memo+ 1, // 21: memos.api.v2.ListMemoCommentsResponse.memos:type_name -> memos.api.v2.Memo+ 30, // 22: memos.api.v2.GetUserMemosStatsResponse.stats:type_name -> memos.api.v2.GetUserMemosStatsResponse.StatsEntry+ 2, // 23: memos.api.v2.MemoService.CreateMemo:input_type -> memos.api.v2.CreateMemoRequest+ 4, // 24: memos.api.v2.MemoService.ListMemos:input_type -> memos.api.v2.ListMemosRequest+ 6, // 25: memos.api.v2.MemoService.GetMemo:input_type -> memos.api.v2.GetMemoRequest+ 8, // 26: memos.api.v2.MemoService.GetMemoByName:input_type -> memos.api.v2.GetMemoByNameRequest+ 10, // 27: memos.api.v2.MemoService.UpdateMemo:input_type -> memos.api.v2.UpdateMemoRequest+ 12, // 28: memos.api.v2.MemoService.DeleteMemo:input_type -> memos.api.v2.DeleteMemoRequest+ 14, // 29: memos.api.v2.MemoService.SetMemoResources:input_type -> memos.api.v2.SetMemoResourcesRequest+ 16, // 30: memos.api.v2.MemoService.ListMemoResources:input_type -> memos.api.v2.ListMemoResourcesRequest+ 18, // 31: memos.api.v2.MemoService.SetMemoRelations:input_type -> memos.api.v2.SetMemoRelationsRequest+ 20, // 32: memos.api.v2.MemoService.ListMemoRelations:input_type -> memos.api.v2.ListMemoRelationsRequest+ 22, // 33: memos.api.v2.MemoService.CreateMemoComment:input_type -> memos.api.v2.CreateMemoCommentRequest+ 24, // 34: memos.api.v2.MemoService.ListMemoComments:input_type -> memos.api.v2.ListMemoCommentsRequest+ 28, // 35: memos.api.v2.MemoService.ExportMemos:input_type -> memos.api.v2.ExportMemosRequest+ 26, // 36: memos.api.v2.MemoService.GetUserMemosStats:input_type -> memos.api.v2.GetUserMemosStatsRequest+ 3, // 37: memos.api.v2.MemoService.CreateMemo:output_type -> memos.api.v2.CreateMemoResponse+ 5, // 38: memos.api.v2.MemoService.ListMemos:output_type -> memos.api.v2.ListMemosResponse+ 7, // 39: memos.api.v2.MemoService.GetMemo:output_type -> memos.api.v2.GetMemoResponse+ 9, // 40: memos.api.v2.MemoService.GetMemoByName:output_type -> memos.api.v2.GetMemoByNameResponse+ 11, // 41: memos.api.v2.MemoService.UpdateMemo:output_type -> memos.api.v2.UpdateMemoResponse+ 13, // 42: memos.api.v2.MemoService.DeleteMemo:output_type -> memos.api.v2.DeleteMemoResponse+ 15, // 43: memos.api.v2.MemoService.SetMemoResources:output_type -> memos.api.v2.SetMemoResourcesResponse+ 17, // 44: memos.api.v2.MemoService.ListMemoResources:output_type -> memos.api.v2.ListMemoResourcesResponse+ 19, // 45: memos.api.v2.MemoService.SetMemoRelations:output_type -> memos.api.v2.SetMemoRelationsResponse+ 21, // 46: memos.api.v2.MemoService.ListMemoRelations:output_type -> memos.api.v2.ListMemoRelationsResponse+ 23, // 47: memos.api.v2.MemoService.CreateMemoComment:output_type -> memos.api.v2.CreateMemoCommentResponse+ 25, // 48: memos.api.v2.MemoService.ListMemoComments:output_type -> memos.api.v2.ListMemoCommentsResponse+ 29, // 49: memos.api.v2.MemoService.ExportMemos:output_type -> memos.api.v2.ExportMemosResponse+ 27, // 50: memos.api.v2.MemoService.GetUserMemosStats:output_type -> memos.api.v2.GetUserMemosStatsResponse+ 37, // [37:51] is the sub-list for method output_type+ 23, // [23:37] is the sub-list for method input_type+ 23, // [23:23] is the sub-list for extension type_name+ 23, // [23:23] is the sub-list for extension extendee+ 0, // [0:23] is the sub-list for field type_name}func init() { file_api_v2_memo_service_proto_init() }@@ -2188,7 +2059,6 @@ func file_api_v2_memo_service_proto_init() {}file_api_v2_common_proto_init()file_api_v2_memo_relation_service_proto_init()- file_api_v2_node_proto_init()file_api_v2_resource_service_proto_init()if !protoimpl.UnsafeEnabled {file_api_v2_memo_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {@@ -2516,30 +2386,6 @@ func file_api_v2_memo_service_proto_init() {}}file_api_v2_memo_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*PreviewMemoContentRequest); i {- case 0:- return &v.state- case 1:- return &v.sizeCache- case 2:- return &v.unknownFields- default:- return nil- }- }- file_api_v2_memo_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*PreviewMemoContentResponse); i {- case 0:- return &v.state- case 1:- return &v.sizeCache- case 2:- return &v.unknownFields- default:- return nil- }- }- file_api_v2_memo_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*ExportMemosRequest); i {case 0:return &v.state@@ -2551,7 +2397,7 @@ func file_api_v2_memo_service_proto_init() {return nil}}- file_api_v2_memo_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {+ file_api_v2_memo_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*ExportMemosResponse); i {case 0:return &v.state@@ -2571,7 +2417,7 @@ func file_api_v2_memo_service_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_api_v2_memo_service_proto_rawDesc,NumEnums: 1,- NumMessages: 32,+ NumMessages: 30,NumExtensions: 0,NumServices: 1,},diff --git a/proto/gen/api/v2/memo_service.pb.gw.go b/proto/gen/api/v2/memo_service.pb.gw.goindex f67b8021d..fbfd802a6 100644--- a/proto/gen/api/v2/memo_service.pb.gw.go+++ b/proto/gen/api/v2/memo_service.pb.gw.go@@ -687,42 +687,6 @@ func local_request_MemoService_ListMemoComments_0(ctx context.Context, marshaler}-var (- filter_MemoService_PreviewMemoContent_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}-)--func request_MemoService_PreviewMemoContent_0(ctx context.Context, marshaler runtime.Marshaler, client MemoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq PreviewMemoContentRequest- var metadata runtime.ServerMetadata-- if err := req.ParseForm(); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_MemoService_PreviewMemoContent_0); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- msg, err := client.PreviewMemoContent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))- return msg, metadata, err--}--func local_request_MemoService_PreviewMemoContent_0(ctx context.Context, marshaler runtime.Marshaler, server MemoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq PreviewMemoContentRequest- var metadata runtime.ServerMetadata-- if err := req.ParseForm(); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_MemoService_PreviewMemoContent_0); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- msg, err := server.PreviewMemoContent(ctx, &protoReq)- return msg, metadata, err--}-var (filter_MemoService_ExportMemos_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)})@@ -1093,31 +1057,6 @@ func RegisterMemoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux})- mux.Handle("POST", pattern_MemoService_PreviewMemoContent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {- ctx, cancel := context.WithCancel(req.Context())- defer cancel()- var stream runtime.ServerTransportStream- ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)- inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)- var err error- var annotatedContext context.Context- annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/memos.api.v2.MemoService/PreviewMemoContent", runtime.WithHTTPPathPattern("/api/v2/memos:preview"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := local_request_MemoService_PreviewMemoContent_0(annotatedContext, inboundMarshaler, server, req, pathParams)- md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())- annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)- if err != nil {- runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)- return- }-- forward_MemoService_PreviewMemoContent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-mux.Handle("POST", pattern_MemoService_ExportMemos_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")_, outboundMarshaler := runtime.MarshalerForRequest(mux, req)@@ -1455,28 +1394,6 @@ func RegisterMemoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux})- mux.Handle("POST", pattern_MemoService_PreviewMemoContent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {- ctx, cancel := context.WithCancel(req.Context())- defer cancel()- inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)- var err error- var annotatedContext context.Context- annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/memos.api.v2.MemoService/PreviewMemoContent", runtime.WithHTTPPathPattern("/api/v2/memos:preview"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := request_MemoService_PreviewMemoContent_0(annotatedContext, inboundMarshaler, client, req, pathParams)- annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)- if err != nil {- runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)- return- }-- forward_MemoService_PreviewMemoContent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-mux.Handle("POST", pattern_MemoService_ExportMemos_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()@@ -1549,8 +1466,6 @@ var (pattern_MemoService_ListMemoComments_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"api", "v2", "memos", "id", "comments"}, ""))- pattern_MemoService_PreviewMemoContent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v2", "memos"}, "preview"))-pattern_MemoService_ExportMemos_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v2", "memos"}, "export"))pattern_MemoService_GetUserMemosStats_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v2", "memos", "stats"}, ""))@@ -1581,8 +1496,6 @@ var (forward_MemoService_ListMemoComments_0 = runtime.ForwardResponseMessage- forward_MemoService_PreviewMemoContent_0 = runtime.ForwardResponseMessage-forward_MemoService_ExportMemos_0 = runtime.ForwardResponseStreamforward_MemoService_GetUserMemosStats_0 = runtime.ForwardResponseMessagediff --git a/proto/gen/api/v2/memo_service_grpc.pb.go b/proto/gen/api/v2/memo_service_grpc.pb.goindex 510b6169c..62f589aaa 100644--- a/proto/gen/api/v2/memo_service_grpc.pb.go+++ b/proto/gen/api/v2/memo_service_grpc.pb.go@@ -19,21 +19,20 @@ import (const _ = grpc.SupportPackageIsVersion7const (- MemoService_CreateMemo_FullMethodName = "/memos.api.v2.MemoService/CreateMemo"- MemoService_ListMemos_FullMethodName = "/memos.api.v2.MemoService/ListMemos"- MemoService_GetMemo_FullMethodName = "/memos.api.v2.MemoService/GetMemo"- MemoService_GetMemoByName_FullMethodName = "/memos.api.v2.MemoService/GetMemoByName"- MemoService_UpdateMemo_FullMethodName = "/memos.api.v2.MemoService/UpdateMemo"- MemoService_DeleteMemo_FullMethodName = "/memos.api.v2.MemoService/DeleteMemo"- MemoService_SetMemoResources_FullMethodName = "/memos.api.v2.MemoService/SetMemoResources"- MemoService_ListMemoResources_FullMethodName = "/memos.api.v2.MemoService/ListMemoResources"- MemoService_SetMemoRelations_FullMethodName = "/memos.api.v2.MemoService/SetMemoRelations"- MemoService_ListMemoRelations_FullMethodName = "/memos.api.v2.MemoService/ListMemoRelations"- MemoService_CreateMemoComment_FullMethodName = "/memos.api.v2.MemoService/CreateMemoComment"- MemoService_ListMemoComments_FullMethodName = "/memos.api.v2.MemoService/ListMemoComments"- MemoService_PreviewMemoContent_FullMethodName = "/memos.api.v2.MemoService/PreviewMemoContent"- MemoService_ExportMemos_FullMethodName = "/memos.api.v2.MemoService/ExportMemos"- MemoService_GetUserMemosStats_FullMethodName = "/memos.api.v2.MemoService/GetUserMemosStats"+ MemoService_CreateMemo_FullMethodName = "/memos.api.v2.MemoService/CreateMemo"+ MemoService_ListMemos_FullMethodName = "/memos.api.v2.MemoService/ListMemos"+ MemoService_GetMemo_FullMethodName = "/memos.api.v2.MemoService/GetMemo"+ MemoService_GetMemoByName_FullMethodName = "/memos.api.v2.MemoService/GetMemoByName"+ MemoService_UpdateMemo_FullMethodName = "/memos.api.v2.MemoService/UpdateMemo"+ MemoService_DeleteMemo_FullMethodName = "/memos.api.v2.MemoService/DeleteMemo"+ MemoService_SetMemoResources_FullMethodName = "/memos.api.v2.MemoService/SetMemoResources"+ MemoService_ListMemoResources_FullMethodName = "/memos.api.v2.MemoService/ListMemoResources"+ MemoService_SetMemoRelations_FullMethodName = "/memos.api.v2.MemoService/SetMemoRelations"+ MemoService_ListMemoRelations_FullMethodName = "/memos.api.v2.MemoService/ListMemoRelations"+ MemoService_CreateMemoComment_FullMethodName = "/memos.api.v2.MemoService/CreateMemoComment"+ MemoService_ListMemoComments_FullMethodName = "/memos.api.v2.MemoService/ListMemoComments"+ MemoService_ExportMemos_FullMethodName = "/memos.api.v2.MemoService/ExportMemos"+ MemoService_GetUserMemosStats_FullMethodName = "/memos.api.v2.MemoService/GetUserMemosStats")// MemoServiceClient is the client API for MemoService service.@@ -64,8 +63,6 @@ type MemoServiceClient interface {CreateMemoComment(ctx context.Context, in *CreateMemoCommentRequest, opts ...grpc.CallOption) (*CreateMemoCommentResponse, error)// ListMemoComments lists comments for a memo.ListMemoComments(ctx context.Context, in *ListMemoCommentsRequest, opts ...grpc.CallOption) (*ListMemoCommentsResponse, error)- // PreviewMemoContent previews memo content.- PreviewMemoContent(ctx context.Context, in *PreviewMemoContentRequest, opts ...grpc.CallOption) (*PreviewMemoContentResponse, error)// ExportMemos exports memos.ExportMemos(ctx context.Context, in *ExportMemosRequest, opts ...grpc.CallOption) (MemoService_ExportMemosClient, error)// GetUserMemosStats gets stats of memos for a user.@@ -188,15 +185,6 @@ func (c *memoServiceClient) ListMemoComments(ctx context.Context, in *ListMemoCoreturn out, nil}-func (c *memoServiceClient) PreviewMemoContent(ctx context.Context, in *PreviewMemoContentRequest, opts ...grpc.CallOption) (*PreviewMemoContentResponse, error) {- out := new(PreviewMemoContentResponse)- err := c.cc.Invoke(ctx, MemoService_PreviewMemoContent_FullMethodName, in, out, opts...)- if err != nil {- return nil, err- }- return out, nil-}-func (c *memoServiceClient) ExportMemos(ctx context.Context, in *ExportMemosRequest, opts ...grpc.CallOption) (MemoService_ExportMemosClient, error) {stream, err := c.cc.NewStream(ctx, &MemoService_ServiceDesc.Streams[0], MemoService_ExportMemos_FullMethodName, opts...)if err != nil {@@ -266,8 +254,6 @@ type MemoServiceServer interface {CreateMemoComment(context.Context, *CreateMemoCommentRequest) (*CreateMemoCommentResponse, error)// ListMemoComments lists comments for a memo.ListMemoComments(context.Context, *ListMemoCommentsRequest) (*ListMemoCommentsResponse, error)- // PreviewMemoContent previews memo content.- PreviewMemoContent(context.Context, *PreviewMemoContentRequest) (*PreviewMemoContentResponse, error)// ExportMemos exports memos.ExportMemos(*ExportMemosRequest, MemoService_ExportMemosServer) error// GetUserMemosStats gets stats of memos for a user.@@ -315,9 +301,6 @@ func (UnimplementedMemoServiceServer) CreateMemoComment(context.Context, *Createfunc (UnimplementedMemoServiceServer) ListMemoComments(context.Context, *ListMemoCommentsRequest) (*ListMemoCommentsResponse, error) {return nil, status.Errorf(codes.Unimplemented, "method ListMemoComments not implemented")}-func (UnimplementedMemoServiceServer) PreviewMemoContent(context.Context, *PreviewMemoContentRequest) (*PreviewMemoContentResponse, error) {- return nil, status.Errorf(codes.Unimplemented, "method PreviewMemoContent not implemented")-}func (UnimplementedMemoServiceServer) ExportMemos(*ExportMemosRequest, MemoService_ExportMemosServer) error {return status.Errorf(codes.Unimplemented, "method ExportMemos not implemented")}@@ -553,24 +536,6 @@ func _MemoService_ListMemoComments_Handler(srv interface{}, ctx context.Context,return interceptor(ctx, in, info, handler)}-func _MemoService_PreviewMemoContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {- in := new(PreviewMemoContentRequest)- if err := dec(in); err != nil {- return nil, err- }- if interceptor == nil {- return srv.(MemoServiceServer).PreviewMemoContent(ctx, in)- }- info := &grpc.UnaryServerInfo{- Server: srv,- FullMethod: MemoService_PreviewMemoContent_FullMethodName,- }- handler := func(ctx context.Context, req interface{}) (interface{}, error) {- return srv.(MemoServiceServer).PreviewMemoContent(ctx, req.(*PreviewMemoContentRequest))- }- return interceptor(ctx, in, info, handler)-}-func _MemoService_ExportMemos_Handler(srv interface{}, stream grpc.ServerStream) error {m := new(ExportMemosRequest)if err := stream.RecvMsg(m); err != nil {@@ -665,10 +630,6 @@ var MemoService_ServiceDesc = grpc.ServiceDesc{MethodName: "ListMemoComments",Handler: _MemoService_ListMemoComments_Handler,},- {- MethodName: "PreviewMemoContent",- Handler: _MemoService_PreviewMemoContent_Handler,- },{MethodName: "GetUserMemosStats",Handler: _MemoService_GetUserMemosStats_Handler,